/* Custom Properties */
:root {
    --color-background: #FFFBF9;
    --color-text-dark: #312A27;
    --color-text-light: #6D635F;
    --color-primary: #D1A79F;
    --color-secondary: #F8EFEA;
    --color-accent: #B5847A;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Lora', serif;
}

/* Base Styles & Background */
body {
    background-color: var(--color-background);
    background-image: radial-gradient(circle at 50% 0%, hsl(25, 100%, 99%), hsl(25, 40%, 96%));
    position: relative;
}

/* Subtle Noise/Grain Texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCI+CjxmaWx0ZXIgaWQ9Im4iIHg9IjAiIHk9IjAiPgo8ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9IjAuNzUiIHN0aXRjaFRpbGVzPSJzdGl0Y2giIG51bU9jdGF2ZXM9IjEyIiB0eXBlPSJmcmFjdGFsTm9pc2UiLz4KPC9maWx0ZXI+CjxyZWN0IHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIiBmaWxsPSIjMDAwIi8+CjxyZWN0IHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIiBmaWx0ZXI9InVybCgjbi KIG9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
    z-index: 1000;
    opacity: 0.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-feature-settings: 'liga' on, 'clig' on;
    text-wrap: balance;
}

.split-lines, .split-chars {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Custom Button Style */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0); /* Promotes to its own layer for smoother animations */
}

.btn-primary {
    padding: 1rem 2.5rem;
    color: var(--color-text-dark);
    background-color: var(--color-primary);
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(209, 167, 159, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(209, 167, 159, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    background-color: var(--color-accent);
    border-color: var(--color-primary);
}

.btn-large {
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
}

/* Card Styles */
.benefit-card, .testimonial-card, .guarantee-box, .faq-item {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-secondary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px hsla(12, 30%, 80%, 0.1), 0 8px 10px -6px hsla(12, 30%, 80%, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px hsla(12, 30%, 80%, 0.15), 0 10px 15px -6px hsla(12, 30%, 80%, 0.1);
}

.guarantee-box {
    text-align: center;
    border-color: var(--color-primary);
}

.faq-item {
    border-left: 3px solid var(--color-primary);
}

/* Initial states for GSAP animations - MODIFICADO */
/* Se ELIMINA opacity: 0 de estas clases. GSAP ahora debe manejar el estado inicial (opacity: 0, transform) en script.js */
.fade-in, .hero-content > *, .hero-image-wrapper {
    /* (Se eliminó opacity: 0) */
}

.fade-in-scroll {
    /* (Se eliminó opacity: 0 y transform: translateY(30px)) */
    /* Se mantiene solo la transición, que es el estado final */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gsap-animated {
    opacity: 1;
    transform: translateY(0);
}