/* Форма заявки «Дізнайтеся вартість» — спільні стилі (копія з home.css для внутрішніх сторінок). */
.cta-form { padding: 80px 0; background: #6c4e4c; text-align: center; font-family: 'Unbounded', sans-serif; }
.cta-form__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.cta-form__title { font-family: 'Unbounded', sans-serif; font-size: clamp(28px, 5vw, 42px); font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-form__subtitle { font-family: 'Unbounded', sans-serif; font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.cta-form__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: #fff; color: #6c4e4c;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 40px; text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-form__btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

@media (max-width: 680px) {
  .cta-form { padding: 60px 0; }
  .cta-form__title { font-size: 24px; }
  .cta-form__subtitle { font-size: 14px; }
  .cta-form__btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 12px; }
}

/* ── Форма заявки (головна) ── */
.lead-form { max-width: 860px; margin: 0 auto; text-align: left; }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.lead-form__field { display: flex; flex-direction: column; gap: 8px; }
.lead-form__label { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }
.lead-form__input {
  width: 100%; min-height: 52px; padding: 14px 18px;
  font-family: inherit; font-size: 16px; /* 16px — iOS не зумить поле */
  color: #fff; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28); border-radius: 14px;
  transition: border-color .2s ease, background .2s ease;
  appearance: none; -webkit-appearance: none;
}
select.lead-form__input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
select.lead-form__input option { color: #2b2120; }
.lead-form__input::placeholder { color: rgba(255,255,255,0.45); }
.lead-form__input:focus { outline: none; border-color: #fff; background-color: rgba(255,255,255,0.14); }
.lead-form__field.has-error .lead-form__input { border-color: #ffb4a8; }
.lead-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__submit {
  display: block; width: 100%; max-width: 380px; margin: 28px auto 0; min-height: 56px; padding: 18px 40px;
  background: #fff; color: #6c4e4c; border: 0; border-radius: 40px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  transition: transform .3s ease, box-shadow .3s ease, opacity .2s ease;
}
.lead-form__submit:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.lead-form__submit:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.lead-form__status { min-height: 1.4em; margin: 16px 0 0; text-align: center; font-size: 15px; color: #fff; }
.lead-form__status.is-error { color: #ffd0c8; }
.lead-form.is-sent .lead-form__grid, .lead-form.is-sent .lead-form__submit { display: none; }
.lead-form.is-sent .lead-form__status { font-size: 18px; font-weight: 700; padding: 24px; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; }
.cta-form__alt { margin: 24px 0 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.cta-form__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 680px) {
  .lead-form__grid { grid-template-columns: 1fr; gap: 14px; }
  .lead-form__submit { max-width: none; margin-top: 22px; }
}

/* ── Липка панель дій на телефоні (сторінки послуг і статті) ── */
.mcta { display: none; }
@media (max-width: 860px) {
  body:not(.home-v2) .mcta {
    position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 9000; display: flex; gap: 8px; padding: 8px;
    border-radius: 40px; background: rgba(28, 22, 22, 0.92); backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(150%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  body:not(.home-v2) .mcta.is-visible { transform: none; }
  body:not(.home-v2) .mcta__main {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px;
    border-radius: 32px; background: #c4a8a5; color: #1c1616; text-decoration: none;
    font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  }
  body:not(.home-v2) .mcta__icon {
    width: 48px; height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff;
  }
  body:not(.home-v2) .af-footer { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { .mcta { transition: none; } }

/* Липка панель на вузьких екранах — підпис в один рядок */
@media (max-width: 400px) {
  .mcta .mcta__main { font-size: 11px !important; letter-spacing: 0.03em !important; white-space: nowrap; padding: 0 10px; }
  .mcta .mcta__icon { width: 44px; height: 44px; flex-basis: 44px; }
}
.cta-form__alt { line-height: 1.8; }
.cta-form__alt a { display: inline-block; white-space: nowrap; }
