/* =====================================================================
 * Love Local Long Island — Featured Business page
 *
 * Standalone page with its own minimal header and footer. Styles are
 * scoped to .fb-page and prefixed fb- so they stay portable if any of
 * these blocks are later dropped into WordPress templates.
 * ===================================================================== */

/* Set on body (not just .fb-page) so elements injected outside the page
   wrapper — the CookieYes banner, reCAPTCHA — inherit the site font. */
body {
  margin: 0;
  background: #fff;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.fb-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10000;
  padding: 10px 16px;
  background: #353535;
  color: #fff;
  font: 700 15px "Open Sans", Helvetica, Arial, sans-serif;
  border-radius: 6px;
  text-decoration: none;
}
.fb-skip:focus { top: 12px; }

.fb-page {
  --fb-coral: #ff4d30;
  --fb-coral-dark: #d3341a;
  --fb-coral-darker: #a82812;
  --fb-coral-tint: #ffece8;
  --fb-coral-wash: #fff8f6;
  --fb-coral-light: #ff9a87;
  --fb-ink: #353535;
  --fb-heading: #444444;
  --fb-body: #555555;
  --fb-muted: #666666;
  --fb-line: #eeeeee;
  --fb-line-strong: #e6e6e6;
  --fb-surface: #ffffff;
  --fb-surface-muted: #f7f7f7;
  --fb-error: #b3261e;
  --fb-error-bg: #fdecea;

  --fb-font: "Open Sans", Helvetica, Arial, sans-serif;
  --fb-radius: 10px;
  --fb-gutter: 20px;
  --fb-max: 1200px;
  --fb-focus: 3px solid var(--fb-ink);

  font-family: var(--fb-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fb-ink);
  background: var(--fb-surface);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Scoped reset (beats theme/Bootstrap element rules) ---------- */
.fb-page *,
.fb-page *::before,
.fb-page *::after { box-sizing: border-box; }

.fb-page :is(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
.fb-page :is(h1, h2, h3) { font-family: var(--fb-font); color: inherit; letter-spacing: normal; text-transform: none; }
.fb-page img { display: block; max-width: 100%; height: auto; }
.fb-page svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb-page a { color: var(--fb-coral-dark); }
.fb-page a:hover { color: var(--fb-coral-darker); }
.fb-page :focus-visible { outline: var(--fb-focus); outline-offset: 3px; }
.fb-page [hidden] { display: none !important; }

.fb-page section[id] { scroll-margin-top: 20px; }

@media (prefers-reduced-motion: no-preference) {
  html:has(.fb-page) { scroll-behavior: smooth; }
}

/* ---------- Layout ---------- */
.fb-container {
  width: 100%;
  max-width: var(--fb-max);
  margin-inline: auto;
  padding-inline: var(--fb-gutter);
}
.fb-container--narrow { max-width: 880px; }

.fb-stack { display: grid; gap: 18px; }
.fb-stack-lg { display: grid; gap: 28px; }

.fb-section { padding-block: clamp(48px, 6vw, 80px); }
.fb-section--tight { padding-block: clamp(40px, 5vw, 56px); }
.fb-section--muted { background: var(--fb-surface-muted); border-block: 1px solid var(--fb-line); }
.fb-section--bordered { border-bottom: 0; }
.fb-section--dark { background: var(--fb-ink); color: #fff; }

.fb-section-head { display: grid; gap: 10px; max-width: 680px; }
.fb-section-head--center { justify-items: center; text-align: center; margin-inline: auto; }

.fb-section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--fb-heading);
  text-wrap: balance;
}
.fb-section--dark .fb-section-title { color: #fff; }
.fb-section-title--sm { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.fb-section-sub { font-size: 16px; color: var(--fb-body); }

/* ---------- Labels ---------- */
.fb-eyebrow,
.fb-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fb-coral-dark);
}
.fb-eyebrow--light { color: var(--fb-coral-light); }
.fb-tag {
  justify-self: start;
  background: var(--fb-coral-tint);
  padding: 6px 10px;
  border-radius: 4px;
}

.fb-badge {
  display: inline-block;
  background: var(--fb-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 4px;
  line-height: 1.2;
}

/* ---------- Buttons ---------- */
.fb-page .fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 6px;
  font: 700 16px/1.2 var(--fb-font);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.fb-page .fb-btn--primary { background: var(--fb-coral); color: #fff; }
.fb-page .fb-btn--primary:hover { background: var(--fb-coral-dark); color: #fff; }
.fb-page .fb-btn--outline { background: transparent; border-color: var(--fb-coral-dark); color: var(--fb-coral-dark); }
.fb-page .fb-btn--outline:hover { background: var(--fb-coral-tint); color: var(--fb-coral-dark); }
.fb-page .fb-btn--ghost { background: #fff; border-color: var(--fb-ink); color: var(--fb-ink); min-height: 48px; }
.fb-page .fb-btn--ghost:hover { background: #f4f4f4; }
.fb-page .fb-btn--block { display: flex; width: 100%; }
.fb-page .fb-btn:disabled { opacity: .7; cursor: progress; }

/* ---------- Price ---------- */
.fb-price { font-size: 26px; font-weight: 800; line-height: 1; }
.fb-price__unit { font-size: 15px; font-weight: 600; color: var(--fb-muted); }

/* ---------- Hero ---------- */
.fb-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
  padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px);
}
.fb-hero__copy { flex: 1.15 1 360px; display: grid; gap: 18px; }
.fb-hero__title {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--fb-heading);
  text-wrap: balance;
}
.fb-hero__lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--fb-heading);
  max-width: 580px;
  text-wrap: pretty;
}
.fb-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.fb-hero__example { flex: 1 1 320px; display: grid; gap: 10px; }
.fb-hero__caption { font-size: 13px; color: var(--fb-muted); text-align: center; }

/* ---------- Featured placement card ---------- */
.fb-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #ecd6cc;
  border-radius: var(--fb-radius);
  overflow: hidden;
  box-shadow: 0 1px 0 #f3e6df, 0 8px 24px rgba(196, 67, 47, .07);
}
.fb-card__media {
  position: relative;
  flex: 1 1 260px;
  min-height: 190px;
  background: #f4eeea;
  overflow: hidden;
}
.fb-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fb-card__sponsored { position: absolute; top: 12px; left: 12px; }
.fb-card__example { position: absolute; top: 12px; right: 12px; }
.fb-card__body {
  flex: 1.4 1 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}
