/* ============================================================
   TENANTS PLATFORM — LIGHT LUXURY REDESIGN 2026
   Aesthetic: Warm Editorial / Premium Real Estate Magazine
   Fonts: DM Serif Display (headings) + DM Sans (body)
   Palette: Warm Cream · Rich Amber-Gold · Slate · Terracotta
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Design Tokens ── */
:root {
  /* Fonts */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  /* ── Core Warm Palette ── */
  --cream:        #faf7f2;        /* page bg – warm paper */
  --cream-2:      #f4efe6;        /* section bg – slightly deeper */
  --cream-3:      #ede5d8;        /* card bg alt */
  --cream-4:      #e4d9c8;        /* border / divider warm */
  --sand:         #d9cdb8;        /* muted border */

  --gold:         #b8892e;        /* rich warm gold */
  --gold-light:   #d4a843;        /* brighter hover gold */
  --gold-pale:    #f0dca8;        /* very light gold tint */
  --gold-bg:      rgba(184,137,46,.08); /* gold tint bg */

  --slate:        #2c3242;        /* primary text – deep navy-slate */
  --slate-2:      #434b5e;        /* secondary text */
  --slate-3:      #5e6678;        /* muted text */
  --slate-4:      #8a91a0;        /* placeholder / label */

  --sage:         #4a7c59;        /* success green */
  --sage-light:   #6a9e77;
  --sage-bg:      rgba(74,124,89,.08);

  --sky:          #2d6ea8;        /* info blue */
  --sky-bg:       rgba(45,110,168,.08);

  --rose:         #b84a3a;        /* danger red */
  --rose-bg:      rgba(184,74,58,.08);

  --amber:        #c07820;        /* warning amber */
  --amber-bg:     rgba(192,120,32,.08);

  --terracotta:   #c4633f;        /* accent warmth */

  /* ── Surfaces ── */
  --surface-0:    var(--cream);
  --surface-1:    #ffffff;
  --surface-2:    var(--cream-2);
  --surface-3:    var(--cream-3);
  --on-surface:   var(--slate);
  --on-muted:     var(--slate-3);

  /* ── Borders ── */
  --border:       rgba(184,137,46,.22);
  --border-soft:  rgba(44,50,66,.09);
  --border-card:  rgba(44,50,66,.10);

  /* ── Gradients ── */
  --grad-gold:    linear-gradient(135deg, #b8892e 0%, #d4a843 50%, #b8892e 100%);
  --grad-page:    linear-gradient(160deg, #faf7f2 0%, #f4efe6 100%);
  --grad-card:    linear-gradient(160deg, #ffffff 0%, #faf7f2 100%);
  --grad-hero:    radial-gradient(ellipse 75% 55% at 45% 0%, rgba(184,137,46,.12) 0%, transparent 65%);
  --grad-section: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);

  /* ── Shadows (lighter, warmer) ── */
  --shadow-sm:   0 1px 4px rgba(44,50,66,.08), 0 2px 8px rgba(44,50,66,.05);
  --shadow-md:   0 4px 16px rgba(44,50,66,.10), 0 8px 32px rgba(44,50,66,.06);
  --shadow-lg:   0 12px 40px rgba(44,50,66,.14), 0 24px 64px rgba(44,50,66,.07);
  --shadow-gold: 0 0 0 1px rgba(184,137,46,.25), 0 6px 24px rgba(184,137,46,.15);
  --shadow-card: 0 2px 12px rgba(44,50,66,.07), 0 1px 3px rgba(44,50,66,.08);

  /* ── Radius ── */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* ── Spacing ── */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-8:  3rem;
  --sp-10: 4rem;
  --sp-12: 6rem;

  /* ── Transitions ── */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease);

  /* Legacy token aliases */
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
  --color-primary: var(--gold);
  --color-accent: var(--gold-light);
  --color-secondary: var(--sky);
  --color-success: var(--sage);
  --color-info: var(--sky);
  --color-warning: var(--amber);
  --color-danger: var(--rose);
  --color-ink: var(--slate);
  --color-paper: #ffffff;
  --color-grey-100: var(--cream-2);
  --color-grey-200: var(--cream-3);
  --color-grey-300: var(--sand);
  --color-grey-400: var(--slate-4);
  --color-grey-600: var(--slate-3);
  --color-grey-800: var(--slate);
  --gradient-primary: var(--grad-gold);
  --gradient-sunset: var(--grad-gold);
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);
  --radius-2xl: var(--r-2xl);
  --space-1: var(--sp-1);
  --space-2: var(--sp-2);
  --space-3: var(--sp-3);
  --space-4: var(--sp-4);
  --space-5: var(--sp-5);
  --space-6: var(--sp-6);
  --space-8: var(--sp-8);
  --space-10: var(--sp-10);
  --space-12: var(--sp-12);
  --border-radius: var(--r-md);
  --border-radius-sm: var(--r-sm);
  --shadow-brutal-sm: var(--shadow-sm);
  --shadow-brutal-md: var(--shadow-md);
  --shadow-brutal-lg: var(--shadow-lg);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Body + Rich Background ── */
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* Rich layered warm background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 45% at 10% 10%,  rgba(184,137,46,.07)  0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 80%,  rgba(196,99,63,.06)   0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 60% 40%,  rgba(74,124,89,.04)   0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='none'/%3E%3Ccircle cx='40' cy='40' r='0.8' fill='rgba(44,50,66,0.025)'/%3E%3C/svg%3E");
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--slate);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h5 { font-size: 1.2rem; }
h6 {
  font-size: .85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-2);
}

