/* WhatsApp QR codes + Cal.com booking. Same pattern and colours as gulfam.a2zautomations.com (same template). */
html, body { max-width: 100%; overflow-x: clip; }
#site-header { position: relative; z-index: 100; background: #fbfcf9; }
.site-header { position: relative; }

/* contact strip above the header */
.contact-strip { background: #14261e; color: #f4f7f2; border-bottom: 1px solid #294134; }
.contact-strip-inner { display: flex; align-items: center; justify-content: flex-end; gap: 10px 22px; flex-wrap: wrap; padding-block: 10px; }
.contact-strip a, .contact-strip summary { font-size: 14px; line-height: 1.5; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; color: #f4f7f2; }
.contact-strip a:hover { color: #c8f544; }
.contact-strip .strip-book { color: #c8f544; }
.header-qr { position: relative; }
.header-qr summary { cursor: pointer; border: 1px solid #99b773; border-radius: 99px; padding: 4px 14px; color: #d4f58c; list-style: none; }
.header-qr summary::-webkit-details-marker { display: none; }
.contact-strip details[open] summary { background: #c8f544; color: #182316; }
.qr-popover { position: absolute; right: 0; top: calc(100% + 12px); width: 480px; max-width: calc(100vw - 32px); padding: 24px; background: #fff; border: 1px solid #d7dfcd; border-radius: 18px; color: #263622; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); z-index: 120; }
.qr-popover > p { font-weight: 700; font-size: 20px; margin: 0 0 14px; }

/* the QR pair (popover + contact page) */
.qr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qr-pair > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.qr-pair img { width: 100%; max-width: 216px; height: auto; aspect-ratio: 1; display: block; background: #fff; border: 1px solid #d5ddcc; border-radius: 10px; padding: 4px; }
.qr-pair strong { font-size: 15px; }
.qr-pair a { font-size: 14px; overflow-wrap: anywhere; max-width: 100%; color: #2f5a14; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qr-pair a:has(img) { text-decoration: none; }
.contact-qr-section { margin: 32px 0; }
.contact-qr-section h2 { font-size: 26px; line-height: 1.2; margin: 0 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* booking */
.booking-section { scroll-margin-top: 24px; }
.booking-head { max-width: 720px; margin-bottom: 24px; }
.booking-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.cal-frame { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 8px; min-height: 640px; overflow: hidden; }
.cal-inline { width: 100%; min-height: 620px; overflow: auto; }
.cal-fallback { color: var(--muted); font-size: 14px; margin-top: 12px; }
.cal-fallback a { color: #2f5a14; font-weight: 600; text-decoration: underline; }

@media (max-width: 850px) {
  .contact-strip-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; justify-content: stretch; }
  .contact-strip a { font-size: 13px; overflow-wrap: anywhere; }
  .contact-strip .header-qr { grid-column: 1 / -1; }
  .header-qr summary { font-size: 13px; min-height: 36px; width: max-content; }
  .qr-popover { position: relative; top: auto; right: auto; margin-top: 12px; width: 100%; max-width: 100%; padding: 18px; }
  .cal-frame { min-height: 560px; padding: 4px; border-radius: 16px; }
}
@media (max-width: 600px) {
  .qr-pair { gap: 14px; }
  .qr-pair strong, .qr-pair a { font-size: 13px; }
}
@media (max-width: 360px) {
  .contact-strip-inner { grid-template-columns: minmax(0, 1fr); }
  .qr-pair { grid-template-columns: minmax(0, 1fr); }
}
