/* --- 1. Variables y Configuración Base --- */
:root {
    --bg-color: #FDFBF7;
    --bg-alt: #EFE8DE;
    --primary: #C26A4A;
    --primary-dark: #A9563B;
    --text-dark: #3A322E;
    --text-light: #6D635B;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 40px rgba(194, 106, 74, 0.2);
    /* Drop-shadow para contornos perfectos */
    --drop-shadow-book: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

html { scroll-behavior: smooth; }

::selection {
    background-color: var(--primary);
    color: var(--white);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- 2. Tipografía --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }
h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-dark); }
.italic-accent { font-style: italic; font-weight: 500; color: var(--primary); }
p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 20px; }
.lead-text { font-size: 1.3rem; max-width: 700px; margin: 0 auto; }

/* --- 3. Componentes Generales --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.alt-section { background-color: var(--bg-alt); padding: 80px 0; }
.text-center { text-align: center; }

/* Botones */
.button {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 20px rgba(194, 106, 74, 0.25);
    cursor: pointer;
}
.button:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.button:active { transform: scale(0.98); }
.big-button { font-size: 1.2rem; padding: 20px 50px; font-weight: 600; }

.badge, .badge-dark {
    display: inline-block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    padding: 6px 12px; border-radius: 20px; margin-bottom: 20px; font-weight: 600;
}
.badge { color: var(--primary); border: 1px solid var(--primary); }
.badge-dark { background: var(--text-dark); color: var(--white); }

/* --- 4. Navbar & Logo --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 40px; position: sticky; top: 0;
    background-color: rgba(253, 251, 247, 0.95); backdrop-filter: blur(5px);
    z-index: 100; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo-link { display: block; line-height: 0; }
.logo { width: 140px; height: auto; display: block; }
.nav-btn {
    font-size: 0.9rem; font-weight: 600; color: var(--text-dark);
    border-bottom: 2px solid transparent; transition: 0.3s;
}
.nav-btn:hover { color: var(--primary); border-bottom: 2px solid var(--primary); }

/* --- 5. Hero Section --- */
.hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    max-width: 1100px; margin: 0 auto; padding: 80px 20px 100px;
}
.hero-subtitle { font-size: 1.25rem; margin-bottom: 35px; max-width: 90%; }
.hero-guarantee { font-size: 0.9rem; margin-top: 15px; opacity: 0.8; }
.hero-image-container { display: flex; justify-content: center; }

@keyframes float {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

.hero-img {
    /* CAMBIO: Aumentado de 380px a 480px */
    max-width: 480px; 
    width: 100%;
    
    /* Drop shadow para siluetear */
    filter: var(--drop-shadow-book);
    
    animation: float 6s ease-in-out infinite;
}

/* --- 6. Steps Grid --- */
@keyframes shineSweep {
    0% { transform: translateX(-150%) skewX(-20deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateX(200%) skewX(-20deg); opacity: 0; }
}
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 50px; position: relative; }
.step-card {
    background: var(--white); padding: 30px; border-radius: 16px;
    box-shadow: var(--shadow-soft); text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow: hidden; z-index: 1;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.step-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-150%) skewX(-20deg); pointer-events: none; z-index: 2;
}
.step-card:hover::before { animation: shineSweep 0.75s ease-out; }
.step-number { font-family: var(--font-heading); font-size: 3.5rem; color: #E6DCD3; line-height: 1; display: block; margin-bottom: 15px; position: relative; z-index: 3; }
.step-card h3, .step-card p { position: relative; z-index: 3; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

@media (min-width: 992px) {
    .steps-grid { display: flex; justify-content: space-between; gap: 30px; align-items: stretch; }
    .step-card { flex: 1; margin-bottom: 0; }
    .step-card:not(:last-child)::after {
        content: "→"; position: absolute; right: -25px; top: 45%;
        font-family: var(--font-body); font-size: 2rem; font-weight: 300;
        color: rgba(255, 255, 255, 0.9); text-shadow: 0 2px 5px rgba(0,0,0,0.05);
        z-index: 0; pointer-events: none;
    }
}

/* --- 7. Features --- */
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 15px; padding-left: 35px; position: relative; }
.check-list li::before { content: "\2714"; color: var(--primary); position: absolute; left: 0; top: 0; font-weight: bold; font-size: 1.1rem; }
.split-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.quote-box { background: var(--white); padding: 40px; border-radius: 12px; border-left: 4px solid var(--primary); font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; color: var(--text-dark); }

/* --- 8. Price --- */
.price-section { text-align: center; }
.price-card { background: var(--white); max-width: 500px; margin: 40px auto 0; padding: 50px; border-radius: 20px; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.05); }
.price-tag { font-family: var(--font-heading); font-size: 4rem; color: var(--primary); font-weight: 600; line-height: 1; margin-bottom: 30px; }
.currency { font-size: 1.5rem; vertical-align: super; opacity: 0.6; }
.small-disclaimer { font-size: 0.9rem; margin-top: 20px; opacity: 0.7; }

/* --- 9. Future & Footer --- */
.future-grid {
    display: flex; justify-content: center;
    gap: 60px; /* Más aire entre libros */
    margin-top: 40px; flex-wrap: wrap;
}

.future-item {
    display: flex; flex-direction: column; align-items: center;
    opacity: 0.6; filter: grayscale(100%); transition: all 0.4s ease;
    
    /* CAMBIO: Aumentado de 280px a 320px */
    width: 320px; 
}

.future-item:hover {
    opacity: 1; filter: grayscale(0%); transform: translateY(-5px);
}

.future-item img {
    width: 100%;
    
    /* Silueta perfecta */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    
    border-radius: 4px;
    margin-bottom: 15px;
}

footer { background: var(--text-dark); color: var(--white); text-align: center; padding: 40px 0; font-size: 0.9rem; }
.logo-footer { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; }

/* --- 10. Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .navbar { padding: 15px 20px; }
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
    .hero-subtitle { margin: 0 auto 30px; }
    .split-layout { grid-template-columns: 1fr; }
    .price-card { padding: 30px 20px; }
    .future-item { width: 240px; } /* Ajuste móvil */
}

@media (prefers-reduced-motion: reduce) {
    .hero-img { animation: none; }
    .step-card:hover::before { animation: none; }
    html { scroll-behavior: auto; }
}