p { margin-bottom: var(--sp-4); font-weight: 400; color: var(--slate-2); }
p.lead { font-size: 1.1rem; line-height: 1.75; color: var(--slate-3); }

a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-light); text-decoration: none; }

strong, b { font-weight: 600; color: var(--slate); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .container { padding: 0 var(--sp-4); } }

.main-content {
  min-height: calc(100vh - 360px);
  padding: var(--sp-10) 0;
}

/* ── Navbar ── */
.navbar {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 900;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(184,137,46,.08), 0 2px 16px rgba(44,50,66,.05);
  transition: background var(--t-base);
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--slate) !important;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity var(--t-fast);
  margin-right: auto;
}
.navbar-brand:hover { 
  opacity: .8; 
  text-decoration: none; 
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-gold);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(184,137,46,.35);
}

.navbar-brand .brand-text span { 
  color: var(--gold); 
}

.navbar-nav {
  align-items: center;
  gap: var(--sp-2);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-3) !important;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  letter-spacing: .01em;
  transition: all var(--t-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--slate) !important;
  background: rgba(44,50,66,.05);
  text-decoration: none;
}

.nav-link.active { 
  color: var(--gold) !important; 
  font-weight: 600; 
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.navbar-toggler {
  border: 1px solid var(--border-soft);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
}

.navbar-toggler:hover { 
  border-color: var(--gold); 
  color: var(--gold); 
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 50, 66, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size: 100%;
  background-position: center;
}

@media (max-width: 991px) {
  .navbar {
    padding: var(--sp-2) 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-collapse {
    padding: var(--sp-4) 0;
  }
  
  .navbar-nav {
    gap: 0;
    flex-direction: column;
  }
  
  .nav-link {
    padding: var(--sp-3) 0;
    border-radius: 0;
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .nav-link.active {
    border-left: 3px solid var(--gold);
    padding-left: calc(var(--sp-3) - 3px);
  }
  
  .navbar-nav .btn {
    width: 100%;
    margin-top: var(--sp-2);
    justify-content: flex-start;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .625rem 1.375rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .015em;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--grad-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(184,137,46,.35);
}
.btn-primary:hover {
  box-shadow: 0 4px 18px rgba(184,137,46,.50);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface-1);
  color: var(--slate);
  border-color: var(--border-card);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--cream-2);
  border-color: rgba(184,137,46,.3);
  color: var(--slate);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-primary:hover {
  background: var(--gold-bg);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--slate-3);
  border-color: var(--border-soft);
}
.btn-outline-secondary:hover {
  background: var(--cream-2);
  color: var(--slate);
  border-color: var(--border-card);
}

.btn-success {
  background: linear-gradient(135deg, #3d8b50 0%, #52ab65 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(61,139,80,.3);
}
.btn-success:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }

.btn-outline-success {
  background: transparent;
  color: var(--sage);
  border-color: rgba(74,124,89,.4);
}
.btn-outline-success:hover {
  background: var(--sage-bg);
  color: var(--sage);
  border-color: var(--sage);
}

.btn-danger {
  background: linear-gradient(135deg, #b84a3a 0%, #d4614f 100%);
  color: #fff;
  border-color: transparent;
}
.btn-danger:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }

.btn-warning {
  background: linear-gradient(135deg, #c07820 0%, #d9920c 100%);
  color: #fff;
  border-color: transparent;
}
.btn-warning:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-sm  { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg  { padding: .875rem 2rem; font-size: 1rem; }

.btn-group { display: inline-flex; }
.btn-group .btn { border-radius: 0; }
.btn-group .btn:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.btn-group .btn:last-child  { border-radius: 0 var(--r-md) var(--r-md) 0; }
.btn-group .btn.active {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
  z-index: 1;
}

/* ── Cards ── */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}
.card-header {
  padding: var(--sp-4) var(--sp-5);
  background: var(--cream-2);
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .9rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  letter-spacing: .01em;
}
.card-header i { color: var(--gold); }
.card-body { padding: var(--sp-5); }
.card-footer {
  padding: var(--sp-4) var(--sp-5);
  background: var(--cream-2);
  border-top: 1px solid var(--border-soft);
}

.card-hover { cursor: pointer; }
.card-hover:hover {
  border-color: rgba(184,137,46,.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

/* ── Property Cards ── */
.property-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  border-color: rgba(184,137,46,.35);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}
.property-card-image-wrapper { position: relative; overflow: hidden; }
.property-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--t-slow);
  display: block;
}
.property-card:hover .property-card-image { transform: scale(1.05); }

.property-card-body {
  padding: var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}
.property-card-location {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .825rem;
  color: var(--slate-3);
  margin-bottom: var(--sp-3);
}
.property-card-location i { color: var(--gold); font-size: .75rem; }
.property-card-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}
.property-card-details {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin: var(--sp-3) 0;
}
.property-card-details span {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .825rem;
  font-weight: 500;
  color: var(--slate-3);
}
.property-card-details i { color: var(--gold); }

.property-img-placeholder {
  width: 100%;
  height: 220px;
  background: var(--cream-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.property-img-placeholder i { font-size: 2.5rem; color: var(--sand); }

/* ── Stat Cards ── */
.stat-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity var(--t-base);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  border-color: rgba(184,137,46,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Decorative pattern on stat cards */
.stat-card::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,46,.07) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: var(--sp-3);
  flex-shrink: 0;
}
.stat-card .stat-icon.gold  { background: rgba(184,137,46,.12); color: var(--gold); }
.stat-card .stat-icon.sage  { background: rgba(74,124,89,.12);  color: var(--sage); }
.stat-card .stat-icon.sky   { background: rgba(45,110,168,.10); color: var(--sky);  }
.stat-card .stat-icon.rose  { background: rgba(184,74,58,.10);  color: var(--rose); }

.stat-card .stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--slate);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.stat-card .stat-label {
  font-size: .775rem;
  font-weight: 600;
  color: var(--slate-4);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

/* ── Hero ── */
.hero {
  padding: var(--sp-12) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-hero);
  pointer-events: none;
}

/* Decorative arch behind hero */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 60px solid rgba(184,137,46,.05);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(184,137,46,.10);
  border: 1px solid rgba(184,137,46,.28);
  border-radius: var(--r-pill);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.65); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: var(--sp-5);
  letter-spacing: -.03em;
  color: var(--slate);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-search {
  display: flex;
  gap: var(--sp-2);
  max-width: 560px;
  margin-bottom: var(--sp-6);
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  box-shadow: var(--shadow-md);
}
.hero-search .form-control {
  flex: 1;
  font-size: .95rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-left: var(--sp-3);
}
.hero-search .form-control:focus {
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-search .btn-primary { flex-shrink: 0; border-radius: var(--r-md); }

.hero-stats {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-item .num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--slate);
  display: block;
  line-height: 1;
}
.hero-stat-item .lbl {
  font-size: .73rem;
  color: var(--slate-4);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
}
.hero-divider {
  width: 1px;
  background: var(--border-soft);
  align-self: stretch;
}

