/* =====================================================
   VARIABLES.CSS - Variables CSS Globales
   ===================================================== */

:root {
    /* Colores principales */
    --primary-gold: #C9A961;
    --dark-gold: #A88B3D;
    --light-cream: #FFF8E7;
    --warm-white: #FFFEF9;
    --dark-text: #2C2416;
    --accent-bronze: #8B7355;
    --purple-accent: #9B7EBD;
    
    /* Colores de feedback */
    --dolor-red: #E53935;
    --beneficio-green: #2E7D32;
    --success-bg: #E8F5E9;
    --error-bg: #FFEBEE;
    
    /* Espaciados */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 40px rgba(201,169,97,0.3);
    --shadow-hover: 0 20px 50px rgba(201,169,97,0.4);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
}

/* =====================================================
   RESET Y BASE
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--warm-white);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-gold);
}

/* =====================================================
   CONTAINER
   ===================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   BOTONES CTA
   ===================================================== */

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: white;
    padding: 18px 40px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(201,169,97,0.4);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}

/* =====================================================
   TÍTULOS DE SECCIÓN
   ===================================================== */

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--purple-accent));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-bronze);
    margin-bottom: 40px;
}

/* =====================================================
   ANIMACIONES
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}