/* ──────────────────────────────────────────────────────────────────────────
   Brand tokens — swap the values to retheme per-page (North Shore, etc.)
   ────────────────────────────────────────────────────────────────────────── */
.bls-page {
  --bls-navy:    #083B6F;
  --bls-navy-2:  #0A4C8A;
  --bls-teal:    #0891CC;
  --bls-teal-2:  #00ACED;
  --bls-green:   #23A455;
  --bls-green-2: #1B8744;
  --bls-bg:      #F8FAFC;
  --bls-surface: #FFFFFF;
  --bls-text:    #1F2937;
  --bls-mute:    #5B6776;
  --bls-border:  rgba(8,59,111,.10);
  --bls-shadow:  0 10px 40px -10px rgba(8,59,111,.18);
  --bls-shadow-lg: 0 24px 60px -20px rgba(8,59,111,.30);
  --bls-radius:  18px;
  --bls-radius-sm: 10px;
  --bls-font-head: 'Playfair Display', Georgia, serif;
  --bls-font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-family: var(--bls-font-body);
  color: var(--bls-text);
  line-height: 1.55;
  background: var(--bls-bg);
}
.bls-page *, .bls-page *::before, .bls-page *::after { box-sizing: border-box; }
.bls-page img { max-width: 100%; height: auto; display: block; }
.bls-page a { color: var(--bls-teal); text-decoration: none; }
.bls-page a:hover { color: var(--bls-navy); }

/* ── Container & section base ─────────────────────────────────────────── */
.bls-container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.bls-section { padding: clamp(48px, 6vw, 96px) 0; }
.bls-section--tight { padding: clamp(32px, 4vw, 56px) 0; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.bls-hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 90% 0%, rgba(8,145,204,.35) 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(35,164,85,.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--bls-navy) 0%, #0E2C4F 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(56px, 7vw, 112px) 0 clamp(64px, 8vw, 128px);
}
.bls-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cpath d='M0 21 L21 0 L42 21 L21 42 Z' fill='none' stroke='rgba(255,255,255,.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .6;
}
.bls-hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) { .bls-hero-grid { grid-template-columns: 1.15fr 1fr; } }

.bls-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.bls-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bls-green); box-shadow: 0 0 0 4px rgba(35,164,85,.25); animation: bls-pulse 1.6s ease-in-out infinite; }
@keyframes bls-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(35,164,85,.18); } 50% { box-shadow: 0 0 0 7px rgba(35,164,85,.05); } }

.bls-h1 {
  font-family: var(--bls-font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 18px 0 16px;
}
.bls-h1 em { color: var(--bls-teal-2); font-style: normal; }
.bls-hero-lede {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  color: rgba(255,255,255,.86);
  max-width: 58ch;
  margin-bottom: 24px;
}
.bls-hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
}
.bls-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  text-decoration: none;
}
.bls-btn:hover { transform: translateY(-1px); }
.bls-btn--green {
  background: var(--bls-green); color: #fff;
  box-shadow: 0 8px 24px -6px rgba(35,164,85,.55);
}
.bls-btn--green:hover { background: var(--bls-green-2); color: #fff; }
.bls-btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.bls-btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.bls-btn--teal { background: var(--bls-teal); color: #fff; box-shadow: 0 8px 24px -6px rgba(8,145,204,.50); }
.bls-btn--teal:hover { background: var(--bls-teal-2); color: #fff; }
.bls-btn--lg { padding: 17px 28px; font-size: 1.04rem; }

.bls-trust-row {
  display: flex; flex-wrap: wrap; gap: 22px 28px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.bls-trust-row > div { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.85); }
.bls-trust-row svg { flex: none; }

/* Hero lead-form card */
.bls-lead-card {
  background: var(--bls-surface);
  color: var(--bls-text);
  border-radius: var(--bls-radius);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--bls-shadow-lg);
  position: relative;
}
.bls-lead-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: calc(var(--bls-radius) + 1px);
  background: linear-gradient(135deg, var(--bls-teal) 0%, var(--bls-green) 100%);
  z-index: -1; opacity: .14;
}
.bls-lead-card h3 {
  font-family: var(--bls-font-head);
  font-size: 1.55rem; margin: 0 0 4px; color: var(--bls-navy);
}
.bls-lead-card .lede { color: var(--bls-mute); font-size: .96rem; margin: 0 0 18px; }
.bls-lead-row { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 520px) { .bls-lead-row.bls-2col { grid-template-columns: 1fr 1fr; } }
.bls-field { display: flex; flex-direction: column; gap: 6px; }
.bls-field label { font-size: .82rem; font-weight: 600; color: var(--bls-navy); }
.bls-field input, .bls-field select, .bls-field textarea {
  font: inherit; padding: 12px 14px;
  border: 1px solid var(--bls-border);
  border-radius: var(--bls-radius-sm);
  background: #fff; color: var(--bls-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bls-field input:focus, .bls-field select:focus, .bls-field textarea:focus {
  outline: 0; border-color: var(--bls-teal);
  box-shadow: 0 0 0 4px rgba(8,145,204,.15);
}
.bls-field textarea { min-height: 80px; resize: vertical; }
.bls-lead-submit { width: 100%; justify-content: center; margin-top: 6px; }
.bls-lead-foot { font-size: .8rem; color: var(--bls-mute); margin-top: 10px; text-align: center; }

/* ── Why-us 3-col ─────────────────────────────────────────────────────── */
.bls-eyebrow {
  font-family: var(--bls-font-body);
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--bls-teal);
}
.bls-h2 {
  font-family: var(--bls-font-head);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--bls-navy); font-weight: 700;
  line-height: 1.15; margin: 8px 0 14px;
  letter-spacing: -.01em;
}
.bls-h2-lede { color: var(--bls-mute); max-width: 64ch; margin: 0 0 36px; font-size: 1.04rem; }
.bls-why-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .bls-why-grid { grid-template-columns: repeat(3, 1fr); } }
.bls-why-card {
  background: var(--bls-surface);
  border: 1px solid var(--bls-border);
  border-radius: var(--bls-radius);
  padding: 28px;
  box-shadow: var(--bls-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bls-why-card:hover { transform: translateY(-3px); box-shadow: var(--bls-shadow-lg); }
.bls-why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--bls-teal) 0%, var(--bls-navy) 100%);
  color: #fff;
}
.bls-why-card h3 {
  font-family: var(--bls-font-head); font-size: 1.25rem;
  color: var(--bls-navy); margin: 0 0 8px;
}
.bls-why-card p { margin: 0; color: var(--bls-mute); font-size: .97rem; }

