/* ============================================================
   KINGSLEY KNIGHT — DESIGN SYSTEM
   British luxury property marketplace
   ============================================================ */

/* ── FONTS ──────────────────────────────────────────────────────────────
   PRIMARY FONT: Aptos (Microsoft, Windows 11 / Office 365 system font)
   WEB FALLBACK: Plus Jakarta Sans (Google Fonts — loads for Mac/iOS/Android
                 and Windows versions without Aptos installed)
   The font stack lists Aptos first so any device that has it installed uses
   it natively with zero download. Devices without Aptos load Plus Jakarta
   Sans from Google Fonts — visually very close, same proportions and feel.
   ─────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* British palette */
  --navy:       #00205B;
  --navy-light: #003087;
  --navy-deep:  #001540;
  --red:        #CF101A;
  --red-dark:   #A50D15;
  --red-light:  #E8343D;
  --gold:       #C9A84C;
  --gold-light: #E5C97A;
  --white:      #FFFFFF;
  --cream:      #F7F5F0;
  --cream-dark: #EDE9DF;
  --offwhite:   #FAF9F7;

  /* Greys */
  --grey-50:  #FAFAFA;
  --grey-100: #F4F4F4;
  --grey-200: #E8E8E8;
  --grey-300: #D0D0D0;
  --grey-400: #A8A8A8;
  --grey-500: #787878;
  --grey-600: #565656;
  --grey-700: #3C3C3C;
  --grey-800: #282828;
  --grey-900: #141414;

  /* Semantic */
  --success:  #1A7A4A;
  --warning:  #C97B00;
  --error:    #CF101A;
  --info:     #003087;

  /* Typography */
  /* ── TYPEFACE: Aptos ────────────────────────────────────────────────
     Aptos is listed first — Windows 11 / Office 365 devices use it
     natively. All other devices (Mac, iOS, Android, older Windows) fall
     back to Plus Jakarta Sans loaded from Google Fonts, which is
     indistinguishable in style. One clean modern sans-serif everywhere. */
  --font-display: 'Aptos', 'Plus Jakarta Sans', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Aptos', 'Plus Jakarta Sans', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'Aptos Mono', 'Cascadia Code', 'Consolas', monospace;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.16);
  --shadow-navy: 0 8px 32px rgba(0,32,91,0.20);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 250ms ease;
  --t-slow:   400ms ease;

  /* Z-index layers */
  --z-base:    1;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-modal:   300;
  --z-toast:   400;

  /* Layout */
  --container: 1320px;
  --container-sm: 960px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 400; line-height: 1.15; }
h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p { line-height: 1.7; }
.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mono { font-family: var(--font-mono); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.grid { display: grid; }
.flex { display: flex; }
.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-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: all var(--t-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-navy);
}
.btn-primary:hover { background: var(--navy-light); }

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(207,16,26,0.3);
}
.btn-red:hover { background: var(--red-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--grey-700);
  padding: 0.75rem 1rem;
}
.btn-ghost:hover { background: var(--grey-100); color: var(--grey-900); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 3rem; font-size: 1.05rem; }
.btn-icon { padding: 0.75rem; border-radius: var(--r-md); }
.btn-full { width: 100%; justify-content: center; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

.card-flat {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--grey-200);
}

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-navy { background: var(--navy); color: var(--white); }
.badge-red { background: var(--red); color: var(--white); }
.badge-gold { background: var(--gold); color: var(--navy-deep); }
.badge-green { background: #E8F7EF; color: #1A7A4A; }
.badge-grey { background: var(--grey-200); color: var(--grey-600); }
.badge-outline { background: transparent; border: 1px solid currentColor; }

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-700);
}
.form-input, .form-select, .form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--grey-800);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,135,0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 0.8rem; color: var(--grey-500); }
.form-error { font-size: 0.8rem; color: var(--red); }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
}

