/*
 * BBS Agency — Location Pages Stylesheet
 * File:    location-pages.css
 * Version: 1.1.7
 *
 * HOW TO INSTALL:
 *   Option A (recommended): Upload to theme via Appearance → Customize → Additional CSS
 *   Option B: Upload file to /wp-content/themes/[theme]/css/location-pages.css
 *             then add to functions.php:
 *             wp_enqueue_style('bbs-location-pages',
 *               get_template_directory_uri() . '/css/location-pages.css', [], '1.0');
 *   Option C: Use Simple Custom CSS plugin — paste full contents there.
 *
 * ALL rules are scoped under .bbs-lp — they will not affect any other
 * page on thebbsagency.com. Safe to load sitewide.
 *
 * This file is loaded ONCE. It covers every location page automatically.
 * Do NOT paste these styles into individual page content.
 */

/* ── Reset within scope only ── */
.bbs-lp *,
.bbs-lp *::before,
.bbs-lp *::after {
  box-sizing: border-box;
}

/* ── Tokens ── */
.bbs-lp {
  --lp-blue:       #0369a1;
  --lp-blue-lt:    #e0f2fe;
  --lp-blue-mid:   #0ea5e9;
  --lp-blue-bdr:   #bae6fd;
  --lp-navy:       #0f172a;
  --lp-gray-50:    #f8fafc;
  --lp-gray-100:   #f1f5f9;
  --lp-gray-200:   #e2e8f0;
  --lp-gray-400:   #94a3b8;
  --lp-gray-500:   #64748b;
  --lp-gray-600:   #475569;
  --lp-green:      #16a34a;
  --lp-green-bg:   #f0fdf4;
  --lp-green-bdr:  #86efac;
  --lp-red:        #dc2626;
  --lp-red-bg:     #fef2f2;
  --lp-red-bdr:    #fca5a5;
  --lp-font:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --lp-max:        1100px;
  --lp-max-narrow: 860px;
  font-family: var(--lp-font);
  color: var(--lp-gray-600);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout wrappers ── */
.bbs-lp .lp-wrap {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 32px;
}
.bbs-lp .lp-wrap-narrow {
  max-width: var(--lp-max-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Images ── */
.bbs-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}
.bbs-lp .lp-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Typography — scoped, won't bleed into theme ── */
.bbs-lp .lp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lp-blue);
  background: var(--lp-blue-lt);
  border: 1px solid var(--lp-blue-bdr);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  line-height: 1;
}
.bbs-lp .lp-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #ffffff;
  margin: 0 0 18px;
}
.bbs-lp .lp-h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--lp-navy);
  margin: 0 0 12px;
}
.bbs-lp .lp-h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-navy);
  margin: 0 0 6px;
}
.bbs-lp .lp-p {
  margin: 0 0 14px;
  color: var(--lp-gray-600);
}
.bbs-lp .lp-p:last-child { margin-bottom: 0; }
.bbs-lp .lp-p a {
  color: var(--lp-blue);
  text-decoration: underline;
}
.bbs-lp .lp-p a:hover { color: var(--lp-blue-mid); }

/* ── Breadcrumb ── */
.bbs-lp .lp-breadcrumb {
  padding: 12px 0;
  border-bottom: 1px solid var(--lp-gray-200);
  font-size: 13px;
  color: var(--lp-gray-400);
  margin-bottom: 0;
}
.bbs-lp .lp-breadcrumb a {
  color: var(--lp-blue);
  text-decoration: none;
}
.bbs-lp .lp-breadcrumb a:hover { text-decoration: underline; }
.bbs-lp .lp-breadcrumb span { margin: 0 6px; }

/* ── Buttons ── */
.bbs-lp .lp-btn-primary {
  display: inline-block;
  background: var(--lp-blue-mid);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
  letter-spacing: -.01em;
  line-height: 1;
}
.bbs-lp .lp-btn-primary:hover {
  background: var(--lp-blue);
  transform: translateY(-1px);
  color: #fff !important;
}
.bbs-lp .lp-btn-ghost {
  display: inline-block;
  color: rgba(255,255,255,.75) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 0;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.3);
  transition: color .15s;
}
.bbs-lp .lp-btn-ghost:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.7);
}

