:root {
  --bf-forest-950: #072d26;
  --bf-forest-900: #0b3b32;
  --bf-forest-800: #10493d;
  --bf-forest-700: #176253;
  --bf-mint: #4fdcbd;
  --bf-mint-soft: #e6f9f4;
  --bf-canvas: #f4f7f6;
  --bf-surface: #ffffff;
  --bf-surface-soft: #f8faf9;
  --bf-text: #182520;
  --bf-muted: #6d7b75;
  --bf-subtle: #94a09b;
  --bf-line: #e0e8e4;
  --bf-line-strong: #d1dcd7;
  --bf-shadow: 0 18px 55px rgba(23, 48, 39, .09);
}

html { background: var(--bf-canvas); }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bf-text);
  background: var(--bf-canvas);
  font-weight: 400;
}

.app-nav {
  top: 16px;
  width: min(1240px, calc(100% - 32px));
  min-height: 62px;
  padding: 8px 9px 8px 12px;
  border: 1px solid rgba(215, 227, 222, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 38px rgba(18, 53, 43, .09);
}

.brand-link { gap: 10px; color: var(--bf-forest-900); }
.brand-mark {
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text { font-size: .84rem; font-weight: 700; letter-spacing: .13em; }
.brand-text small { color: var(--bf-muted); font-size: .62rem; font-weight: 550; letter-spacing: .01em; }
.nav-actions { gap: 4px; }
.nav-pill,
.nav-primary {
  min-height: 40px;
  border-radius: 10px;
  border-color: transparent;
  padding-inline: 13px;
  color: #50615a;
  background: transparent;
  font-size: .72rem;
  font-weight: 600;
  box-shadow: none;
}
.nav-pill:hover { color: var(--bf-forest-900); background: var(--bf-mint-soft); transform: none; }
.nav-primary {
  margin-left: 4px;
  color: #fff;
  background: var(--bf-forest-900);
}
.nav-primary:hover { background: var(--bf-forest-800); transform: none; filter: none; }
.topbar-tools { display: inline-flex; align-items: center; gap: 3px; margin-left: 5px; padding-left: 8px; border-left: 1px solid var(--bf-line); }
.topbar-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #64736d;
  background: transparent;
  cursor: pointer;
}
.topbar-icon:hover { color: var(--bf-forest-900); background: var(--bf-surface-soft); }
.topbar-icon .notice-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: #eb685e; }
.account-menu { position: relative; margin-left: 3px; }
.profile-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--bf-line);
  border-radius: 999px;
  color: var(--bf-muted);
  background: #fff;
  cursor: pointer;
}
.profile-button:hover { border-color: var(--bf-line-strong); background: var(--bf-surface-soft); }
.profile-button > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bf-forest-900);
  font-size: .69rem;
  font-weight: 700;
}
.profile-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.account-menu.is-open .profile-button svg { transform: rotate(180deg); }
.account-popover {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: 0;
  width: 224px;
  display: none;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--bf-shadow);
}
.account-menu.is-open .account-popover { display: block; }
.account-identity { padding: 14px 15px; border-bottom: 1px solid var(--bf-line); }
.account-identity strong, .account-identity span { display: block; }
.account-identity strong { font-size: .73rem; font-weight: 650; }
.account-identity span { margin-top: 4px; color: var(--bf-muted); font-size: .62rem; }
.account-links { display: grid; padding: 6px; }
.account-links a { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 10px; border-radius: 8px; color: #52625c; font-size: .67rem; font-weight: 500; text-decoration: none; }
.account-links a:hover { color: var(--bf-forest-900); background: var(--bf-mint-soft); }
.account-links i { width: 15px; color: var(--bf-subtle); text-align: center; }
.mobile-menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--bf-forest-900);
  background: var(--bf-surface-soft);
  cursor: pointer;
}

