* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #fff; color: #333; }

/* PERSIANA CORREGIDA */
#curtain-container { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #1a252f; background-image: url('img/persiana-cover.jpg'); background-size: cover; background-position: center; z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 1.2s cubic-bezier(0.85, 0, 0.15, 1); }
body.loaded #curtain-container { transform: translateY(-100%); }
.curtain-logo { width: 220px; margin-bottom: 20px; }
.loader-bar { width: 150px; height: 3px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.loader-bar::after { content: ''; position: absolute; left: -100%; width: 100%; height: 100%; background: #e67e22; animation: loading 1.5s infinite; }
@keyframes loading { 100% { left: 100%; } }

/* NAVBAR FIJA */
.main-header { position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 7%; background: white; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.navbar img { height: 50px; }
.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: #1a252f; font-weight: 700; margin-left: 25px; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: #e67e22; }

/* HERO */
.hero { height: 85vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; position: relative; background-size: cover; background-position: center; }
.hero-content { max-width: 900px; padding: 0 20px; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; margin-bottom: 20px; }
.hero-subtext { font-size: 1.4rem; font-weight: 300; margin-bottom: 45px; }
.btn-modern { padding: 20px 50px; background: #e67e22; color: #fff; text-decoration: none; font-weight: 900; border-radius: 50px; transition: 0.4s; display: inline-block; }

.scroll-indicator { position: absolute; bottom: 30px; opacity: 0; transition: 1s; }
body.loaded .scroll-indicator { opacity: 1; transition-delay: 1.5s; }
.mouse { width: 25px; height: 40px; border: 2px solid white; border-radius: 20px; position: relative; margin: 0 auto 10px; }
.mouse::before { content: ''; width: 4px; height: 8px; background: white; position: absolute; left: 50%; transform: translateX(-50%); top: 8px; animation: scroll-anim 2s infinite; }
@keyframes scroll-anim { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 25px; } }

/* PRODUCTOS */
.section-container { max-width: 1200px; margin: 0 auto; padding: 100px 25px; }
.section-title { text-align: center; font-size: 3rem; font-weight: 900; margin-bottom: 60px; }
.grid-productos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.card { background: #fff; border-radius: 25px; overflow: hidden; box-shadow: 0 15px 45px rgba(0,0,0,0.06); transition: 0.4s; text-align: center; }
.card-img-container { height: 280px; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.card:hover img { transform: scale(1.1); }
.card-info { padding: 30px; }
.precio { color: #e67e22; font-weight: 900; font-size: 1.3rem; margin: 15px 0; display: block; }
.btn-card { text-decoration: none; color: #1a252f; font-weight: 900; border-bottom: 3px solid #e67e22; }

/* PROCESO */
.proceso-compra { background: #1a252f; color: #fff; }
.pasos-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.paso { flex: 1; min-width: 180px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.paso-num { width: 65px; height: 65px; line-height: 65px; background: #e67e22; border-radius: 50%; margin-bottom: 20px; font-weight: 900; font-size: 1.8rem; }

/* CTA FINAL */
.cta-final { padding: 120px 25px; text-align: center; background: #f9f9f9; }
.cta-box h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 20px; }
.cta-subtext { font-size: 1.3rem; color: #666; margin-bottom: 50px; display: block; }
.btn-glow { padding: 25px 60px; background: #1a252f; color: #fff; text-decoration: none; font-weight: 900; border-radius: 15px; transition: 0.4s; display: inline-block; }
.btn-glow:hover { background: #e67e22; box-shadow: 0 0 30px rgba(230,126,34,0.6); }

/* FOOTER CLARO */
.footer-modern { background: #fdfdfd; color: #111; padding: 80px 0 40px; border-top: 1px solid #eee; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 50px; }
.footer-brand img { height: 60px; margin-bottom: 20px; }
.footer-social h4 { color: #e67e22; margin-bottom: 20px; letter-spacing: 1px; }
.social-links a { text-decoration: none; color: #333; font-weight: 700; margin-right: 20px; }
.social-links a:hover { color: #e67e22; }
.foot-phone { margin-top: 15px; font-weight: 400; color: #666; }
.footer-bottom { border-top: 1px solid #eee; margin-top: 40px; padding-top: 30px; text-align: center; color: #999; font-size: 0.9rem; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 40px; right: 40px; background: #25d366; width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 10000; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

/* MÓVIL */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; position: relative; }
    .logo-container { position: absolute; left: 50%; transform: translateX(-50%); }
    .menu-toggle { display: flex; flex-direction: column; cursor: pointer; }
    .bar { width: 25px; height: 3px; background: #333; margin: 2px 0; }
    .nav-links { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: white; padding: 30px; flex-direction: column; }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; text-align: center; }
    .nav-links a { margin: 0; font-size: 1.2rem; }
    .footer-main { flex-direction: column; text-align: center; }
    .social-links a { margin: 0 10px; }
}