/* ============================================================
   CLIENTES ARCADEA — Unified Stylesheet
   Depends on arcadea.css (variables, reset, nav, footer, buttons)
   ============================================================ */

/* ── 1. Extra Variables ─────────────────────────────────────── */
:root {
  --green:          #2D4A3E;
  --ca-border:      rgba(184,151,106,.25);
  --ca-border-soft: rgba(184,151,106,.15);
  --ca-shadow:      0 8px 40px rgba(28,23,18,.08);
  --ca-shadow-lg:   0 20px 60px rgba(28,23,18,.12);
}

/* ── 2. Base ────────────────────────────────────────────────── */
[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--cream);
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 50% at 5% 10%, rgba(184,151,106,.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 90%, rgba(184,151,106,.10) 0%, transparent 60%),
    var(--cream);
}

/* ── 3. Layout ──────────────────────────────────────────────── */
.layout {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 960px) {
  .layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem;
    align-items: start;
  }
}

.main { min-width: 0; }

/* ── 4. Sidebar ─────────────────────────────────────────────── */
.sidebar { display: none; }

@media (min-width: 960px) {
  .sidebar {
    display: block;
    position: sticky;
    top: 2rem;
  }
}

.sidebar-logo { height: 2.6rem; width: auto; margin-bottom: 1.25rem; }

.profile-card { padding: 1.25rem; }

.avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: .9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}

.profile-name {
  font-family: 'Jost', sans-serif;
  font-size: .875rem;
  font-weight: 400;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-email {
  font-family: 'Jost', sans-serif;
  font-size: .775rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-mini {
  padding: .9rem 1rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.stat-mini-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-mini-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-top: .15rem;
}

.stat-mini-sub {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .1rem;
}

/* Nav items */
.nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border: 1px solid transparent;
  font-family: 'Jost', sans-serif;
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.nav-item:hover { background: rgba(184,151,106,.12); color: var(--ink); }

.nav-item.active {
  background: rgba(184,151,106,.14);
  border-color: var(--ca-border);
  color: var(--ink);
  font-weight: 400;
}

.nav-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.nav-item svg { width: 1.1rem; height: 1.1rem; }

.nav-logout { color: #a0513a; margin-top: .25rem; }
.nav-logout:hover { background: rgba(160,81,58,.07); color: #a0513a; }

.nav-section { margin-top: 1.25rem; }

/* ── 5. Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--ca-border);
  box-shadow: var(--ca-shadow);
}

.card-hover {
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.card-hover:hover {
  box-shadow: var(--ca-shadow-lg);
  border-color: var(--gold);
  text-decoration: none;
}

/* ── 6. Typography ──────────────────────────────────────────── */
.page-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-d);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.page-eyebrow::after {
  content: '';
  flex: 1;
  height: .5px;
  background: var(--ca-border);
  max-width: 36px;
  opacity: .5;
}

.page-title {
  margin-top: .75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
}

.page-title em { font-style: italic; color: var(--gold-d); }

.page-sub {
  margin-top: .5rem;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
}

/* ── 7. Buttons ─────────────────────────────────────────────── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  background: var(--ink);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-pill:hover:not(:disabled) {
  background: var(--gold-d);
  color: var(--white);
}

.btn-pill:disabled { opacity: .5; cursor: not-allowed; }
.btn-pill svg { width: .9rem; height: .9rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ca-border);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}

.btn-ghost:hover { background: rgba(184,151,106,.12); }

/* ── 8. Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .7rem;
  border-radius: 0;
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .02em;
  border: 1px solid transparent;
}

.badge-active    { background: var(--ink);  color: var(--white); border-color: var(--ink); }
.badge-confirmed { background: var(--ink);  color: var(--white); border-color: var(--ink); }
.badge-cancelled { background: transparent; color: var(--muted); border-color: var(--ca-border); }
.badge-pending   { background: rgba(184,151,106,.18); color: var(--gold-d); border-color: var(--ca-border); }
.badge-noshow    { background: transparent; color: var(--muted); border-color: var(--ca-border); }
.badge-warning   { background: rgba(184,151,106,.14); color: var(--gold-d); border-color: var(--ca-border); }
.badge-neutral   { background: transparent; color: var(--muted); border-color: var(--ca-border); }
.badge-ink       { background: var(--ink);  color: var(--white); border-color: var(--ink); }
.badge-default   { background: transparent; color: var(--muted); border-color: var(--ca-border); }

/* ── 9. Forms ───────────────────────────────────────────────── */
.form-card { padding: 1.75rem; margin-top: 1.25rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 520px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: .35rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="number"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--ca-border);
  border-radius: 0;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,106,.12);
}

input::placeholder { color: var(--muted); opacity: .6; }

.input-wrap { position: relative; }

.eye-btn {
  position: absolute;
  right: .7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: .35rem;
  display: grid;
  place-items: center;
  transition: color .15s;
}

.eye-btn:hover { color: var(--ink); }
.eye-btn svg { width: 1.1rem; height: 1.1rem; }

.field-hint {
  margin-top: .4rem;
  font-family: 'Jost', sans-serif;
  font-size: .73rem;
  color: var(--muted);
  line-height: 1.5;
}

.field-hint a { color: var(--gold-d); }

.input-hint {
  margin-top: .35rem;
  font-family: 'Jost', sans-serif;
  font-size: .73rem;
  color: var(--muted);
}

/* ── 10. Alerts ─────────────────────────────────────────────── */
.alert-error {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(160,81,58,.25);
  background: rgba(160,81,58,.05);
  margin-top: 1.25rem;
}

.alert-error-title { font-size: .83rem; font-weight: 400; color: #a0513a; }
.alert-error ul { margin-top: .4rem; padding-left: 1.1rem; font-size: .82rem; color: var(--muted); line-height: 1.6; }

.alert-success {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(45,74,62,.25);
  background: rgba(45,74,62,.05);
  margin-top: 1.25rem;
}

.alert-success-title { font-size: .83rem; font-weight: 400; color: var(--green); }
.alert-success-sub   { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

.alert-warn {
  padding: 1rem 1.25rem;
  border: 1px solid var(--ca-border);
  background: rgba(245,240,232,.5);
  margin-top: 1.25rem;
}

.alert-warn-title { font-size: .83rem; font-weight: 400; color: var(--gold-d); }
.alert-warn p { margin-top: .35rem; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.alert-warn a { color: var(--gold-d); text-decoration: underline; }

/* ── 11. Mobile UI ──────────────────────────────────────────── */
.topbar-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,250,245,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ca-border-soft);
  margin-bottom: 1rem;
}

@media (min-width: 960px) { .topbar-mobile { display: none; } }

.topbar-logo { height: 2rem; width: auto; }

.topbar-menu-btn {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
}

.topbar-menu-btn svg { width: 1.1rem; height: 1.1rem; }

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(28,23,18,.35);
}

.drawer {
  position: fixed;
  inset-y: 0;
  left: 0;
  z-index: 95;
  width: 85%;
  max-width: 320px;
  background: var(--white);
  border-right: 1px solid var(--ca-border);
  padding: 1.5rem 1rem;
  overflow-y: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--ca-border);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.drawer-close svg { width: 1rem; height: 1rem; }

/* Tab bar (keep border-radius for floating effect) */
.tab-bar {
  display: flex;
  position: fixed;
  bottom: .75rem;
  left: 1rem;
  right: 1rem;
  z-index: 70;
  background: rgba(253,250,245,.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ca-border);
  border-radius: 0;
  padding: .35rem;
  box-shadow: var(--ca-shadow);
}

@media (min-width: 960px) { .tab-bar { display: none; } }

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .5rem .25rem;
  border-radius: 0;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  transition: background .15s, color .15s;
}