.fb-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fb-coral-dark); }
.fb-card__name { font-size: 21px; font-weight: 800; line-height: 1.25; }
.fb-page .fb-card__name a { color: var(--fb-ink); text-decoration: none; }
.fb-page .fb-card__name a:hover { color: var(--fb-coral-dark); }
.fb-card__desc { font-size: 15px; line-height: 1.55; color: var(--fb-body); text-wrap: pretty; }
.fb-card__area { font-size: 14px; color: var(--fb-body); }
.fb-card__area strong { color: var(--fb-ink); margin-right: 6px; }
.fb-page .fb-card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Benefits ---------- */
.fb-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.fb-benefit {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
}
.fb-benefit--highlight { border: 2px solid var(--fb-coral); }
.fb-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--fb-radius);
  background: var(--fb-coral-tint);
  color: var(--fb-coral-dark);
}
.fb-benefit__icon svg { width: 22px; height: 22px; }
.fb-benefit--highlight .fb-benefit__icon { background: var(--fb-coral); color: #fff; }
.fb-benefit__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.fb-benefit__text { font-size: 15px; line-height: 1.6; color: var(--fb-body); text-wrap: pretty; }
.fb-benefit__meta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fb-muted);
  border-top: 1px solid #f1f1f1;
  padding-top: 10px;
}
.fb-benefit__meta strong { color: var(--fb-ink); }

.fb-note-bar {
  background: #fff;
  border: 1px solid var(--fb-line);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Free vs featured ---------- */
.fb-compare { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; }
.fb-compare__title {
  flex: 0 1 360px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--fb-heading);
}
.fb-compare__text { flex: 1 1 380px; font-size: 16px; line-height: 1.65; color: var(--fb-heading); text-wrap: pretty; }

/* ---------- Steps ---------- */
.fb-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}
.fb-step { display: grid; align-content: start; gap: 8px; padding-top: 16px; border-top: 2px solid var(--fb-coral); }
.fb-step__num { font-size: 32px; font-weight: 800; line-height: 1.2; color: #ff6a50; }
.fb-step__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.fb-step__text { font-size: 15px; line-height: 1.6; color: #e6e6e6; }

/* ---------- Pricing ---------- */
.fb-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
}
.fb-plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--fb-line-strong);
  border-radius: 12px;
  background: #fff;
}
.fb-plan--featured {
  border: 2px solid var(--fb-coral);
  background: var(--fb-coral-wash);
  box-shadow: 0 10px 28px rgba(255, 77, 48, .12);
}
.fb-plan__flag { position: absolute; top: -13px; left: 24px; font-size: 12px; letter-spacing: .08em; }
.fb-plan__name { font-size: 20px; font-weight: 700; }
.fb-plan__price { font-size: 44px; font-weight: 800; line-height: 1; }
.fb-plan__price .fb-price__unit { font-size: 16px; }
.fb-plan__list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fb-heading);
}
.fb-plan .fb-btn { margin-top: 6px; }
.fb-plan__terms {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fb-body);
  border-top: 1px solid var(--fb-line);
  padding-top: 12px;
}
.fb-plan__terms strong { color: var(--fb-ink); }

.fb-promise {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding: 22px 24px;
  background: var(--fb-surface-muted);
  border-radius: var(--fb-radius);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fb-heading);
}
.fb-promise__title { font-size: 18px; font-weight: 700; color: var(--fb-ink); }