/* Top picks card */
.top-picks-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.top-picks-card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--sp-5); right: var(--sp-5);
  height: 3px;
  background: var(--grad-gold);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.top-picks-card .card-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
}
.property-pick-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-lg);
  transition: background var(--t-fast);
  cursor: pointer;
  margin: 0 calc(var(--sp-2) * -1);
}
.property-pick-item:hover { background: var(--cream-2); }
.property-pick-image {
  width: 72px;
  height: 52px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.property-pick-image img { width: 100%; height: 100%; object-fit: cover; }
.property-pick-image i { color: var(--sand); }
.property-pick-title {
  font-weight: 600;
  font-size: .875rem;
  color: var(--slate);
  margin-bottom: 2px;
  display: block;
}
.property-pick-sub { font-size: .775rem; color: var(--slate-3); display: block; }
.property-pick-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Sections ── */
.section {
  padding: var(--sp-10) 0;
  position: relative;
  z-index: 1;
}
/* Alternating section tint */
.section-tinted {
  background: var(--cream-2);
  padding: var(--sp-10) 0;
  position: relative;
  z-index: 1;
}
.section-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--gold);
  margin-bottom: var(--sp-3);
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--slate);
  margin-bottom: var(--sp-3);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-3);
  max-width: 560px;
}
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: var(--sp-3) 0 var(--sp-5);
}