.tab-item svg { width: 1.15rem; height: 1.15rem; }
.tab-item.active { background: rgba(184,151,106,.16); color: var(--ink); font-weight: 400; }

/* ── 12. Dashboard ──────────────────────────────────────────── */
.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .cards-grid-2 { grid-template-columns: 1fr 1fr; }
}

.summary-card {
  padding: 1.5rem;
  display: block;
  text-decoration: none;
  color: inherit;
}

.summary-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.summary-card-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-card-title {
  margin-top: .4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.summary-card-sub {
  margin-top: .45rem;
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}

.summary-card-sub strong { color: var(--ink); font-weight: 400; }

.summary-card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--ca-border);
  background: rgba(245,240,232,.6);
  display: grid;
  place-items: center;
  color: var(--gold-d);
}

.summary-card-icon svg { width: 1.05rem; height: 1.05rem; }

.summary-card-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  color: var(--gold-d);
}

.summary-card-cta svg { width: .85rem; height: .85rem; }

/* Horizon card (dashboard) */
.horizon-card {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1.75rem;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.horizon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,74,62,.04) 0%, transparent 55%);
  pointer-events: none;
}

.horizon-logo { height: 1.5rem; width: auto; }

.horizon-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .horizon-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.horizon-body { min-width: 0; flex: 1; }

.horizon-title {
  margin-top: .75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.horizon-title em { font-style: italic; color: var(--gold-d); }

.horizon-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
  margin-top: 1rem;
  max-width: 26rem;
}

.horizon-stat {
  padding: .75rem .9rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.horizon-stat-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.horizon-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink);
  margin-top: .15rem;
  line-height: 1.2;
}

.horizon-nivel-img { height: 3.5rem; width: auto; flex-shrink: 0; }

.horizon-nivel-wrap {
  padding: .75rem;
  border: 1px solid var(--ca-border);
  background: rgba(253,250,245,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.horizon-join-sub {
  margin-top: .6rem;
  font-size: .85rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.6;
}

.horizon-join-note {
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--muted);
}

/* ── 13. Citas ──────────────────────────────────────────────── */
.section-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Jost', sans-serif;
  color: var(--ink);
}

.section-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin-top: .3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.section-count {
  margin-top: .2rem;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  color: var(--muted);
}

.section-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  color: var(--gold-d);
}

.section-toggle svg { width: .85rem; height: .85rem; transition: transform .2s; }
.section-toggle.open svg { transform: rotate(180deg); }

.section-body { padding: 0 1rem 1.25rem; }

/* Bookings grid */
.bookings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

@media (min-width: 680px) {
  .bookings-grid { grid-template-columns: 1fr 1fr; }
}

/* Booking card */
.booking-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--ca-border);
  background: rgba(253,250,245,.7);
  transition: box-shadow .2s;
}

.booking-card:hover { box-shadow: 0 6px 24px rgba(28,23,18,.08); }

.booking-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.booking-icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--gold-d);
}

.booking-icon svg { width: .95rem; height: .95rem; }

.booking-code { font-size: .72rem; color: var(--muted); }
.booking-code strong { color: var(--ink); font-weight: 400; }

