/* ============================================================
   MM Exterior Cleaning — Theme tokens (light only)
   ============================================================ */

:root {
  --aqua:        #0EA5B7;
  --aqua-dark:   #087886;
  --aqua-soft:   rgba(14,165,183,0.10);
  --navy:        #0A2540;
  --navy-soft:   rgba(10,37,64,0.08);
  --paper:       #F7F6F2;
  --paper-warm:  #FBFAF6;
  --sun:         #F5C518;
  --sun-ink:     #5A4500;
  --line:        rgba(10,37,64,0.14);
  --line-strong: rgba(10,37,64,0.32);
  --shadow-sm:   0 3px 12px rgba(10,37,64,0.16);
  --shadow-md:   0 10px 32px rgba(10,37,64,0.22);
  --shadow-lg:   0 18px 52px rgba(10,37,64,0.28);
  --radius:      14px;
  --radius-sm:   8px;
  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:   'Manrope', system-ui, -apple-system, sans-serif;
  --cta-gold:     #B8860B;
  --navy-muted:   #3B4A66;
  --paper-sunken: #FAF9F6;
  color-scheme: light;
}

/* CTA gold */
.top-buttons a.is-cta { color: var(--cta-gold); }
.top-buttons a.is-cta:hover { background: rgba(184,134,11,0.10); color: var(--cta-gold); }

/* ============================================================
   Mobile menu drawer (≤720px)
   ============================================================ */
.mm-menu-toggle { display: none; }
.mm-menu-toggle-float { display: none !important; }

/* Desktop: keep the Services block shorter vertically and stretched wide. */
@media (min-width: 721px) {
  #services { padding: 24px 0 !important; }
  #services .service-card { min-height: 240px !important; } /* landscape cards: wider than tall, 3 per row (Marcel 2026-06-03) — back-face body scrolls if content overflows */
  #services .service-card-face { padding: 18px 22px 14px !important; gap: 8px !important; }
  #services .service-card-back { padding: 18px 22px !important; }
  #services .service-card h3 { font-size: 1.1rem !important; margin-top: 4px !important; }
  #services .service-card p { font-size: 0.92rem !important; line-height: 1.45 !important; }
}

/* ============================================================
   Services section — compact 2-col mobile layout
   ============================================================ */
@media (max-width: 720px) {
  #services { padding: 22px 0 !important; }
  #services .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  #services .service-card { min-height: 240px !important; }
  #services .service-card-face {
    padding: 12px 12px 10px !important;
    background-color: #E8EFF5 !important;
    gap: 6px !important;
    border-color: rgba(10,37,64,0.08) !important;
    box-shadow: 0 4px 12px rgba(10,37,64,0.18) !important;
  }
  #services .service-card-back {
    background: #E8EFF5 !important;
    padding: 12px !important;
    box-shadow: 0 4px 12px rgba(10,37,64,0.18) !important;
  }
  #services .service-card h3,
  #services .service-card-back h3 { font-size: 0.98rem !important; margin: 0 !important; }
  #services .service-card p,
  #services .service-card-back p { font-size: 0.82rem !important; line-height: 1.4 !important; }
  #services .service-card .from { font-size: 0.74rem !important; }
  .service-card-flip {
    font-size: 0.72rem !important;
    padding-top: 0 !important;
    margin-top: 4px !important;
  }
  #services .service-card { min-height: 180px !important; }
  #services .service-card .from { margin-top: 4px !important; }
}

@media (max-width: 720px) {
  .mm-menu-toggle-float {
    display: inline-flex !important;
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom));
    right: 16px;
    z-index: 51;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(10,37,64,0.95);
    color: #F7F6F2;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body, system-ui), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(10,37,64,0.40);
  }
}

/* Desktop: push the yellow CTA to the far right of the top button strip. */
.top-buttons-inner { align-items: center; }
.top-buttons-inner a.is-cta { order: 99; margin-left: 12px; }

/* Header actions: push to the far right and enlarge tel + social icons. */
.site-header-inner { justify-content: space-between; }
.header-actions { margin-left: auto !important; gap: 14px !important; }
.tel-pill {
  padding: 12px 20px !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
}
.tel-pill .num { font-size: 1.08rem !important; }
.social-icon-btn {
  width: 48px !important;
  height: 48px !important;
}
.social-icon-btn svg { width: 28px !important; height: 28px !important; }

.tel-call { display: none; }

