/* "Free guide" components, shared by the homepage and /guide.
   Gold (from the lion mark) is reserved for the free guide; blue stays the
   booking color, so the two offers never look like the same button. */
:root {
  --fg-gold: #e2ae2f;
  --fg-gold-deep: #b8860b;
  --fg-gold-light: #fff6dc;
  --fg-gold-line: #f0d48a;
  --fg-ink: #1d1d1f;
}

/* FREE GUIDE badge: caps, gold, with a slow shine sweep */
.fg-badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; border-radius: 9999px; overflow: hidden;
  background: linear-gradient(135deg, #f6cf5f 0%, var(--fg-gold) 45%, var(--fg-gold-deep) 100%);
  color: var(--fg-ink); font-weight: 800; font-size: 14px; line-height: 1;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; flex: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 1px 2px rgba(0,0,0,0.12);
}
.fg-badge::before { /* small gift/spark dot */
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--fg-ink); box-shadow: 0 0 0 3px rgba(29,29,31,0.15);
}
.fg-badge::after { /* the shine */
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: skewX(-20deg); animation: fg-shine 3.6s ease-in-out infinite;
}
.fg-badge-lg { font-size: clamp(15px, 1.6vw, 18px); padding: 10px 22px 10px 16px; }
@keyframes fg-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

/* Gold bubble link: "Not ready to book? Get the free guide" */
.fg-bubble {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--fg-gold-light); color: var(--fg-ink);
  border: 1.5px solid var(--fg-gold-line); border-radius: 9999px;
  padding: 7px 20px 7px 7px; font-size: 16px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.fg-bubble:hover { transform: translateY(-2px); border-color: var(--fg-gold); box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.08); }
.fg-bubble .fg-badge { font-size: 12px; padding: 7px 12px 7px 10px; box-shadow: none; }
.fg-bubble .fg-arrow { font-size: 22px; line-height: 1; margin-left: -2px; color: var(--fg-gold-deep); transition: transform 160ms ease; }
.fg-bubble:hover .fg-arrow { transform: translateX(3px); }

/* Gold submit button for the guide forms */
.fg-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 0; cursor: pointer; border-radius: 14px;
  padding: 17px 28px; font: inherit; font-size: 18px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--fg-ink);
  background: linear-gradient(180deg, #f6cf5f 0%, var(--fg-gold) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.fg-button:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 4px rgba(0,0,0,0.14), 0 8px 18px rgba(0,0,0,0.12); }
.fg-button:active { transform: translateY(0); }
.fg-button:disabled { opacity: 0.65; cursor: wait; transform: none; }
.fg-button .fg-arrow { font-size: 22px; line-height: 1; }

/* Doubt-remover line under every guide button */
.fg-assure { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: #6e6e73; }
.fg-assure li { display: inline-flex; align-items: center; gap: 6px; }
.fg-assure li::before { content: "\2713"; color: #1a8f3c; font-weight: 700; }

/* Inline form fields (homepage card uses these; /guide has its own) */
.fg-form .fg-fields { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; margin-bottom: 12px; }
.fg-form label span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--fg-ink); }
.fg-form input[type="text"], .fg-form input[type="email"] {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg-ink);
  padding: 13px 14px; border-radius: 12px; border: 1px solid #b5b5bb; background: #fff;
}
.fg-form input:focus { outline: none; border-color: var(--fg-gold-deep); box-shadow: 0 0 0 3px rgba(226,174,47,0.3); }
.fg-form input[aria-invalid="true"] { border-color: #b3261e; }
.fg-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fg-form .form-msg { font-size: 14px; margin: 10px 0 0; min-height: 1.3em; }
.fg-form .form-msg.error { color: #b3261e; }

/* Mobile sticky bar */
.fg-sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: none; align-items: center; gap: 10px;
  background: #1d1d1f; color: #fff; border-radius: 18px; padding: 10px 10px 10px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(140%); transition: transform 260ms ease;
}
.fg-sticky.show { transform: translateY(0); }
.fg-sticky .fg-sticky-text { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.25; }
.fg-sticky .fg-sticky-text small { display: block; font-weight: 400; color: #c7c7cc; font-size: 12px; }
.fg-sticky .fg-sticky-go { flex: none; background: var(--fg-gold); color: var(--fg-ink); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding: 11px 14px; border-radius: 12px; }
.fg-sticky .fg-sticky-x { flex: none; background: none; border: 0; color: #c7c7cc; font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
@media (max-width: 800px) { .fg-sticky { display: flex; } }
@media (max-width: 520px) { .fg-form .fg-fields { grid-template-columns: 1fr; } .fg-bubble { font-size: 14px; } }

@media (prefers-reduced-motion: reduce) {
  .fg-badge::after { animation: none; display: none; }
  .fg-bubble, .fg-button, .fg-sticky, .fg-bubble .fg-arrow { transition: none; }
}

/* Small gold nav button on /guide */
.fg-nav { display: inline-flex; align-items: center; border-radius: 9999px; padding: 9px 18px; font-size: 13px; font-weight: 700; color: var(--fg-ink); background: linear-gradient(180deg, #f6cf5f, var(--fg-gold)); box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.fg-nav:hover { filter: brightness(1.04); }
