

/* Start:/local/templates/aspro_next/components/bitrix/news.detail/design_project_landing/style.css?17961306226106*/
/* ==========================================================================
   #16552 Посадочная «Бесплатный дизайн-проект» /design-project/
   Из верстки urbanyst-projects/dp-projects.css — блоки 1 и 2 (форма — sections_inc/design_projects_form.css)
   + поправки под тему Aspro: крошки, маркеры списков, выравнивание на телефоне.
   ========================================================================== */

.dp-page {
  --dp-text: #333333;
  --dp-text-2: #555555;
  --dp-muted: #777777;
  --dp-light: #999999;
  --dp-bg-hero: #F2F2F2;
  --dp-line: #EEEEEE;
  --dp-dark: #333333;
  --dp-radius: 8px;

  color: var(--dp-text);
  font-family: inherit;
}
.dp-page *,
.dp-page *::before,
.dp-page *::after { box-sizing: border-box; }

.dp-container {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Блок 1: первый экран (серый фон) ---------- */
.dp-hero { background: var(--dp-bg-hero); }

.dp-breadcrumbs {
  padding-top: 28px;
  font-size: 12px;
  color: var(--dp-light);
}
/* крошки — штатный компонент breadcrumb/next */
.dp-breadcrumbs .breadcrumbs { margin: 0; padding: 0; font-size: 12px; line-height: 1.5; text-align: left; }
.dp-breadcrumbs .breadcrumbs > div,
.dp-breadcrumbs .breadcrumbs > span { display: inline; }
.dp-breadcrumbs .breadcrumbs a,
.dp-breadcrumbs .breadcrumbs a span { color: var(--dp-light); text-decoration: none; border: 0; }
.dp-breadcrumbs .breadcrumbs a:hover,
.dp-breadcrumbs .breadcrumbs a:hover span { color: var(--dp-text); }
.dp-breadcrumbs .separator { margin: 0 4px; color: var(--dp-light); }

.dp-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding: 28px 0 48px;
}
.dp-hero__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}
.dp-page .dp-hero__title {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--dp-text);
  text-align: left;
}
.dp-page .dp-hero__lead {
  margin: 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dp-text-2);
}
.dp-hero__lead a { color: var(--dp-text); text-decoration: underline; }

.dp-note {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  color: var(--dp-text);
}
.dp-note svg { flex: none; }

/* Схема этапов: чертёж → макет → визуализация */
.dp-stages {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 220px minmax(0, 1fr);
  gap: 24px;
  height: 560px;
}
.dp-stage {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: var(--dp-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.dp-stage--wide {
  grid-column: 1 / -1;
  background: #E3E0DB;
}
.dp-stage__label {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: var(--dp-dark);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dp-stage__img--contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 36px 8px 8px;
}
.dp-stage__img--cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-arrow {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #1B1B1B;
}
.dp-arrow--right { left: calc(50% - 22px); top: 88px; }   /* между чертежом и макетом */
.dp-arrow--down  { left: calc(75% - 16px); top: 210px; }  /* от макета к визуализации */

/* ---------- Блок 2: преимущества ---------- */
.dp-benefits {
  padding: 22px 0;
  border-bottom: 1px solid var(--dp-line);
}
.dp-page .dp-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
}
.dp-page .dp-benefits__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.35;
}
.dp-page .dp-benefits__item::before { content: none; display: none; }
.dp-page .dp-benefits__item svg { flex: none; }
.dp-page .dp-benefits__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #888888;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

