/* ============================================================
   MAS HANDELS GMBH — Design System
   Premium European Corporate Identity
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --purple:       #35107D;
  --purple-mid:   #4A1FA8;
  --purple-light: #6B3FD4;
  --purple-pale:  #EDE8F8;
  --blue:         #2E428F;
  --blue-mid:     #3D58B8;
  --blue-pale:    #E8EDF8;
  --orange:       #FF7A1A;
  --orange-deep:  #E86400;
  --orange-pale:  #FFF0E6;

  /* Neutrals */
  --bg:           #F5F6F8;
  --surface:      #FFFFFF;
  --surface-2:    #F0F1F5;
  --border:       #E2E5EE;
  --border-dark:  #C8CCDA;
  --text:         #111827;
  --text-mid:     #374151;
  --muted:        #6B7280;
  --muted-light:  #9CA3AF;

  /* Semantic */
  --success:      #059669;
  --warning:      #D97706;
  --danger:       #DC2626;
  --info:         #0284C7;

  /* Type */
--font-head: 'Montserrat', sans-serif;
--font-body:    'DM Sans', sans-serif;

  /* Shadows */
  --shadow-xs:    0 1px 3px rgba(53,16,125,.06);
  --shadow-sm:    0 4px 16px rgba(53,16,125,.08);
  --shadow-md:    0 8px 32px rgba(53,16,125,.12);
  --shadow-lg:    0 16px 56px rgba(53,16,125,.16);
  --shadow-xl:    0 32px 80px rgba(53,16,125,.2);

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

  /* Transitions */
  --ease: cubic-bezier(.16,1,.3,1);
  --t-fast: .15s var(--ease);
  --t-base: .25s var(--ease);
  --t-slow: .4s var(--ease);
}

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

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section.compact { padding: 4rem 0; }
.bg-white  { background: var(--surface); }
.bg-light  { background: var(--bg); }
.bg-dark   { background: var(--purple); color: #fff; }
.bg-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: #fff;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--purple);
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-mark {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo-text { line-height: 1.15; }
.nav-logo-text small {
  display: block;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links li a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: .45rem .85rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
  letter-spacing: .01em;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--purple);
  background: var(--purple-pale);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  margin-left: auto;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  padding: .6rem 1.4rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--purple);
  transition: background var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  letter-spacing: .01em;
}
.btn-primary:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  box-shadow: 0 4px 20px rgba(53,16,125,.3);
  transform: translateY(-1px);
}
.btn-primary.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
}
.btn-primary.btn-orange:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  box-shadow: 0 4px 20px rgba(255,122,26,.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--purple);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  padding: .6rem 1.4rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--border-dark);
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
  letter-spacing: .01em;
}
.btn-outline:hover {
  border-color: var(--purple);
  background: var(--purple-pale);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--purple);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  padding: .6rem 1.4rem;
  border-radius: var(--r-sm);
  border: 2px solid #fff;
  transition: all var(--t-base);
}
.btn-white:hover {
  background: var(--orange-pale);
  border-color: var(--orange);
  color: var(--orange-deep);
}
.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: var(--r-md); }
.btn-sm { padding: .4rem 1rem; font-size: .8rem; }
.btn-icon { width: 38px; height: 38px; padding: 0; justify-content: center; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.15; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}
.page-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.body-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  background: var(--surface);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(53,16,125,.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(46,66,143,.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-geo {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(53,16,125,.07), rgba(46,66,143,.05));
  pointer-events: none;
}
.hero-geo-2 {
  position: absolute;
  right: 60px;
  top: 100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,122,26,.06), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange-pale);
  color: var(--orange-deep);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,122,26,.2);
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--purple); }
.hero-title .accent-orange { color: var(--orange); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.hero-stat .num span { color: var(--orange); }
.hero-stat .lbl {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .2rem;
  font-weight: 500;
}

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(53,16,125,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── CARDS ───────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.cards-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.cards-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(53,16,125,.15);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all var(--t-base);
}
.feature-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 1.25rem;
  transition: background var(--t-base);
}
.feature-card:hover .feature-icon {
  background: var(--purple);
  color: #fff;
}
.feature-icon.orange { background: var(--orange-pale); color: var(--orange); }
.feature-card:hover .feature-icon.orange { background: var(--orange); color: #fff; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.feature-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── VALUE CARDS ─────────────────────────────────────────── */
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.value-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--purple);
  transition: width var(--t-base);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-card:hover::before { width: 6px; background: var(--orange); }
