/* Homepage service blocks — mobile app kit (desktop layout unchanged) */
@media (max-width: 1023px) {
  #valuation-promo,
  #escrow,
  #inspection {
    padding: .7rem .7rem 1rem !important;
    overflow-x: clip;
    max-width: 100%;
  }

  #valuation-promo .max-w-7xl,
  #escrow .max-w-7xl,
  #inspection .max-w-7xl {
    padding: 1rem .9rem 1.05rem !important;
    border-radius: 1.6rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
  }

  #valuation-promo .max-w-7xl {
    border-color: rgba(255, 255, 255, .22);
    background:
      linear-gradient(165deg, rgba(255, 255, 255, .14), rgba(15, 23, 42, .45));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 36px rgba(2, 6, 23, .28);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
  }

  #valuation-promo .ex-val-home-orbit,
  #valuation-promo .ex-val-home-hero-3d {
    display: none;
  }

  #valuation-promo .grid,
  #inspection .grid {
    gap: .85rem;
  }

  #valuation-promo .ex-val-copy,
  #escrow .max-w-3xl {
    text-align: right !important;
  }

  #valuation-promo h2,
  #escrow h2,
  #inspection h2 {
    font-size: 1.28rem;
    line-height: 1.45;
    margin-top: .45rem;
  }

  #valuation-promo h2 span.block {
    font-size: .9rem;
    margin-top: .25rem;
  }

  #valuation-promo .ex-val-copy p,
  #escrow .max-w-3xl p,
  #inspection .lg\:col-span-6 > p {
    font-size: .84rem;
    line-height: 1.8;
  }

  #valuation-promo .rounded-full,
  #escrow .rounded-full,
  #inspection .rounded-full {
    font-size: .72rem;
    max-width: 100%;
  }

  #escrow .max-w-3xl {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: .15rem;
    max-width: none;
  }

  #valuation-promo .ex-val-home-cta,
  #inspection .ex-app-actions .btn-b2b-gold,
  .ex-price-banner > a {
    min-height: 48px;
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    font-size: .85rem;
    padding: .7rem 1rem;
  }

  #valuation-promo .ex-val-actions,
  #inspection .ex-app-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    justify-content: stretch;
  }

  #valuation-promo .ex-val-stats {
    max-width: none;
    margin: 0;
    gap: .45rem;
  }

  #valuation-promo .ex-val-stats > div {
    padding: .7rem .35rem;
    border-radius: 1rem;
  }

  #valuation-promo .ex-val-stats .text-xl {
    font-size: 1rem;
  }

  #valuation-promo .ex-val-stats .text-\[10px\] {
    font-size: .68rem;
  }

  #valuation-promo .ex-val-plans {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  #valuation-promo .ex-val-plans article a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  #escrow .ex-app-steps {
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }

  #escrow .ex-app-steps > div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: .7rem;
    row-gap: .1rem;
    text-align: right;
    min-height: 72px;
    padding: .7rem .85rem;
    border-radius: 1.05rem;
    border-width: 1px;
    box-shadow: none;
  }

  #escrow .ex-app-steps > div > :first-child {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: .95rem;
  }

  #escrow .ex-app-steps h4,
  #escrow .ex-app-steps p {
    grid-column: 2;
    margin: 0;
  }

  #escrow .ex-app-steps h4 {
    font-size: .92rem;
  }

  #escrow .ex-app-steps p {
    font-size: .75rem;
    line-height: 1.45;
  }

  #inspection .grid.grid-cols-1.sm\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  #inspection .card-3d-tilt {
    padding: .85rem .9rem;
    border-radius: 1.05rem;
    border-width: 1px;
    box-shadow: none;
  }

  #inspection .card-3d-tilt .text-sm {
    font-size: .92rem;
  }

  #inspection img {
    height: 12.5rem;
    object-fit: cover;
  }
}