.booking-date {
  margin-top: .7rem;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

.booking-service { margin-top: .35rem; font-size: .82rem; color: var(--muted); }
.booking-service strong { color: var(--ink); font-weight: 400; }

/* Manage CTA */
.manage-cta {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--ca-border-soft);
  display: flex;
  gap: .5rem;
}

.manage-note { margin-top: .4rem; font-size: .72rem; color: var(--muted); }

@media (max-width: 600px) {
  .manage-note { display: none; }
}

.btn-manage {
  flex: 1;
  padding: .52rem .6rem;
  border: 1px solid var(--ca-border);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  text-align: center;
}

.btn-reschedule { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-reschedule:hover { background: #2d2a26; }

.btn-cancel { background: transparent; color: var(--muted); }
.btn-cancel:hover { border-color: #a0513a; color: #a0513a; }

/* Empty state */
.empty-state { padding: 2.5rem 1.5rem; text-align: center; }
.empty-state p { font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; }

/* Countdown */
.booking-countdown { margin-top: .55rem; font-size: .72rem; display: flex; align-items: center; gap: .35rem; }
.countdown-ok   { color: var(--gold-d); }
.countdown-warn { color: #b07000; }
.countdown-late { color: #a0513a; }
.countdown-icon { flex-shrink: 0; }
.countdown-icon svg { width: .75rem; height: .75rem; display: block; }

/* ── 14. Citas Modals ───────────────────────────────────────── */
.bm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(28,23,18,.58);
  backdrop-filter: blur(6px);
  animation: bmFadeIn .18s ease;
}

@media (max-width: 520px) {
  .bm-overlay { padding: 0; align-items: flex-end; }
}

.bm-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(28,23,18,.22);
  max-height: 90vh;
  overflow-y: auto;
  animation: bmSlideUp .22s ease;
}

@media (max-width: 520px) {
  .bm-panel { border-radius: 8px 8px 0 0; max-width: 100%; max-height: 93vh; }
}

.bm-panel--wide { max-width: 520px; }

.bm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--ca-border-soft);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
  border-radius: 8px 8px 0 0;
}

.bm-header-title { font-family: 'Jost', sans-serif; font-size: .875rem; font-weight: 400; color: var(--ink); line-height: 1.3; }
.bm-header-sub   { font-size: .75rem; color: var(--muted); margin-top: .15rem; }

.bm-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s;
}

.bm-close:hover { background: rgba(184,151,106,.14); color: var(--ink); }
.bm-close svg { width: 1.05rem; height: 1.05rem; }

.bm-body { padding: 1.4rem 1.25rem; }

/* Cancel specifics */
.bm-cancel-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(160,81,58,.08);
  color: #a0513a;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}

.bm-cancel-icon svg { width: 1.3rem; height: 1.3rem; }
.bm-cancel-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; text-align: center; margin-bottom: .75rem; }

.bm-info-box {
  background: rgba(245,240,232,.8);
  border: 1px solid var(--ca-border-soft);
  padding: .85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}

.bm-info-box strong { color: var(--ink); font-weight: 400; }

.bm-actions { display: flex; flex-direction: column; gap: .55rem; }

.bm-btn-danger {
  width: 100%;
  padding: .7rem;
  background: #a0513a;
  color: #fff;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}

.bm-btn-danger:hover { background: #8a3f2c; }
.bm-btn-danger:disabled { opacity: .5; cursor: not-allowed; }

.bm-btn-ghost {
  width: 100%;
  padding: .7rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--ca-border);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .15s, color .15s;
}

.bm-btn-ghost:hover { border-color: var(--gold); color: var(--ink); }

.bm-btn-primary {
  width: 100%;
  padding: .7rem;
  margin-top: 1.25rem;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s;
}

.bm-btn-primary:disabled { opacity: .3; cursor: not-allowed; }

/* Calendar */
.bm-cal-nav-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.bm-cal-month-lbl { font-family: 'Jost', sans-serif; font-size: .875rem; font-weight: 400; color: var(--ink); text-transform: capitalize; }

.bm-cal-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background .15s;
}

.bm-cal-nav:hover { background: rgba(184,151,106,.14); }

.bm-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); margin-bottom: .3rem; }
.bm-cal-wd { text-align: center; font-size: .67rem; font-weight: 400; letter-spacing: .04em; color: var(--muted); padding: .2rem 0; }

.bm-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }

.bm-cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  font-weight: 400;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .12s, border-color .12s;
}

.bm-cal-day.unavail { color: var(--muted); opacity: .35; pointer-events: none; }
.bm-cal-day.empty   { visibility: hidden; pointer-events: none; }
.bm-cal-day.avail   { background: rgba(184,151,106,.1); border-color: var(--ca-border); }
.bm-cal-day.avail:hover { background: rgba(184,151,106,.28); border-color: var(--gold); }
.bm-cal-day.selected { background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink) !important; }
.bm-cal-day.today   { font-weight: 400; text-decoration: underline; }

.bm-slots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .45rem; }
@media (min-width: 420px) { .bm-slots-grid { grid-template-columns: repeat(4,1fr); } }

.bm-slot {
  padding: .55rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  transition: border-color .12s, background .12s;
}

.bm-slot:hover { border-color: var(--gold); background: rgba(184,151,106,.09); }
.bm-slot.selected { background: var(--ink); color: var(--white); border-color: var(--ink); }

.bm-loader { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-size: .83rem; }
.bm-loader::after {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(184,151,106,.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: bmSpin .8s linear infinite;
  margin: .85rem auto 0;
}

.bm-step-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  padding: 0 0 .85rem;
  transition: color .15s;
}