/* Menu button (desktop) — shared across all pages */
.header-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; padding: 9px 18px; border-radius: 999px;
  background: rgba(10,37,64,0.92); color: #F7F6F2;
  text-decoration: none; font-weight: 700; font-size: 0.92rem;
  min-height: 44px; margin-left: 4px; transition: background 0.15s ease;
}
.header-menu-bars { display: inline-flex; flex-direction: column; gap: 3px; width: 18px; }
.header-menu-bars span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; }
.header-menu-btn:hover { background: #0a2540; }
@media (max-width: 720px) { .header-menu-btn { display: none; } }
/* On content pages the button sits inside .top-buttons, where `.top-buttons a`
   would flatten it. Restore the navy pill (higher specificity wins). */
.top-buttons-inner > a.header-menu-btn {
  background: rgba(10,37,64,0.92); color: #F7F6F2;
  border: none; border-radius: 999px;
  padding: 9px 18px; margin-left: 8px;
}
.top-buttons-inner > a.header-menu-btn:hover { background: #0a2540; color: #fff; }

@media (max-width: 720px) {
  .header-actions { gap: 10px !important; }
  .tel-pill { padding: 10px 14px !important; font-size: 1rem !important; }
  .tel-pill .tel-emoji, .tel-pill .num { display: none !important; }
  .tel-pill .tel-call { display: inline-block !important; font-weight: 700; }
  .social-icon-btn { width: 44px !important; height: 44px !important; }
  .social-icon-btn svg { width: 24px !important; height: 24px !important; }
}

@media (max-width: 720px) {
  .top-buttons-inner > a { display: none !important; }
  .top-buttons-inner {
    justify-content: flex-end !important;
    padding: 6px 0 !important;
    overflow: visible !important;
  }
  .top-buttons { display: block !important; }
  .mm-menu-toggle:not(.mm-menu-toggle-float) {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin-right: 12px;
    padding: 12px 18px;
    background: rgba(10,37,64,0.92);
    color: #F7F6F2;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body, system-ui), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(10,37,64,0.18);
  }
  .mm-menu-toggle-bars {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 20px;
  }
  /* Hide the floating yellow CTA on mobile — Menu replaces it. */
  .sticky-cta { display: none !important; }
  .mm-menu-toggle-bars span {
    display: block; height: 2px; width: 100%;
    background: currentColor; border-radius: 2px;
  }
}

.mm-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(8,20,36,0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 998;
}
.mm-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

.mm-menu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(72vw, 280px);
  background: rgba(10,20,36,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -8px 0 24px rgba(0,0,0,0.35);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.mm-menu-drawer.is-open { transform: translateX(0); }

.mm-menu-drawer-inner {
  padding: 18px 14px 22px;
  display: flex; flex-direction: column;
  height: 100%;
}
.mm-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #F7F6F2;
  font-size: 1.8rem;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 8px;
}
.mm-menu-close:hover { background: rgba(255,255,255,0.08); }

.mm-menu-list {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}
.mm-menu-list a {
  display: block;
  padding: 12px 14px;
  color: #F7F6F2;
  text-decoration: none;
  font-family: var(--font-body, system-ui), sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mm-menu-list a:hover,
.mm-menu-list a:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}
.mm-menu-list a.is-cta {
  background: var(--sun, #F5C518);
  color: var(--sun-ink, #2A1A00);
  margin-top: 6px;
  text-align: center;
}
.mm-menu-list a.is-cta:hover { background: #FFD23A; }

/* Flat white icons to the right of each drawer option. Scoped to direct
   children so the social links (icon-dot on the left) are unaffected. */
.mm-menu-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mm-menu-list > a.is-cta { justify-content: center; }
.mm-menu-ico {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: #F7F6F2;
  display: inline-flex;
}
.mm-menu-ico svg { width: 100%; height: 100%; display: block; }

html.mm-menu-open { overflow: hidden; }

.mm-menu-list { overflow-y: auto; padding-right: 2px; }
.mm-menu-socials {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column; gap: 2px;
}
.mm-menu-socials a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  color: #F7F6F2;
  text-decoration: none;
  font-family: var(--font-body, system-ui), sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
}
.mm-menu-socials a:hover,
.mm-menu-socials a:focus-visible {
  background: rgba(255,255,255,0.08);
}
.mm-menu-social-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.mm-menu-social-wa { background: #25D366; }
.mm-menu-social-fb { background: #1877F2; }
.mm-menu-social-google {
  background:
    conic-gradient(from -45deg,
      #EA4335 0 25%, #FBBC05 25% 50%, #34A853 50% 75%, #4285F4 75% 100%);
}
