/* Shared by index.html and how-it-works.html: phone link, "Test it yourself" button,
   the popup around the real GoHighLevel form, and the minimal footer. */

/* ---------- phone in the bar ---------- */
.phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--sc-ink); white-space: nowrap; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.phone svg { width: 16px; height: 16px; color: var(--plum); }
@media (hover: hover) and (pointer: fine) { .phone:hover { background: #F4F1EC; } }

/* ---------- "Test it yourself" ---------- */
.try { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.2em; border-radius: 14px; border: 0; font: inherit; font-weight: 600; font-size: .98rem; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  background: #fff; color: var(--plum); box-shadow: inset 0 0 0 1.5px rgba(74,45,115,.35), 0 1px 2px rgba(40,30,20,.06); transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out); }
.try svg { width: 17px; height: 17px; }
.try:active { transform: translateY(1px) scale(.98); }
@media (hover: hover) and (pointer: fine) { .try:hover { background: var(--lav); } }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 58; min-height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--plum); color: #fff;
  box-shadow: 0 2px 4px rgba(40,20,70,.3), 0 16px 34px -12px rgba(74,45,115,.7); }
.fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #9EE8D6; box-shadow: 0 0 0 3px rgba(158,232,214,.28); }
@media (hover: hover) and (pointer: fine) { .fab:hover { background: var(--plum-2); } }
.fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 200ms, transform 240ms var(--sc-ease-out); }

/* ---------- the popup ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(22,18,31,.42); backdrop-filter: blur(4px); opacity: 0; transition: opacity 240ms var(--sc-ease-out); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__card { position: relative; width: min(46rem, 100%); max-width: calc(100vw - 16px); max-height: calc(100svh - 32px); display: flex; flex-direction: column; border-radius: 24px; background: #FAFAFA; overflow: hidden;
  box-shadow: 0 2px 6px rgba(22,18,31,.2), 0 40px 90px -30px rgba(22,18,31,.6); border: 3px solid var(--plum);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity 240ms var(--sc-ease-out), transform 300ms var(--sc-ease-out); }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #16121F; color: #fff; display: grid; place-items: center; cursor: pointer; }
.modal__close svg { width: 16px; height: 16px; }
.modal__body { position: relative; overflow: hidden; background: #FAFAFA; }
.modal__fit { position: relative; overflow: hidden; margin: 0 auto; }
.modal__frame { position: absolute; left: 0; top: 0; display: block; border: 0; transform-origin: 0 0; }
.modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); background: #fff; font-size: .86rem; color: var(--sc-ink-soft); }
.modal__foot a { font-weight: 600; color: var(--plum); white-space: nowrap; }
.modal__load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sc-ink-soft); font-size: .9rem; pointer-events: none; }
@media (max-width: 860px) { .modal { padding: 8px; } .modal__card { border-radius: 18px; } .modal__foot { padding: 10px 14px; font-size: .82rem; } .modal__close { top: 6px; right: 6px; width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .modal__card, .modal__scrim { transition: none; } }

/* ---------- minimal footer ---------- */
.site-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(40,30,20,.08), 0 10px 24px -14px rgba(40,30,20,.3); }
.site-foot__hll { display: inline-flex; align-items: center; border-radius: 8px; }
.site-foot__hll img { height: 38px; width: auto; max-width: none; }
.site-foot__social { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-foot__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #4E4658; transition: background-color 150ms, color 150ms; }
.site-foot__social svg { width: 19px; height: 19px; }
@media (hover: hover) and (pointer: fine) { .site-foot__social a:hover { background: var(--lav); color: var(--plum); } }
.site-foot__legal { font-size: .76rem; color: #6D6478; }
.site-foot__legal a { color: inherit; }

/* the hidden attribute always wins (offer on/off states) */
[hidden] { display: none !important; }

/* amber hand-drawn underline that follows text across line breaks
   (the same accent as "More Customers." on the VSL page) */
.hl-line {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 60 8, 130 6, 200 10 S 280 18, 296 9' fill='none' stroke='%23F5B942' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 100% .42em; background-position: 0 100%;
  padding-bottom: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.founding__boost { margin-top: 10px !important; font-weight: 650; color: var(--sc-ink) !important; font-size: 1.08rem; }

/* buttons that are <button>s get the same hand cursor as link buttons */
button.btn, .try, [data-try] { cursor: pointer; }

/* booking popup */
.modal--book .modal__card { width: min(46rem, 100%); height: auto; max-height: calc(100svh - 32px); }
.modal__head { padding: 18px 60px 14px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.modal__head strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.modal__head span { display: block; margin-top: 4px; font-size: .88rem; color: var(--sc-ink-soft); }
.modal__body--scroll { flex: 1 1 auto; overflow-y: auto !important; background: #fff; }
.modal__cal { display: block; width: 100%; height: 640px; border: 0; }  /* form_embed.js replaces this with the calendar's real height */
@media (max-width: 860px) { .modal--book .modal__card { max-height: calc(100svh - 16px); } }