/* ── DIVIDERS & DECORATIONS ──────────────────────────────── */
.flag-stripe {
  height: 4px;
  background: linear-gradient(to right, var(--navy) 0%, var(--gold) 50%, var(--navy) 100%);
}
.gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-divider {
  border: none;
  border-top: 1px solid var(--grey-200);
  margin: var(--sp-8) 0;
}

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border-left: 4px solid;
  font-size: 0.9rem;
  line-height: 1.5;
}
.alert-info { background: #EEF3FF; border-color: var(--navy); color: var(--navy-deep); }
.alert-success { background: #EDFAF3; border-color: var(--success); color: #0F4D2F; }
.alert-warning { background: #FFF8E8; border-color: var(--warning); color: #7A4900; }
.alert-error { background: #FDEEED; border-color: var(--red); color: var(--red-dark); }

/* ── TOAST NOTIFICATIONS ─────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--grey-900);
  color: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  min-width: 280px;
  max-width: 380px;
  animation: toastIn 0.3s ease forwards;
}
.toast.removing { animation: toastOut 0.3s ease forwards; }
.toast-success { border-left: 4px solid #4CAF82; }
.toast-error   { border-left: 4px solid var(--red); }
.toast-warning { border-left: 4px solid var(--gold); }
.toast-info    { border-left: 4px solid var(--navy-light); }
@keyframes toastIn  { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { from { transform: none; opacity: 1; } to { transform: translateX(120%); opacity: 0; } }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-normal);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--t-normal);
}
.modal-overlay.open .modal { transform: none; }
.modal-header {
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body { padding: var(--sp-6) var(--sp-8); }
.modal-footer {
  padding: var(--sp-5) var(--sp-8);
  border-top: 1px solid var(--grey-200);
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
}
.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-500);
  transition: all var(--t-fast);
  font-size: 1.2rem;
}
.modal-close:hover { background: var(--grey-100); color: var(--grey-800); }

/* ── TABS ────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--grey-200);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--t-fast);
}
.tab-btn:hover { color: var(--grey-800); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── TABLES ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--grey-200); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead th {
  padding: 0.85rem 1.25rem;
  background: var(--grey-50);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey-500);
  border-bottom: 1px solid var(--grey-200);
}
tbody td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--grey-50); }

/* ── STATS CARDS ─────────────────────────────────────────── */
.stat-card {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--grey-200);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: var(--sp-1);
}
.stat-change {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: var(--sp-2);
}
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--red); }

/* ── PROPERTY CARD ───────────────────────────────────────── */
.property-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  position: relative;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.property-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--grey-100);
}
.property-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.property-card:hover .property-card-img img { transform: scale(1.04); }
.property-card-save {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-400);
  transition: all var(--t-fast);
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
}
.property-card-save:hover, .property-card-save.saved { color: var(--red); }
.property-card-body { padding: var(--sp-5); }
.property-card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}
.property-card-address { font-size: 0.9rem; color: var(--grey-600); margin-top: 4px; }
.property-card-meta {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--grey-100);
  font-size: 0.82rem;
  color: var(--grey-600);
}
.property-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ── AVATAR ──────────────────────────────────────────────── */
.avatar {
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  object-fit: cover;
}
.avatar-sm  { width: 32px;  height: 32px;  font-size: 0.8rem; }
.avatar-md  { width: 44px;  height: 44px;  font-size: 1rem; }
.avatar-lg  { width: 60px;  height: 60px;  font-size: 1.2rem; }
.avatar-xl  { width: 80px;  height: 80px;  font-size: 1.5rem; }
.avatar-navy { background: var(--navy); color: var(--white); }
.avatar-red  { background: var(--red);  color: var(--white); }
.avatar-gold { background: var(--gold); color: var(--navy-deep); }

/* ── SKELETON LOADER ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--grey-100) 25%, var(--grey-200) 50%, var(--grey-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── PORTAL SIDEBAR ──────────────────────────────────────── */
.portal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}
.portal-sidebar {
  background: var(--navy-deep);
  padding: var(--sp-6) 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
.portal-sidebar-brand {
  padding: 0 var(--sp-6) var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-4);
}
.portal-nav-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.65rem var(--sp-6);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 400;
  transition: all var(--t-fast);
  position: relative;
}
.portal-nav-item:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.portal-nav-item.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.portal-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.portal-nav-section {
  padding: var(--sp-4) var(--sp-6) var(--sp-2);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
}
.portal-main { background: var(--grey-50); padding: var(--sp-8); }