/* Планшет и узкий десктоп */
@media (max-width: 1100px) {
  .dp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .dp-stages { height: 520px; }
  .dp-page .dp-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Телефон */
@media (max-width: 767px) {
  .dp-container { padding: 0 16px; }

  .dp-breadcrumbs { padding-top: 16px; }
  .dp-hero__grid { gap: 28px; padding: 16px 0 32px; }
  .dp-page .dp-hero__title { font-size: 28px; }
  .dp-page .dp-hero__lead { font-size: 15px; }
  .dp-note { font-size: 14px; padding: 10px 14px; }

  .dp-stages {
    height: auto;
    grid-template-rows: 150px 230px;
    gap: 12px;
  }
  .dp-stage__label { top: 8px; left: 8px; padding: 4px 8px; font-size: 10px; }
  .dp-stage__img--contain { padding: 26px 6px 6px; }
  .dp-arrow { width: 36px; height: 36px; }
  .dp-arrow svg { width: 15px; height: 15px; }
  .dp-arrow--right { left: calc(50% - 18px); top: 57px; }
  .dp-arrow--down  { left: calc(75% - 15px); top: 138px; }

  .dp-page .dp-benefits__list { gap: 16px; }
  .dp-page .dp-benefits__item { font-size: 13px; gap: 10px; }
  .dp-page .dp-benefits__item svg { width: 26px; height: 26px; }
}

/* End */


/* Start:/local/templates/aspro_next/sections_inc/design_projects_form.css?17961306225484*/
/* ==========================================================================
   #16552 Блок формы записи на дизайн-проект (sections_inc/design_projects_form.php)
   По верстке urbanyst-projects, блок 3. Самостоятельный блок: переменные и сброс — на .dp-form-section,
   работает на любой странице. Ширина контейнера — как у первого экрана карточки проекта.
   ========================================================================== */

.dp-form-section {
  --dp-text: #333333;
  --dp-text-2: #555555;
  --dp-muted: #777777;
  --dp-field: #F5F5F5;
  --dp-field-border: #EEEEEE;
  --dp-dark: #333333;
  --dp-btn: #222222;
  --dp-req: #C0392B;

  padding: 48px 0 72px;
  color: var(--dp-text);
  font-family: inherit;
}
.dp-form-section *,
.dp-form-section *::before,
.dp-form-section *::after { box-sizing: border-box; }

.dp-form-container {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 40px;
}
.dp-form-wrap { max-width: 920px; }

.dp-form-section .dp-form__title {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--dp-text);
}
.dp-form-section .dp-form__subtitle {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--dp-muted);
}
.dp-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dp-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}
.dp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dp-form-section .dp-field__label {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--dp-text-2);
}
.dp-field__req { color: var(--dp-req); }
.dp-form-section .dp-field__input,
.dp-form-section .dp-field__select,
.dp-form-section .dp-field__textarea {
  width: 100%;
  margin: 0;
  border: 1px solid var(--dp-field-border);
  background: var(--dp-field);
  font: inherit;
  font-size: 14px;
  color: var(--dp-text);
  border-radius: 0;
  box-shadow: none;
}
.dp-form-section .dp-field__input { height: 40px; padding: 0 14px; }
.dp-form-section .dp-field__select { height: 40px; padding: 0 10px; }
.dp-form-section .dp-field__textarea {
  padding: 10px 14px;
  line-height: 1.5;
  resize: vertical;
  min-height: 84px;
}
.dp-form-section .dp-field__input:focus,
.dp-form-section .dp-field__select:focus,
.dp-form-section .dp-field__textarea:focus {
  outline: 1px solid var(--dp-dark);
  outline-offset: 0;
}
.dp-field__input::placeholder,
.dp-field__textarea::placeholder { color: #9A9A9A; }

/* дата + время визита в одном поле; режим работы салона под списком салонов */
.dp-visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
}
.dp-form-section .dp-visit .dp-field__select[disabled] { opacity: .6; cursor: default; }
.dp-field__hint { font-size: 12px; line-height: 1.4; color: var(--dp-muted); }
.dp-field__hint[hidden] { display: none; }

/* ошибки */
.dp-form-section .dp-field.is-error .dp-field__input,
.dp-form-section .dp-field.is-error .dp-field__select,
.dp-form-section .dp-field.is-error .dp-field__textarea { border-color: var(--dp-req); }
.dp-field__error { font-size: 12px; color: var(--dp-req); }
.dp-form__errors { padding: 12px 16px; background: #FDECEA; color: var(--dp-req); font-size: 13px; }
.dp-form__errors[hidden] { display: none; }

/* ловушка для ботов */
.dp-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.dp-form-section .dp-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dp-muted);
  cursor: pointer;
}
.dp-consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--dp-dark);
}
.dp-consent a { color: var(--dp-text); text-decoration: underline; }

.dp-btn {
  height: 42px;
  padding: 0 32px;
  border: 0;
  background: var(--dp-btn);
  color: #FFFFFF;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.dp-btn:hover { background: #000000; }
.dp-btn[disabled] { opacity: .6; cursor: default; }

/* Состояние «заявка отправлена» — показывается вместо формы (класс .is-visible) */
.dp-success {
  display: none;
  padding: 32px;
  background: var(--dp-field);
}
.dp-success.is-visible { display: block; }
.dp-form-section .dp-success__title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--dp-text); }
.dp-form-section .dp-success__text { margin: 0; font-size: 14px; color: var(--dp-text-2); }

/* Планшет: две колонки */
@media (min-width: 768px) and (max-width: 1100px) {
  .dp-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Телефон */
@media (max-width: 767px) {
  .dp-form-section { padding: 32px 0 48px; }
  .dp-form-container { padding: 0 16px; }
  .dp-form-section .dp-form__title { font-size: 22px; }
  .dp-form__row { grid-template-columns: 1fr; gap: 16px; }
  .dp-form-section .dp-field__input,
  .dp-form-section .dp-field__select { height: 44px; font-size: 16px; } /* 16px — без автозума на iOS */
  .dp-form-section .dp-field__textarea { font-size: 16px; }
  .dp-btn { width: 100%; height: 48px; font-size: 14px; }
}

/* End */
/* /local/templates/aspro_next/components/bitrix/news.detail/design_project_landing/style.css?17961306226106 */
/* /local/templates/aspro_next/sections_inc/design_projects_form.css?17961306225484 */