/* ── Feature Cards ── */
.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
/* Subtle top accent bar */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.feature-card:hover {
  border-color: rgba(184,137,46,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(184,137,46,.1);
  border: 1px solid rgba(184,137,46,.2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: var(--sp-5);
  transition: all var(--t-base);
}
.feature-card:hover .feature-icon {
  background: rgba(184,137,46,.18);
  border-color: rgba(184,137,46,.38);
  transform: scale(1.08) rotate(-4deg);
}
.feature-card h5 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: var(--sp-3);
}
.feature-card p {
  font-size: .875rem;
  color: var(--slate-3);
  margin: 0;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-8);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(184,137,46,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 40px solid rgba(184,137,46,.08);
  pointer-events: none;
}
.cta-band h2,
.cta-band h3,
.cta-band h4,
.cta-band h5,
.cta-band p,
.cta-band span,
.cta-band .section-eyebrow { color: rgba(255,255,255,.65) !important; }
.cta-band h2, .cta-band h3 { color: #ffffff !important; }
.cta-band .section-eyebrow { color: var(--gold-pale) !important; }
.cta-band .btn-primary { background: var(--grad-gold); box-shadow: 0 4px 20px rgba(184,137,46,.5); }
.cta-band .btn-secondary {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.cta-band p { color: rgba(255,255,255,.65) !important; }

/* ── Role Cards ── */
.role-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}
.role-card:hover {
  border-color: rgba(184,137,46,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.role-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: var(--sp-4);
  flex-shrink: 0;
}
.role-icon.tenant-icon  { background: var(--sky-bg);  color: var(--sky);  }
.role-icon.landlord-icon { background: var(--sage-bg); color: var(--sage); }

/* ── Forms ── */
.form-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-3);
  margin-bottom: var(--sp-2);
}
.form-control,
.form-select {
  width: 100%;
  padding: .65rem 1rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--slate);
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.form-control:focus,
.form-select:focus {
  border-color: rgba(184,137,46,.5);
  box-shadow: 0 0 0 3px rgba(184,137,46,.1);
  background: #fff;
}
.form-control::placeholder { color: var(--slate-4); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a91a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-select option { background: #fff; color: var(--slate); }

.form-check { display: flex; align-items: center; gap: var(--sp-2); margin: 0; }
.form-check-input {
  width: 16px; height: 16px;
  background: var(--surface-1);
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  transition: all var(--t-fast);
}
.form-check-input:checked {
  background: var(--gold);
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.form-check-label { font-size: .875rem; color: var(--slate-2); cursor: pointer; }

.search-input-wrapper { position: relative; }
.search-input-wrapper .form-control { padding-right: 2.5rem; }
.search-input-wrapper .search-icon {
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--slate-4);
  pointer-events: none;
}

/* ── Alerts ── */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid;
  margin-bottom: var(--sp-5);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}
.alert-info    { background: var(--sky-bg);   color: #1a5a8f; border-color: rgba(45,110,168,.2);  }
.alert-success { background: var(--sage-bg);  color: #2e6b3e; border-color: rgba(74,124,89,.2);  }
.alert-warning { background: var(--amber-bg); color: #8a4f10; border-color: rgba(192,120,32,.2); }
.alert-danger  { background: var(--rose-bg);  color: #8a2a1d; border-color: rgba(184,74,58,.2);  }
.alert-dismissible { position: relative; padding-right: 3rem; }
.btn-close {
  position: absolute;
  right: var(--sp-4); top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: currentColor; cursor: pointer;
  opacity: .5; font-size: 1.2rem; padding: 0;
  transition: opacity var(--t-fast);
}
.btn-close:hover { opacity: 1; }
.btn-close::before { content: '×'; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
}
.badge-primary   { background: rgba(184,137,46,.12); color: var(--gold);  border-color: rgba(184,137,46,.28); }
.badge-success   { background: var(--sage-bg);       color: var(--sage);  border-color: rgba(74,124,89,.25); }
.badge-warning   { background: var(--amber-bg);      color: var(--amber); border-color: rgba(192,120,32,.25);}
.badge-danger    { background: var(--rose-bg);       color: var(--rose);  border-color: rgba(184,74,58,.25); }
.badge-secondary { background: var(--cream-3);       color: var(--slate-3); border-color: var(--border-soft); }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(74,124,89,.12);
  color: var(--sage);
  border: 1px solid rgba(74,124,89,.3);
  border-radius: var(--r-pill);
  font-size: .68rem;
  font-weight: 700;
}

/* ── Tables ── */
.data-table, .table {
  width: 100%;
  border-collapse: collapse;
}
.data-table thead th,
.table th {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-4);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  background: var(--cream-2);
}
.data-table tbody tr,
.table tbody tr {
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--t-fast);
}
.data-table tbody tr:last-child,
.table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover,
.table-hover tbody tr:hover { background: var(--cream-2); }
.data-table tbody td,
.table td {
  padding: var(--sp-4) var(--sp-5);
  font-size: .875rem;
  color: var(--slate);
  vertical-align: middle;
}
.table-hover tbody tr:last-child td { border-bottom: none; }
.table-responsive { overflow-x: auto; }

/* ── Progress ── */
.progress {
  height: 6px;
  background: var(--cream-3);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--grad-gold);
  transition: width 1s var(--ease);
}
.progress-bar.bg-primary { background: var(--grad-gold); }
.progress-bar.bg-success { background: linear-gradient(90deg, #3d8b50, #52ab65); }

/* ── Filters Sidebar ── */
.filter-sidebar {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(68px + var(--sp-4));
}
.filter-group {
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border-soft);
}
.filter-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-4);
  margin-bottom: var(--sp-3);
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-1);
  list-style: none;
  margin-top: var(--sp-8);
}
.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 var(--sp-2);
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-3);
  transition: all var(--t-fast);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.page-item .page-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,137,46,.06);
}
.page-item.active .page-link {
  background: var(--grad-gold);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(184,137,46,.35);
}
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ── Dashboard Header ── */
.dashboard-header {
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border-soft);
}
.dashboard-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-2);
  color: var(--slate);
}
.dashboard-header p { color: var(--slate-3); margin: 0; }