.fb-pricing__ask { text-align: center; font-size: 15px; color: var(--fb-heading); }
.fb-pricing__ask a { font-weight: 700; }

/* ---------- FAQ ---------- */
.fb-faq { display: grid; gap: 10px; }
.fb-faq__item { background: #fff; border: 1px solid var(--fb-line); border-radius: 8px; padding: 0 20px; }
.fb-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding-block: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.fb-faq__item summary::-webkit-details-marker { display: none; }
.fb-faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--fb-coral-dark);
}
.fb-faq__item[open] summary::after { content: "−"; }
.fb-faq__item summary:focus-visible { outline-offset: 2px; }
.fb-faq__item p { margin-bottom: 18px; font-size: 15px; line-height: 1.6; color: var(--fb-heading); }
.fb-faq__item p a { font-weight: 700; }

/* ---------- Closing CTA ---------- */
.fb-closing { display: grid; justify-items: center; gap: 16px; text-align: center; }
.fb-closing .fb-section-title { max-width: 720px; }
.fb-closing__text { max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--fb-heading); }

/* ---------- Header: logo only, centered ---------- */
.fb-header {
  display: flex;
  justify-content: center;
  padding: 16px var(--fb-gutter);
  background: #fff;
}
.fb-header__logo { display: block; border-radius: 4px; }
.fb-header__logo img { width: clamp(180px, 22vw, 230px); }

/* ---------- Footer: logo band, then legal links ---------- */
.fb-footer { color: #cfcfcf; }
.fb-footer__brand {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) var(--fb-gutter);
  background: #353535;
}
.fb-footer__brand a { display: block; border-radius: 4px; }
.fb-footer__brand img { width: clamp(220px, 30vw, 318px); }
.fb-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  padding: 28px var(--fb-gutter) calc(28px + env(safe-area-inset-bottom));
  background: #303030;
}
.fb-page .fb-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: #cfcfcf;
  text-decoration: none;
}
.fb-page .fb-footer__legal a:hover { color: #fff; text-decoration: underline; }
.fb-page .fb-footer :focus-visible { outline-color: var(--fb-coral-light); }

/* ---------- Question launcher ---------- */
.fb-page .fb-launcher {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  background: var(--fb-ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font: 700 15px var(--fb-font);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: opacity .2s ease, transform .2s ease;
}
.fb-page .fb-launcher:hover { background: #1f1f1f; }
.fb-page .fb-launcher:focus-visible { outline-color: var(--fb-coral); }
.fb-launcher svg { width: 18px; height: 18px; stroke-width: 2.2; }
.fb-launcher.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ---------- Question panel ---------- */
.fb-ask {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9991;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--fb-line-strong);
  border-top: 4px solid var(--fb-coral);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}
.fb-ask__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 0; }
.fb-ask__title { font-size: 20px; font-weight: 800; line-height: 1.25; color: var(--fb-heading); }
.fb-page .fb-ask__close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -10px -10px 0 0;
  background: none;
  border: 0;
  border-radius: 6px;
  color: var(--fb-ink);
  cursor: pointer;
}
.fb-page .fb-ask__close:hover { background: #f4f4f4; }
.fb-ask__close svg { width: 20px; height: 20px; stroke-width: 2.4; }

.fb-ask__sent { display: grid; gap: 16px; padding: 10px 20px 22px; font-size: 15px; line-height: 1.6; color: var(--fb-heading); }
.fb-ask__form { display: grid; gap: 14px; padding: 8px 20px 22px; }
.fb-ask__intro { font-size: 14px; line-height: 1.55; color: var(--fb-body); }

.fb-field { display: grid; gap: 6px; }
.fb-page .fb-field label { margin: 0; font-size: 14px; font-weight: 600; color: var(--fb-ink); }
.fb-field__optional { font-weight: 400; color: var(--fb-muted); }
.fb-page .fb-field :is(input, textarea) {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1.5px solid #d6d6d6;
  border-radius: 6px;
  background: #fff;
  font: 400 16px/1.5 var(--fb-font); /* 16px keeps iOS from zooming on focus */
  color: var(--fb-ink);
  box-shadow: none;
}
.fb-page .fb-field textarea { min-height: 104px; resize: vertical; }
.fb-page .fb-field :is(input, textarea):focus-visible { outline: var(--fb-focus); outline-offset: 1px; border-color: var(--fb-ink); }
.fb-page .fb-field [aria-invalid="true"] { border-color: var(--fb-error); }
.fb-field__error { font-size: 13px; font-weight: 600; color: var(--fb-error); }
.fb-field__error:empty { display: none; }

.fb-ask__failed {
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--fb-error-bg);
  color: var(--fb-error);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.fb-ask__legal { font-size: 12px; line-height: 1.5; color: var(--fb-muted); }
.fb-ask__legal a { color: var(--fb-muted); }

.fb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The form carries the reCAPTCHA disclosure, so Google's floating badge
   (which would sit on top of the launcher) can be hidden on this page. */
.grecaptcha-badge { visibility: hidden; }