.value-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: .75rem;
  letter-spacing: -.04em;
}
.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.value-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── VISION GRID ─────────────────────────────────────────── */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vision-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--t-base);
}
.vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(53,16,125,.2);
}
.vision-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--purple-pale), var(--blue-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin: 0 auto 1.25rem;
}
.vision-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.vision-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── ABOUT GRID ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--purple-pale), var(--blue-pale));
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,122,26,.12);
}
.about-logo-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.about-logo-banner svg { flex-shrink: 0; width: 28px; height: 28px; opacity: .8; }
.about-logo-inner { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.about-logo-inner em {
  display: block;
  font-style: normal;
  font-size: .75rem;
  font-weight: 400;
  font-family: var(--font-body);
  opacity: .75;
  margin-top: .1rem;
}

/* ── LISTING CARDS ───────────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
}
.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(53,16,125,.15);
}
.listing-photo {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--muted-light);
}
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: var(--r-full);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.listing-badge.sale { background: var(--purple); color: #fff; }
.listing-badge.purchase { background: var(--orange); color: #fff; }
.listing-body { padding: 1.25rem; }
.listing-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .6rem;
  font-size: .78rem;
  color: var(--muted);
}
.listing-meta span { display: flex; align-items: center; gap: .3rem; }
.listing-meta svg { width: 14px; height: 14px; }
.listing-desc { font-size: .82rem; color: var(--muted); margin-bottom: .75rem; line-height: 1.55; }
.listing-price {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--purple);
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,122,26,.08);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}
.cta-inner .eyebrow { color: rgba(255,255,255,.6); }
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.cta-inner p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BRAND BANNER ────────────────────────────────────────── */
.brand-banner {
  background: linear-gradient(135deg, var(--purple), var(--blue-mid));
  border-radius: var(--r-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}
.brand-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,122,26,.1);
}
.brand-banner-graphic {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
}
.brand-banner-graphic svg { width: 40px; height: 40px; }
.brand-banner-body { flex: 1; position: relative; z-index: 1; }
.brand-banner-body h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .6rem;
}
.brand-banner-body p { color: rgba(255,255,255,.75); margin-bottom: 1.25rem; font-size: .95rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #0C0619;
  color: rgba(255,255,255,.75);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-top: 1rem;
  max-width: 280px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; display: inline-flex; }
.footer-brand .nav-logo small { color: rgba(255,255,255,.45); }
footer h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.25rem;
}
footer ul { display: flex; flex-direction: column; gap: .6rem; }
footer ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t-fast);
}
footer ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { color: var(--orange-deep); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(53,16,125,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  font-size: .875rem;
  border: 1px solid transparent;
  display: none;
  margin-bottom: 1rem;
}
.alert.show { display: block; }
.alert-error   { background: #FEF2F2; border-color: #FECACA; color: var(--danger); }
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-purple  { background: var(--purple-pale); color: var(--purple); }
.badge-orange  { background: var(--orange-pale); color: var(--orange-deep); }
.badge-green   { background: #ECFDF5; color: var(--success); }
.badge-red     { background: #FEF2F2; color: var(--danger); }
.badge-gray    { background: var(--surface-2); color: var(--muted); }

/* ── SPINNER ─────────────────────────────────────────────── */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .6s linear infinite;
  vertical-align: middle;
  margin-right: .4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── DIVIDER ─────────────────────────────────────────────── */
hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ── TRUSTED BRANDS ──────────────────────────────────────── */
.brands-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.brands-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.brands-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-light);
  white-space: nowrap;
}
.brand-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
  padding: .4rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}
.brand-pill:hover { color: var(--purple); border-color: var(--purple); background: var(--purple-pale); }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}
.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon.orange { background: var(--orange-pale); color: var(--orange); }
.contact-item h4 { font-size: .85rem; font-weight: 600; color: var(--text-mid); margin-bottom: .15rem; }
.contact-item p { font-size: .9rem; color: var(--muted); }
.contact-item a { color: var(--purple); font-weight: 500; }
.contact-item a:hover { color: var(--orange); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}
.contact-form-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.contact-form-card .sub { font-size: .875rem; color: var(--muted); margin-bottom: 1.75rem; }

