/*
Theme Name: Becoming Limitless Directory
Theme URI: https://bclimitless.com/
Author: Becoming Limitless Network
Description: Public directory and marketplace frontend for BCLimitless.com, powered by BecomingLimitlessNetwork.com.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: bclimitless-directory
*/

:root {
  --bcl-navy: #071a2e;
  --bcl-blue: #0d5d91;
  --bcl-accent: #26a7cf;
  --bcl-teal: #078d8b;
  --bcl-gold: #d6a72c;
  --bcl-cream: #f5f8fb;
  --bcl-ink: #0b2034;
  --bcl-muted: #667085;
  --bcl-line: #dce3eb;
  --bcl-white: #fff;
  --bcl-shadow: 0 18px 55px rgba(7, 27, 49, .11);
  --bcl-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--bcl-ink); background: #f6f8fb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bcl-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.bcl-site { min-height: 100vh; display: flex; flex-direction: column; }
.bcl-main { flex: 1; }

.bcl-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(220,227,235,.9); box-shadow: 0 2px 12px rgba(7,26,46,.05); backdrop-filter: blur(14px); }
.bcl-utility { color: rgba(255,255,255,.84); background: linear-gradient(100deg, #051a32 0%, #0d4771 66%, #078d8b 120%); font-size: 12px; }
.bcl-utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bcl-utility p { margin: 0; font-weight: 750; letter-spacing: .02em; }
.bcl-utility strong { color: #fff; }
.bcl-nav { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.bcl-brand { width: 184px; flex: 0 0 184px; display: flex; align-items: center; text-decoration: none; }
.bcl-logo { display: block; width: 100%; height: auto; max-height: 76px; object-fit: contain; }
.bcl-menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.bcl-menu a { min-height: 88px; display: inline-flex; align-items: center; padding-top: 3px; border-bottom: 3px solid transparent; text-decoration: none; font-size: 13px; font-weight: 750; color: #344054; transition: color .18s ease, border-color .18s ease; }
.bcl-menu a:hover, .bcl-menu a:focus, .bcl-menu a.is-active { color: var(--bcl-blue); border-bottom-color: var(--bcl-accent); }
.bcl-actions { display: flex; align-items: center; gap: 10px; }
.bcl-mobile-toggle { display: none; border: 1px solid var(--bcl-line); background: #fff; border-radius: 10px; padding: 9px 12px; font-weight: 800; }

.bcl-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.bcl-button:hover { transform: translateY(-1px); }
.bcl-button-primary { color: #fff; background: linear-gradient(135deg, var(--bcl-blue), #147bb4); box-shadow: 0 8px 22px rgba(13,93,145,.22); }
.bcl-button-primary:hover { color: #fff; background: var(--bcl-navy); }
.bcl-button-gold { color: var(--bcl-navy); background: linear-gradient(135deg, #f1cf70, var(--bcl-gold)); box-shadow: 0 8px 22px rgba(214,167,44,.2); }
.bcl-button-outline { color: var(--bcl-navy); border-color: var(--bcl-line); background: #fff; }
.bcl-button-outline.is-active { color: var(--bcl-blue); border-color: var(--bcl-accent); box-shadow: 0 0 0 3px rgba(38,167,207,.12); }
.bcl-button-saved { color: #fff; background: var(--bcl-teal); }
.bcl-button-small { min-height: 38px; padding: 8px 13px; font-size: 13px; }

.bcl-hero { position: relative; overflow: hidden; padding: 92px 0 82px; color: #fff; background: radial-gradient(circle at 85% 25%, rgba(38,167,207,.34), transparent 31%), radial-gradient(circle at 15% 70%, rgba(214,167,44,.14), transparent 30%), linear-gradient(125deg, #031426 0%, #0b3d66 64%, #087b7d 116%); }
.bcl-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.bcl-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.bcl-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #f0cc6a; font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.bcl-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.bcl-hero h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.bcl-hero-copy { max-width: 660px; color: #d8e2ee; font-size: 19px; }
.bcl-search { margin-top: 30px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.bcl-search input, .bcl-filter input:not([type="checkbox"]), .bcl-filter select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--bcl-line); border-radius: 10px; background: #fff; color: var(--bcl-ink); font: inherit; }
.bcl-search input { border-color: transparent; }
.bcl-hero-panel { padding: 30px; color: var(--bcl-ink); background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.35); border-radius: 24px; box-shadow: 0 25px 80px rgba(0,0,0,.25); }
.bcl-hero-panel h2 { margin: 0 0 8px; color: var(--bcl-navy); font-size: 24px; }
.bcl-quick-links { display: grid; gap: 10px; margin-top: 22px; }
.bcl-quick-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border: 1px solid var(--bcl-line); border-radius: 13px; text-decoration: none; font-weight: 800; background: #fff; }
.bcl-quick-link { transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.bcl-quick-link:hover { transform: translateX(3px); border-color: var(--bcl-accent); background: #f4f9fd; box-shadow: 0 8px 18px rgba(7,26,46,.07); }

.bcl-section { padding: 74px 0; }
.bcl-section-white { background: #fff; }
.bcl-section-cream { background: var(--bcl-cream); }
.bcl-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.bcl-section-head h2, .bcl-page-head h1 { margin: 0; color: var(--bcl-navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.bcl-section-head p { max-width: 640px; margin: 9px 0 0; color: var(--bcl-muted); }
.bcl-page-head { position: relative; overflow: hidden; padding: 68px 0 48px; color: #fff; background: radial-gradient(circle at 82% 22%, rgba(38,167,207,.28), transparent 28%), linear-gradient(135deg, #071b31, #0d3c6b); border-bottom: 4px solid var(--bcl-accent); }
.bcl-page-head::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.025); }
.bcl-page-head .bcl-wrap { position: relative; z-index: 1; }
.bcl-page-head h1 { color: #fff; }
.bcl-page-head p { max-width: 720px; margin: 13px 0 0; color: #dbe8f4; font-size: 18px; }

.bcl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcl-card { overflow: hidden; background: #fff; border: 1px solid var(--bcl-line); border-radius: var(--bcl-radius); box-shadow: 0 8px 30px rgba(7,27,49,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.bcl-card:hover { transform: translateY(-4px); border-color: #a8d8e7; box-shadow: 0 18px 44px rgba(7,27,49,.12); }
.bcl-card-media { height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, #dceaf4, #f7f9fb 60%, #d8f0f0); overflow: hidden; }
.bcl-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bcl-card-placeholder { font-weight: 900; color: #7c8da2; font-size: 30px; }
.bcl-card-body { padding: 21px; }
.bcl-card h3 { margin: 0 0 5px; color: var(--bcl-navy); font-size: 21px; }
.bcl-card p { margin: 8px 0; color: var(--bcl-muted); }
.bcl-card-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.bcl-favorite-form { display: inline-flex; margin: 0; }
.bcl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.bcl-pill { display: inline-flex; padding: 5px 9px; color: #24557d; background: #edf6fd; border-radius: 999px; font-size: 12px; font-weight: 800; }
.bcl-pill-gold { color: #6b4e00; background: #fff3ca; }
.bcl-empty { padding: 48px 28px; text-align: center; background: #fff; border: 1px dashed #b9c7d6; border-radius: var(--bcl-radius); }
.bcl-empty h2, .bcl-empty h3 { margin-top: 0; color: var(--bcl-navy); }
.bcl-empty p { color: var(--bcl-muted); }

.bcl-filter { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; padding: 20px; margin: 30px 0; background: #fff; border: 1px solid var(--bcl-line); border-top: 4px solid var(--bcl-accent); border-radius: 16px; box-shadow: 0 14px 38px rgba(7,27,49,.08); }
.bcl-checkboxes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 3px; }
.bcl-checkboxes label { min-height: 38px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; color: #344054; background: #f7f9fc; border: 1px solid #d7e2ec; border-radius: 999px; font-weight: 750; font-size: 13px; cursor: pointer; }
.bcl-checkboxes input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; width: 17px; height: 17px; min-width: 17px; min-height: 17px; flex: 0 0 17px; margin: 0; padding: 0; accent-color: var(--bcl-blue); box-shadow: none; }

.bcl-business-hero { padding: 58px 0; color: #fff; background: linear-gradient(140deg, var(--bcl-navy), #0b3a65); }
.bcl-business-layout { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.bcl-business-logo { width: 100px; height: 100px; object-fit: cover; border: 4px solid #fff; border-radius: 22px; background: #fff; }
.bcl-business-heading { display: flex; gap: 22px; align-items: center; }
.bcl-business-title { flex: 1; }
.bcl-business-save { margin-left: auto; }
.bcl-business-heading h1 { margin: 0 0 5px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.bcl-content-card { padding: 28px; margin-bottom: 22px; background: #fff; border: 1px solid var(--bcl-line); border-radius: var(--bcl-radius); }
.bcl-content-card h2 { margin-top: 0; color: var(--bcl-navy); }
.bcl-sidebar { position: sticky; top: 98px; }
.bcl-contact-list { list-style: none; padding: 0; margin: 0; }
.bcl-contact-list li { padding: 10px 0; border-bottom: 1px solid var(--bcl-line); overflow-wrap: anywhere; }
.bcl-share { display: flex; flex-wrap: wrap; gap: 8px; }

.bcl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bcl-feature { position: relative; overflow: hidden; padding: 28px; background: #fff; border: 1px solid var(--bcl-line); border-radius: var(--bcl-radius); box-shadow: 0 9px 26px rgba(7,27,49,.055); }
.bcl-feature::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--bcl-blue), var(--bcl-accent), var(--bcl-teal)); }
.bcl-feature-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; color: var(--bcl-navy); background: #f4d981; border-radius: 12px; font-weight: 900; }

/* 1.0.3 secure customer account bridge */
.bcl-notice { margin-bottom: 20px; padding: 14px 18px; color: #344054; background: #eef4f8; border: 1px solid #cfdae5; border-radius: 12px; }
.bcl-notice-success { color: #075b4f; background: #e8f8f4; border-color: #9fd7ca; }
.bcl-notice-error { color: #842029; background: #fff1f2; border-color: #f2b8bd; }
.bcl-account-connect, .bcl-account-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; padding: 34px; background: #fff; border: 1px solid var(--bcl-line); border-top: 4px solid var(--bcl-accent); border-radius: var(--bcl-radius); box-shadow: var(--bcl-shadow); }
.bcl-account-connect h2, .bcl-account-summary h2 { margin: 0 0 8px; color: var(--bcl-navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.bcl-account-connect p, .bcl-account-summary p { max-width: 760px; margin: 7px 0 0; color: var(--bcl-muted); }
.bcl-account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.bcl-account-actions form { margin: 0; }
.bcl-account-section { margin-top: 58px; }
.bcl-referral-list { overflow: hidden; background: #fff; border: 1px solid var(--bcl-line); border-radius: var(--bcl-radius); }
.bcl-referral-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--bcl-line); }
.bcl-referral-row:last-child { border-bottom: 0; }
.bcl-referral-row h3 { margin: 8px 0 2px; color: var(--bcl-navy); }
.bcl-referral-row h3 a { text-decoration: none; }
.bcl-referral-row p { margin: 0; color: var(--bcl-muted); }
.bcl-referral-status { display: grid; gap: 3px; text-align: right; }
.bcl-referral-status span { color: var(--bcl-muted); font-size: 13px; }
.bcl-service-grid { display: grid; gap: 14px; }
.bcl-service-option { padding: 18px; border: 1px solid var(--bcl-line); border-radius: 14px; background: #f9fbfd; }
.bcl-service-option h3 { margin: 0 0 5px; color: var(--bcl-navy); }
.bcl-service-option p { margin: 5px 0; color: var(--bcl-muted); }
.bcl-request-form, .bcl-review-form { display: grid; gap: 15px; }
.bcl-request-form label, .bcl-review-form label { display: grid; gap: 6px; font-weight: 780; color: var(--bcl-navy); }
.bcl-request-form input, .bcl-request-form select, .bcl-request-form textarea, .bcl-review-form select, .bcl-review-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #cbd7e3; border-radius: 10px; background: #fff; color: var(--bcl-ink); font: inherit; }
.bcl-booking-list { display: grid; gap: 14px; }
.bcl-booking-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: start; padding: 22px 24px; background: #fff; border: 1px solid var(--bcl-line); border-radius: 15px; }
.bcl-booking-row h3 { margin: 4px 0; color: var(--bcl-navy); }
.bcl-booking-row p { margin: 4px 0; color: var(--bcl-muted); }
.bcl-booking-actions { display: grid; gap: 10px; justify-items: end; }
.bcl-review-form { margin-top: 12px; padding: 18px; background: #f5f8fb; border-radius: 12px; }

/* 1.0.2 Referring Agent page */
.bcl-agent-intro { max-width: 900px; }
.bcl-agent-intro > div { width: 100%; }
.bcl-agent-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bcl-agent-steps .bcl-feature { min-height: 100%; }
.bcl-agent-steps h3 { margin: 0 0 10px; color: var(--bcl-navy); font-size: 21px; line-height: 1.25; }
.bcl-agent-steps p { margin: 0; color: var(--bcl-muted); }
.bcl-agent-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 34px; margin-top: 34px; padding: 32px; color: #fff; background: linear-gradient(135deg, var(--bcl-navy), #0d4f7e); border-radius: var(--bcl-radius); box-shadow: var(--bcl-shadow); }
.bcl-agent-cta h2 { margin: 2px 0 8px; color: #fff; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
.bcl-agent-cta p { max-width: 800px; margin: 0; color: #dbe8f4; }
.bcl-agent-cta .bcl-eyebrow { margin-bottom: 5px; color: #82d9ed; }
.bcl-agent-cta .bcl-button { white-space: nowrap; }

.bcl-footer { padding: 54px 0 24px; color: #c9d5e1; background: linear-gradient(135deg, #020711, #071a2e 64%, #0a3d55); }
.bcl-footer-logo { display: block; width: 190px; height: auto; margin-bottom: 16px; }
.bcl-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.bcl-footer h2, .bcl-footer h3 { color: #fff; }
.bcl-footer a { color: #dce6ef; text-decoration: none; }
.bcl-footer a:hover { color: #fff; }
.bcl-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bcl-footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; color: #93a5b7; }

@media (max-width: 980px) {
  .bcl-mobile-toggle { display: inline-flex; margin-left: auto; }
  .bcl-menu { display: none; position: absolute; top: 122px; left: 20px; right: 20px; padding: 20px; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--bcl-line); border-radius: 16px; box-shadow: var(--bcl-shadow); }
  .bcl-menu.is-open { display: flex; }
  .bcl-menu a { width: 100%; min-height: 44px; border-bottom-width: 2px; }
  .bcl-actions .bcl-button-outline { display: none; }
  .bcl-hero-grid, .bcl-business-layout { grid-template-columns: 1fr; }
  .bcl-account-connect, .bcl-account-summary { grid-template-columns: 1fr; }
  .bcl-account-actions { justify-content: flex-start; }
  .bcl-grid { grid-template-columns: repeat(2, 1fr); }
  .bcl-agent-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcl-sidebar { position: static; }
}

@media (max-width: 680px) {
  .bcl-wrap { width: min(100% - 24px, 1180px); }
  .bcl-nav { gap: 10px; }
  .bcl-utility-inner { min-height: 30px; justify-content: center; text-align: center; }
  .bcl-utility-domain { display: none; }
  .bcl-nav { min-height: 78px; }
  .bcl-brand { width: 138px; flex-basis: 138px; }
  .bcl-menu { top: 108px; }
  .bcl-actions .bcl-button { padding-inline: 12px; font-size: 12px; }
  .bcl-hero { padding: 62px 0; }
  .bcl-hero-grid { gap: 30px; }
  .bcl-search, .bcl-filter, .bcl-grid, .bcl-split, .bcl-footer-grid { grid-template-columns: 1fr; }
  .bcl-agent-steps, .bcl-agent-cta { grid-template-columns: 1fr; }
  .bcl-agent-cta { padding: 26px 22px; }
  .bcl-agent-cta .bcl-button { width: 100%; white-space: normal; }
  .bcl-section { padding: 54px 0; }
  .bcl-section-head { align-items: flex-start; flex-direction: column; }
  .bcl-business-heading { align-items: flex-start; flex-direction: column; }
  .bcl-business-save { margin-left: 0; }
  .bcl-referral-row, .bcl-booking-row { grid-template-columns: 1fr; }
  .bcl-referral-status { text-align: left; }
  .bcl-booking-actions { justify-items: start; }
}