/* ── Wallet Card ── */
.wallet-card {
  background: linear-gradient(135deg, #1a3d24 0%, #142e1c 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,61,36,.3);
}
.wallet-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
}
.wallet-balance {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #a8d4b0;
  line-height: 1;
}
.wallet-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(140,190,150,.55);
  margin-bottom: var(--sp-1);
  font-weight: 600;
}

/* ── Profile ── */
.profile-header {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  margin-bottom: var(--sp-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.profile-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(184,137,46,.25);
  overflow: hidden;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--slate-4);
  box-shadow: var(--shadow-sm);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Empty States ── */
.empty-state {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
}
.empty-state-icon {
  width: 68px; height: 68px;
  background: var(--cream-2);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--slate-4);
  margin: 0 auto var(--sp-5);
}
.empty-state h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--slate);
  margin-bottom: var(--sp-2);
}
.empty-state p { color: var(--slate-3); margin-bottom: var(--sp-5); }

/* ── Footer ── */
.footer {
  background: var(--slate);
  padding: var(--sp-12) 0 var(--sp-6);
  margin-top: var(--sp-12);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 50px solid rgba(184,137,46,.06);
  pointer-events: none;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  margin-bottom: var(--sp-4);
}
.footer-brand .brand-icon {
  width: 32px; height: 32px;
  background: var(--grad-gold);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: #fff;
}
.footer-brand span { color: var(--gold-pale); }
.footer p { color: rgba(255,255,255,.45); font-size: .875rem; }

.footer h6 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-4);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--sp-2); }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--gold-pale); }

.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  color: rgba(255,255,255,.5);
  transition: all var(--t-base);
  font-size: .875rem;
}
.footer-social a:hover {
  background: rgba(184,137,46,.2);
  border-color: rgba(184,137,46,.4);
  color: var(--gold-pale);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-6);
  margin-top: var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-bottom p { margin: 0; font-size: .78rem; color: rgba(255,255,255,.3); }

/* ── Pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  background: rgba(184,137,46,.1);
  border: 1px solid rgba(184,137,46,.25);
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gold);
}

/* ── Dividers ── */
hr, .divider {
  border: none;
  height: 1px;
  background: var(--border-soft);
  margin: var(--sp-5) 0;
}

