/* --- Mar y Selva — Design Tokens --- */
:root {
    /* --- Colors — Light Natural Palette --- */
    /* Backgrounds */
    --color-bg: #FAFAF7;
    --color-bg-alt: #F3F0EA;
    --color-bg-warm: #EDE8DF;
    --color-white: #FFFFFF;
    /* Dark (hero overlay, footer, dark sections) */
    --color-dark: #1A2520;
    --color-dark-alt: #243530;
    --color-dark-soft: #2D3D35;
    /* Text */
    --color-text: #2A2A28;
    --color-text-secondary: #5C5950;
    --color-text-tertiary: #8A8680;
    --color-text-on-dark: #F0EDE6;
    --color-text-on-dark-muted: rgba(240, 237, 230, 0.65);
    /* Accent — Sage Green (nature/eco) */
    --color-sage: #5B7B6A;
    --color-sage-light: #7A9B8A;
    --color-sage-lighter: #A3BFB0;
    --color-sage-dark: #3D5A4A;
    --color-sage-bg: rgba(91, 123, 106, 0.08);
    /* Secondary — Sand/Gold (warmth/luxury) */
    --color-sand: #C4A882;
    --color-sand-light: #D4BFA0;
    --color-sand-dark: #A08A68;
    /* Tertiary — Ocean (water/sea) */
    --color-ocean: #6B9DAB;
    --color-ocean-light: #8DB9C5;
    /* Utility */
    --color-border: #DDD8D0;
    --color-border-light: #EAE6DE;
    --color-error: #B44A3E;
    --color-error-bg: rgba(180, 74, 62, 0.06);
    /* Overlays & Translucent */
    --color-overlay: rgba(26, 37, 32, 0.45);
    --color-overlay-light: rgba(26, 37, 32, 0.2);
    --color-overlay-heavy: rgba(26, 37, 32, 0.6);
    --color-overlay-subtle: rgba(26, 37, 32, 0.1);
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-15: rgba(255, 255, 255, 0.15);
    --color-white-40: rgba(255, 255, 255, 0.4);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-bg-frosted: rgba(250, 250, 247, 0.95);
    --color-lightbox-bg: rgba(0, 0, 0, 0.92);

    /* --- Typography --- */
    --font-heading: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    /* Fluid type scale */
    --text-hero: clamp(3rem, 8vw, 7rem);
    --text-h1: clamp(2.5rem, 5vw, 4.5rem);
    --text-h2: clamp(2rem, 4vw, 3.5rem);
    --text-h3: clamp(1.4rem, 2.5vw, 2rem);
    --text-h4: clamp(1.1rem, 1.5vw, 1.35rem);
    --text-body: clamp(0.95rem, 1.1vw, 1.05rem);
    --text-body-lg: clamp(1.05rem, 1.3vw, 1.2rem);
    --text-small: clamp(0.8rem, 0.9vw, 0.875rem);
    --text-label: clamp(0.7rem, 0.8vw, 0.75rem);
    /* Line heights */
    --leading-tight: 1.15;
    --leading-snug: 1.35;
    --leading-normal: 1.7;
    --leading-relaxed: 1.9;
    /* Letter spacing */
    --tracking-widest: 0.25em;
    --tracking-wide: 0.15em;
    --tracking-normal: 0.03em;
    --tracking-tight: -0.01em;

    /* --- Spacing --- */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    --space-section: clamp(5rem, 12vh, 10rem);
    --space-section-sm: clamp(3rem, 8vh, 6rem);
    --max-width: 1200px;
    --max-width-wide: 1400px;
    --max-width-narrow: 680px;
    --content-padding: clamp(1.5rem, 5vw, 4rem);

    /* --- Animation --- */
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1.0);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.3s;
    --duration-normal: 0.6s;
    --duration-slow: 1s;
    --duration-reveal: 0.8s;

    /* --- Layout --- */
    --border-radius: 2px;
    --border-radius-lg: 4px;
    --nav-height: 80px;

    /* --- Z-Index Layers --- */
    --z-base: 1;
    --z-content: 10;
    --z-nav: 100;
    --z-mobile-menu: 150;
    --z-gallery-overlay: 200;
    --z-gallery-modal: 250;
}
