/* Dreamview mobile layout, November 2026. */
@media (max-width: 830px) {
  .dream-services-landing .hero-grid { gap: 24px; }
  .dream-services-landing .hero-copy { order: -1; min-inline-size: 0; }
  .dream-services-landing .hero-art {
    order: 1; display: grid; gap: 16px; min-height: 0 !important; height: auto !important;
    padding: 18px 0 4px; max-width: min(100%,420px);
  }
  .dream-services-landing .hero-art .art-orbit { display: none; }
  .dream-services-landing .hero-art .art-core {
    position: static; margin: 0 auto; transform: none !important; animation: none !important;
    width: 150px !important; height: 150px !important; max-width: 100%;
  }
  .dream-services-landing .hero-art .art-orbit-spin {
    position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    width: 100%; height: auto; gap: 8px; transform: none !important; animation: none !important;
  }
  .dream-services-landing .hero-art .art-orbit-spin .satellite {
    position: static !important; width: auto !important; min-width: 0 !important;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
    transform: none !important; animation: none !important; box-sizing: border-box;
    padding: 9px 6px; text-align: center; font-size: clamp(9px,2.7vw,12px);
  }
  .dream-services-landing .hero-art .art-orbit-spin .sat-icon { flex-shrink: 0; width: 23px; height: 23px; }
}
@media (max-width: 720px) {
  body.dream-home-page .dream-home-landing .hero { min-height: 0; padding-block-start: 104px; padding-block-end: 34px; }
  body.dream-home-page .dream-home-landing .hero-grid { gap: 20px; }
  body.dream-home-page .dream-home-landing .hero-copy { order: -1; min-inline-size: 0; }
  body.dream-home-page .dream-home-landing .hero-media {
    order: 1; width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0 !important;
  }
  body.dream-home-page .dream-home-landing .hero h1 {
    font-size: clamp(29px,8vw,45px); line-height: 1.14; margin: 14px 0 12px; text-wrap: balance;
  }
  body.dream-home-page .dream-home-landing .hero .lead { font-size: 16px; line-height: 1.58; margin-bottom: 15px; }
  body.dream-home-page .dream-home-landing .hero-proof { margin-top: 17px; padding-top: 12px; font-size: 12px; }
  body.dream-home-page .dream-home-landing .hero-actions .btn { min-height: 46px; }
  body.dream-home-page .dream-home-landing .hero-media .hero-photo { border-radius: 16px; }
}
@media (max-width: 420px) {
  .header .header-row { gap: 8px; padding-inline: 14px; }
  .header .header-actions { gap: 6px !important; }
  .header .logo { min-width: 0; }
  .header .logo img { max-width: min(45vw,170px) !important; }
  .header .burger-menu-btn,.header .header-phone { min-width: 44px; min-height: 44px; }
  footer.footer .dv-footer-information { gap: 15px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  footer.footer .dv-footer-contact a { overflow-wrap: anywhere; }
}


/* Small-screen overflow fixes verified on the live Dreamview pages. */
@media (max-width: 760px) {
  body.dream-home-page .dream-home-landing .faq-grid,
  body.dream-home-page .dream-home-landing .faq-list,
  body.dream-home-page .dream-home-landing .faq-item {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  body.dream-home-page .dream-home-landing details.faq-item > summary {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    gap: 10px;
    align-items: flex-start;
    font-size: clamp(16px, 4.2vw, 17px);
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.dream-home-page .dream-home-landing details.faq-item > summary::-webkit-details-marker {
    display: none;
  }
  body.dream-home-page .dream-home-landing details.faq-item > summary span {
    flex: 0 0 auto;
    margin-top: 0.08em;
  }
  body.dream-home-page .dream-home-landing details.faq-item .faq-answer,
  body.dream-home-page .dream-home-landing details.faq-item .faq-answer p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .dv-contact-page #contact-form .captcha-reg {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .dv-contact-page #contact-form .g-recaptcha {
    max-width: 100%;
    transform: scale(0.92);
    transform-origin: top right;
  }
}
@media (max-width: 380px) {
  .dv-contact-page #contact-form .g-recaptcha { transform: scale(0.80); }
}
@media (max-width: 340px) {
  .dv-contact-page #contact-form .g-recaptcha { transform: scale(0.70); }
}


/* Keep the FAQ label and disclosure icon within narrow phone cards. */
@media (max-width: 760px) {
  body.dream-home-page .dream-home-landing details.faq-item > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: start;
    font-size: 16px;
    line-height: 1.45;
  }
  body.dream-home-page .dream-home-landing details.faq-item > summary span {
    width: 42px;
    min-width: 42px;
    justify-self: start;
    align-self: start;
    margin-top: 0;
  }
}


@media (max-width: 760px) {
  body.dream-home-page .dream-home-landing details.faq-item > summary span {
    display: inline-flex;
    width: 28px;
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    align-items: center;
    justify-content: center;
  }
}


/* Keep the accessibility launcher clear of mobile form fields. */
@media (max-width: 760px) {
  .a11y-widget.a11y-pos-x-right { --a11y-offset-x: 8px !important; }
  .a11y-widget.a11y-pos-y-bottom { --a11y-offset-y: 8px !important; }
  .a11y-widget .a11y-fab {
    box-sizing: border-box !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
  .a11y-widget .a11y-fab-icon svg {
    width: 23px !important;
    height: 23px !important;
  }
}
