/* ============================================
   MOREL CONSTRUCCIONES — Variables globales
   ============================================ */

:root {
  /* Colores */
  --color-bg:          #0d0d0d;
  --color-bg-2:        #111111;
  --color-bg-3:        #181818;
  --color-surface:     #1e1e1e;
  --color-border:      rgba(255,255,255,0.08);
  --color-border-gold: rgba(196,160,80,0.3);

  --color-gold:        #c4a050;
  --color-gold-light:  #d9b86a;
  --color-gold-dim:    rgba(196,160,80,0.12);

  --color-text:        #e8e4db;
  --color-text-muted:  #8a8278;
  --color-text-dim:    #555048;

  --color-white:       #ffffff;
  --color-black:       #000000;

  --color-whatsapp:    #25D366;

  /* Overlays y gradientes dinámicos */
  --color-hero-grad-start: #0d0d0d;
  --color-hero-grad-mid: #111111;
  --color-hero-grad-end: #0a0a0a;
  --color-overlay-dark: rgba(10,10,10,0.95);
  --color-overlay-light: rgba(10,10,10,0.2);
  --color-nav-bg: rgba(10,10,10,0.92);
}

[data-theme="light"] {
  --color-bg:          #f7f5f0;
  --color-bg-2:        #f0ece4;
  --color-bg-3:        #e8e3d8;
  --color-surface:     #ffffff;
  --color-border:      rgba(0,0,0,0.08);
  --color-border-gold: rgba(196,160,80,0.4);

  --color-text:        #1a1a1a;
  --color-text-muted:  #5c574f;
  --color-text-dim:    #8a8278;

  --color-hero-grad-start: #f7f5f0;
  --color-hero-grad-mid: #f0ece4;
  --color-hero-grad-end: #e8e3d8;
  --color-overlay-dark: rgba(247,245,240,0.95);
  --color-overlay-light: rgba(247,245,240,0.3);
  --color-nav-bg: rgba(247,245,240,0.92);
}

:root {
  /* Tipografías */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Escalas tipográficas */
  --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:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;
  --text-6xl:  5rem;

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

  /* Radios */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 30px rgba(196,160,80,0.15);

  /* Transiciones */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   150ms;
  --duration-base:   300ms;
  --duration-slow:   600ms;
  --duration-slower: 900ms;

  /* Layout */
  --container-max: 1200px;
  --nav-height:    72px;
  --section-py:    var(--space-24);
}

@media (max-width: 768px) {
  :root {
    --text-4xl:  2rem;
    --text-5xl:  2.75rem;
    --text-6xl:  3.25rem;
    --section-py: var(--space-16);
    --nav-height: 64px;
  }
}
