/* ================================================================
   LUANDA IMÓVEIS — DESIGN SYSTEM v2.0 MASTER
   Paleta: Navy #0D2247 · Gold #B8952A · White #FFFFFF
   Tipografia: Cormorant Garamond (display) + DM Sans (corpo)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0D2247;
  --navy-80:     rgba(13,34,71,.80);
  --navy-light:  #163366;
  --navy-dark:   #081630;
  --gold:        #B8952A;
  --gold-light:  #D4AF50;
  --gold-pale:   #F5E9C4;
  --gold-10:     rgba(184,149,42,.10);

  /* Neutral */
  --white:       #FFFFFF;
  --off-white:   #F8F6F1;
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-600:    #4B5563;
  --gray-700:    #374151;
  --gray-800:    #1F2937;
  --gray-900:    #111827;

  /* Semantic */
  --success:     #10B981;
  --warning:     #F59E0B;
  --error:       #EF4444;
  --info:        #3B82F6;

  /* Shadows */
  --sh-xs:  0 1px 3px rgba(0,0,0,.06);
  --sh-sm:  0 2px 8px rgba(13,34,71,.08);
  --sh-md:  0 6px 24px rgba(13,34,71,.12);
  --sh-lg:  0 16px 48px rgba(13,34,71,.16);
  --sh-xl:  0 24px 64px rgba(13,34,71,.20);
  --sh-gold:0 4px 24px rgba(184,149,42,.30);

  /* Geometry */
  --r-xs: 6px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Motion */
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur:         .26s;
  --dur-slow:    .44s;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--gray-800); line-height: 1.65; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 99px; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.container--sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--sm { padding: 60px 0; }
.section--lg { padding: 112px 0; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease); white-space: nowrap;
  font-size: .9rem; letter-spacing: .02em; font-family: var(--font-body);
  padding: 11px 22px;
}
.btn--gold { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--sh-gold); }
.btn--navy { background: var(--navy); color: white; }
.btn--navy:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn--outline { border: 2px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: white; }
.btn--outline-white { border: 2px solid rgba(255,255,255,.6); color: white; }
.btn--outline-white:hover { background: white; color: var(--navy); }
.btn--ghost { color: var(--gray-600); }
.btn--ghost:hover { background: var(--gray-100); color: var(--navy); }
.btn--sm { padding: 7px 16px; font-size: .82rem; }
.btn--lg { padding: 15px 32px; font-size: 1.02rem; }
.btn--xl { padding: 17px 40px; font-size: 1.08rem; }
.btn--full { width: 100%; }
.btn--green  { background: var(--success); color: white; }
.btn--red    { background: var(--error);   color: white; }

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.7rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,.55); }
.wa-float__tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--gray-900); color: white;
  padding: 6px 14px; border-radius: var(--r-xs);
  font-size: .78rem; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.wa-float__tip::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--gray-900); border-right: 0;
}
.wa-float:hover .wa-float__tip { opacity: 1; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; transition: background var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.navbar.is-transparent { background: transparent; }
.navbar.is-solid {
  background: rgba(8,22,48,.97);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.navbar__inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 24px; }
.navbar__logo { flex-shrink: 0; }
.navbar__logo img { height: 52px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.navbar__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navbar__link {
  color: rgba(255,255,255,.82); padding: 8px 13px; border-radius: var(--r-xs);
  font-size: .875rem; font-weight: 500; transition: all var(--dur) var(--ease);
}
.navbar__link:hover, .navbar__link.is-active { color: var(--gold-light); background: rgba(255,255,255,.07); }
.navbar__actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 9001;
}
.navbar__hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all var(--dur) var(--ease); }
.navbar__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar__mobile {
  display: none; position: fixed; inset: 0;
  background: rgba(8,22,48,.98); backdrop-filter: blur(20px);
  flex-direction: column; justify-content: center; align-items: center;
  gap: 8px; z-index: 999;
}
.navbar__mobile.is-open { display: flex; }
.navbar__mobile .navbar__link { font-size: 1.2rem; padding: 14px 28px; }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.sec-header { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-header--center { flex-direction: column; align-items: center; text-align: center; }
.sec-tag {
  background: var(--gold-pale); color: var(--gold);
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.sec-tag--dark { background: rgba(184,149,42,.15); color: var(--gold-light); }
.sec-title {
  font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem);
  font-weight: 700; color: var(--navy); flex: 1; letter-spacing: -.01em; line-height: 1.18;
}
.sec-title--white { color: white; }
.sec-link { display: flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: .875rem; transition: gap var(--dur) var(--ease); margin-left: auto; white-space: nowrap; }
.sec-link:hover { gap: 10px; }

/* ── BADGES / CHIPS ─────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: var(--r-full); font-size: .73rem; font-weight: 700; }
.chip--navy    { background: var(--navy); color: white; }
.chip--gold    { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy-dark); }
.chip--green   { background: rgba(16,185,129,.12); color: var(--success); }
.chip--orange  { background: rgba(245,158,11,.12);  color: var(--warning); }
.chip--red     { background: rgba(239,68,68,.12);    color: var(--error);   }
.chip--gray    { background: var(--gray-100);        color: var(--gray-600); }

/* ── PROPERTY CARD ──────────────────────────────────────────── */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 26px; }
.prop-card {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: block; position: relative;
}
.prop-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); }
.prop-card__img { position: relative; height: 230px; overflow: hidden; }
.prop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.prop-card:hover .prop-card__img img { transform: scale(1.07); }
.prop-card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.prop-card__premium { position: absolute; top: 14px; right: 14px; }
.prop-card__id { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,.6); color: rgba(255,255,255,.9); padding: 3px 9px; border-radius: 5px; font-size: .68rem; font-family: var(--font-mono); }
.prop-card__body { padding: 18px 20px; }
.prop-card__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.prop-card__period { font-size: .8rem; color: var(--gray-400); font-family: var(--font-body); font-weight: 400; }
.prop-card__area { font-size: .75rem; color: var(--gray-400); font-weight: 400; margin-left: auto; }
.prop-card__title { font-size: .95rem; font-weight: 600; color: var(--gray-800); margin-bottom: 7px; line-height: 1.35; }
.prop-card__loc { display: flex; align-items: center; gap: 6px; color: var(--gray-400); font-size: .82rem; margin-bottom: 13px; }
.prop-card__loc i { color: var(--gold); font-size: .82rem; }
.prop-card__feats { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.prop-feat { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--gray-600); }
.prop-feat i { color: var(--navy); font-size: .78rem; }
.prop-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 11px 20px; background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.agent-mini { display: flex; align-items: center; gap: 8px; }
.agent-mini__av { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: .67rem; font-weight: 700; }
.agent-mini__name { font-size: .77rem; color: var(--gray-600); font-weight: 500; }
.prop-views { font-size: .77rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }

