/* G&G Scaled — contact pop-up + cookie banner. Loaded after the main page styles. */
.gg-lock { overflow: hidden; }
.gg-modal, .gg-modal *, .gg-cookie, .gg-cookie * { box-sizing: border-box; }

/* ---------- Contact pop-up ---------- */
.gg-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
}
.gg-modal[data-open="true"] { display: flex; }
.gg-modal__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease;
}
.gg-modal__panel {
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto;
  background: #000; border: 1px solid rgba(255,255,255,.28); border-radius: 22px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 120px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .3s ease, transform .35s cubic-bezier(0.65, 0.05, 0, 1);
}
.gg-modal[data-shown="true"] .gg-modal__scrim { opacity: 1; }
.gg-modal[data-shown="true"] .gg-modal__panel { opacity: 1; transform: none; }
.gg-modal__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer;
}
.gg-modal__close:hover { background: rgba(255,255,255,.08); }
.gg-modal__close svg { width: 20px; height: 20px; }
.gg-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: .75rem; font-weight: 700; font-stretch: 115%; letter-spacing: .24em;
  text-transform: uppercase; color: #B9B9B9;
}
.gg-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.gg-title {
  margin: 0; font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 700; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: -.015em; line-height: 1; text-wrap: balance;
}
.gg-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.gg-lede { margin: 14px 0 22px; font-size: 1rem; line-height: 1.55; color: #D0D0D0; }

.gg-form { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.gg-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gg-field { min-width: 0; }
@media (max-width: 520px) { .gg-row { grid-template-columns: minmax(0, 1fr); } }
.gg-field label {
  display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 700; font-stretch: 112%;
  letter-spacing: .16em; text-transform: uppercase; color: #B9B9B9;
}
.gg-field label span { color: #777; font-weight: 400; letter-spacing: .06em; text-transform: none; }
.gg-field input, .gg-field select, .gg-field textarea {
  width: 100%; min-width: 0; padding: 14px 14px; border-radius: 12px;
  background: #0B0B0B; color: #fff; border: 1px solid rgba(255,255,255,.22);
  font: inherit; font-size: 16px; /* 16px stops iOS zooming into the field */
  -webkit-appearance: none; appearance: none;
}
.gg-field select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.gg-field textarea { min-height: 96px; resize: vertical; }
.gg-field input::placeholder, .gg-field textarea::placeholder { color: #6E6E6E; }
.gg-field input:focus, .gg-field select:focus, .gg-field textarea:focus { outline: 0; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.gg-field [aria-invalid="true"] { border-color: #ff8a8a; }
.gg-err { display: none; margin-top: 6px; font-size: .85rem; color: #ff9c9c; }
.gg-field [aria-invalid="true"] ~ .gg-err { display: block; }
.gg-hp { display: none !important; }   /* spam-trap tick box: never shown, so autofill and people can't touch it */

/* Budget question: two tick-style choices, shown only for services with a published starting price */
.gg-budget { margin: 0; padding: 16px; min-width: 0; border-radius: 14px; border: 1px solid rgba(255,255,255,.22); background: #0B0B0B; display: grid; gap: 10px; }
.gg-budget[hidden], .gg-budget__note[hidden] { display: none; }
.gg-budget__q { margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.4; color: #fff; }
.gg-budget__note { margin: -2px 0 2px; font-size: .84rem; line-height: 1.5; color: #9A9A9A; }
.gg-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); cursor: pointer; font-size: .95rem; line-height: 1.35; color: #fff; transition: border-color .2s ease, background .2s ease; }
.gg-opt:hover { border-color: rgba(255,255,255,.55); }
.gg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gg-opt__tick { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.gg-opt__tick::after { content: ""; width: 10px; height: 5px; margin-top: -2px; border-left: 2.5px solid #000; border-bottom: 2.5px solid #000; transform: rotate(-45deg) scale(0); transition: transform .15s ease; }
.gg-opt:has(input:checked) { border-color: #fff; background: rgba(255,255,255,.06); }
.gg-opt input:checked + .gg-opt__tick { background: #fff; border-color: #fff; }
.gg-opt input:checked + .gg-opt__tick::after { transform: rotate(-45deg) scale(1); }
.gg-opt input:focus-visible + .gg-opt__tick { outline: 2px solid #fff; outline-offset: 3px; }
.gg-budget[data-invalid="true"] { border-color: #ff8a8a; }
.gg-budget[data-invalid="true"] .gg-err { display: block; }
.gg-done .gg-actions { margin-top: 0; }
.gg-done .gg-px { color: #fff; }

/* Booking page (/book): the Cal.com calendar sits inline */
.book-wrap { padding-block: clamp(8px, 2vw, 24px) clamp(40px, 6vw, 80px); }
.book-embed { min-height: 680px; width: 100%; border-radius: 18px; overflow: hidden; }
.book-done { max-width: 640px; margin: 8px auto 0; padding: 28px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; }
.book-done[hidden] { display: none; }
.book-help { margin-top: 18px; font-size: .92rem; color: #9A9A9A; text-align: center; }
.book-help a { color: #fff; text-underline-offset: 4px; }

.gg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid #fff; background: #fff; color: #000;
  font: inherit; font-size: .88rem; font-weight: 700; font-stretch: 112%; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.gg-btn:hover { box-shadow: 0 0 30px rgba(255,255,255,.3); }
.gg-btn:focus-visible, .gg-modal__close:focus-visible, .gg-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gg-btn[disabled] { opacity: .6; cursor: progress; box-shadow: none; }
.gg-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.gg-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.gg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.gg-actions .gg-btn:first-child { flex: 1 1 200px; }
.gg-small { margin: 6px 0 0; font-size: .82rem; line-height: 1.55; color: #9A9A9A; }
.gg-small a, .gg-link { color: #fff; text-underline-offset: 4px; }
.gg-status { margin: 0; min-height: 1.4em; font-size: .9rem; color: #ff9c9c; }

.gg-done { display: none; text-align: left; }
.gg-modal[data-state="done"] .gg-form, .gg-modal[data-state="done"] .gg-lede,
.gg-modal[data-state="done"] .gg-modal__panel > .gg-eyebrow, .gg-modal[data-state="done"] .gg-modal__panel > .gg-title { display: none; }
.gg-modal[data-state="done"] .gg-done { display: block; }
.gg-done p { margin: 14px 0 22px; font-size: 1.02rem; line-height: 1.6; color: #D0D0D0; }

/* ---------- Cookie banner (only rendered when a Meta Pixel ID is configured) ---------- */
.gg-cookie {
  position: fixed; z-index: 900; left: clamp(10px, 2vw, 24px); right: clamp(10px, 2vw, 24px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(10px, 2vw, 24px));
  max-width: 720px; margin: 0 auto; padding: 18px 20px;
  display: none; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  background: #000; border: 1px solid rgba(255,255,255,.28); border-radius: 18px;
  box-shadow: 0 20px 80px rgba(0,0,0,.8);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; color: #fff;
}
.gg-cookie[data-open="true"] { display: flex; }
.gg-cookie p { flex: 1 1 320px; margin: 0; font-size: .92rem; line-height: 1.5; color: #D0D0D0; }
.gg-cookie p a { color: #fff; text-underline-offset: 4px; }
.gg-cookie__btns { display: flex; gap: 10px; flex: 0 0 auto; }
/* Reject and Accept look identical, so neither choice is pushed */
.gg-cookie .gg-btn { padding: 12px 22px; font-size: .8rem; background: transparent; color: #fff; border-color: #fff; }
.gg-cookie .gg-btn:hover { background: #fff; color: #000; }

@media (prefers-reduced-motion: reduce) {
  .gg-modal__scrim, .gg-modal__panel, .gg-btn { transition: none; }
}