.search-hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: 122px max(5%, calc((100% - 1240px) / 2)) 72px;
  color: var(--bf-text);
  background:
    radial-gradient(circle at 92% 20%, rgba(79, 220, 189, .18), transparent 30%),
    linear-gradient(145deg, #f7fbf9 0%, #edf8f4 55%, #f5f8f7 100%);
}
.search-hero::before,
.search-hero::after { display: none; }
.hero-center { width: 100%; max-width: none; text-align: left; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
.hero-content { min-width: 0; }
.hero-kicker {
  margin-bottom: 20px;
  padding: 7px 11px;
  border-color: #cee8df;
  color: var(--bf-forest-700);
  background: rgba(255, 255, 255, .78);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .08em;
  box-shadow: 0 7px 22px rgba(23, 48, 39, .05);
}
.hero-kicker i { color: #27b77b; }
.search-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--bf-text);
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 650;
  text-shadow: none;
}
.hero-accent { color: var(--bf-forest-700); }
.hero-copy {
  max-width: 610px;
  margin: 24px 0 28px;
  color: var(--bf-muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.62;
  font-weight: 450;
}
.google-search {
  width: min(650px, 100%);
  margin: 0;
  padding: 6px;
  border: 1px solid var(--bf-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 48, 39, .1);
}
.google-search:focus-within { border-color: #8fd6c5; box-shadow: 0 0 0 4px rgba(79, 220, 189, .13), 0 18px 50px rgba(23, 48, 39, .1); }
.search-leading { color: var(--bf-subtle); }
.google-search input { color: var(--bf-text); font-size: .88rem; }
.google-search input::placeholder { color: #98a59f; font-weight: 450; }
.search-submit {
  min-width: 116px;
  border-radius: 10px;
  color: #fff;
  background: var(--bf-forest-900);
  box-shadow: none;
  font-size: .73rem;
  font-weight: 650;
}
.search-submit:hover { background: var(--bf-forest-800); transform: none; }
.hero-live-results { left: 0; width: min(650px, 100%); }
.hero-actions { width: auto; margin: 14px 0 0; justify-content: flex-start; gap: 7px; }
.hero-action-btn {
  min-height: 38px;
  padding: 0 12px;
  border-color: var(--bf-line);
  border-radius: 9px;
  color: #53635d;
  background: rgba(255, 255, 255, .7);
  font-size: .67rem;
  font-weight: 600;
  backdrop-filter: none;
}
.hero-action-btn:hover { border-color: #bcd8cf; color: var(--bf-forest-900); background: #fff; transform: none; }
.hero-action-btn.aveexa-hero-btn { color: var(--bf-forest-900); background: var(--bf-mint-soft); border-color: #c7ebe1; }
.hero-note { margin-top: 13px; color: var(--bf-subtle); font-size: .7rem; font-weight: 500; }

.hero-panel {
  position: relative;
  min-height: 470px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 27px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--bf-shadow);
  backdrop-filter: blur(18px);
}
.hero-panel-window { min-height: 434px; overflow: hidden; border: 1px solid #dbe7e2; border-radius: 20px; background: #fff; }
.hero-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--bf-line); }
.hero-panel-label { display: flex; align-items: center; gap: 8px; color: var(--bf-muted); font-size: .65rem; font-weight: 600; }
.hero-panel-label i { width: 8px; height: 8px; border-radius: 50%; background: #2abe78; box-shadow: 0 0 0 4px rgba(42,190,120,.1); }
.hero-panel-top span { color: var(--bf-subtle); font-size: .61rem; }
.hero-panel-body { padding: 20px; }
.hero-panel-body > span { color: var(--bf-subtle); font-size: .61rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.hero-panel-body h2 { margin: 8px 0 18px; font-size: 1.45rem; letter-spacing: -.045em; }
.match-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; margin-top: 9px; padding: 12px; border: 1px solid var(--bf-line); border-radius: 13px; background: var(--bf-surface-soft); }
.match-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--bf-forest-900); background: var(--bf-mint-soft); font-size: .74rem; font-weight: 750; }
.match-card strong, .match-card small { display: block; }
.match-card strong { font-size: .75rem; }
.match-card small { margin-top: 4px; color: var(--bf-muted); font-size: .62rem; }
.match-score { padding: 6px 8px; border-radius: 999px; color: var(--bf-forest-700); background: var(--bf-mint-soft); font-size: .6rem; font-weight: 700; }
.hero-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 13px; border-radius: 13px; background: var(--bf-forest-900); color: #fff; }
.hero-panel-footer div { display: flex; align-items: center; gap: 9px; }
.hero-panel-footer i { color: var(--bf-mint); }
.hero-panel-footer strong, .hero-panel-footer small { display: block; }
.hero-panel-footer strong { font-size: .7rem; }
.hero-panel-footer small { margin-top: 3px; color: rgba(255,255,255,.58); font-size: .58rem; }
.hero-panel-footer > span { color: var(--bf-mint); font-size: .65rem; font-weight: 650; }

.trust-strip { margin-top: 0; padding: 0 5%; background: var(--bf-canvas); }
.trust-strip-inner {
  width: min(1180px, 100%);
  transform: translateY(-26px);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(23,48,39,.06);
}
.trust-item { min-height: 112px; padding: 20px; border-right: 1px solid var(--bf-line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 38px; height: 38px; border-radius: 10px; color: var(--bf-forest-700); background: var(--bf-mint-soft); }
.trust-item strong { color: var(--bf-text); font-size: .78rem; }
.trust-item span { color: var(--bf-muted); font-size: .66rem; line-height: 1.5; }

.section { padding: 80px 5%; }
.section-kicker { color: var(--bf-forest-700); font-size: .63rem; font-weight: 650; }
.section-title { max-width: 760px; color: var(--bf-text); font-size: clamp(2.25rem, 4.5vw, 4rem); }
.section-title { font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 650; }
.section-subtitle { color: var(--bf-muted); font-size: 1rem; }
.guides-section,
.experience-section,
.quality-section,
.guide-growth-section { background: var(--bf-canvas); }
.how-section,
.ecosystem-section,
.operator-section,
.lead-section,
.field-tools-section { background: #fff; }

.guide-card,
.value-card,
.ecosystem-card,
.experience-card,
.operator-card,
.quality-card,
.lead-card,
.guide-growth-card,
.tools-card,
.lead-preview,
.quality-demo-card,
.guide-growth-highlight {
  border-color: var(--bf-line);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(23,48,39,.035);
}
.guide-card:hover,
.experience-card:hover { transform: translateY(-2px); border-color: var(--bf-line-strong); box-shadow: var(--bf-shadow); }

/* Guide profiles: editorial cards, not database rows */
.guides-grid { gap: 16px; }
.guide-card {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(23,48,39,.035);
}
.guide-card::before,
.guide-card::after { display: none; }
.guide-card:hover { transform: translateY(-3px); border-color: #cbdad4; box-shadow: 0 18px 46px rgba(23,48,39,.09); }
.guide-cover {
  position: relative;
  height: 206px;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bf-mint-soft), #f1f5f3);
}
.guide-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(7,45,38,.16));
  pointer-events: none;
}
.guide-cover .guide-avatar {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: none;
  transition: transform .35s ease;
}
.guide-card:hover .guide-avatar { transform: scale(1.025); }
.guide-verified-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  color: var(--bf-forest-900);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  font-size: .6rem;
  font-weight: 650;
}
.guide-verified-badge i { color: #24aa73; }
.guide-card-body { padding: 16px; }
.guide-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.guide-card-head > div { min-width: 0; }
.guide-card .guide-name-row { margin: 0; }
.guide-card .guide-name {
  color: var(--bf-text);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: -.025em;
}
.guide-card .verified { display: none; }
.guide-card .guide-company {
  margin: 5px 0 0;
  color: var(--bf-muted);
  font-size: .68rem;
  font-weight: 450;
  line-height: 1.35;
}
.guide-rating {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 9px;
  color: #645224;
  background: #fff7df;
  font-size: .66rem;
  font-weight: 650;
}
.guide-rating i { color: #d7a52e; font-size: .63rem; }
.guide-card .guide-location-line {
  margin: 13px 0 0;
  color: var(--bf-muted);
  font-size: .65rem;
  font-weight: 500;
}
.guide-card .guide-location-line i { color: var(--bf-forest-700); }
.guide-card-footer {
  min-height: 45px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--bf-line);
}
.guide-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bf-muted);
  font-size: .63rem;
  font-weight: 500;
}
.guide-reviews i { color: var(--bf-subtle); }
.guide-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bf-forest-900);
  font-size: .66rem;
  font-weight: 650;
  text-decoration: none;
}
.guide-profile-link i { font-size: .6rem; transition: transform .16s ease; }
.guide-profile-link:hover i { transform: translateX(3px); }
.guides-cta {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--bf-line);
  border-radius: 16px;
  color: var(--bf-text);
  background: #fff;
  box-shadow: 0 4px 18px rgba(23,48,39,.035);
}
.guides-cta::after { display: none; }
.guides-cta p { max-width: 660px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 600; }
.guides-cta .join-btn { min-width: 124px; height: 42px; border-radius: 10px; color: #fff; background: var(--bf-forest-900); box-shadow: none; font-size: .67rem; font-weight: 650; }
.guides-cta .join-btn:hover { background: var(--bf-forest-800); transform: none; }

/* Search workspace */
#searchModal {
  align-items: center;
  padding: 20px;
  background: rgba(7, 35, 29, .48);
  backdrop-filter: blur(10px);
}
#searchModal .search-workspace {
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 40px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 19px;
  background: var(--bf-canvas);
  box-shadow: 0 28px 80px rgba(7,35,29,.25);
}
.search-modal-head {
  position: relative;
  flex: 0 0 auto;
  padding: 21px 64px 18px 22px;
  border-bottom: 1px solid var(--bf-line);
  background: rgba(255,255,255,.94);
}
.search-modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--bf-forest-700);
  font-size: .59rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.search-modal-eyebrow i { color: var(--bf-mint); }