/* ── CATEGORY CARDS ─────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; }
.cat-card { background: var(--off-white); border: 2px solid transparent; border-radius: var(--r); padding: 26px 16px; text-align: center; transition: all var(--dur) var(--ease); cursor: pointer; }
.cat-card:hover { border-color: var(--gold); background: white; transform: translateY(-4px); box-shadow: var(--sh-md); }
.cat-card__icon { width: 54px; height: 54px; background: linear-gradient(135deg,var(--navy),var(--navy-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--gold-light); font-size: 1.2rem; transition: background var(--dur) var(--ease); }
.cat-card:hover .cat-card__icon { background: var(--gold); color: white; }
.cat-card h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.cat-card span { font-size: .76rem; color: var(--gray-400); }

/* ── PARTNER CARD ───────────────────────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; }
.partner-card { border: 2px solid var(--gray-200); border-radius: var(--r); padding: 22px 16px; text-align: center; background: white; transition: all var(--dur) var(--ease); }
.partner-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); transform: translateY(-3px); }
.partner-card__logo { width: 58px; height: 58px; border-radius: 12px; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 12px; }
.partner-card__name { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: .95rem; }
.partner-card__count { font-size: .78rem; color: var(--gray-400); margin-bottom: 10px; }

/* ── STEP CARDS ─────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 22px; }
.step-card { background: white; border-radius: var(--r-lg); padding: 32px 24px; position: relative; overflow: hidden; transition: all var(--dur) var(--ease); box-shadow: var(--sh-xs); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step-card__num { position: absolute; top: 12px; right: 18px; font-family: var(--font-display); font-size: 3.8rem; font-weight: 900; color: var(--gray-100); line-height: 1; pointer-events: none; }
.step-card__icon { width: 50px; height: 50px; background: linear-gradient(135deg,var(--navy),var(--navy-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 1.15rem; margin-bottom: 16px; }
.step-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ── TESTIMONIAL CARDS ──────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; }
.testi-card { background: var(--off-white); border-radius: var(--r-lg); padding: 28px; border: 2px solid transparent; transition: all var(--dur) var(--ease); }
.testi-card:hover { border-color: var(--gold); background: white; }
.testi-card__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testi-card__text { color: var(--gray-600); font-size: .92rem; line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testi-card__author { display: flex; align-items: center; gap: 12px; }
.testi-card__av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.testi-card__author strong { display: block; color: var(--navy); font-size: .92rem; }
.testi-card__author span { color: var(--gray-400); font-size: .77rem; }

/* ── PLAN CARDS ─────────────────────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.plan-card { background: white; border-radius: var(--r-lg); padding: 38px 28px; border: 2px solid var(--gray-200); text-align: center; position: relative; transition: all var(--dur) var(--ease); }
.plan-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--sh-lg); }
.plan-card--popular { border-color: var(--gold); box-shadow: var(--sh-gold); }
.plan-card__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--gold),var(--gold-light)); color: var(--navy-dark); padding: 5px 20px; border-radius: var(--r-full); font-size: .75rem; font-weight: 800; white-space: nowrap; letter-spacing: .04em; }
.plan-card__name { font-family: var(--font-display); font-size: 1.45rem; color: var(--navy); margin-bottom: 6px; }
.plan-card__sub { font-size: .78rem; color: var(--gray-400); margin-bottom: 16px; }
.plan-card__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.plan-card__price small { font-size: .82rem; color: var(--gray-400); font-family: var(--font-body); font-weight: 400; }
.plan-card__period { font-size: .8rem; color: var(--gray-400); margin: 6px 0 26px; }
.plan-card__features { text-align: left; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-card__features li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--gray-600); }
.plan-card__features li i { color: var(--success); font-size: .82rem; margin-top: 2px; flex-shrink: 0; }
.plan-card__features li.no i { color: var(--gray-300); }
.plan-card__features li.no { color: var(--gray-300); }

/* ── FORM ───────────────────────────────────────────────────── */
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.form-input, .form-select, .form-textarea {
  border: 1.5px solid var(--gray-200); border-radius: var(--r-sm);
  padding: 12px 16px; font-family: var(--font-body); font-size: .9rem;
  color: var(--gray-800); background: var(--gray-50); outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); background: white; }