/* ── STEP WIZARD ─────────────────────────────────────────── */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--sp-8);
}
.wizard-step {
  display: flex;
  align-items: center;
  flex: 1;
}
.wizard-step-circle {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all var(--t-normal);
  border: 2px solid var(--grey-300);
  color: var(--grey-400);
  background: var(--white);
}
.wizard-step.completed .wizard-step-circle { background: var(--success); border-color: var(--success); color: var(--white); }
.wizard-step.active .wizard-step-circle { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wizard-step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-400);
  white-space: nowrap;
  margin-left: var(--sp-2);
}
.wizard-step.active .wizard-step-label { color: var(--navy); font-weight: 600; }
.wizard-step.completed .wizard-step-label { color: var(--success); }
.wizard-step-line {
  flex: 1;
  height: 2px;
  background: var(--grey-200);
  margin: 0 var(--sp-2);
  min-width: var(--sp-4);
}
.wizard-step.completed .wizard-step-line { background: var(--success); }

/* ── SEARCH BAR ──────────────────────────────────────────── */
.search-box {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--grey-200);
}
.search-tab {
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--t-fast);
}
.search-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.search-fields {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0;
  padding: var(--sp-4);
  align-items: end;
}
.search-field {
  padding: 0 var(--sp-4);
  border-right: 1px solid var(--grey-200);
}
.search-field:first-child { padding-left: 0; }
.search-field-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-500); margin-bottom: 4px; }
.search-field input, .search-field select {
  border: none; outline: none;
  font-size: 0.95rem;
  color: var(--grey-800);
  background: transparent;
  width: 100%;
  padding: 0.25rem 0;
}

/* ── VERIFICATION TIERS ──────────────────────────────────── */
.tier-card {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  border: 2px solid transparent;
  text-align: center;
  transition: all var(--t-normal);
  cursor: pointer;
}
.tier-card:hover { transform: translateY(-4px); }
.tier-basic    { background: var(--grey-50);  border-color: var(--grey-200); }
.tier-enhanced { background: #EEF3FF;          border-color: var(--navy-light); }
.tier-premium  { background: linear-gradient(135deg, #FFF8E8, #FFF3D0); border-color: var(--gold); }
.tier-icon { font-size: 2.5rem; margin-bottom: var(--sp-3); }
.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: var(--sp-3) 0;
}

/* ── COOKIE BANNER ───────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--grey-900);
  color: var(--white);
  z-index: var(--z-toast);
  transform: translateY(100%);
  transition: transform var(--t-slow);
}
#cookie-banner.show { transform: none; }
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: 0.88rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideRight {
  from { transform: translateX(-20px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.animate-fade-up { animation: fadeUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ── RESPONSIVE UTILITIES ────────────────────────────────── */
@media (max-width: 1024px) {
  .portal-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; position: fixed; z-index: var(--z-sticky); height: 100vh; top: 0; }
  .portal-sidebar.open { display: block; }
  .portal-main { padding: var(--sp-5); }
  .search-fields { grid-template-columns: 1fr; }
  .search-field { border-right: none; border-bottom: 1px solid var(--grey-200); padding: var(--sp-3) 0; }
  .modal { max-width: 100%; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  #toast-container { left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); }
  .toast { min-width: auto; max-width: 100%; }
  .wizard-step-label { display: none; }
}
@media (max-width: 480px) {
  :root { --sp-6: 1.25rem; }
  .btn-xl { padding: 0.9rem 2rem; font-size: 0.95rem; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .no-print { display: none !important; }
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--grey-100); }
::-webkit-scrollbar-thumb { background: var(--grey-300); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--grey-400); }
