/* TASK-016 — mobile-only district result CTA experiment.
   The same reserve block is moved in JavaScript; this layer never creates a
   second CTA and has no effect on desktop or the control variant. */

@media (max-width: 760px) {
  .district-page .ph-district-grid > .ph-sell.is-mobile-result-cta {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2px 0 4px;
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve {
    display: block;
    max-width: none;
    min-height: 0;
    border: 1px solid rgba(52, 61, 56, 0.12);
    border-radius: 18px;
    background: #f4f3ef;
    box-shadow: 0 14px 34px rgba(33, 9, 0, 0.065);
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-visual,
  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-proof {
    display: none;
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-copy {
    display: block;
    padding: 20px;
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-kicker {
    margin: 0 0 8px;
    color: #65706c;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve h2 {
    max-width: 330px;
    margin: 0 0 10px;
    color: #202522;
    font-size: clamp(24px, 6.8vw, 28px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.08;
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-lead {
    max-width: 340px;
    margin: 0 0 16px;
    color: #626b67;
    font-size: 14.5px;
    line-height: 1.48;
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 13px;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(91, 155, 37, 0.16);
  }

  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-note {
    display: block;
    margin-top: 9px;
    color: #7d8581;
    font-size: 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .district-page .ph-sell.is-mobile-result-cta .phx-reserve-button {
    transition: none;
  }
}
