/* =========================================================================
   МОНУМЕНТ-ПРОЕКТ — стили для рекламных посадочных страниц (Яндекс.Директ)
   Отдельный файл, подключается ДОПОЛНИТЕЛЬНО к assets/style.css только на
   4 новых страницах: figury-iz-penoplasta.html, obemnye-figury-na-zakaz.html,
   art-obekty-dekoracii.html, skulptury-na-zakaz.html.
   Существующий assets/style.css не изменяется — эти правила ничего не
   переопределяют на остальных страницах сайта.
   ========================================================================= */

/* ---------- Чекбокс согласия на обработку персональных данных ---------- */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-check a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent-check a:hover { color: var(--accent); }

/* ---------- Мобильная закреплённая CTA-панель ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  gap: 10px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 26px rgba(33, 28, 23, 0.1);
}
.sticky-cta .btn { flex: 1; }
.sticky-cta__phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
.sticky-cta__phone svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}
body.has-sticky-cta { padding-bottom: 74px; }
@media (min-width: 900px) {
  body.has-sticky-cta { padding-bottom: 0; }
}

/* ---------- Внутренняя перелинковка между посадочными ---------- */
.crosslink {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.crosslink:hover { border-color: var(--accent); background: var(--bg-alt); }
.crosslink__q { font-size: 0.88rem; color: var(--text-secondary); }
.crosslink__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text);
}
.crosslink__a svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; transition: transform .2s var(--ease); }
.crosslink:hover .crosslink__a svg { transform: translateX(4px); }

/* ---------- Плитки "что может стать объектом" (без фото, иконочный стиль) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: var(--surface);
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.tile__label { font-size: 0.86rem; font-weight: 700; color: var(--text); }

/* ---------- Схема "от идеи до объекта" ---------- */
.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.flow__step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.flow__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow__label { font-weight: 700; font-size: 0.98rem; }
@media (min-width: 860px) {
  .flow { flex-direction: row; border-top: none; }
  .flow__step {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding: 4px 14px;
    flex: 1;
  }
  .flow__step:last-child { border-right: none; }
}

/* ---------- Карточки "работаем с профессиональными заказчиками" ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-on-ink);
  border: 1px solid var(--line-on-ink);
}
@media (min-width: 640px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client-card {
  background: var(--ink);
  padding: 24px 18px;
  color: var(--text-on-ink);
  font-weight: 700;
  font-size: 0.94rem;
  min-height: 92px;
  display: flex;
  align-items: center;
}

/* ---------- Подрядное производство — акцентный блок ---------- */
.subcontract-band {
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  padding: 32px 24px;
}
@media (min-width: 768px) { .subcontract-band { padding: 44px 40px; } }
.subcontract-band h2 { max-width: 30ch; }
.subcontract-band p { margin-top: 14px; color: var(--text-secondary); font-size: 1rem; max-width: 62ch; }
.subcontract-band ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; list-style: none; }
.subcontract-band li {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-secondary);
}
.subcontract-band .btn-row { margin-top: 24px; }

/* =========================================================================
   FIX: hero "Скульптуры на заказ" — адаптив без обрезки изображения
   ========================================================================= */

/* Планшет / узкое окно компьютера */
@media (max-width: 1100px) and (min-width: 701px) {
  .hero-split__title {
    font-size: clamp(3rem, 6.2vw, 5.2rem) !important;
    line-height: .96 !important;
    max-width: 8.5em !important;
  }

  .hero-split__text {
    max-width: 52% !important;
  }

  .hero-split__visual {
    left: 50% !important;
    width: 50% !important;
  }

  .hero-split__visual picture,
  .hero-split__visual img {
    width: 100% !important;
    height: 100% !important;
  }

  .hero-split__visual img {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Телефон: текст сверху, фотография отдельным блоком и целиком */
@media (max-width: 700px) {
  .hero-split {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .hero-split__inner {
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    padding-top: 34px !important;
    padding-bottom: 26px !important;
  }

  .hero-split__text {
    width: 100% !important;
    max-width: none !important;
  }

  .hero-split__title {
    font-size: clamp(2.65rem, 12.5vw, 4rem) !important;
    line-height: .94 !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
  }

  .hero-split__sub {
    max-width: 100% !important;
  }

  .hero-split__visual {
    order: 2 !important;
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: var(--bg-alt) !important;
  }

  .hero-split__visual::before,
  .hero-split__visual::after {
    display: none !important;
  }

  .hero-split__visual picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .hero-split__visual img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .hero-split__caption {
    display: none !important;
  }
}