/* ── Utilities ── */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-muted    { color: var(--slate-3) !important; }
.text-gold     { color: var(--gold) !important; }
.text-success  { color: var(--sage); }
.text-danger   { color: var(--rose); }
.text-warning  { color: var(--amber); }
.text-primary  { color: var(--gold); }
.text-primary-custom { color: var(--gold) !important; }
.text-secondary { color: var(--slate-3); }
.text-dark     { color: var(--slate); }
.text-white    { color: #fff !important; }
.text-ivory    { color: var(--slate); }
.text-slate    { color: var(--slate); }

.fw-normal  { font-weight: 400; }
.fw-medium  { font-weight: 500; }
.fw-semibold{ font-weight: 600; }
.fw-bold    { font-weight: 700; }
.fw-black   { font-weight: 800; }

.d-flex        { display: flex; }
.d-grid        { display: grid; }
.d-block       { display: block; }
.d-inline-flex { display: inline-flex; }
.d-none        { display: none; }
.flex-column   { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.flex-grow-1   { flex-grow: 1; }
.align-items-center   { align-items: center; }
.align-items-start    { align-items: flex-start; }
.align-items-end      { align-items: flex-end; }
.justify-content-center  { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end     { justify-content: flex-end; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.gap-6 { gap: var(--sp-6); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.me-1 { margin-right: var(--sp-1); }
.me-2 { margin-right: var(--sp-2); }
.me-3 { margin-right: var(--sp-3); }
.ms-2 { margin-left: var(--sp-2); }
.ms-3 { margin-left: var(--sp-3); }
.ms-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; }
.p-3 { padding: var(--sp-3); }
.p-4 { padding: var(--sp-4); }
.p-5 { padding: var(--sp-5); }
.p-6 { padding: var(--sp-6); }
.py-4 { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.py-5 { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }

.w-100  { width: 100%; }
.h-100  { height: 100%; }
.rounded { border-radius: var(--r-md); }
.rounded-circle { border-radius: 50%; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.small  { font-size: .875rem; }
.text-decoration-none { text-decoration: none !important; }
.opacity-75 { opacity: .75; }
.opacity-50 { opacity: .5; }
.flex-shrink-0 { flex-shrink: 0; }

/* ── Grid ── */
.row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--sp-3) * -1); }
.row.g-3 { margin: calc(var(--sp-3) * -0.5); }
.row.g-3 > [class*=col-] { padding: calc(var(--sp-3) * 0.5); }
.row.g-4 { margin: calc(var(--sp-4) * -0.5); }
.row.g-4 > [class*=col-] { padding: calc(var(--sp-4) * 0.5); }
.row.g-5 { margin: calc(var(--sp-5) * -0.5); }
.row.g-5 > [class*=col-] { padding: calc(var(--sp-5) * 0.5); }
.row.align-items-center { align-items: center; }

[class*=col-] { padding: 0 var(--sp-3); }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6  { flex: 0 0 50%;  max-width: 50%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3  { flex: 0 0 25%;  max-width: 25%; }

@media (min-width: 576px) {
  .col-sm-6  { flex: 0 0 50%;  max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
  .col-md-3  { flex: 0 0 25%;      max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-md-8  { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-md-12 { flex: 0 0 100%;    max-width: 100%; }
  .d-md-flex { display: flex; }
  .flex-md-row { flex-direction: row; }
  .align-items-md-start { align-items: flex-start; }
}
@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 16.666%; max-width: 16.666%; }
  .col-lg-3  { flex: 0 0 25%;     max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-5  { flex: 0 0 41.666%; max-width: 41.666%; }
  .col-lg-6  { flex: 0 0 50%;     max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-lg-8  { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-lg-9  { flex: 0 0 75%;     max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%;    max-width: 100%; }
  .d-lg-flex   { display: flex; }
  .d-lg-block  { display: block; }
  .d-lg-none   { display: none; }
}
@media (min-width: 1200px) {
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
}

/* ── Responsive overrides ── */
@media (max-width: 992px) {
  .hero { padding: var(--sp-8) 0; }
  .hero h1 { font-size: 2.8rem; }
  .section { padding: var(--sp-8) 0; }
  .cta-band { padding: var(--sp-8) var(--sp-5); }
  .top-picks-card { display: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: var(--sp-4); }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .filter-sidebar { position: static; }
  .data-table { font-size: .8rem; }
  .stat-card .stat-number { font-size: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 576px) {
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-direction: column; border-radius: var(--r-md); }
  .hero-search .btn-primary { width: 100%; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Selection ── */
::selection { background: rgba(184,137,46,.18); color: var(--slate); }

/* ── Page Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up 0.55s var(--ease) forwards;
}
.animate-fade-up:nth-child(1) { animation-delay: 0ms; }
.animate-fade-up:nth-child(2) { animation-delay: 80ms; }
.animate-fade-up:nth-child(3) { animation-delay: 160ms; }
.animate-fade-up:nth-child(4) { animation-delay: 240ms; }
.animate-fade-up:nth-child(5) { animation-delay: 320ms; }
.animate-fade-up:nth-child(6) { animation-delay: 400ms; }

/* ── List Group ── */
.list-group { list-style: none; }
.list-group-item {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border-soft);
  color: var(--slate);
  font-size: .9rem;
}
.list-group-item:last-child { border-bottom: none; }
.list-group-item-action {
  display: block;
  text-decoration: none;
  transition: background var(--t-fast);
  color: var(--slate);
}
.list-group-item-action:hover {
  background: var(--cream-2);
  color: var(--slate);
}

/* ── Stat box (home compat) ── */
.stat-box {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}
.stat-box:hover {
  border-color: rgba(184,137,46,.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat-box small {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate-4);
  margin-bottom: var(--sp-1);
}
.stat-box .stat-value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}

/* Legacy compat */
.shadow-sm { box-shadow: var(--shadow-sm); }
.card.bg-white { background: var(--surface-1); }
.card-header.bg-white { background: var(--cream-2); }
.card.border-0 { border-color: var(--border-card); }

/* ── Info mini boxes (CTA section mini-grid) ── */
.info-mini-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  text-align: center;
}
.info-mini-box .mini-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1;
}
.info-mini-box .mini-lbl { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: .2rem; }

/* —— Extended page system —— */
.btn-outline-warning {
  background: transparent;
  color: var(--amber);
  border-color: rgba(192,120,32,.4);
}
.btn-outline-warning:hover {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber);
}

.btn-outline-danger {
  background: transparent;
  color: var(--rose);
  border-color: rgba(184,74,58,.38);
}
.btn-outline-danger:hover {
  background: var(--rose-bg);
  color: var(--rose);
  border-color: var(--rose);
}

.page-shell {
  display: grid;
  gap: var(--sp-6);
}

.page-shell--compact {
  max-width: 860px;
  margin: 0 auto;
}

.page-shell--narrow {
  max-width: 1040px;
  margin: 0 auto;
}

.page-shell--wide {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(255,255,255,.94), rgba(244,239,230,.96));
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: auto -100px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,46,.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: var(--sp-6);
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: var(--sp-3);
}

.page-hero p {
  max-width: 44rem;
  margin-bottom: 0;
}

.page-hero-card {
  position: relative;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(184,137,46,.16);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.hero-stat-grid .stat-box {
  text-align: left;
  padding: var(--sp-4);
}

.surface-panel {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
}

.surface-panel--soft {
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(244,239,230,.78));
}

.section-stack {
  display: grid;
  gap: var(--sp-5);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.section-header h2,
.section-header h3,
.section-header h4 {
  margin-bottom: 0;
}

.eyebrow-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184,137,46,.22);
  background: rgba(184,137,46,.08);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow-inline::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.micro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
}

.micro-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}

.micro-card-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-4);
  margin-bottom: var(--sp-2);
}

.micro-card-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--slate);
}