/* ── Process 4-step ───────────────────────────────────────────────────── */
.bls-process-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: bls-step;
}
@media (min-width: 720px) { .bls-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bls-process-grid { grid-template-columns: repeat(4, 1fr); } }
.bls-step {
  position: relative; background: var(--bls-surface);
  border: 1px solid var(--bls-border);
  border-radius: var(--bls-radius); padding: 28px 24px 24px;
  counter-increment: bls-step;
}
.bls-step::before {
  content: counter(bls-step, decimal-leading-zero);
  position: absolute; top: 18px; right: 20px;
  font-family: var(--bls-font-head); font-size: 2.6rem; font-weight: 700;
  color: var(--bls-teal); opacity: .18; line-height: 1;
}
.bls-step h3 { font-family: var(--bls-font-head); font-size: 1.18rem; color: var(--bls-navy); margin: 0 0 8px; }
.bls-step p { margin: 0; color: var(--bls-mute); font-size: .95rem; }

/* ── Location card ────────────────────────────────────────────────────── */
.bls-location {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  background: var(--bls-surface);
  border-radius: var(--bls-radius);
  overflow: hidden;
  box-shadow: var(--bls-shadow);
}
@media (min-width: 880px) { .bls-location { grid-template-columns: 1.1fr 1fr; } }
.bls-location-info { padding: clamp(24px, 3vw, 40px); }
.bls-location-info h3 { font-family: var(--bls-font-head); color: var(--bls-navy); font-size: 1.6rem; margin: 0 0 12px; }
.bls-location-info p { color: var(--bls-mute); margin: 6px 0; }
.bls-location-info strong { color: var(--bls-text); }
.bls-location-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.bls-map { min-height: 320px; }
.bls-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.bls-faq { max-width: 820px; margin: 0 auto; }
.bls-faq details {
  background: var(--bls-surface);
  border: 1px solid var(--bls-border);
  border-radius: var(--bls-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bls-faq details[open] { border-color: rgba(8,145,204,.45); box-shadow: 0 4px 16px -8px rgba(8,59,111,.20); }
.bls-faq summary {
  list-style: none;
  cursor: pointer; padding: 18px 22px;
  font-weight: 600; color: var(--bls-navy);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.bls-faq summary::-webkit-details-marker { display: none; }
.bls-faq summary::after {
  content: ''; flex: none;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230891CC' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 8 L10 13 L15 8'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .2s ease;
}
.bls-faq details[open] summary::after { transform: rotate(180deg); }
.bls-faq .answer { padding: 0 22px 20px; color: var(--bls-mute); }

/* ── Final CTA strip ──────────────────────────────────────────────────── */
.bls-cta-strip {
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(8,145,204,.40) 0%, transparent 60%),
    linear-gradient(135deg, var(--bls-navy) 0%, #0D2649 100%);
  color: #fff;
  border-radius: var(--bls-radius);
  padding: clamp(32px, 4vw, 56px);
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .bls-cta-strip { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.bls-cta-strip h2 {
  font-family: var(--bls-font-head);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0 0 10px; line-height: 1.15;
}
.bls-cta-strip p { color: rgba(255,255,255,.86); margin: 0 0 20px; }
.bls-cta-strip .bls-lead-card { background: rgba(255,255,255,.95); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.bls-foot {
  padding: 36px 0 28px;
  border-top: 1px solid var(--bls-border);
  color: var(--bls-mute);
  font-size: .9rem;
}
.bls-foot-grid { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.bls-foot a { color: var(--bls-navy); }
.bls-foot-badges { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.bls-badge {
  background: rgba(35,164,85,.10); color: var(--bls-green-2);
  padding: 6px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
}

/* ── Sticky mobile CTA bar ────────────────────────────────────────────── */
.bls-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none;
  background: var(--bls-surface);
  border-top: 1px solid var(--bls-border);
  box-shadow: 0 -8px 24px -10px rgba(8,59,111,.20);
  padding: 10px 12px; gap: 8px;
  z-index: 50;
}
.bls-sticky-cta .bls-btn { flex: 1; justify-content: center; padding: 13px 14px; font-size: .95rem; }
.bls-sticky-cta .bls-btn--ghost { color: var(--bls-navy); border-color: var(--bls-border); background: rgba(8,59,111,.04); }
@media (max-width: 720px) { .bls-sticky-cta { display: flex; } body { padding-bottom: 64px; } }

/* ── Entrance animation init state ────────────────────────────────────── */
.bls-reveal { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  .bls-reveal { opacity: 1; transform: none; }
  .bls-pill .dot { animation: none; }
}

/* ───── v1.1 PATCH — theme override fixes ───── */

/* Full-viewport-width breakout — hero + sections must span 100vw regardless of parent container */
.bls-page .bls-hero,
.bls-page .bls-section,
.bls-page .bls-section--tight {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
    left: auto;
    right: auto;
}

/* Buttons — neutralise theme's .entry-content a underline + color override */
.bls-page a.bls-btn,
.bls-page button.bls-btn {
    text-decoration: none !important;
    border-bottom: 0 !important;
    text-shadow: none !important;
}
.bls-page .bls-btn--green        { background: #23A455 !important; color: #fff !important; }
.bls-page .bls-btn--green:hover  { background: #1B8744 !important; color: #fff !important; }
.bls-page .bls-btn--ghost        { background: rgba(255,255,255,.08) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; }
.bls-page .bls-btn--ghost:hover  { background: rgba(255,255,255,.16) !important; color: #fff !important; }
.bls-page .bls-btn--teal         { background: #0891CC !important; color: #fff !important; }
.bls-page .bls-btn--teal:hover   { background: #00ACED !important; color: #fff !important; }
.bls-page .bls-btn svg           { stroke: currentColor !important; }
.bls-page .bls-btn:hover         { color: inherit; }

/* Inside light cards (lead form button) — ensure CTA stays green even when nested */
.bls-page .bls-lead-card .bls-btn--green { color: #fff !important; }

/* Sticky CTA buttons */
.bls-page .bls-sticky-cta .bls-btn--ghost { color: #083B6F !important; background: rgba(8,59,111,.05) !important; border-color: rgba(8,59,111,.18) !important; }
.bls-page .bls-sticky-cta .bls-btn--green { color: #fff !important; }

/* Select dropdown — restore native menulist appearance that theme/Elementor reset */
.bls-page select#bls-plan,
.bls-page .bls-lead-form select {
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    background-image: none !important;
    padding-right: 32px !important;
}
.bls-page .bls-lead-form select option {
    display: revert !important;
    background: #fff;
    color: #1F2937;
}

/* Defensive — neutralise common theme/plugin patterns that flatten <option> into inline text */
.bls-page .bls-lead-form > * { display: revert; }
.bls-page .bls-lead-row { display: grid !important; }

/* Body text inside hero on light theme — ensure white stays white */
.bls-page .bls-hero,
.bls-page .bls-hero p,
.bls-page .bls-hero h1,
.bls-page .bls-hero h2,
.bls-page .bls-hero .bls-pill,
.bls-page .bls-hero .bls-trust-row,
.bls-page .bls-hero .bls-trust-row > div { color: #fff !important; }

/* Form labels inside the lead-card stay navy regardless of theme injections */
.bls-page .bls-lead-card .bls-field label { color: #083B6F !important; }

/* Kill the theme's auto-paragraph spacing inside .bls-page so sections sit tight */
.bls-page p:empty { display: none; }


/* ───── v1.2 PATCH — fix left-edge clipping ───── */
/* Drop the 100vw breakout (it overshoots when parent is offset).
   Instead, force every WP/theme content wrapper to true 100% width. */
.bls-page .bls-hero,
.bls-page .bls-section,
.bls-page .bls-section--tight {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
}

.bls-page { width: 100% !important; max-width: 100% !important; margin: 0 !important; }

/* ───── v1.3 PATCH — lead card lede colour ───── */
.bls-page .bls-lead-card .lede {
    color: #083B6F !important;     /* brand navy — was muted grey */
    font-weight: 500;
}
