/* ─── Card ─── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  border-color: var(--border-hover);
}

.card--accent {
  border-color: var(--accent-border);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ─── Button ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn--outline {
  border: 1px solid var(--accent-border);
  color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.btn--ghost {
  color: var(--text-secondary);
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--bg-surface-3);
}

.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── Input ─── */
.input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.input::placeholder { color: var(--text-muted); }
.input--lg { padding: 16px 20px; font-size: 1.05rem; }

/* ─── Input Error State ─── */
.input--error,
.select--error {
  border-color: var(--red);
  background: var(--red-dim);
}
.input--error:focus,
.select--error:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}
.field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 4px;
  animation: fieldErrorIn 0.25s ease;
}
@keyframes fieldErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

/* ─── Tooltip ─── */
.tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 10px;
  border-radius: 50%;
  background: rgba(61, 57, 53, 0.08);
  color: var(--text-secondary, #635D58);
  cursor: help;
  vertical-align: middle;
  margin-left: 4px;
  position: relative;
}

/* ─── Select ─── */
.select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.select:focus { border-color: var(--accent); }

/* ─── Toggle ─── */
.toggle {
  display: inline-flex;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.toggle__btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.toggle__btn--active {
  background: var(--accent);
  color: var(--accent-text);
}

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--accent { background: var(--accent-dim); color: var(--accent); }
.badge--green { background: var(--green-dim); color: var(--green); }
.badge--amber { background: var(--amber-dim); color: var(--amber); }

/* ─── Skeleton ─── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface-2) 25%, var(--bg-surface-3) 50%, var(--bg-surface-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Toast ─── */
.toast-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  animation: toast-in 300ms ease;
  max-width: 400px;
}

.toast--success { border-left: 3px solid var(--green); }
.toast--warning { border-left: 3px solid var(--amber); }
.toast--accent { border-left: 3px solid var(--accent); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fade-in 200ms ease;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in 300ms ease;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.modal__close:hover {
  background: var(--bg-surface-3);
  color: var(--text-primary);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Password Gate ─── */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-body);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-lg);
}

.gate-overlay .gate-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.15em;
}

.gate-overlay .gate-logo span {
  color: var(--accent);
}

.gate-overlay .gate-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: calc(-1 * var(--space-sm));
}

.gate-overlay .gate-form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.gate-overlay .gate-input { width: 280px; }

.gate-error {
  color: var(--amber);
  font-size: 0.85rem;
  min-height: 1.2em;
}

/* ─── Referral Banner ─── */
.referral-banner {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.referral-banner__icon { font-size: 1.5rem; }
.referral-banner__text { color: var(--accent); font-size: 0.9rem; }
.referral-banner__text strong { color: var(--accent-hover); }

/* ─── Tabs ─── */
.tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: var(--space-lg);
}

.tab {
  flex: 1;
  padding: 10px 20px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tab--active { background: var(--bg-surface-3); color: var(--accent); }
.tab:hover:not(.tab--active) { color: var(--text-primary); }

/* ─── Table ─── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

table { width: 100%; border-collapse: collapse; }

th {
  text-align: left;
  padding: var(--space-md);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border);
}

td {
  padding: var(--space-md);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-surface); }

/* ─── KPI Card ─── */
.kpi { text-align: center; padding: var(--space-xl); }
.kpi__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.kpi__label { font-size: 0.85rem; color: var(--text-secondary); }

/* ─── Gallery ─── */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery__main { aspect-ratio: 16/10; object-fit: cover; width: 100%; height: 100%; }
.gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--space-sm); }
.gallery__side img { aspect-ratio: 16/10; object-fit: cover; width: 100%; height: 100%; }

@media (max-width: 768px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}

/* ─── Slider ─── */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-surface-3);
  border-radius: var(--radius-full);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ─── Pill group ─── */
.pills { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.pill {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pill--active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.pill:hover:not(.pill--active) {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ─── Breakdown list ─── */
.breakdown { display: flex; flex-direction: column; gap: var(--space-sm); }
.breakdown__row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-sm) 0; }
.breakdown__label { color: var(--text-secondary); font-size: 0.9rem; }
.breakdown__value { font-weight: 600; font-size: 0.95rem; }
.breakdown__divider { height: 1px; background: var(--border); margin: var(--space-xs) 0; }
.breakdown__total { padding: var(--space-md) 0; border-top: 1px solid var(--accent-border); }
.breakdown__total .breakdown__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
}

