/* =================================================================
   Explore Practices — Public marketplace pages
   Extends marketing/site.css + colors_and_type.css
   ================================================================= */

/* ── Form primitives (mirrors onboarding.css, needed for register modal) ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--base-text-secondary, #404040); }
.form-control {
  width: 100%; padding: 0 14px; min-height: 44px;
  background: #fff;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  border-radius: 12px;
  font-size: 14px;
  color: var(--base-text, #171717);
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
textarea.form-control { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.5; }
.form-control:focus {
  outline: none;
  border-color: var(--color-brand-green, #205e3a);
  box-shadow: 0 0 0 3px rgba(32,94,58,.12);
}
.form-control::placeholder { color: var(--base-text-tertiary, #737373); }
.form-hint { font-size: 12px; color: var(--base-text-tertiary, #737373); margin: 0; }

/* ── Input / select (used in filter card) ── */
.input {
  width: 100%;
  padding: 0 12px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--base-text, #171717);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  transition: border-color .12s, box-shadow .12s;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
/* Text inputs (not selects) don't need the dropdown arrow */
input.input:not(select) {
  background-image: none;
  padding-right: 12px;
  cursor: text;
}
.input:focus {
  outline: none;
  border-color: var(--color-brand-green, #205e3a);
  box-shadow: 0 0 0 3px rgba(32,94,58,.10);
}

/* ── Hero ─────────────────────────────────────────────────────── */
.explore-hero {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--color-brand-green-75, #e8f6ee), white 35%) 0%,
    var(--base-bg-base, #f1f7f5) 100%
  );
  border-bottom: 1px solid var(--base-border-tertiary, #e5e5e5);
  position: relative;
  overflow: hidden;
}

.explore-hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .4;
}

.explore-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: end;
  padding-top: 44px;
  padding-bottom: 36px;
}

@media (max-width: 900px) {
  .explore-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
}

.explore-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  background: white;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--base-text-secondary, #404040);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.explore-hero__badge-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.explore-hero__badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--color-brand-green, #205e3a);
  opacity: .35;
  animation: explore-pulse 2s ease-out infinite;
}

.explore-hero__badge-dot::after {
  content: "";
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--color-brand-green, #205e3a);
}