.form-textarea { resize: vertical; min-height: 120px; }

/* ── AUTH CARD ──────────────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,var(--navy-dark),var(--navy)); padding: 24px; }
.auth-card { background: white; border-radius: var(--r-xl); padding: 52px 44px; width: 100%; max-width: 460px; box-shadow: var(--sh-xl); }
.auth-logo { display: flex; justify-content: center; margin-bottom: 30px; }
.auth-logo img { height: 76px; width: auto; }
.auth-title { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--gray-400); font-size: .875rem; margin-bottom: 30px; }
.auth-footer { text-align: center; margin-top: 22px; font-size: .855rem; color: var(--gray-400); }
.auth-footer a { color: var(--navy); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--gray-400); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* ── DASHBOARD LAYOUT ───────────────────────────────────────── */
.dash-layout { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.dash-sidebar { background: var(--navy-dark); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.dash-sidebar::-webkit-scrollbar { width: 3px; }
.dash-brand { padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dash-brand img { height: 44px; filter: brightness(0) invert(1); }
.dash-section { padding: 12px 0; }
.dash-section-label { padding: 8px 20px; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.28); }
.dash-item { display: flex; align-items: center; gap: 11px; padding: 10px 20px; color: rgba(255,255,255,.58); font-size: .875rem; cursor: pointer; transition: all var(--dur) var(--ease); border-left: 3px solid transparent; }
.dash-item:hover { background: rgba(255,255,255,.05); color: white; border-left-color: rgba(184,149,42,.5); }
.dash-item.is-active { background: rgba(184,149,42,.1); color: var(--gold-light); border-left-color: var(--gold); }
.dash-item i { width: 17px; text-align: center; font-size: .88rem; }
.dash-badge { margin-left: auto; background: var(--error); color: white; font-size: .66rem; font-weight: 800; padding: 2px 7px; border-radius: var(--r-full); }
.dash-badge--gold { background: var(--gold); color: var(--navy-dark); }
.dash-user { padding: 20px; border-top: 1px solid rgba(255,255,255,.07); margin-top: auto; }
.dash-av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; }
.dash-main { display: flex; flex-direction: column; background: var(--gray-50); }
.dash-topbar { background: white; height: 64px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; box-shadow: var(--sh-xs); }
.dash-content { padding: 28px; flex: 1; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px,1fr)); gap: 18px; margin-bottom: 28px; }
.kpi-card { background: white; border-radius: var(--r); padding: 22px; box-shadow: var(--sh-xs); border-top: 4px solid var(--gray-200); }
.kpi-card--gold   { border-top-color: var(--gold); }
.kpi-card--green  { border-top-color: var(--success); }
.kpi-card--navy   { border-top-color: var(--navy); }
.kpi-card--red    { border-top-color: var(--error); }
.kpi-card--purple { border-top-color: #8B5CF6; }
.kpi-card--orange { border-top-color: var(--warning); }
.kpi-icon { font-size: 1.3rem; margin-bottom: 10px; }
.kpi-card--gold   .kpi-icon { color: var(--gold); }
.kpi-card--green  .kpi-icon { color: var(--success); }
.kpi-card--navy   .kpi-icon { color: var(--navy); }
.kpi-card--red    .kpi-icon { color: var(--error); }
.kpi-card--purple .kpi-icon { color: #8B5CF6; }
.kpi-card--orange .kpi-icon { color: var(--warning); }
.kpi-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.kpi-label { font-size: .78rem; color: var(--gray-400); margin-top: 5px; }
.kpi-trend { font-size: .73rem; margin-top: 8px; color: var(--success); }

/* ── PANEL ──────────────────────────────────────────────────── */
.panel { background: white; border-radius: var(--r); box-shadow: var(--sh-xs); overflow: hidden; margin-bottom: 22px; }
.panel__head { padding: 18px 22px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.panel__title { font-weight: 700; color: var(--navy); font-size: .92rem; display: flex; align-items: center; gap: 8px; }

/* ── DATA TABLE ─────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--gray-50); color: var(--gray-500); padding: 11px 16px; text-align: left; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--gray-200); }
.data-table td { padding: 13px 16px; font-size: .875rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }
.data-table a { color: var(--navy); font-weight: 600; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--navy-dark); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__desc { color: rgba(255,255,255,.48); font-size: .855rem; line-height: 1.75; max-width: 270px; margin-bottom: 22px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.07); color: rgba(255,255,255,.62); display: flex; align-items: center; justify-content: center; font-size: .88rem; transition: all var(--dur) var(--ease); }
.footer__social:hover { background: var(--gold); color: var(--navy-dark); }
.footer__col h4 { color: var(--gold-light); font-weight: 700; margin-bottom: 18px; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { color: rgba(255,255,255,.48); font-size: .855rem; transition: all var(--dur) var(--ease); }
.footer__col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__contact { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.48); font-size: .855rem; }
.footer__contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer__contact a { color: rgba(255,255,255,.48); transition: color var(--dur) var(--ease); }
.footer__contact a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__copy { color: rgba(255,255,255,.28); font-size: .8rem; }
.footer__bottom-links { display: flex; gap: 22px; }
.footer__bottom-links a { color: rgba(255,255,255,.28); font-size: .8rem; transition: color var(--dur) var(--ease); }
.footer__bottom-links a:hover { color: var(--gold-light); }

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 100%); padding: 136px 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:56px; background:var(--off-white); clip-path:ellipse(55% 100% at 50% 100%); }
.page-hero__title { font-family: var(--font-display); font-size: clamp(1.9rem,4vw,3rem); color: white; margin-bottom: 10px; letter-spacing: -.01em; }
.page-hero__sub { color: rgba(255,255,255,.62); font-size: .98rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: .82rem; color: rgba(255,255,255,.46); }
.breadcrumb a { color: var(--gold-light); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: white; }

/* ── FILTER BAR ─────────────────────────────────────────────── */
.filter-bar { background: white; border-radius: var(--r-xl); padding: 24px; margin: -28px auto 44px; max-width: 1100px; box-shadow: var(--sh-lg); position: relative; z-index: 10; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.filter-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 136px; }
.filter-label { font-size: .73rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; }

/* ── UTILITIES ──────────────────────────────────────────────── */
.fade-in  { animation: fadeUp .55s var(--ease) both; }
.fade-in-2{ animation: fadeUp .55s .1s var(--ease) both; }
.fade-in-3{ animation: fadeUp .55s .2s var(--ease) both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)} }
.verified { display: inline-flex; align-items: center; gap: 4px; background: rgba(16,185,129,.1); color: var(--success); padding: 3px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 700; }
.text-navy  { color: var(--navy); }
.text-gold  { color: var(--gold); }
.text-gray  { color: var(--gray-400); }
.fw-700 { font-weight: 700; }
.font-display { font-family: var(--font-display); }
.d-flex { display: flex; align-items: center; gap: 10px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:1100px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:900px) { .dash-layout { grid-template-columns: 1fr; } .dash-sidebar { display: none; } }
@media(max-width:768px) {
  .section { padding: 56px 0; }
  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__actions .btn--outline-white { display: none; }
  .prop-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .filter-row { flex-direction: column; }
  .auth-card { padding: 36px 24px; }
  .page-hero { padding: 120px 0 56px; }
}
@media(max-width:480px) {
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .plans-grid { grid-template-columns: 1fr; }
}