/* Direct customer support. */
.whatsapp-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 13px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 32px rgba(0, 0, 0, .3);
}

.whatsapp-contact:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.whatsapp-contact svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* Compact, touch-friendly booking flow for phones. */
@media (max-width: 650px) {
  .hero h1 {
    font-size: clamp(52px, 15vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
  }

  .hero h1 em {
    display: inline-block;
    padding-top: .06em;
  }

  .whatsapp-contact {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 52px;
    padding: 0;
    width: 52px;
    justify-content: center;
  }

  .whatsapp-contact span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body:has(#bookingDialog[open]) .whatsapp-contact {
    display: none;
  }

  body:has(#bookingDialog[open]) {
    overflow: hidden;
  }

  #bookingDialog {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0 16px calc(84px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #bookingDialog .close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: 14px;
    z-index: 12;
  }

  #bookingDialog .modal-head {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 56px;
    padding: max(14px, env(safe-area-inset-top)) 42px 10px 0;
    background: #fff;
  }

  #bookingDialog .step h2 {
    margin: 12px 0 16px;
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.15;
  }

  #bookingDialog .step[data-step="2"] .form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  #bookingDialog .step[data-step="2"] .form-grid .wide {
    grid-column: 1 / -1;
  }

  #bookingDialog .form-grid label {
    min-width: 0;
    gap: 5px;
    font-size: 14px;
    line-height: 1.25;
  }

  #bookingDialog input,
  #bookingDialog select,
  #bookingDialog textarea {
    box-sizing: border-box;
    min-width: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1.2;
  }

  #bookingDialog textarea {
    min-height: 52px;
    resize: vertical;
  }

  #bookingDialog .modal-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
    gap: 10px;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
  }

  #bookingDialog .modal-actions button {
    flex: 1;
    min-height: 46px;
    padding: 11px 14px;
  }
}