/* ─── Loading Spinner ─── */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Market Comparison ─── */
.market-savings {
  text-align: center;
  padding: var(--space-lg);
  background: var(--green-dim);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.market-savings__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.market-savings__label {
  font-size: 0.85rem;
  color: var(--green);
}

.market-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.market-vs__card {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
}

.market-vs__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.market-vs__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.market-vs__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.market-vs__divider {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ─── Mobile: Touch Targets & Responsive Components ─── */
@media (max-width: 768px) {
  /* Touch-friendly buttons: min 44px */
  .btn { min-height: 44px; }
  .btn--sm { min-height: 44px; padding: 10px 16px; }
  .toggle__btn { min-height: 44px; padding: 10px 16px; }
  .tab { min-height: 44px; padding: 12px 16px; font-size: 0.82rem; }
  .pill { min-height: 44px; padding: 10px 16px; }
  .modal__close { width: 44px; height: 44px; }

  /* Tables */
  .table-wrap { -webkit-overflow-scrolling: touch; }
  th, td { padding: var(--space-sm) var(--space-md); font-size: 0.8rem; white-space: nowrap; }

  /* Market comparison */
  .market-vs { grid-template-columns: 1fr; gap: var(--space-sm); }
  .market-vs__divider { display: none; }
  .market-vs__price { font-size: 1.3rem; }

  /* Tabs overflow */
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { flex: 0 0 auto; white-space: nowrap; }

  /* Cards */
  .card { padding: var(--space-md); }

  /* KPI */
  .kpi { padding: var(--space-lg); }
  .kpi__value { font-size: 2rem; }

  /* Toast */
  .toast-container { left: var(--space-md); right: var(--space-md); }
  .toast { max-width: 100%; }

  /* Modal */
  .modal-overlay { padding: var(--space-md); }
  .modal { padding: var(--space-lg); }
  .modal__title { font-size: 1.2rem; }

  /* Gate */
  .gate-overlay .gate-input { width: 100%; max-width: 280px; }
  .gate-overlay .gate-form { flex-direction: column; align-items: center; width: 100%; padding: 0 var(--space-lg); }
  .gate-overlay .gate-logo { font-size: 2rem; }

  /* Referral banner */
  .referral-banner { flex-direction: column; text-align: center; }

  /* Breakdown */
  .breakdown__total .breakdown__value { font-size: 1.4rem; }

  /* Range slider thumb: larger for touch */
  input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; }

  /* Toggle wrap */
  .toggle { flex-wrap: wrap; justify-content: center; }

  /* Step rows responsive */
  .step-num { min-width: 36px; height: 36px; font-size: 13px; }

  /* Heading hero */
  .heading-hero { font-size: 2rem; }

  /* Info box */
  .info-box { padding: 16px 20px; }
}

@media (max-width: 480px) {
  .btn--lg { padding: 14px 24px; font-size: 0.95rem; }
  .tab { font-size: 0.78rem; padding: 12px 12px; }
  .toggle__btn { padding: 10px 12px; font-size: 0.78rem; }
  .pill { padding: 10px 14px; font-size: 0.8rem; }

  /* Modal full-screen */
  .modal-overlay { padding: 0; }
  .modal { max-width: 100%; border-radius: var(--radius-md); max-height: 100vh; }
  .modal__title { font-size: 1.1rem; }

  /* KPI */
  .kpi__value { font-size: 1.6rem; }
  .kpi__label { font-size: 0.78rem; }

  /* Card */
  .card { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); }

  /* Gallery */
  .gallery__side { grid-template-columns: 1fr; }

  /* Market savings */
  .market-savings__value { font-size: 1.5rem; }

  /* Gate login responsive */
  .gate-overlay .gate-input { width: 100%; max-width: 260px; }
  .gate-overlay .gate-form .btn { width: 100%; max-width: 260px; }
  .gate-overlay .gate-logo { font-size: 1.6rem; }

  /* Step rows */
  .step-row { gap: 12px; }
  .step-num { min-width: 32px; height: 32px; font-size: 12px; }
  .step-row__title { font-size: 14px; }
  .step-row__desc { font-size: 12px; }

  /* Heading hero */
  .heading-hero { font-size: 1.7rem; }
}

/* ─── Logo (shared across all pages) ─── */
.logo-the {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.logo-sel {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.logo-suffix {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-left: 4px;
}

.header__logo--flex {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

/* ─── Step number circle (reserva-confirmada, etc.) ─── */
.step-num {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── Step row (reserva-confirmada) ─── */
.step-row {
  display: flex;
  gap: 16px;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.step-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-row__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}

.step-row__desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* ─── Text utilities ─── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* ─── Display heading (used in hero sections) ─── */
.heading-hero {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

/* ─── Info box ─── */
.info-box {
  padding: 20px 24px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  text-align: left;
}

/* ─── Card link (card used as <a>) ─── */
.card-link { text-decoration: none; display: block; }

/* ─── Card title ─── */
.card__title {
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ─── Spacing utilities ─── */
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

/* ─── Price Semaphore Dot ─── */
.price-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
.price-dot-green { background: var(--green, #2E7D5B); }
.price-dot-yellow { background: var(--amber, #A07000); }
.price-dot-red { background: #DC2626; }

.price-semaphore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.price-semaphore-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent, #3d3935);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.price-semaphore-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--accent, #3d3935);
}

.price-semaphore:hover .price-semaphore-tooltip {
  display: block;
}

/* ─── QR Code Share Card ─── */
.qr-share-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 16px;
}

.qr-share-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt, #1A1816);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.qr-share-card__code {
  display: inline-block;
  padding: 8px;
  background: #FFFFFF;
  border-radius: 8px;
}

.qr-share-card__code svg {
  display: block;
}

/* ─── Lead Urgency Badges ─── */
.lead-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-badge--urgent {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.lead-badge--pending {
  background: rgba(160, 112, 0, 0.1);
  color: #A07000;
}

.lead-badge--old {
  background: rgba(107, 101, 96, 0.1);
  color: #6B6560;
}

.leads-summary {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-surface-2, #F0EDE8);
  border-radius: var(--radius-md, 8px);
  margin-bottom: var(--space-lg, 24px);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.leads-summary__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.leads-summary__count {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ─── Opportunity Index Bar (Enhanced Score) ─── */
.opportunity-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.opportunity-bar__track {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.opportunity-bar__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  background: linear-gradient(90deg, #DC2626 0%, #A07000 50%, #2E7D5B 100%);
  background-size: 200% 100%;
}

.opportunity-bar__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--txt3, #766E67);
  white-space: nowrap;
}

.opportunity-bar__val {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 600;
  font-size: 13px;
  min-width: 28px;
  text-align: right;
}

/* ─── Hidden utility ─── */
.hidden { display: none !important; }