/* ── PORTAL / AUTH ───────────────────────────────────────── */
.portal-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.portal-wrap::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(53,16,125,.06), transparent 70%);
  pointer-events: none;
}
.portal-wrap::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,122,26,.05), transparent 70%);
  pointer-events: none;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.auth-card-header {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.auth-card-header::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.auth-card-header .brand-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto .75rem;
  position: relative;
  z-index: 1;
}
.auth-card-header h1 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .3rem;
  position: relative;
  z-index: 1;
}
.auth-card-header p { color: rgba(255,255,255,.7); font-size: .875rem; position: relative; z-index: 1; }
.auth-card-body { padding: 2.5rem; }
.auth-tabs {
  display: flex;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  padding: .25rem;
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: .55rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--t-fast);
  color: var(--muted);
  border: none;
  background: none;
  font-family: var(--font-body);
}
.auth-tab.active {
  background: var(--surface);
  color: var(--purple);
  box-shadow: var(--shadow-xs);
}

/* ── DASHBOARD ───────────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dash-sidebar {
  background: var(--purple);
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.dash-sidebar-logo {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.dash-sidebar-logo .nav-logo { color: #fff; }
.dash-sidebar-logo .nav-logo small { color: rgba(255,255,255,.45); }
.dash-nav { padding: 1rem 0; flex: 1; }
.dash-nav-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: .75rem 1.5rem .25rem;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.5rem;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.dash-nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.dash-nav-item.active { color: #fff; background: rgba(255,255,255,.15); }
.dash-nav-item .dash-icon { flex-shrink: 0; }
.dash-nav-badge {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: var(--r-full);
}

.dash-main { background: var(--bg); overflow-y: auto; }
.dash-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.dash-topbar h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
}
.dash-topbar-right { display: flex; align-items: center; gap: 1rem; }

.dash-content { padding: 2rem; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.stat-card .stat-label { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.stat-card .stat-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: .25rem 0 .1rem;
  line-height: 1;
}
.stat-card .stat-sub { font-size: .78rem; color: var(--muted-light); }
.stat-card .stat-icon {
  float: right;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2.5rem;
}
.stat-card .stat-icon.purple { background: var(--purple-pale); color: var(--purple); }
.stat-card .stat-icon.orange { background: var(--orange-pale); color: var(--orange); }
.stat-card .stat-icon.blue   { background: var(--blue-pale); color: var(--blue); }
.stat-card .stat-icon.green  { background: #ECFDF5; color: var(--success); }

.dash-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.dash-panel-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-panel-header h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
}
.dash-panel-body { padding: 1.5rem; }

/* ── TABLE ───────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.data-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }
.data-table .actions { display: flex; gap: .5rem; }
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-light);
  font-size: .875rem;
}
.empty-state svg { margin: 0 auto 1rem; opacity: .4; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.four-col { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 3rem; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: .25rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .hero { padding: 4rem 0 3rem; }
  .hero-meta { gap: 1.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .vision-grid, .cards-grid, .listings-grid { grid-template-columns: 1fr; }
  .cards-grid.two-col { grid-template-columns: 1fr; }
  .brand-banner { flex-direction: column; gap: 1.5rem; padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { height: auto; position: static; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .dash-grid { grid-template-columns: 1fr; }
}