.bm-step-back:hover { color: var(--ink); }
.bm-step-back svg { width: .8rem; height: .8rem; }

.bm-date-title { font-family: 'Jost', sans-serif; font-size: .85rem; font-weight: 400; color: var(--ink); margin-bottom: .85rem; }
.bm-error   { background: rgba(160,81,58,.07); color: #a0513a; padding: .65rem .85rem; font-size: .8rem; margin-top: .85rem; }
.bm-success { background: rgba(45,74,62,.08); color: var(--green); padding: .65rem .85rem; font-size: .82rem; margin-top: .85rem; text-align: center; font-weight: 400; }

/* ── 15. Perfil ─────────────────────────────────────────────── */
.section-sep {
  border-top: 1px solid var(--ca-border-soft);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.section-sep-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-sep-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: .35rem;
}

.section-sep-sub {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* Save row desktop */
.save-row-desktop { display: none; }

@media (min-width: 960px) {
  .save-row-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.5rem;
  }
}

/* Save bar mobile (keep border-radius for floating) */
.save-bar-mobile {
  display: flex;
  position: fixed;
  bottom: 4.85rem;
  left: 1rem;
  right: 1rem;
  z-index: 80;
  background: rgba(253,250,245,.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ca-border);
  border-radius: 16px;
  padding: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  box-shadow: var(--ca-shadow);
}

@media (min-width: 960px) { .save-bar-mobile { display: none; } }

.save-bar-label { font-family: 'Jost', sans-serif; font-size: .8rem; font-weight: 400; color: var(--ink); }
.save-bar-sub   { font-size: .72rem; color: var(--muted); }

/* ── 16. Bonos ──────────────────────────────────────────────── */
.bonos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

@media (min-width: 680px) {
  .bonos-grid { grid-template-columns: 1fr 1fr; }
}

.bono-card {
  padding: 1.35rem;
  border: 1px solid var(--ca-border);
  background: rgba(253,250,245,.7);
  transition: box-shadow .2s;
}

.bono-card:hover { box-shadow: 0 6px 24px rgba(28,23,18,.08); }

.bono-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.bono-meta   { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }

.bono-icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--gold-d);
}

.bono-icon svg { width: .95rem; height: .95rem; }

.bono-name   { margin-top: .7rem; font-family: 'Jost', sans-serif; font-size: .95rem; font-weight: 400; color: var(--ink); line-height: 1.3; }
.bono-expiry { margin-top: .3rem; font-size: .8rem; color: var(--muted); }
.bono-expiry strong { color: var(--ink); font-weight: 400; }
.bono-canjes { font-size: .72rem; color: var(--muted); }

.bono-data { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-top: .9rem; }

.bono-datum {
  padding: .6rem .75rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.bono-datum-label { font-size: 9px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bono-datum-value { font-size: .78rem; font-weight: 400; color: var(--ink); margin-top: .15rem; word-break: break-all; line-height: 1.3; }

/* Historial toggle */
.hist-toggle {
  width: 100%;
  margin-top: .85rem;
  padding: .6rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.4);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  transition: background .15s;
}

.hist-toggle:hover { background: rgba(245,240,232,.8); }
.hist-toggle-label { font-size: .8rem; font-weight: 400; }
.hist-toggle-right { display: flex; align-items: center; gap: .35rem; font-size: .75rem; color: var(--gold-d); font-weight: 400; }
.hist-toggle-right svg { width: .8rem; height: .8rem; transition: transform .2s; }
.hist-open .hist-toggle-right svg { transform: rotate(180deg); }

.hist-body {
  margin-top: .6rem;
  border: 1px solid var(--ca-border-soft);
  overflow: hidden;
}

.hist-empty { padding: .85rem 1rem; font-size: .8rem; color: var(--muted); }

.hist-row { padding: .75rem 1rem; border-bottom: 1px solid var(--ca-border-soft); }
.hist-row:last-child { border-bottom: none; }
.hist-row-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

.hist-date  { font-size: .8rem; font-weight: 400; color: var(--ink); }
.hist-qty   { font-size: .8rem; color: var(--muted); }
.hist-qty strong { color: var(--ink); font-weight: 400; }
.hist-ref   { margin-top: .25rem; font-size: .72rem; color: var(--muted); word-break: break-all; }
.hist-ref strong { color: var(--ink); }

/* ── 17. Suscripciones ──────────────────────────────────────── */
.empty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 680px) {
  .empty-grid { grid-template-columns: 1.2fr .8fr; }
}

.empty-main  { padding: 2rem; }

.empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-top: .65rem;
  line-height: 1.2;
}

.empty-title em { font-style: italic; color: var(--gold-d); }

.empty-sub {
  margin-top: .6rem;
  font-family: 'Jost', sans-serif;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 36ch;
}

.empty-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.empty-side { padding: 1.75rem; }

.empty-side-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-side-title { font-size: 1rem; font-weight: 400; color: var(--ink); margin-top: .4rem; }

.empty-feat-list { margin-top: .85rem; display: flex; flex-direction: column; gap: .65rem; }

.empty-feat { display: flex; align-items: flex-start; gap: .65rem; font-size: .83rem; color: var(--muted); line-height: 1.5; }

.empty-feat-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--ca-border);
  background: rgba(245,240,232,.6);
  display: grid;
  place-items: center;
  color: var(--gold-d);
}

