
/* Mobile UI Improvements */
@media (max-width: 767px) {
  /* Typography & Layout */
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
  
  .sanctuary-header .logo-main {
    font-size: 15px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    max-width: calc(100vw - 70px);
    word-break: break-word;
    display: block;
  }
  
  .sanctuary-hero .hero-title {
    font-size: 1.65rem !important;
    font-weight: 600 !important;
  }

  .s-service-card, .glass-panel {
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  .s-service-card p, .s-value-item p, .s-check-list li, .s-faq-a, .s-profile-titles, .s-form-input, .s-form-textarea {
    font-size: 16px !important;
  }
  
  .s-footer .footer-info, .s-form-label {
    font-size: 14px !important;
  }

  /* Fixed CTA */
  .s-fab {
    display: none !important;
  }
  
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 105;
    background: #fff;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  .mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    font-family: 'Shippori Mincho', serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: var(--gold, #bfa37e);
    text-decoration: none;
    min-height: 60px; /* Touch target > 48px */
  }
  
  body.is-keyboard-open .mobile-bottom-bar {
    display: none !important;
  }
  
  /* Accordion styles */
  .mobile-collapse-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 400px;
    transition: max-height 0.4s ease;
  }
  .mobile-collapse-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--bg, #f9f8f6));
    pointer-events: none;
  }
  .mobile-collapse-wrapper.is-expanded {
    max-height: 5000px;
  }
  .mobile-collapse-wrapper.is-expanded::after {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    margin-top: 10px;
    background: transparent;
    border: 1px solid var(--gold, #bfa37e);
    color: var(--gold, #bfa37e);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    min-height: 48px; /* Touch target > 48px */
  }
}
@media (min-width: 768px) {
  .mobile-bottom-bar, .mobile-toggle-btn {
    display: none !important;
  }
}