@keyframes explore-pulse {
  0%   { transform: scale(.8); opacity: .55; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}

.explore-hero__headline {
  margin: 16px 0 10px;
  font-size: clamp(34px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--base-text, #171717);
}

.explore-hero__headline-accent { color: var(--color-brand-green, #205e3a); }

.explore-hero__subhead {
  margin: 0;
  font-size: 15px;
  color: var(--base-text-secondary, #404040);
  line-height: 1.55;
  max-width: 560px;
}

.explore-hero__trust {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.explore-trust-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--base-text-secondary, #404040);
}

.explore-trust-point__icon {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--color-brand-green-75, #e8f6ee);
  color: var(--color-brand-green-deep, #0c3e26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.explore-hero__stat-tile {
  background: white;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.explore-hero__stat-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--base-text-tertiary, #737373);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.explore-hero__stat-value {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--base-text, #171717);
}

.explore-hero__stat-value--accent { color: var(--color-brand-green-deep, #0c3e26); }

/* ── Main content ─────────────────────────────────────────────── */
.explore-main {
  padding: 28px 0 80px;
}

/* ── Filter card ──────────────────────────────────────────────── */
.explore-filters-card {
  margin-bottom: 14px;
  padding: 16px !important;
}

.explore-filters-card__row {
  display: grid;
  grid-template-columns: 120px 1.2fr 1fr 1fr;
  gap: 12px;
  align-items: flex-end;
}

@media (max-width: 900px) {
  .explore-filters-card__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .explore-filters-card__row { grid-template-columns: 1fr; }
}

.explore-filters-card__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--base-text-tertiary, #737373);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.explore-filters-card__select {
  height: 36px;
}

.explore-active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--base-border-tertiary, #e5e5e5);
  align-items: center;
}

.explore-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 10px;
  border-radius: 99px;
  background: var(--color-brand-green-75, #e8f6ee);
  border: 1px solid color-mix(in oklab, var(--color-brand-green, #205e3a), white 65%);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-green-deep, #0c3e26);
}

.explore-active-filter__label { opacity: .65; }

.explore-active-filter__remove {
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: rgba(12,62,38,.12);
  color: var(--color-brand-green-deep, #0c3e26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .1s;
}

.explore-active-filter__remove:hover { background: rgba(12,62,38,.22); }
.explore-active-filters__clear { font-size: 12px; color: var(--base-text-tertiary, #737373); cursor: pointer; text-decoration: underline; margin-left: 4px; }

/* ── Result bar ───────────────────────────────────────────────── */
.explore-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 2px 16px;
}

.explore-result-bar__count { font-size: 13px; color: var(--base-text-tertiary, #737373); }
.explore-result-bar__count strong { color: var(--base-text, #171717); font-weight: 700; }

.explore-result-bar__controls { display: flex; align-items: center; gap: 10px; }

.explore-view-toggle {
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: var(--color-gray-100, #f5f5f5);
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
}

.explore-view-toggle__btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  color: var(--base-text-tertiary, #737373);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: background .12s, box-shadow .12s, color .12s;
}

.explore-view-toggle__btn.is-active {
  background: white;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  color: var(--base-text, #171717);
}

/* ── Practice card grid ───────────────────────────────────────── */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .explore-grid { grid-template-columns: 1fr; } }

/* ── Practice card ────────────────────────────────────────────── */
.explore-card {
  background: white;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.explore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
  border-color: color-mix(in oklab, var(--color-brand-green, #205e3a), white 60%);
}

.explore-card__banner {
  height: 122px;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-brand-green-75, #e8f6ee),
    color-mix(in oklab, var(--color-brand-green-75, #e8f6ee), white 55%)
  );
  border-bottom: 1px solid var(--base-border-tertiary, #e5e5e5);
}

.explore-card__banner-art {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  width: 100%;
  height: 100%;
}

.explore-card__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.explore-card__save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  background: white;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow .12s;
}

.explore-card__save-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.explore-card__save-icon { width: 14px; height: 14px; color: var(--base-text-tertiary, #737373); }
.explore-card__save-btn[data-saved="true"] .explore-card__save-icon { color: #dc2626; }

.explore-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.explore-card__price-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-green-deep, #0c3e26);
}

.explore-card__price-label {
  font-size: 11.5px;
  color: var(--color-brand-green-deep, #0c3e26);
  opacity: .7;
  font-weight: 500;
}

.explore-card__price-pending {
  font-size: 18px;
  font-weight: 500;
  color: var(--base-text-tertiary, #737373);
  font-style: italic;
  padding-bottom: 12px;
}

.explore-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.explore-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--base-text-tertiary, #737373);
}

.explore-card__meta-icon { width: 12px; height: 12px; flex-shrink: 0; }

.explore-card__title {
  margin: 6px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.explore-card__stats {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--base-border-tertiary, #e5e5e5);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
  flex: 1;
}

.explore-card__stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--base-text-tertiary, #737373);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.explore-card__stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--base-text, #171717);
  margin-top: 2px;
}

.explore-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  color: var(--base-text-tertiary, #737373);
}

.explore-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-brand-green-deep, #0c3e26);
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.explore-card__cta:hover { text-decoration: underline; }

/* ── Badges ───────────────────────────────────────────────────── */
.explore-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 600;
}

.explore-badge--type {
  background: white;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  color: var(--base-text-secondary, #404040);
}

.explore-badge--locked {
  background: var(--color-gray-100, #f5f5f5);
  color: var(--base-text-tertiary, #737373);
  font-size: 10px;
}

.explore-badge--inquiry,
.explore-inquiry-status {
  border: 1px solid transparent;
  white-space: nowrap;
}

.explore-badge--inquiry.is-info,
.explore-inquiry-status.is-info {
  background: #eef6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.explore-badge--inquiry.is-success,
.explore-inquiry-status.is-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.explore-badge--inquiry.is-purple,
.explore-inquiry-status.is-purple {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6d28d9;
}

.explore-badge--inquiry.is-neutral,
.explore-inquiry-status.is-neutral {
  background: #f5f5f5;
  border-color: #e5e5e5;
  color: #525252;
}

/* ── Map panel ────────────────────────────────────────────────── */
.explore-map-panel {
  height: 620px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
}

.explore-map-panel__map { width: 100%; height: 100%; }

/* ── Empty state ──────────────────────────────────────────────── */
.explore-empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--base-text-tertiary, #737373);
}

.explore-empty-state__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  opacity: .4;
}

.explore-empty-state__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--base-text, #171717);
  margin: 0 0 4px;
}

.explore-empty-state__body {
  font-size: 13px;
  margin: 0 0 16px;
}

.explore-empty-state--inline { padding: 24px; }

/* ── Match CTA ────────────────────────────────────────────────── */
.explore-match-cta {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-brand-green-deep, #0c3e26), var(--color-brand-green, #205e3a));
  color: white;
  position: relative;
}

.explore-match-cta__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  position: relative;
  flex-wrap: wrap;
}

.explore-match-cta__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin: 0 0 6px;
}

.explore-match-cta__headline {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}

.explore-match-cta__body {
  font-size: 14px;
  opacity: .9;
  max-width: 520px;
  line-height: 1.5;
  margin: 0;
}

.explore-match-cta__text { flex: 1; min-width: 280px; }
.explore-match-cta__eyebrow { color: rgba(255,255,255,.75) !important; }
.explore-match-cta__headline { color: #fff !important; }
.explore-match-cta__body { color: rgba(255,255,255,.9) !important; }

.explore-match-cta__btn {
  background: white !important;
  color: var(--color-brand-green-deep, #0c3e26) !important;
  border-color: transparent !important;
  border-radius: 999px;
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Detail header ────────────────────────────────────────────── */
.explore-detail-header {
  background: var(--base-bg-base, #f1f7f5);
  border-bottom: 1px solid var(--base-border-tertiary, #e5e5e5);
  position: sticky;
  top: 0;
  z-index: 40;
}

.explore-detail-header .wrap { padding-top: 12px; }

.explore-detail-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--base-text-tertiary, #737373);
  margin-bottom: 10px;
}

.explore-detail-header__back {
  color: var(--base-text-tertiary, #737373);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .1s;
}

.explore-detail-header__back:hover { color: var(--color-brand-green, #205e3a); }
.explore-detail-header__sep { color: var(--color-gray-300, #d4d4d4); }
.explore-detail-header__crumb { color: var(--base-text-secondary, #404040); font-weight: 500; }

.explore-detail-header__main {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}

.explore-detail-header__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--base-text-tertiary, #737373);
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.explore-detail-header__dot { color: var(--color-gray-300, #d4d4d4); }

.explore-detail-header__title {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--base-text, #171717);
}

.explore-detail-header__subline {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--base-text-tertiary, #737373);
  flex-wrap: wrap;
}

.explore-detail-header__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-brand-green-deep, #0c3e26);
  font-weight: 600;
}

.explore-detail-header__locked {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-primary {
  background: var(--color-brand-green, #205e3a) !important;
  border-color: var(--color-brand-green, #205e3a) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--color-brand-green-deep, #0c3e26) !important;
  border-color: var(--color-brand-green-deep, #0c3e26) !important;
}

.explore-detail-header__right-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 200px;
}

.explore-detail-header__price-col { text-align: right; }
.explore-detail-header__price-label { font-size: 10px; font-weight: 600; color: var(--base-text-tertiary, #737373); text-transform: uppercase; letter-spacing: .08em; }
.explore-detail-header__price-value { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.03em; color: var(--color-brand-green-deep, #0c3e26); line-height: 1; margin-top: 2px; }
.explore-detail-header__price-sub { font-size: 11px; color: var(--base-text-tertiary, #737373); margin-top: 4px; }

.explore-detail-header__cta-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.explore-detail-header__activity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--base-text-tertiary, #737373);
  justify-content: flex-end;
}

.explore-detail-header__activity strong { color: var(--base-text, #171717); font-weight: 600; }

.explore-detail-header__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: -1px;
  overflow-x: auto;
}

.explore-detail-header__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--base-text-tertiary, #737373);
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .12s, border-color .12s;
}

.explore-detail-header__tab:hover { color: var(--base-text, #171717); }
.explore-detail-header__tab.is-active {
  color: var(--color-brand-green-deep, #0c3e26);
  border-bottom-color: var(--color-brand-green, #205e3a);
  font-weight: 600;
}

/* ── Detail main layout ───────────────────────────────────────── */
.explore-detail-main {
  padding: 28px 0 60px;
}

.explore-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .explore-detail-grid {
    grid-template-columns: 1fr;
  }
  .explore-detail-sidebar { order: -1; }
}

.explore-detail-content { display: grid; gap: 22px; }

.explore-detail-sidebar {
  position: sticky;
  top: calc(var(--detail-header-height, 200px) + 16px);
  display: grid;
  gap: 14px;
}

/* ── Detail cards ─────────────────────────────────────────────── */
.explore-detail-card { padding: 24px; }
.explore-detail-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.explore-detail-card__title { margin: 0 0 16px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; color: var(--base-text, #171717); }
.explore-detail-card__heading { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.explore-detail-card__text { margin: 0; font-size: 14px; color: var(--base-text-secondary, #404040); line-height: 1.65; }
.explore-detail-card__divider { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--base-border-tertiary, #e5e5e5); }
.explore-detail-card__note { padding: 14px; border-radius: 10px; background: var(--color-gray-50, #fafafa); border: 1px solid var(--base-border-tertiary, #e5e5e5); font-size: 12.5px; color: var(--base-text-secondary, #404040); line-height: 1.55; }

/* ── Section label ────────────────────────────────────────────── */
.explore-section-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--base-text-tertiary, #737373);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px;
}

/* ── KPI grid ─────────────────────────────────────────────────── */
.explore-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) { .explore-kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.explore-kpi-tile {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  background: white;
}

.explore-kpi-tile--accent {
  background: var(--color-brand-green-75, #e8f6ee);
  border-color: color-mix(in oklab, var(--color-brand-green, #205e3a), white 65%);
}

.explore-kpi-tile__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--base-text-tertiary, #737373);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.explore-kpi-tile--accent .explore-kpi-tile__label {
  color: var(--color-brand-green-deep, #0c3e26);
  opacity: .85;
}

.explore-kpi-tile__value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: var(--base-text, #171717);
}

.explore-kpi-tile--accent .explore-kpi-tile__value { color: var(--color-brand-green-deep, #0c3e26); }

.explore-kpi-tile__sub {
  font-size: 11.5px;
  color: var(--base-text-tertiary, #737373);
  margin-top: 2px;
  font-weight: 500;
}

.explore-kpi-tile--accent .explore-kpi-tile__sub { color: var(--color-brand-green-deep, #0c3e26); opacity: .8; }

/* ── Icon stat grid ───────────────────────────────────────────── */
.explore-icon-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 600px) { .explore-icon-stat-grid { grid-template-columns: repeat(2, 1fr); } }

.explore-icon-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--color-gray-50, #fafafa);
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
}

.explore-icon-stat__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--base-text-secondary, #404040);
}

.explore-icon-stat__label {
  font-size: 10.5px;
  color: var(--base-text-tertiary, #737373);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.explore-icon-stat__value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--base-text, #171717);
}

/* ── Highlights grid ──────────────────────────────────────────── */
.explore-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) { .explore-highlights-grid { grid-template-columns: 1fr; } }

.explore-highlight-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
}

.explore-highlight-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--color-brand-green-75, #e8f6ee);
  color: var(--color-brand-green, #205e3a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── NDA card ─────────────────────────────────────────────────── */
.explore-nda-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  background: white;
}

.explore-nda-card--unlocked {
  background: var(--color-brand-green-75, #e8f6ee);
  border-color: color-mix(in oklab, var(--color-brand-green, #205e3a), white 65%);
}

.explore-nda-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-brand-green-75, #e8f6ee);
  color: var(--color-brand-green-deep, #0c3e26);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-nda-card--unlocked .explore-nda-card__icon {
  background: var(--color-brand-green, #205e3a);
  color: white;
  border-radius: 99px;
}

.explore-nda-card__icon--check { border-radius: 99px; }

.explore-nda-card__title { font-size: 14px; font-weight: 600; color: var(--base-text, #171717); }
.explore-nda-card--unlocked .explore-nda-card__title { color: var(--color-brand-green-deep, #0c3e26); }
.explore-nda-card__body { font-size: 12.5px; color: var(--base-text-tertiary, #737373); line-height: 1.5; margin-top: 2px; }
.explore-nda-card--unlocked .explore-nda-card__body { color: var(--color-brand-green-deep, #0c3e26); opacity: .75; }

/* ── Payer mix ────────────────────────────────────────────────── */
.explore-payer-mix-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  background: var(--color-gray-50, #fafafa);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--base-text, #171717);
}

/* ── Documents list ───────────────────────────────────────────── */
.explore-doc-list { display: grid; gap: 8px; }

.explore-doc-row {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  background: white;
}

.explore-doc-row__icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explore-doc-row__icon--open { background: var(--color-brand-green-75, #e8f6ee); color: var(--color-brand-green-deep, #0c3e26); }
.explore-doc-row__icon--locked { background: var(--color-gray-100, #f5f5f5); color: var(--base-text-tertiary, #737373); }
.explore-doc-row__name { font-size: 13px; font-weight: 600; }
.explore-doc-row__size { font-size: 11.5px; color: var(--base-text-tertiary, #737373); }

/* ── KV grid ──────────────────────────────────────────────────── */
.explore-kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .explore-kv-grid { grid-template-columns: 1fr; } }

.explore-kv-row {
  padding: 14px;
  border-radius: 10px;
  background: var(--color-gray-50, #fafafa);
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
}

.explore-kv-row__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--base-text-tertiary, #737373);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.explore-kv-row__value { font-size: 13.5px; font-weight: 600; margin-top: 3px; color: var(--base-text, #171717); }

/* ── Equipment list ───────────────────────────────────────────── */
.explore-equipment-list { display: grid; gap: 8px; }

.explore-equipment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  background: var(--color-gray-50, #fafafa);
  font-size: 13.5px;
  font-weight: 500;
}

.explore-equipment-item__check {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: white;
  color: var(--color-brand-green-deep, #0c3e26);
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-equipment-item__cond {
  font-weight: 400;
  color: var(--base-text-tertiary, #737373);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.explore-faq-accordion {
  background: var(--base-bg-card, #fff);
  border-color: var(--base-border-secondary, #d4d4d4) !important;
  box-shadow: 0 18px 45px color-mix(in oklab, var(--color-brand-green-deep, #0c3e26), transparent 92%);
}

.explore-faq-item {
  background: transparent;
  transition: background .18s ease;
}

.explore-faq-item.is-open {
  background: linear-gradient(180deg, color-mix(in oklab, var(--color-brand-green-75, #e8f6ee), white 52%), #fff);
}

.explore-faq-item__question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--base-text, #171717);
}

.explore-faq-item__question:hover {
  background: color-mix(in oklab, var(--color-brand-green-75, #e8f6ee), transparent 55%);
}

.explore-faq-item__question-text {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.explore-faq-item__question-text > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.explore-faq-item__question-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--color-brand-green, #205e3a), white 88%);
  color: var(--color-brand-green-deep, #0c3e26);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.explore-faq-item__toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-gray-100, #f5f5f5);
  color: var(--color-brand-green-deep, #0c3e26);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.explore-faq-item__toggle-icon.is-open {
  background: var(--color-brand-green-deep, #0c3e26);
  color: white;
  transform: rotate(180deg);
}

.explore-faq-item__answer {
  padding: 0 20px 20px 62px;
  font-size: 13.5px;
  color: var(--base-text-secondary, #404040);
  line-height: 1.6;
}

.explore-faq-item__answer-inner {
  border-left: 2px solid color-mix(in oklab, var(--color-brand-green, #205e3a), white 72%);
  padding: 2px 0 2px 16px;
}

.explore-faq-item__answer p {
  margin: 0;
}

/* ── Ask CTA ──────────────────────────────────────────────────── */
.explore-ask-cta {
  text-align: center;
  background: var(--color-brand-green-75, #e8f6ee) !important;
  border-color: color-mix(in oklab, var(--color-brand-green, #205e3a), white 65%) !important;
  padding: 24px !important;
}

.explore-ask-cta__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--color-brand-green-deep, #0c3e26); }
.explore-ask-cta__body { margin: 0 0 14px; font-size: 13px; color: var(--color-brand-green-deep, #0c3e26); opacity: .8; }

/* ── Sidebar cards ────────────────────────────────────────────── */
.explore-sidebar-card { padding: 18px 20px; }
.explore-sidebar-card__eyebrow { font-size: 11px; font-weight: 600; color: var(--base-text-tertiary, #737373); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.explore-sidebar-card__body { font-size: 13.5px; color: var(--base-text-secondary, #404040); line-height: 1.5; margin-top: 4px; margin-bottom: 14px; }
.explore-sidebar-card__actions { display: grid; gap: 8px; }
.explore-inquiry-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.explore-seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: var(--color-brand-green-75, #e8f6ee);
  color: var(--color-brand-green-deep, #0c3e26);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-activity-list { display: grid; gap: 10px; }
.explore-activity-row { display: flex; align-items: center; gap: 10px; }

/* ── Save button ──────────────────────────────────────────────── */
.explore-save-btn[data-saved="true"] { color: #dc2626; }
.explore-save-btn[data-saved="true"] svg { fill: #dc2626; stroke: #dc2626; }

/* ── Location map ─────────────────────────────────────────────── */
.explore-location-map { background: var(--color-gray-50, #fafafa); }

/* ── Registration gate modal ──────────────────────────────────── */
.explore-gate-modal {
  border: none;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  max-width: 520px;
  width: calc(100vw - 32px);
  max-height: 90dvh;
  overflow: hidden;
  position: relative;
}
.explore-gate-modal[open] {
  display: flex;
  flex-direction: column;
}

.explore-gate-modal::backdrop {
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

.explore-gate-modal__panel {
  padding: 52px 28px 24px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.explore-gate-modal__panel::-webkit-scrollbar { display: none; }

.explore-gate-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  border: 1px solid var(--base-border-tertiary, #e5e5e5);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--base-text-tertiary, #737373);
}

.explore-gate-modal__header { text-align: center; margin-bottom: 24px; }

.explore-gate-modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-brand-green-75, #e8f6ee);
  color: var(--color-brand-green-deep, #0c3e26);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.explore-gate-modal__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; color: var(--base-text, #171717); }
.explore-gate-modal__subtitle { font-size: 14px; color: var(--base-text-secondary, #404040); margin: 0; line-height: 1.5; }
.explore-gate-modal__form { display: grid; gap: 14px; }
.explore-gate-modal__signin { text-align: center; font-size: 13px; color: var(--base-text-tertiary, #737373); margin-top: 16px; margin-bottom: 0; }

/* ── Toast notification ───────────────────────────────────────── */
.explore-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--base-text, #171717);
  color: white;
  padding: 12px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
}

.explore-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Photo gallery (overview tab) ────────────────────────────── */
.explore-photos {
  padding: 0;
  overflow: hidden;
}

.explore-photos__track-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.explore-photos__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 16px 48px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.explore-photos__track::-webkit-scrollbar { display: none; }

.explore-photos__thumb {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  border: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--base-bg-secondary, #f5f5f5);
}

.explore-photos__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  display: block;
}
.explore-photos__thumb:hover .explore-photos__thumb-img {
  transform: scale(1.04);
}

.explore-photos__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--base-border, #e5e5e5);
  background: var(--base-bg, #fff);
  color: var(--base-text, #171717);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: background 0.15s, box-shadow 0.15s;
}
.explore-photos__arrow:hover {
  background: var(--base-bg-secondary, #f5f5f5);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.explore-photos__arrow--left  { left: 8px; }
.explore-photos__arrow--right { right: 8px; }

.explore-photos__attribution {
  font-size: 11px;
  color: var(--base-text-tertiary, #737373);
  padding: 0 16px 12px;
  margin: 0;
}

.explore-photos__lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  z-index: 1000;
}
.explore-photos__lightbox::backdrop {
  background: rgba(0,0,0,.9);
}

.explore-photos__lightbox-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 32px;
  box-sizing: border-box;
  position: relative;
}

.explore-photos__lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.explore-photos__lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(255,255,255,.8);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.explore-photos__lb-close:hover { color: #fff; }

.explore-photos__lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.8);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.explore-photos__lb-arrow:hover { color: #fff; }
.explore-photos__lb-arrow--left  { left: 16px; }
.explore-photos__lb-arrow--right { right: 16px; }

.explore-photos__lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 13px;
}

/* ── Location map ─────────────────────────────────────────────── */
.explore-detail-header { --detail-header-height: 260px; }

/* ── Footer logo fix ─────────────────────────────────────────────
   marketing/site.css uses brightness(0) invert(1) which creates a
   solid white rectangle when the logo PNG has an opaque white
   background. Using invert(1) + mix-blend-mode:screen instead:
   the inverted dark pixels become light (white logo shows),
   the inverted white background becomes black and "disappears"
   against the dark footer via screen blending.
   ──────────────────────────────────────────────────────────────── */
.site-foot__brand img {
  filter: invert(1) !important;
  mix-blend-mode: screen;
}