.empty-feat-icon svg { width: .8rem; height: .8rem; }

/* Membership card */
.membership-card { padding: 1.5rem; overflow: hidden; }

.membership-header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .75rem; }

.membership-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.membership-title em { font-style: italic; color: var(--gold-d); }

.membership-bono { margin-top: .35rem; font-size: .82rem; color: var(--muted); }
.membership-bono strong { color: var(--ink); font-weight: 400; letter-spacing: .04em; }

.membership-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-top: 1rem;
}

@media (min-width: 520px) {
  .membership-stats { grid-template-columns: repeat(4, 1fr); }
}

.mstat {
  padding: .7rem .85rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.mstat-label { font-size: 9px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mstat-value { font-size: .9rem; font-weight: 400; color: var(--ink); margin-top: .15rem; line-height: 1.2; }

.membership-fin { margin-top: .75rem; font-size: .78rem; color: var(--muted); }
.membership-fin strong { color: var(--ink); font-weight: 400; }

/* Recargas */
.recargas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  margin-top: .75rem;
}

@media (min-width: 620px) {
  .recargas-grid { grid-template-columns: 1fr 1fr; }
}

.recarga-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(253,250,245,.7);
}

.recarga-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.recarga-date   { font-size: .82rem; font-weight: 400; color: var(--ink); }
.recarga-motivo { font-size: .73rem; color: var(--muted); margin-top: .15rem; }
.recarga-motivo strong { color: var(--ink); }

.recarga-badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .6rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 400;
  background: var(--ink);
  color: var(--white);
  flex-shrink: 0;
}

.recarga-saldos { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .65rem; }

.saldo-chip {
  padding: .5rem .65rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.saldo-chip-label { font-size: 8.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.saldo-chip-value { font-size: .82rem; font-weight: 400; color: var(--ink); margin-top: .1rem; }

.sidebar-info { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--ca-border-soft); background: rgba(245,240,232,.5); }
.sidebar-info-label { font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sidebar-info-title { font-size: .875rem; font-weight: 400; color: var(--ink); margin-top: .25rem; }
.sidebar-info-desc  { font-size: .77rem; color: var(--muted); margin-top: .3rem; line-height: 1.55; }

/* ── 18. Horizon ────────────────────────────────────────────── */
.tabs-wrap {
  background: rgba(184,151,106,.1);
  padding: .3rem;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .3rem;
  margin-top: 1.5rem;
}

.tab-btn {
  padding: .55rem .5rem;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: background .15s, color .15s, box-shadow .15s;
}

.tab-btn.active {
  background: var(--white);
  color: var(--ink);
  font-weight: 400;
  box-shadow: 0 1px 6px rgba(28,23,18,.07);
}

.stat-chip {
  padding: .7rem .85rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.stat-chip-label { font-size: 9px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat-chip-value { font-size: 1.2rem; font-weight: 400; color: var(--ink); margin-top: .1rem; line-height: 1.2; }

.tab-section { margin-top: 1.25rem; }

/* Physical card (keep some radius for credit card look) */
.physical-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--ca-border);
  box-shadow: var(--ca-shadow-lg);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease;
}

.physical-card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(253,250,245,.78), rgba(253,250,245,.18));
}

.physical-card-content { position: relative; padding: 1.5rem; }

/* Benefits */
.benefit-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(253,250,245,.7);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.benefit-num {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 400;
  color: var(--gold-d);
  flex-shrink: 0;
}

.benefit-text { font-size: .83rem; font-weight: 400; color: var(--ink); line-height: 1.45; }
.benefit-sub  { font-size: .73rem; color: var(--muted); margin-top: .15rem; }

/* Puntos = euros */
.puntos-euro-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--ca-border);
  background: rgba(253,250,245,.8);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1rem;
}

@media (min-width: 520px) {
  .puntos-euro-card { flex-direction: row; align-items: center; justify-content: space-between; }
}

.puntos-euro-novedad {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .15rem .6rem;
  border-radius: 100px;
  border: 1px solid var(--ca-border);
  background: var(--white);
  font-size: .7rem;
  font-weight: 400;
  color: var(--ink);
}

.puntos-euro-novedad-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--ink); }
.puntos-euro-title { margin-top: .45rem; font-size: .95rem; font-weight: 400; color: var(--ink); line-height: 1.3; }
.puntos-euro-sub   { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

.puntos-euro-amount {
  padding: .85rem 1.1rem;
  border: 1px solid var(--ca-border);
  background: var(--white);
  text-align: center;
  flex-shrink: 0;
}

.puntos-euro-amount-label { font-size: 9px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.puntos-euro-amount-value { font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-top: .2rem; line-height: 1.1; }
.puntos-euro-amount-pts   { font-size: .73rem; color: var(--muted); margin-top: .15rem; }

/* Autorizados */
.autorizado-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(253,250,245,.7);
}

.autorizado-name { font-size: .875rem; font-weight: 400; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autorizado-meta { font-size: .75rem; color: var(--muted); margin-top: .2rem; }

.btn-remove {
  padding: .35rem .75rem;
  border: 1px solid rgba(160,81,58,.25);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  color: #a0513a;
  cursor: pointer;
  transition: background .15s;
}

.btn-remove:hover { background: rgba(160,81,58,.07); }

/* Movimientos */
.mov-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(253,250,245,.7);
}

.mov-date   { font-size: .83rem; font-weight: 400; color: var(--ink); }
.mov-ticket { font-size: .73rem; color: var(--muted); margin-top: .15rem; }
.mov-delta  { padding: .5rem .75rem; border: 1px solid var(--ca-border-soft); background: rgba(245,240,232,.5); font-size: .95rem; font-weight: 400; color: var(--ink); text-align: center; margin-top: .65rem; }

/* Join CTA */
.join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 700px) {
  .join-grid { grid-template-columns: 1.1fr .9fr; }
}

