/* =============================================================================
   COMPONENT: BUTTONS / CTAs
   Figma refs:
   — "CTA - Dark" node 1:174  → dark bg, white text, 38-50px height
   — "CTA - Small" node 1:225 → white outlined, nav context
   ============================================================================= */

/* ---- Base reset ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  letter-spacing: 0.5px;
}

.btn:hover {
  opacity: 0.85;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn:disabled:hover {
  opacity: 0.45;
}

/* ---- CTA Dark (primary action button) ---- */
/* Figma: dark bg #1e1e1e, white text, px-30, h-38 / h-50 */
.btn--dark {
  background-color: var(--color-dark-text);
  color: var(--color-white);
  padding: var(--btn-dark-py) var(--btn-dark-px);
  height: var(--btn-dark-h);
}

.btn--dark-lg {
  background-color: var(--color-dark-text);
  color: var(--color-white);
  padding: 16px var(--btn-dark-px);
  height: var(--btn-dark-h-lg);
}

/* Dark button on dark bg (inverted) */
.btn--dark-inv {
  background-color: var(--color-white);
  color: var(--color-dark-text);
  padding: var(--btn-dark-py) var(--btn-dark-px);
  height: var(--btn-dark-h);
}

/* ---- CTA Small (nav / outlined) ---- */
/* Figma: white border, white text, transparent bg */
.btn--outline {
  background-color: transparent !important;
  color: var(--color-white) !important;
  border: 1px solid var(--color-white);
  padding: var(--btn-sm-py) var(--btn-sm-px);
  height: 38px;
}

.btn--outline:hover {
  background-color: var(--color-white) !important;
  color: var(--color-dark-text) !important;
  opacity: 1;
}

/* ---- Text link with arrow / underline ---- */
/* Figma: "Read more", "read more about our partners" — plain text links */
.btn--text {
  background: transparent;
  color: var(--color-dark-text);
  padding: 0;
  height: auto;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.btn--text-white {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

/* Full-width button (used inside property cards) */
.btn--full {
  width: 100%;
}