#searchModal .modal-title {
  margin: 0;
  padding: 0;
  color: var(--bf-text);
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -.03em;
}
#searchModal .modal-subtitle {
  margin: 5px 0 0;
  padding: 0;
  color: var(--bf-muted);
  font-size: .68rem;
  line-height: 1.45;
}
#searchModal .close-modal {
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--bf-line);
  border-radius: 9px;
  color: var(--bf-muted);
  background: var(--bf-surface-soft);
  font-size: .78rem;
}
#searchModal .close-modal:hover { color: var(--bf-forest-900); background: var(--bf-mint-soft); transform: none; }
.search-modal-body { min-height: 0; overflow: auto; padding: 18px 22px 22px; scrollbar-width: thin; scrollbar-color: #bccbc5 transparent; }
.search-modal-body::-webkit-scrollbar { width: 7px; }
.search-modal-body::-webkit-scrollbar-track { background: transparent; }
.search-modal-body::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #bccbc5; background-clip: padding-box; }
.search-input-shell {
  min-height: 48px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 11px 0 14px;
  border: 1px solid var(--bf-line);
  border-radius: 11px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.search-input-shell:focus-within { border-color: #8fd6c5; box-shadow: 0 0 0 3px rgba(79,220,189,.12); }
.search-input-shell > i { color: var(--bf-subtle); font-size: .82rem; }
#searchModal .big-search-input {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--bf-text);
  background: transparent;
  box-shadow: none;
  font-size: .78rem;
  font-weight: 450;
}
#searchModal .big-search-input:focus { border: 0; box-shadow: none; background: transparent; }
.search-input-shell kbd {
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bf-line);
  border-radius: 6px;
  color: var(--bf-subtle);
  background: var(--bf-surface-soft);
  font-family: inherit;
  font-size: .6rem;
}
.search-filter-bar {
  display: grid;
  grid-template-columns: auto minmax(130px, .9fr) minmax(120px, .8fr) minmax(150px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 9px;
  border: 1px solid var(--bf-line);
  border-radius: 11px;
  background: rgba(255,255,255,.72);
}
.search-filter-lead { display: inline-flex; align-items: center; gap: 7px; padding: 0 5px; color: var(--bf-muted); font-size: .62rem; font-weight: 600; }
.search-filter-lead i { color: var(--bf-forest-700); }
#searchModal .location-filter-input {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--bf-line);
  border-radius: 8px;
  color: #53635d;
  background: #fff;
  font-size: .63rem;
  font-weight: 450;
}
#searchModal .location-filter-input:focus { border-color: #8fd6c5; box-shadow: 0 0 0 3px rgba(79,220,189,.1); }
#searchModal .location-filter-clear {
  height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  color: var(--bf-muted);
  background: var(--bf-surface-soft);
  font-size: .62rem;
  font-weight: 600;
}
#searchModal .location-filter-clear:hover { color: var(--bf-forest-900); background: var(--bf-mint-soft); transform: none; }
.search-result-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 19px 1px 10px; }
.search-result-summary strong { color: var(--bf-text); font-size: .7rem; font-weight: 650; }
.search-result-summary span { margin-left: 5px; color: var(--bf-muted); font-size: .64rem; font-weight: 450; }
.search-result-summary small { color: var(--bf-subtle); font-size: .6rem; }
#searchModal .search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: none;
  overflow: visible;
  padding: 0;
}
#searchModal .result-item {
  min-width: 0;
  min-height: 142px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--bf-line);
  border-radius: 13px;
  color: inherit;
  background: #fff;
  box-shadow: 0 2px 9px rgba(23,48,39,.025);
  text-decoration: none;
}
#searchModal .result-item:hover { border-color: #c6d9d2; background: #fff; box-shadow: 0 10px 30px rgba(23,48,39,.07); transform: translateY(-1px); }
#searchModal .result-img {
  width: 68px;
  height: 82px;
  border: 0;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 25%;
  background: var(--bf-mint-soft);
}
#searchModal .result-info { min-width: 0; }
.result-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
#searchModal .res-name { min-width: 0; overflow: hidden; color: var(--bf-text); font-size: .76rem; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.result-verified { margin-left: 3px; color: #24aa73; font-size: .65rem; }
.result-rating { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 7px; color: #645224; background: #fff7df; font-size: .58rem; font-weight: 650; }
.result-rating i { color: #d7a52e; }
.result-company { margin-top: 4px; overflow: hidden; color: var(--bf-muted); font-size: .61rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.result-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 9px; color: var(--bf-muted); font-size: .58rem; }
.result-meta-row span { display: inline-flex; align-items: center; gap: 4px; }
.result-meta-row i { color: var(--bf-subtle); }
#searchModal .result-cta {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 0 0;
  border-top: 1px solid var(--bf-line);
  border-radius: 0;
  color: var(--bf-forest-900);
  background: transparent;
  font-size: .61rem;
  font-weight: 650;
  white-space: normal;
}
#searchModal .result-cta i { transition: transform .16s ease; }
#searchModal .result-item:hover .result-cta i { transform: translateX(3px); }
.search-empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 36px;
  border: 1px dashed var(--bf-line-strong);
  border-radius: 13px;
  color: var(--bf-muted);
  background: rgba(255,255,255,.55);
  text-align: center;
}
.search-empty-state > div > i { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 11px; border-radius: 11px; color: var(--bf-forest-700); background: var(--bf-mint-soft); }
.search-empty-state strong { display: block; color: var(--bf-text); font-size: .78rem; }
.search-empty-state p { margin: 5px 0 0; font-size: .64rem; }
.search-empty-state a { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--bf-forest-700); font-size: .64rem; font-weight: 650; }
.search-empty-state a i { width: auto; height: auto; display: inline; margin: 0; border-radius: 0; color: currentColor; background: transparent; font-size: .58rem; }
.section-action-btn,
.section-link-btn,
.join-btn,
.dark-cta,
.light-cta,
.add-guide-btn {
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 650;
}
.section-action-btn,
.section-link-btn { box-shadow: none; }
.dark-cta,
.add-guide-btn { background: var(--bf-forest-900); }
.operator-main-card { border-radius: 18px; background: var(--bf-forest-900); }
.value-number,
.value-icon { color: var(--bf-forest-700); background: var(--bf-mint-soft); }