.join-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: 1rem;
}

.join-feat {
  padding: .85rem 1rem;
  border: 1px solid var(--ca-border-soft);
  background: rgba(245,240,232,.5);
}

.join-feat-title { font-size: .83rem; font-weight: 400; color: var(--ink); }
.join-feat-desc  { font-size: .75rem; color: var(--muted); margin-top: .2rem; line-height: 1.5; }

/* QR Modal (keep small radius for modal) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(28,23,18,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-box {
  background: var(--white);
  border: 1px solid var(--ca-border);
  border-radius: 8px;
  box-shadow: var(--ca-shadow-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 340px;
}

.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }

.modal-close {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--ca-border);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.modal-close svg { width: 1rem; height: 1rem; }
.modal-qr-wrap { margin-top: 1.25rem; display: flex; justify-content: center; }
.modal-qr-img  { border: 1px solid var(--ca-border); padding: .75rem; background: var(--white); }
.modal-qr-num  { text-align: center; margin-top: .85rem; font-size: .85rem; font-weight: 400; letter-spacing: .1em; color: var(--ink); }
.modal-qr-sub  { text-align: center; font-size: .73rem; color: var(--muted); margin-top: .2rem; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: .65rem; }
@media (min-width: 580px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }

.grid-card-side { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 780px) { .grid-card-side { grid-template-columns: 1.5fr 1fr; } }

.sidebar-club { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--ca-border-soft); background: rgba(245,240,232,.5); }
.sidebar-club-label { font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sidebar-club-value { font-size: .875rem; font-weight: 400; color: var(--ink); margin-top: .2rem; }
.sidebar-club-sub   { font-size: .75rem; color: var(--muted); margin-top: .1rem; }

/* ── 19. Login ──────────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
}

.login-wrap {
  width: 100%;
  max-width: 1060px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .login-wrap { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 5rem; }
}

.login-brand { padding: 1rem 0; animation: loginFadeUp .45s ease both; }

.login-brand-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-d);
}

.login-brand-heading {
  margin-top: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}

.login-brand-heading em { font-style: italic; color: var(--gold-d); }

.login-brand-sub {
  margin-top: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36ch;
}

.login-features {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
  border-top: 1px solid rgba(184,151,106,.18);
  padding-top: 1.75rem;
}

.login-feature { display: flex; align-items: flex-start; gap: .9rem; }

.login-feature-line {
  flex-shrink: 0;
  margin-top: .45rem;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.login-feature-title { font-family: 'Jost', sans-serif; font-size: .85rem; font-weight: 400; color: var(--ink); }

.login-feature-desc {
  margin-top: .2rem;
  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

/* Auth card */
.login-card {
  background: var(--white);
  border: 1px solid rgba(184,151,106,.14);
  box-shadow: var(--ca-shadow);
  overflow: hidden;
  animation: loginFadeUp .45s ease both;
  animation-delay: .08s;
}

.login-card-inner { padding: 2.25rem 2.5rem; }

@media (max-width: 600px) {
  .login-card-inner { padding: 1.75rem 1.25rem; }
}

/* System notice */
.login-notice {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  padding: .9rem 1.1rem;
  background: rgba(184,151,106,.08);
  border: 1px solid rgba(184,151,106,.18);
  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

.login-notice svg { flex-shrink: 0; margin-top: .1rem; color: var(--gold-d); width: 1rem; height: 1rem; }
.login-notice strong { color: var(--ink); font-weight: 400; }

/* Auth header */
.login-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-d);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.login-eyebrow::after { content: ''; flex: 1; height: 1px; background: rgba(184,151,106,.18); }