.micro-card-copy {
  font-size: .84rem;
  color: var(--slate-3);
  margin: var(--sp-2) 0 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.info-tile {
  background: linear-gradient(180deg, rgba(250,247,242,.9), rgba(255,255,255,.96));
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}

.info-tile-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
  color: var(--slate-4);
  margin-bottom: var(--sp-2);
}

.info-tile-value {
  color: var(--slate);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.45;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--sp-6);
  align-items: stretch;
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(145deg, #202635 0%, #2c3242 55%, #3d485d 100%);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
}

.auth-showcase::before,
.auth-showcase::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-showcase::before {
  width: 260px;
  height: 260px;
  top: -90px;
  right: -70px;
  background: radial-gradient(circle, rgba(212,168,67,.30) 0%, transparent 68%);
}

.auth-showcase::after {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(74,124,89,.22) 0%, transparent 68%);
}

.auth-showcase h1,
.auth-showcase h2,
.auth-showcase h3,
.auth-showcase h4 {
  color: #fff;
}

.auth-showcase p {
  color: rgba(247,243,236,.74);
}

.auth-points {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.auth-point {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.auth-point i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(212,168,67,.18);
  color: var(--gold-pale);
  flex-shrink: 0;
}

.auth-point strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.auth-point span {
  color: rgba(247,243,236,.7);
  font-size: .86rem;
  line-height: 1.5;
}

.auth-card {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.auth-card-head {
  padding: var(--sp-6);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(250,247,242,.88), rgba(255,255,255,.96));
}

.auth-card-head h2,
.auth-card-head h3 {
  margin-bottom: var(--sp-2);
}

.auth-card-body {
  padding: var(--sp-6);
}

.auth-card-foot {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.form-stack {
  display: grid;
  gap: var(--sp-4);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.form-grid--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid--quarters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field-note {
  display: block;
  font-size: .8rem;
  color: var(--slate-4);
  margin-top: var(--sp-2);
}

.form-section {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,247,242,.9));
}

.form-section-head h3,
.form-section-head h4 {
  margin-bottom: var(--sp-1);
}

.form-section-head p {
  margin-bottom: 0;
  font-size: .9rem;
}

.form-check-panel {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--cream-2);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-3);
}

.choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 100%;
  padding: var(--sp-5);
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--t-base);
}

.choice-card:hover,
.choice-card.is-active,
.choice-input:checked + .choice-card {
  border-color: rgba(184,137,46,.28);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.choice-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
}

.choice-card h4,
.choice-card h5 {
  margin-bottom: var(--sp-1);
}

.choice-card p {
  margin-bottom: 0;
  font-size: .88rem;
}

.choice-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}

.choice-caption {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--slate-4);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.pill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--border-soft);
  color: var(--slate-3);
  font-size: .82rem;
  font-weight: 500;
}

.detail-shell {
  display: grid;
  gap: var(--sp-6);
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: .82rem;
  color: var(--slate-4);
}

.detail-breadcrumb a {
  color: var(--slate-3);
}

.detail-breadcrumb .current {
  color: var(--gold);
  font-weight: 600;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-5);
  align-items: end;
}

.detail-price-block {
  min-width: 220px;
  text-align: right;
}

.detail-price {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
}

.detail-price-note {
  margin-top: var(--sp-2);
  font-size: .9rem;
  color: var(--slate-4);
}

.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
  gap: var(--sp-5);
}

.detail-gallery {
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  background: var(--surface-1);
}

.detail-gallery .carousel-inner {
  border-radius: var(--r-2xl);
}

.detail-gallery img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.detail-gallery-empty {
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--cream-3), var(--cream-2));
  color: var(--sand);
  font-size: 4rem;
}

.detail-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
}

.detail-highlight {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  text-align: center;
}

.detail-highlight i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--cream-2);
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.detail-highlight strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.detail-highlight span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-4);
}

.detail-section {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
}

.detail-section-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.detail-section-head i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--cream-2);
  color: var(--gold);
}

.detail-section-head h3,
.detail-section-head h4 {
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  gap: var(--sp-3);
}

.detail-list-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: .9rem;
  color: var(--slate-3);
}