footer { border-top: 1px solid var(--bf-line); background: #fff; color: var(--bf-muted); }
.footer-inner { width: min(1180px, 100%); }
.footer-links a:hover { color: var(--bf-forest-700); }

@media (max-width: 1040px) {
  .nav-pill:nth-of-type(2),
  .nav-pill:nth-of-type(3),
  .nav-pill:nth-of-type(4) { display: none; }
  .hero-layout { grid-template-columns: 1fr 390px; gap: 36px; }
}

@media (max-width: 820px) {
  .app-nav { width: min(100% - 24px, 720px); }
  .mobile-menu-toggle { display: grid; }
  .nav-actions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--bf-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--bf-shadow);
  }
  .app-nav.menu-open .nav-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-pill:nth-of-type(2),
  .nav-pill:nth-of-type(3),
  .nav-pill:nth-of-type(4) { display: inline-flex; }
  .nav-pill,
  .nav-primary { justify-content: flex-start; margin: 0; }
  .topbar-tools { grid-column: 1 / -1; justify-content: flex-end; margin: 2px 0 0; padding: 8px 0 0; border-top: 1px solid var(--bf-line); border-left: 0; }
  .account-popover { position: fixed; top: 84px; right: 12px; left: 12px; width: auto; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-panel { min-height: 0; }
  .hero-panel-window { min-height: 0; }
  .trust-strip-inner { grid-template-columns: 1fr; transform: none; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--bf-line); }
  .trust-item:last-child { border-bottom: 0; }
  .search-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-filter-lead { grid-column: 1 / -1; }
  #searchModal .location-filter-clear { width: 100%; }
}