.login-heading {
  margin-top: .85rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.login-sub {
  margin-top: .5rem;
  font-family: 'Jost', sans-serif;
  font-size: .875rem;
  font-weight: 300;
  color: var(--muted);
}

/* Tabs */
.login-tabs {
  display: flex;
  gap: 0;
  margin-top: 1.75rem;
  border-bottom: 1px solid rgba(184,151,106,.18);
}

.login-tab {
  flex: 1;
  padding: .65rem .75rem;
  border: none;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.login-tab.active,
.login-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* Method selector */
.login-methods { display: flex; gap: .5rem; margin-top: 1.5rem; }

.login-method-btn {
  flex: 1;
  padding: .55rem .5rem;
  border: 1px solid var(--ca-border);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}

.login-method-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* Login forms */
.login-field { margin-top: 1.25rem; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.login-grid-full { grid-column: 1 / -1; }

.login-card label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"],
.login-card input[type="tel"],
.login-card input[type="number"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--ca-border);
  border-radius: 0;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.login-card input::placeholder { color: var(--muted); opacity: .6; }

.login-card input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,106,.12);
}

.login-input-wrap { position: relative; }

.login-eye-btn {
  position: absolute;
  right: .7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: .35rem;
  transition: color .15s;
  display: grid;
  place-items: center;
}

.login-eye-btn:hover { color: var(--ink); }
.login-eye-btn svg { width: 1.1rem; height: 1.1rem; }

.login-hint {
  margin-top: .4rem;
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* Checkbox */
.login-check {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(184,151,106,.14);
  background: rgba(184,151,106,.04);
}

.login-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: .15rem;
  accent-color: var(--gold-d);
  cursor: pointer;
  flex-shrink: 0;
}

.login-check span {
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

.login-check a {
  color: var(--gold-d);
  text-decoration: underline;
  text-decoration-color: rgba(184,151,106,.3);
}

.login-check a:hover { color: var(--ink); }

/* Primary button */
.login-btn {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 14px 28px;
  border: none;
  background: var(--ink);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, opacity .2s;
  text-align: center;
}

.login-btn:hover:not(:disabled) { background: var(--gold-d); }
.login-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Info box */
.login-info {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(184,151,106,.14);
  background: rgba(184,151,106,.04);
}

.login-info-title { font-family: 'Jost', sans-serif; font-size: .83rem; font-weight: 400; color: var(--ink); }
.login-info-sub   { margin-top: .25rem; font-family: 'Jost', sans-serif; font-size: .78rem; font-weight: 300; color: var(--muted); }

/* Code input */
.login-code-input {
  text-align: center;
  letter-spacing: .35em;
  font-size: 1.4rem;
  font-weight: 400;
  font-family: 'Jost', sans-serif;
}

.login-code-actions {
  margin-top: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-link {
  background: none;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: .77rem;
  font-weight: 300;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: rgba(184,151,106,.3);
  transition: color .15s;
}

.login-link:hover { color: var(--gold-d); }

/* Login alerts */
.login-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ca-border);
  background: rgba(184,151,106,.06);
}

.login-alert-title { font-family: 'Jost', sans-serif; font-size: .83rem; font-weight: 400; color: var(--gold-d); }

.login-alert ul {
  margin-top: .45rem;
  padding-left: 1.1rem;
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

.login-toast {
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  font-family: 'Jost', sans-serif;
  font-size: .83rem;
  font-weight: 400;
}

.login-toast-ok  { border: 1px solid rgba(45,74,62,.2); background: rgba(45,74,62,.04); color: #2D4A3E; }
.login-toast-err { border: 1px solid var(--ca-border); background: rgba(184,151,106,.06); color: var(--gold-d); }

/* Auth footer */
.login-auth-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(184,151,106,.14);
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
}

/* ── 20. Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loginFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bmFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bmSlideUp {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

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

.fade-up { animation: fadeUp .4s ease both; }
.fade-up:nth-child(2) { animation-delay: .06s; }
.fade-up:nth-child(3) { animation-delay: .12s; }
.fade-up:nth-child(4) { animation-delay: .18s; }

/* ── 21. Footer ─────────────────────────────────────────────── */
.page-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ca-border-soft);
  font-family: 'Jost', sans-serif;
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  display: none;
}

@media (min-width: 960px) { .page-footer { display: block; } }

/* ═══════════════════════════════════════════════════════════════
   22. ACCOUNT PAGES — redesigned to match main site
   ═══════════════════════════════════════════════════════════════ */

/* ── Account hero ──────────────────────────────────────────── */
.account-hero {
  padding: 100px 56px 72px;
  background: var(--stone);
  color: var(--white);
}
.account-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.account-hero .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.account-hero .eyebrow::after {
  content: '';
  flex: 0 0 36px;
  height: .5px;
  background: var(--gold);
  opacity: .5;
}
.account-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #FDFAF6;
  margin: 0 0 16px;
}
.account-hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.account-hero p {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(253,250,246,.5);
  line-height: 1.85;
  max-width: 520px;
  margin: 0;
}
.account-hero.sand {
  background: var(--cream-d);
  color: var(--ink);
}
.account-hero.sand h1 { color: var(--ink); }
.account-hero.sand p { color: var(--muted); }
.account-hero.sand .eyebrow { color: var(--gold-d); }
.account-hero.sand .eyebrow::after { background: var(--gold-d); }

@media (max-width: 960px) {
  .account-hero { padding: 88px 24px 56px; }
}

/* ── Account tabs ──────────────────────────────────────────── */
.account-tabs {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(247,242,234,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,151,106,.12);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  gap: 0;
}
.account-tab {
  display: inline-block;
  padding: 18px 24px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.account-tab:hover { color: var(--ink); }
.account-tab.active {
  color: var(--ink);
  font-weight: 400;
  border-bottom-color: var(--gold);
}

@media (max-width: 960px) {
  .account-tabs-inner { padding: 0 24px; }
  .account-tab { padding: 14px 18px; font-size: 11px; }
}

/* ── Account section ───────────────────────────────────────── */
.account-section {
  padding: 80px 56px;
  max-width: calc(1280px + 112px);
  margin: 0 auto;
}
.account-section + .account-section {
  border-top: 1px solid rgba(184,151,106,.12);
}
.account-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(184,151,106,.12);
}
.account-section-header .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.account-section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.account-section-header h2 em {
  font-style: italic;
  color: var(--gold-d);
}
.account-section-count {
  text-align: right;
  flex-shrink: 0;
}
.account-section-count-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
}
.account-section-count-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 960px) {
  .account-section { padding: 56px 24px; }
  .account-section-header { flex-direction: column; align-items: flex-start; }
}

