/* ============================================ */
/* style.css — Variables, Reset, Base           */
/* ============================================ */

/* CONFIG_PALETTE */
:root {
    /* Paleta principal del manual de marca */
    --color-crema:     #F5EDE3;
    --color-rosa:      #E8C4C4;
    --color-lavanda:   #C9B4D4;
    --color-tierra:    #A07860;
    --color-purpura:   #3D2B4A;
    --color-purpura-dark: #271B30;
    
    /* Derivados funcionales */
    --color-bg:        #F5EDE3;
    --color-text:      #3D2B4A;
    --color-text-soft: #A07860;
    --color-cta:       #A07860;
    --color-cta-hover: #3D2B4A;
    --color-border:    oklch(from #C9B4D4 l c h / 0.30);
    --color-white:     #FFFFFF;
    --color-marfil:    #F5EDE3;
    --color-espacio-bg: oklch(from var(--color-lavanda) l c h / 0.10);
    
    /* WhatsApp */
    --color-whatsapp:  #25D366;
    --color-whatsapp-dark: #1da851;
    
    /* Tipografías */
    --font-display: 'The Seasons', 'Cormorant Garamond', 'Georgia', serif;
    --font-ui:      'Montserrat', 'Helvetica Neue', 'Arial', sans-serif;
    
    /* Espaciado */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;
    
    /* Transiciones */
    --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Sombras glassmorphism */
    --shadow-glass: 0 8px 32px oklch(from #A07860 l c h / 0.12);
    --shadow-card:  0 4px 20px oklch(from #A07860 l c h / 0.10);
    --shadow-hover: 0 12px 40px oklch(from #A07860 l c h / 0.18);
    
    /* Bordes redondeados */
    --radius-pill:  50px;
    --radius-card:  24px;
    --radius-sm:    12px;
    --radius-md:    20px;
    
    /* Z-index */
    --z-nav:        1000;
    --z-overlay:    900;
    --z-floating:   9999;
    --z-hero:       1;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-ui);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

/* Todos los headings usan The Seasons Regular */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-smooth);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-ui);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================ */
/* Tipografía base                              */
/* ============================================ */
.display-font {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
    line-height: 1.2;
}

/* ============================================ */
/* Utilidades                                   */
/* ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================ */
/* Animaciones de revelación                    */
/* ============================================ */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================ */
/* Scrollbar personalizada                      */
/* ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-crema);
}

::-webkit-scrollbar-thumb {
    background: var(--color-tierra);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-purpura);
}