/* Mobile: remove large botanical overlays that crowd text and cards. */
@media (max-width: 760px) {
  .hero-copy::before,
  .offer-grid::before,
  .offer-card::before,
  .offer-card::after,
  .path > summary::before,
  .assistant-cta::before,
  .address-service-feature::before,
  .news-teaser::before,
  .news-teaser-links::before,
  .concise-faq::before,
  .expertise::before,
  .service-document::before,
  .service-intro::before {
    content: none !important;
    display: none !important;
    background-image: none !important;
  }

  .assistant-header,
  dialog,
  .lo-contact-dialog {
    background-image: none !important;
  }
}

/* Keep mobile contact choices together; sales pages retain their layout. */
@media (max-width: 760px) {
  .harmony-site[data-content-topic] .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
  }
  .harmony-site[data-content-topic] .hero-actions > button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }
  .harmony-site[data-content-topic] .hero-actions > a[href^="tel:"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    gap: 0;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
  }
  .harmony-site[data-content-topic] .hero-actions > a[href^="tel:"]::after {
    display: none;
  }
  .harmony-site[data-content-topic] .hero-actions > .lo-contact-shortcuts {
    display: contents;
  }
  .harmony-site[data-content-topic] .hero-actions > .lo-contact-shortcuts > a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    margin: 0;
    font-size: 14px;
    justify-content: center;
  }
  .harmony-site[data-content-topic] .service-intro-actions .lo-contact-shortcuts {
    flex-basis: 100%;
    width: 100%;
    margin: 0;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .harmony-site[data-content-topic] .service-intro-actions .lo-contact-shortcuts > a {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }
}


/* Mobile assistant: compact frosted sage glass. 2026-10-31 */
@media screen and (max-width: 760px) {
  body:has(#assistant-mobile-launch) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  body #assistant-mobile-launch.mobile-assistant-launch {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: auto;
    right: calc(14px + env(safe-area-inset-right, 0px));
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    transform: none;
    box-sizing: border-box;
    width: max-content;
    min-width: 0;
    max-width: calc(100vw - 32px);
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 8px 12px;
    gap: 7px;
    border: 1px solid #405949;
    border-radius: 999px;
    background: #e5e8dc;
    -webkit-backdrop-filter: blur(12px) saturate(90%);
    backdrop-filter: blur(12px) saturate(90%);
    color: #243f35;
    box-shadow: 0 3px 10px #243f351f, inset 0 1px 0 #ffffff80;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    z-index: 50;
    cursor: pointer;
  }
  body #assistant-mobile-launch.mobile-assistant-launch > span[aria-hidden="true"] {
    display: none;
  }
  body #assistant-mobile-launch.mobile-assistant-launch::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    background: var(--action-leaf) center / contain no-repeat;
    filter: brightness(.75) saturate(.75);
    opacity: 1;
    pointer-events: none;
  }
  body #assistant-mobile-launch.mobile-assistant-launch:focus-visible {
    outline: 3px solid #8b9d81;
    outline-offset: 4px;
  }
  body:has(.consent-panel:not([hidden])) #assistant-mobile-launch {
    visibility: hidden;
  }
  body:has(dialog[open]) #assistant-mobile-launch.mobile-assistant-launch {
    display: none;
  }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body #assistant-mobile-launch.mobile-assistant-launch {
      background: rgba(229, 232, 220, .82);
    }
  }
}

/* Keep visible page controls clear while scrolling. */
@media screen and (max-width: 760px) {
  body #assistant-mobile-launch.mobile-assistant-launch.lo-assistant-over-control {
    visibility: hidden;
    pointer-events: none;
  }
}