.detail-list-item i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
  flex-shrink: 0;
}

.detail-map {
  height: 340px;
  border-radius: var(--r-xl);
  background: var(--cream-2);
  border: 1px solid var(--border-soft);
}

.detail-lock-card {
  background: linear-gradient(140deg, rgba(184,74,58,.05), rgba(255,255,255,.96));
  border: 1px solid rgba(184,74,58,.18);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
}

.detail-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}

.detail-option {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
}

.detail-option strong {
  display: block;
  margin-bottom: 4px;
}

.detail-option small {
  color: var(--slate-4);
}

.detail-message-form {
  display: grid;
  gap: var(--sp-4);
}

.detail-action-grid {
  display: grid;
  gap: var(--sp-3);
}

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--sp-5);
  align-items: center;
}

.profile-copy h1,
.profile-copy h2 {
  margin-bottom: var(--sp-2);
}

.profile-copy p {
  margin-bottom: var(--sp-3);
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.key-grid .info-tile {
  min-height: 100%;
}

.timeline-note {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--cream-2);
  border: 1px solid var(--border-soft);
}

.timeline-note i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--gold);
  flex-shrink: 0;
}

.wallet-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: var(--sp-5);
}

.wallet-spotlight {
  background: linear-gradient(135deg, #1d3c29 0%, #16311f 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(22,49,31,.28);
}

.wallet-spotlight::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
}

.wallet-spotlight h2,
.wallet-spotlight h3,
.wallet-spotlight p {
  color: #fff;
}

.wallet-spotlight p {
  color: rgba(214,237,219,.72);
}

.wallet-amount {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  color: #cde8d3;
  line-height: 1;
}

.wallet-note-list {
  display: grid;
  gap: var(--sp-3);
}

.wallet-note-list .timeline-note {
  background: var(--surface-1);
}

.editorial-table-wrap {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.upload-preview {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px dashed rgba(184,137,46,.35);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.88);
}

.upload-preview img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
}

.upload-preview .profile-avatar {
  width: 86px;
  height: 86px;
}

.metric-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.metric-inline .pill-chip strong {
  color: var(--slate);
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  border: none;
  margin-bottom: var(--sp-5);
}

.payment-steps .nav-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-4);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  background: var(--surface-1);
  color: var(--slate-3) !important;
  box-shadow: var(--shadow-sm);
}

.payment-steps .nav-link:hover {
  border-color: rgba(184,137,46,.28);
  background: var(--cream-2);
}

.payment-steps .nav-link.active {
  border-color: rgba(184,137,46,.32);
  color: var(--slate) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,239,230,.9));
  box-shadow: var(--shadow-gold);
}

.step-count {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.payment-steps .nav-link.active .step-count {
  background: var(--gold);
  color: #fff;
}

.payment-content > form > .tab-pane {
  display: none;
}

.payment-content > form > .tab-pane.active {
  display: block;
}

.step-copy strong {
  display: block;
  color: inherit;
  margin-bottom: 2px;
}

.step-copy small {
  display: block;
  color: var(--slate-4);
}

.payment-stage {
  background: var(--surface-1);
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}

.payment-stage-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.payment-stage-head i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  background: var(--cream-2);
  color: var(--gold);
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.payment-method-card {
  padding: var(--sp-4);
}

.payment-method-card .choice-card-head {
  align-items: center;
}

.summary-list {
  display: grid;
  gap: var(--sp-4);
}

.summary-block {
  padding: var(--sp-4);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,247,242,.86));
}

.summary-block h4,
.summary-block h5 {
  margin-bottom: var(--sp-3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) 0;
  font-size: .9rem;
}

.summary-row strong:last-child {
  text-align: right;
}

.summary-total {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-soft);
}

.summary-total strong:last-child {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.accordion-enhanced .accordion-item {
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
}

.accordion-enhanced .accordion-button {
  background: var(--surface-1);
  color: var(--slate);
  font-weight: 600;
  box-shadow: none;
}

.accordion-enhanced .accordion-button:not(.collapsed) {
  background: var(--cream-2);
  color: var(--slate);
}

.accordion-enhanced .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(184,137,46,.1);
}

.muted-callout {
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--cream-2);
  border: 1px solid var(--border-soft);
}

@media (max-width: 1200px) {
  .page-hero-grid,
  .wallet-summary,
  .detail-main-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .detail-price-block {
    text-align: left;
  }
}

@media (max-width: 992px) {
  .profile-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .detail-highlight-grid,
  .payment-method-grid,
  .form-grid--quarters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-hero,
  .auth-showcase,
  .auth-card-head,
  .auth-card-body,
  .payment-stage {
    padding: var(--sp-5);
  }

  .form-grid,
  .form-grid--thirds,
  .key-grid,
  .detail-option-grid,
  .payment-steps,
  .detail-highlight-grid,
  .payment-method-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-gallery img,
  .detail-gallery-empty {
    height: 320px;
  }
}
