/* version: 8.5 - Style Reset */
:root {
    --brand-red: #e21b1b;
    --red-grad: linear-gradient(to top, rgba(226, 27, 27, 0.4) 0%, transparent 100%);
    --red2-grad: linear-gradient(to top, rgba(226, 27, 27, 0.794) 0%, transparent 100%);
    --black: #000000;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; background: #000; }
body { background-color: var(--black); color: var(--white); font-family: 'Roboto', sans-serif; overflow-x: hidden; }
body.loading { overflow: hidden !important; }

/* FORZAR ITALICS EN TODO NIVEL */
.italic, .italic *, .italic p, .italic div, .italic span { font-style: italic !important; }

/* REVEAL ANIMATIONS */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 1s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 1s ease; }
.active { opacity: 1 !important; transform: translate(0,0) !important; }

/* BACKGROUNDS */
.bg-hero-fix { background-size: cover; background-position: center; background-repeat: no-repeat !important; }
.section-bg-bottom { background-position: bottom center !important; background-size: cover; background-repeat: no-repeat !important; }
.fixed-bg { background-attachment: fixed !important; background-size: cover; background-position: center; background-repeat: no-repeat !important; }
.hero-fade-bottom { mask-image: linear-gradient(to bottom, black 90%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%); }

/* SECCIÓN COMPRA HOVER 5% */
.buy-card { transition: transform 0.4s ease; cursor: pointer; }
.buy-card:hover { transform: scale(1.05); }
.tagline { margin: 20px 0 !important; font-weight: 700; }
.btn-buy-spacing { margin: 25px 0 !important; }

/* BOTONES */
.btn-style {
    display: inline-block; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
    background: var(--red-grad); color: var(--white); padding: 14px 40px;
    font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
    text-decoration: none; cursor: pointer; transition: 0.3s;
}

/* ESTRUCTURA... (Sigue igual para mantener Desktop perfecto) */
.container-responsive { width: 930px; max-width: 95vw; margin: 0 auto; position: relative;}
h2.main-headline.italic { font-size: 2em;}
.divider-static { width: 100%; margin-top: -65px; margin-bottom: -35px; background: transparent; background-color: transparent;}
.divider-static img{ max-width: 100%; background: transparent;}
#ciclo { text-align: center; }
@media (min-width: 1440px) { .container-responsive { width: 1300px; } }
@media (max-width: 1439px) { .container-responsive { width: 100% !important; } }
@media (min-width: 1000px) { .btn-style:hover { background: var(--red2-grad) !important; border-color: #ffffffca; } }
.snap-section { height: 100vh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.desktop-only { display: flex; }
.mobile-only { display: none; }
.libro-master-grid { display: grid; grid-template-columns: 6.5fr 3.5fr; gap: 40px; width: 100%; align-items: center; }
.libro-internal-flex { display: flex; gap: 30px; margin-top: 25px; }
.author-block { flex: 0 0 240px; }
.photo-wrapper { width: 240px; height: 320px; overflow: hidden; border-radius: 10px; margin-bottom: 15px; }
.img-locked { width: 100%; height: 100%; object-fit: cover; }
.vertical-center-text { flex: 1; font-size: 0.95rem; line-height: 1.6; display: flex; flex-direction: column; justify-content: center; }
.img-render-locked { max-height: 70vh; object-fit: contain; }
.grid-buy-center { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: center; width: 100%; }
.title-buy { font-size: 1.8rem; margin-bottom: 40px; }
.product-render-scaled img { max-height: 50vh; transform: scale(1.1); margin: 0 auto; }
.ciclo-logo-wrapper { width: 300px; margin: 0 auto 40px; }
.ciclo-text-box-centered { text-align: center; font-size: 1.15rem; max-width: 850px; margin: 0 auto 40px; line-height: 1.8; }
.title-center-fixed { text-align: center; font-size: 2.2rem; margin-bottom: 50px; }
.styled-contact-form { width: 100%; max-width: 900px; margin: 0 auto; }
.form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.styled-contact-form input, .styled-contact-form textarea { background: transparent; border: 1px solid #e21b1bb3; border-radius: 10px; padding: 18px; color: white; width: 100%; }
.styled-contact-form textarea { height: 140px; margin-bottom: 30px;}
.btn-align-right-container { display: flex; justify-content: flex-end; width: 100%; padding-right: 10px; }
.modal-fixed-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.98); z-index: 999999; align-items: center; justify-content: center; }
.modal-main-card { background: #000; border: 2px solid var(--brand-red); border-radius: 60px; padding: 60px; width: 90%; max-width: 900px; position: relative; }
.modal-content-grid { display: flex; align-items: center; gap: 40px; }
.modal-author-img { flex: 0 0 280px; }
.modal-close-x { position: absolute; top: 30px; right: 30px; background: none; border: none; cursor: pointer; }

/* PRELOADER */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000000c9; z-index: 2147483647; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#loader-clock { font-size: 6rem; font-weight: 900; letter-spacing: 5px; color: #fff; }
.loader-track-bottom { position: absolute; bottom: 0; left: 0; width: 100%; height: 8px; background: rgba(255,255,255,0.05); }
#loader-bar { height: 100%; width: 0%; background: var(--brand-red); }
.version-tag-fixed { position: fixed; top: 15px; right: 20px; font-size: 11px; z-index: 2000001; background: rgba(0,0,0,0.8); padding: 5px 10px; border-radius: 4px; color: #fff; }
.socials-container { display: flex; justify-content: center; gap: 45px; margin-bottom: 25px; }
.footer-bottom-site { width: 100%; text-align: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; }
@keyframes lightning-spasms { 0%, 2%, 4%, 20%, 22%, 60%, 62%, 80%, 82%, 84%, 100% { filter: brightness(1); } 1% { filter: brightness(2.2); } 3% { filter: brightness(1.8); } 21% { filter: brightness(1.5); } 81% { filter: brightness(2); } 83% { filter: brightness(1.7); } }
.lightning-effect { animation: lightning-spasms 5s infinite; }
.scroll-indicator-bottom { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 100; }
.bounce { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} }