/* ═══════════════════════════════════════════════
   BLACKMAMBA INMUEBLES — Design System
   Navy + Gold · Editorial · 2026
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;450;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────── */
:root {
  /* Brand */
  --color-navy: #1A2744;
  --color-navy-dark: #0F1A2E;
  --color-navy-light: #243356;
  --color-navy-surface: #162033;
  --color-gold: #C8A45C;
  --color-gold-light: #D4B76E;
  --color-gold-dark: #A88840;

  /* Neutrals */
  --color-white: #FAFAFA;
  --color-offwhite: #E8E6E1;
  --color-gray-light: #9CA3AF;
  --color-gray-mid: #6B7280;
  --color-gray-dark: #374151;

  /* Semantic */
  --color-error: #EF4444;
  --color-success: #22C55E;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: 7.5rem;

  /* Layout */
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ── Reset ────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--color-navy-dark);
  color: var(--color-white);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  background: var(--color-navy-dark);
  overflow-x: hidden;
}

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-7xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }

p { line-height: 1.7; }

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-gold-light); }

::selection {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

/* ── Layout ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

/* ── Utility ──────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-navy-dark); }
::-webkit-scrollbar-thumb {
  background: var(--color-navy-light);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --text-7xl: 3.5rem;
    --text-5xl: 2.25rem;
    --text-3xl: 1.5rem;
    --space-section: 5rem;
  }
  .container { padding: 0 var(--space-lg); }
}

@media (max-width: 768px) {
  :root {
    --text-7xl: 2.75rem;
    --text-5xl: 1.875rem;
    --text-3xl: 1.375rem;
    --space-section: 3.5rem;
  }
  .container { padding: 0 var(--space-md); }
}
