/**
 * 🎨 PORTAL INMOBILIARIO DOMIA - DESIGN TOKENS
 * Motor Camaleón: Estas variables se adaptan dinámicamente según la agencia.
 */
:root {
    /* 🏛️ PALETA DE MARCA CAMALEÓNICA (Inyectada dinámicamente por Chameleon Engine) */
    --brand-primary: #182942;           /* Azul Noche Profundo / Lujo Sobrio */
    --brand-primary-rgb: 24, 41, 66;
    --brand-primary-dark: #0f1d30;
    --brand-primary-deep: #0c1118;      /* Tono nocturno derivado para Drawer, Footer y Overlays */
    --brand-primary-deep-rgb: 12, 17, 24;
    --brand-primary-surface: #f8fafc;   /* Tint sutil para tarjetas y superficies (60%) */
    --brand-primary-light: #e2e8f0;
    --brand-primary-ink: #182942;       /* Tinta del primario garantizada WCAG AA sobre lienzo claro (30%) */
    --brand-primary-contrast: #FFFFFF;  /* Blanco o carbón garantizado por luminancia WCAG sobre --brand-primary */
    --brand-primary-navbar-text: #FFFFFF;
    --brand-primary-overlay: rgba(12, 17, 24, 0.88);

    --brand-accent: #C2673D;            /* Terracota / Bronce Cálido (10% Exclusivo) */
    --brand-accent-rgb: 194, 103, 61;
    --brand-accent-hover: #A8542E;
    --brand-accent-ink: #9A4823;        /* Tinta del acento legible WCAG AA sobre fondo claro */
    --brand-accent-contrast: #FFFFFF;   /* Texto garantizado WCAG sobre botones/insignias con fondo --brand-accent */
    --brand-accent-light: rgba(194, 103, 61, 0.12);
    --brand-secondary: #334155;         /* Slate Neutro */

    /* 📄 FONDOS & SUPERFICIES (Editorial "Menos es Más") */
    --bg-canvas: #FAFAF8;               /* Lino / Blanco Cálido */
    --bg-surface: #FFFFFF;              /* Blanco Puro */
    --bg-muted: #F3F4F1;                /* Gris Cálido Suave */
    --bg-overlay: var(--brand-primary-overlay);

    /* ✍️ TIPOGRAFÍA EDITORIAL */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;

    /* 🔤 JERARQUÍA DE TEXTO */
    --text-primary: #0F172A;            /* Negro Azabache Suave */
    --text-secondary: #475569;          /* Gris Medio */
    --text-muted: #94A3B8;              /* Gris Atenuado */
    --text-inverse: #FFFFFF;

    /* 📐 BORDES & RADIOS */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --border-subtle: 1px solid rgba(15, 23, 42, 0.08);
    --border-focus: 1px solid var(--brand-accent);

    /* ☁️ SOMBRAS EDITORIALES SUAVES */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    --shadow-elevated: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --shadow-float: 0 20px 40px -8px rgba(0, 0, 0, 0.12);

    /* ⏱️ TRANSICIONES */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* 📐 CONTENEDORES & ESPACIADO */
    --container-max: 1240px;
    --container-narrow: 960px;
    --container-padding: clamp(1rem, 4vw, 2.5rem);
    --navbar-height: 76px;
}