/* ── Overview grid (dashboard cards) ───────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(184,151,106,.12);
}
.overview-card {
  background: var(--white);
  padding: 44px 36px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}
.overview-card:hover { background: var(--cream); }
.overview-card-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.overview-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.overview-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.overview-card-sub {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-top: auto;
}
.overview-card-cta {
  margin-top: 20px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 960px) {
  .overview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card { padding: 32px 24px; }
}

/* ── Item cards (appointments, bonos) ──────────────────────── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(184,151,106,.12);
}
.item-card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .2s;
}
.item-card:hover { background: var(--cream); }
.item-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  color: var(--ink);
}
.item-card-meta {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}
.item-card-meta strong {
  font-weight: 400;
  color: var(--ink);
}
.item-card-code {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.item-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(184,151,106,.08);
}

/* ── Featured card (next appointment) ──────────────────────── */
.featured-card {
  background: var(--cream-d);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(184,151,106,.12);
}
.featured-card-info { min-width: 0; }
.featured-card .eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.featured-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
}
.featured-card-detail {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}
.featured-card-detail strong {
  font-weight: 400;
  color: var(--ink);
}
.featured-card-action {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .featured-card { grid-template-columns: 1fr; padding: 40px 24px; }
}

/* ── Collapsible sections ──────────────────────────────────── */
.collapsible-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(184,151,106,.12);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.collapsible-trigger:hover { color: var(--ink); }
.collapsible-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}
.collapsible-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ── Profile form ──────────────────────────────────────────── */
.profile-form-card {
  background: var(--white);
  border: 1px solid rgba(184,151,106,.12);
  padding: 56px 48px;
}
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.profile-form-grid .form-full {
  grid-column: 1 / -1;
}
.profile-form-separator {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(184,151,106,.12);
  margin: 12px 0;
}

@media (max-width: 600px) {
  .profile-form-card { padding: 32px 24px; }
  .profile-form-grid { grid-template-columns: 1fr; }
}

/* ── Horizon member card ───────────────────────────────────── */
.hz-member-card {
  background: var(--stone);
  color: var(--white);
  padding: 48px;
  align-items: center;
}
.hz-member-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 16px;
}
.hz-member-info h3 em {
  font-style: italic;
  color: var(--gold);
}
.hz-member-stats {
  display: flex;
  gap: 1px;
  background: rgba(255,255,255,.08);
  margin-top: 24px;
}
.hz-member-stat {
  background: var(--stone);
  padding: 20px 24px;
  flex: 1;
}
.hz-member-stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(253,250,246,.4);
}
.hz-member-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  color: var(--gold);
  margin-top: 6px;
}

@media (max-width: 960px) {
  .hz-member-card { padding: 32px 24px; }
  .hz-member-stats { flex-direction: column; }
}

/* ── Benefits grid ─────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(184,151,106,.12);
}
.benefit-card {
  background: var(--white);
  padding: 32px 28px;
  transition: background .2s;
}
.benefit-card:hover { background: var(--cream); }
.benefit-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.benefit-card-desc {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Empty state ───────────────────────────────────────────── */
.empty-state {
  padding: 80px 40px;
  text-align: center;
}
.empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--muted);
  opacity: .4;
}
.empty-state-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state-text {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Account CTA ───────────────────────────────────────────── */
.account-cta {
  padding: 72px 56px;
  background: var(--cream-dd);
  text-align: center;
  position: relative;
}
.account-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 16px;
}
.account-cta h2 em {
  font-style: italic;
  color: var(--gold-d);
}
.account-cta p {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 480px;
  margin: 0 auto 32px;
}
.account-cta .btn-fill {
  display: inline-block;
}

@media (max-width: 960px) {
  .account-cta { padding: 48px 24px; }
}

/* ── Horizon Hero Widget (dashboard) ────────────────────────── */
.hz-hero {
  position: relative;
  background: var(--stone);
  color: var(--white);
  padding: 48px;
  overflow: hidden;
}
.hz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(184,151,106,.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 10% 100%, rgba(184,151,106,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hz-hero > * { position: relative; z-index: 1; }

.hz-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hz-hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.hz-hero-level {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  color: #FDFAF6;
  margin: 0;
}
.hz-hero-level em { font-style: italic; color: var(--gold); }
.hz-hero-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  background: var(--gold);
  text-decoration: none;
  transition: background .2s;
}
.hz-hero-cta:hover { background: #d1b182; }

.hz-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  margin-bottom: 32px;
}
.hz-hero-stat {
  background: var(--stone);
  padding: 22px 24px;
}
.hz-hero-stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(253,250,246,.45);
  margin-bottom: 8px;
}
.hz-hero-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
}
.hz-hero-stat-sub {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(253,250,246,.55);
  margin-top: 6px;
}

.hz-hero-progress {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.hz-hero-progress--max { text-align: center; }
.hz-hero-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.hz-hero-progress-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(253,250,246,.55);
}
.hz-hero-progress-target {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--gold);
}
.hz-hero-bar {
  height: 4px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hz-hero-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, #d1b182 100%);
  transition: width .6s ease;
}
.hz-hero-progress-foot {
  margin-top: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(253,250,246,.7);
}
.hz-hero-progress-foot strong { color: var(--gold); font-weight: 400; }

.hz-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.hz-hero-bullets li {
  position: relative;
  padding-left: 24px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(253,250,246,.8);
  line-height: 1.7;
}
.hz-hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.overview-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 960px) {
  .hz-hero { padding: 32px 24px; }
  .hz-hero-stats { grid-template-columns: 1fr; }
  .overview-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .overview-grid--3 { grid-template-columns: 1fr; }
  .hz-hero-top { flex-direction: column; align-items: flex-start; }
  .hz-hero-cta { width: 100%; justify-content: center; }
}