@media (max-width: 620px) {
  .app-nav { top: 10px; min-height: 58px; padding: 7px 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text small { display: none; }
  .search-hero { min-height: auto; padding: 104px 18px 48px; }
  .search-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-copy { margin-top: 19px; font-size: .95rem; }
  .google-search { grid-template-columns: 36px 1fr; padding: 5px; }
  .search-submit { grid-column: 1 / -1; width: 100%; min-height: 43px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-action-btn { width: 100%; padding-inline: 9px; }
  .hero-panel { padding: 10px; border-radius: 20px; }
  .hero-panel-body { padding: 16px; }
  .match-card { grid-template-columns: 42px 1fr; }
  .match-avatar { width: 42px; height: 42px; }
  .match-score { display: none; }
  .section { padding: 64px 18px; }
  .section-title { font-size: clamp(2.15rem, 12vw, 3.25rem); }
  .guide-cover { height: 230px; }
  .guide-card { display: block; padding: 0; border-radius: 16px; }
  .guide-card-body { padding: 15px; }
  .guides-cta { padding: 18px; }
  #searchModal { align-items: stretch; padding: 8px; }
  #searchModal .search-workspace { max-height: calc(100vh - 16px); border-radius: 15px; }
  .search-modal-head { padding: 17px 54px 15px 16px; }
  .search-modal-body { padding: 14px 14px 18px; }
  .search-input-shell kbd { display: none; }
  .search-input-shell { grid-template-columns: 18px 1fr; }
  .search-filter-bar { grid-template-columns: 1fr; }
  .search-filter-lead { grid-column: auto; }
  .search-result-summary small { display: none; }
  #searchModal .search-results { grid-template-columns: 1fr; }
  #searchModal .result-item { min-height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Auth-aware navigation: hide CK menu for visitors, reveal only after member state loads */
[hidden] { display: none !important; }
.nav-login-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 12px; border-radius: 10px;
  color: var(--bf-forest-900); font-size: .76rem; font-weight: 650;
  white-space: nowrap; text-decoration: none;
}
.nav-login-link:hover { background: var(--bf-surface-soft); }