/* ── HERO ── */
.bbs-lp .lp-hero {
  background: var(--lp-navy);
  padding: 72px 0;
  overflow: hidden;
}
.bbs-lp .lp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
}
.bbs-lp .lp-hero-copy { /* padding-bottom removed — text column centers in hero */ }
.bbs-lp .lp-hero-copy .lp-eyebrow {
  color: #7dd3fc;
  background: rgba(125,211,252,.12);
  border-color: rgba(125,211,252,.25);
}
.bbs-lp .lp-hero-copy .lp-p { color: #94a3b8; font-size: 17px; max-width: 480px; }
.bbs-lp .lp-hero-btns { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.bbs-lp .lp-hero-img {
  align-self: center;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.bbs-lp .lp-hero-img {
  position: relative;
}
.bbs-lp .lp-hero-img img,
.bbs-lp .lp-hero-img picture img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Stat strip ── */
.bbs-lp .lp-stat-strip {
  background: #fff;
  border-bottom: 1px solid var(--lp-gray-200);
}
.bbs-lp .lp-stat-inner { display: flex; align-items: stretch; }
.bbs-lp .lp-stat-item {
  flex: 1;
  padding: 24px 28px;
  border-right: 1px solid var(--lp-gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
}
.bbs-lp .lp-stat-item:last-child { border-right: none; }
.bbs-lp .lp-stat-icon {
  width: 44px; height: 44px;
  background: var(--lp-blue-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.bbs-lp .lp-stat-num {
  font-size: 22px; font-weight: 800;
  color: var(--lp-navy); line-height: 1;
  display: block;
}
.bbs-lp .lp-stat-lbl {
  font-size: 12px; color: var(--lp-gray-400);
  margin-top: 3px; font-weight: 500;
  display: block;
}

/* ── Sections ── */
.bbs-lp .lp-section         { padding: 80px 0; background: #fff; }
.bbs-lp .lp-section-alt     { padding: 80px 0; background: var(--lp-gray-50); border-top: 1px solid var(--lp-gray-200); border-bottom: 1px solid var(--lp-gray-200); }
.bbs-lp .lp-section-dark    { padding: 80px 0; background: var(--lp-navy); }
.bbs-lp .lp-section-dark .lp-h2  { color: #fff; }
.bbs-lp .lp-section-dark .lp-p   { color: #94a3b8; }
.bbs-lp .lp-section-dark .lp-eyebrow {
  color: #7dd3fc;
  background: rgba(125,211,252,.12);
  border-color: rgba(125,211,252,.25);
}
.bbs-lp .lp-section-vis {
  padding: 80px 0;
  background: var(--lp-blue-lt);
  border-top: 1px solid var(--lp-blue-bdr);
  border-bottom: 1px solid var(--lp-blue-bdr);
}

/* ── Split rows ── */
.bbs-lp .lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.bbs-lp .lp-split-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 32px rgba(0,0,0,.1);
}
.bbs-lp .lp-split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Includes list ── */
.bbs-lp .lp-inc-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px; margin: 20px 0 0; padding: 0;
}
.bbs-lp .lp-inc-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: #166534;
  background: var(--lp-green-bg);
  border: 1px solid var(--lp-green-bdr);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 500; line-height: 1.5;
}
.bbs-lp .lp-inc-list li::before {
  content: '✓';
  color: var(--lp-green);
  font-weight: 800; flex-shrink: 0;
  margin-top: 1px; font-size: 14px;
}

/* ── Process steps ── */
.bbs-lp .lp-steps { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.bbs-lp .lp-step {
  display: flex; gap: 22px;
  padding-bottom: 32px;
  position: relative;
}
.bbs-lp .lp-step:not(:last-child)::before {
  content: '';
  position: absolute; left: 19px; top: 44px; bottom: 0;
  width: 2px; background: var(--lp-gray-200);
}
.bbs-lp .lp-step-num {
  width: 40px; height: 40px;
  background: var(--lp-navy); color: #fff;
  font-weight: 800; font-size: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.bbs-lp .lp-step-body .lp-h3 { font-size: 16px; margin-bottom: 5px; }
.bbs-lp .lp-step-body .lp-p  { font-size: 14px; color: var(--lp-gray-600); }

/* ── Compare grid ── */
.bbs-lp .lp-compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 24px;
}
.bbs-lp .lp-compare-col { border-radius: 12px; padding: 20px 22px; }
.bbs-lp .lp-compare-col.bad  { background: var(--lp-red-bg);  border: 1px solid var(--lp-red-bdr); }
.bbs-lp .lp-compare-col.good { background: var(--lp-green-bg); border: 1px solid var(--lp-green-bdr); }
.bbs-lp .lp-compare-head {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.bbs-lp .lp-compare-col.bad  .lp-compare-head { color: var(--lp-red); }
.bbs-lp .lp-compare-col.good .lp-compare-head { color: var(--lp-green); }
.bbs-lp .lp-compare-col ul   { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.bbs-lp .lp-compare-col li   { font-size: 13px; line-height: 1.55; padding-left: 18px; position: relative; }
.bbs-lp .lp-compare-col.bad  li { color: #7f1d1d; }
.bbs-lp .lp-compare-col.good li { color: #14532d; }
.bbs-lp .lp-compare-col.bad  li::before { content: '✗'; position: absolute; left: 0; color: var(--lp-red);   font-weight: 800; }
.bbs-lp .lp-compare-col.good li::before { content: '✓'; position: absolute; left: 0; color: var(--lp-green); font-weight: 800; }

/* ── Visibility embed ── */
.bbs-lp .lp-vis-embed-row {
  width: 100%; margin-top: 28px;
  background: #fff;
  border: 1px solid var(--lp-blue-bdr);
  border-radius: 14px;
  overflow: hidden;
  min-height: 460px;
}

/* ── Service pills ── */
.bbs-lp .lp-svc-row    { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.bbs-lp .lp-svc-pill {
  background: #fff; border: 1px solid var(--lp-gray-200);
  border-radius: 8px; padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--lp-blue) !important;
  text-decoration: none !important;
  transition: border-color .15s, background .15s;
  line-height: 1;
}
.bbs-lp .lp-svc-pill:hover { border-color: var(--lp-blue-mid); background: var(--lp-blue-lt); }
.bbs-lp .lp-svc-pill.active { background: var(--lp-blue-lt); border-color: var(--lp-blue-mid); }

/* ── Nearby pills ── */
.bbs-lp .lp-nearby-row  { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.bbs-lp .lp-nearby-pill {
  background: #fff; border: 1px solid var(--lp-gray-200);
  border-radius: 6px; padding: 7px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--lp-blue) !important;
  text-decoration: none !important;
  transition: border-color .15s, background .15s;
}
.bbs-lp .lp-nearby-pill:hover { border-color: var(--lp-blue-mid); background: var(--lp-blue-lt); }

/* ── FAQ ── */
.bbs-lp .lp-faq-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.bbs-lp .lp-faq-item {
  border: 1px solid var(--lp-gray-200);
  border-radius: 10px; padding: 18px 22px;
  background: #fff;
}
.bbs-lp .lp-faq-item strong {
  display: block; font-size: 15px;
  color: var(--lp-navy); margin-bottom: 6px; font-weight: 700;
}
.bbs-lp .lp-faq-item span { font-size: 14px; color: var(--lp-gray-600); line-height: 1.65; }
.bbs-lp .lp-faq-item span a { color: var(--lp-blue); text-decoration: underline; }

/* ── CTA section ── */
.bbs-lp .lp-cta-section { background: var(--lp-navy); padding: 80px 0; }
.bbs-lp .lp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px; align-items: start;
}
.bbs-lp .lp-cta-copy .lp-h2 { color: #fff; }
.bbs-lp .lp-cta-copy .lp-p  { color: #94a3b8; font-size: 16px; }
.bbs-lp .lp-cta-benefits {
  list-style: none; display: flex; flex-direction: column;
  gap: 8px; margin: 0 0 28px; padding: 0;
}
.bbs-lp .lp-cta-benefits li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #94a3b8; font-weight: 500;
}
.bbs-lp .lp-cta-benefits li::before {
  content: '✓'; color: var(--lp-blue-mid);
  font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.bbs-lp .lp-cta-phone {
  display: inline-block; font-size: 18px;
  font-weight: 700; color: #fff !important;
  text-decoration: none !important; letter-spacing: -.01em;
}
.bbs-lp .lp-cta-phone:hover { color: var(--lp-blue-mid) !important; }

/* ── GHL form card ── */
.bbs-lp .lp-form-card {
  background: #fff;
  border-radius: 14px; padding: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.bbs-lp .lp-form-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--lp-blue); margin-bottom: 5px;
  display: block;
}
.bbs-lp .lp-form-title {
  font-size: 18px; font-weight: 800;
  color: var(--lp-navy); line-height: 1.25;
  margin-bottom: 5px; letter-spacing: -.01em;
  display: block;
}
.bbs-lp .lp-form-sub {
  font-size: 13px; color: var(--lp-gray-400);
  margin-bottom: 20px; line-height: 1.5; display: block;
}
.bbs-lp .lp-ghl-frame-wrap {
  width: 100%;
  /* GHL form height is 984px per data-height attribute */
  height: 984px;
  border-radius: 4px;
  overflow: hidden;
}
.bbs-lp .lp-ghl-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* ── Hover lockdown ─────────────────────────────────────────────────
   Theme animates various box properties on hover. We pin the dimensions
   by re-stating intended sizes per element so theme animations can't win.
   Generic "inherit" approach broke buttons by stripping their own padding,
   so we explicitly restate values for each button/pill/link type.
 ──────────────────────────────────────────────────────────────────── */

/* Universal: kill transform/scale animations on all interactive elements */
.bbs-lp a:hover,
.bbs-lp button:hover,
.bbs-lp .lp-btn-primary:hover,
.bbs-lp .lp-btn-ghost:hover,
.bbs-lp .lp-svc-pill:hover,
.bbs-lp .lp-inline-cta:hover,
.bbs-lp .lp-nearby-pill:hover,
.bbs-lp img:hover {
  transform: none !important;
  scale: none !important;
}

/* Primary button: lock padding + font-size, restore intentional 1px lift */
.bbs-lp .lp-btn-primary:hover {
  padding: 13px 28px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  transform: translateY(-1px) !important;
  background: var(--lp-blue) !important;
  color: #fff !important;
}

/* Ghost button: lock padding + font-size */
.bbs-lp .lp-btn-ghost:hover {
  padding: 13px 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.7) !important;
}

/* Service pills: lock dimensions */
.bbs-lp .lp-svc-pill:hover {
  padding: 10px 18px !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
}

/* Nearby city pills */
.bbs-lp .lp-nearby-pill:hover {
  padding: 7px 16px !important;
  font-size: 13px !important;
}

/* Inline CTA links */
.bbs-lp .lp-inline-cta:hover {
  font-size: 14px !important;
  letter-spacing: 0 !important;
}

/* Breadcrumb + body links: only allow color/underline change */
.bbs-lp .lp-breadcrumb a:hover {
  text-decoration: underline !important;
  font-size: 13px !important;
}
.bbs-lp .lp-p a:hover,
.bbs-lp .lp-faq-item a:hover {
  color: var(--lp-blue-mid) !important;
  font-size: inherit !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bbs-lp .lp-hero-inner      { grid-template-columns: 1fr; }
  .bbs-lp .lp-hero-img         { border-radius: 16px; }
  .bbs-lp .lp-cta-grid         { grid-template-columns: 1fr; gap: 40px; }
}
/* Mobile: hero text and image stack tightly with consistent spacing */
@media (max-width: 1024px) {
  .bbs-lp .lp-hero {
    padding: 56px 0 56px 0;
  }
  .bbs-lp .lp-hero-inner {
    gap: 32px;
  }
  .bbs-lp .lp-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }
}
@media (max-width: 768px) {
  /* Universal mobile safety: prevent any element from overflowing the viewport */
  .bbs-lp,
  .bbs-lp * {
    box-sizing: border-box;
    max-width: 100%;
  }
  .bbs-lp img {
    height: auto;
  }
  .bbs-lp .lp-wrap, .bbs-lp .lp-wrap-narrow { padding: 0 20px; }
  .bbs-lp .lp-section,
  .bbs-lp .lp-section-alt,
  .bbs-lp .lp-section-dark,
  .bbs-lp .lp-section-vis,
  .bbs-lp .lp-cta-section      { padding: 56px 0; }
  .bbs-lp .lp-hero              { padding: 48px 0 0; }
  .bbs-lp .lp-split             { grid-template-columns: 1fr; gap: 32px; }
  .bbs-lp .lp-split-img         { aspect-ratio: 16/9; }
  .bbs-lp .lp-compare-grid     { grid-template-columns: 1fr; }
  /* Mobile: stat strip becomes a 2x2 grid */
  .bbs-lp .lp-stat-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .bbs-lp .lp-stat-item {
    flex: none;
    padding: 20px 16px;
    border-right: 1px solid var(--lp-gray-200);
    border-bottom: 1px solid var(--lp-gray-200);
  }
  /* Right column: no right border */
  .bbs-lp .lp-stat-item:nth-child(even) {
    border-right: none;
  }
  /* Bottom row: no bottom border */
  .bbs-lp .lp-stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .bbs-lp .lp-ghl-frame-wrap    { height: 1100px; }
}
