/* Shared mobile navigation and floating WhatsApp button. */
.internal-menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--forest);
  cursor: pointer;
  display: none;
  font-size: 1.8rem;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  box-sizing: border-box;
  box-shadow: 0 12px 35px rgba(5, 39, 27, 0.28);
  color: #073b20;
  display: inline-flex;
  font-weight: 800;
  flex: none !important;
  gap: 9px;
  height: auto;
  bottom: 22px !important;
  justify-content: center;
  left: auto !important;
  margin: 0;
  max-width: calc(100vw - 44px);
  min-width: 0;
  overflow: hidden;
  padding: 11px 17px 11px 11px;
  position: fixed;
  right: 22px !important;
  text-decoration: none;
  top: auto !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
  width: max-content !important;
  z-index: 1000;
}

.whatsapp-float:hover {
  box-shadow: 0 16px 42px rgba(5, 39, 27, 0.36);
  transform: translateY(-3px);
}

.wa-icon {
  background: white;
  border: 2px solid white;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  height: 34px !important;
  object-fit: cover;
  overflow: hidden;
  width: 34px !important;
}

.wa-label {
  font-size: 0.88rem;
}

.complete-planning-note {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}

@media (max-width: 920px) {
  .site-header .menu-toggle {
    cursor: pointer;
    display: block;
    margin-left: auto;
  }

  .site-header .main-nav {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(18, 59, 50, 0.13);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 20px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-header .main-nav.open {
    display: flex;
  }

  .site-header .main-nav.open a {
    border-bottom: 1px solid var(--line);
    display: block;
    padding: 14px 8px;
  }

  .site-header .main-nav.open a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 850px) {
  .internal-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header > .header-cta {
    display: none;
  }

  .site-header .page-nav,
  .site-header .gallery-nav {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(18, 59, 50, 0.13);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 20px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-header .page-nav.mobile-open,
  .site-header .gallery-nav.mobile-open {
    display: flex;
  }

  .site-header .page-nav.mobile-open a,
  .site-header .gallery-nav.mobile-open a,
  .site-header .gallery-nav.mobile-open .header-cta {
    border-bottom: 1px solid var(--line);
    display: block;
    padding: 14px 8px;
  }

  .site-header .page-nav.mobile-open a:last-child,
  .site-header .gallery-nav.mobile-open a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 850px) {
  .whatsapp-float {
    border-radius: 50%;
    bottom: 15px !important;
    display: flex !important;
    gap: 0;
    height: 56px !important;
    left: auto !important;
    max-width: 56px !important;
    min-width: 56px !important;
    padding: 7px;
    right: 15px !important;
    top: auto !important;
    width: 56px !important;
  }

  .wa-label {
    display: none !important;
  }

  .wa-icon {
    flex: 0 0 42px;
    height: 42px !important;
    max-width: 42px !important;
    min-width: 42px !important;
    width: 42px !important;
  }
}
