﻿* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; background: #f4f6f9; color: #333; }
ul { list-style: none; } a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* HEADER */
.site-header { background: #fff; padding: 10px 0; border-bottom: 1px solid #ddd; }
.header-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.main-logo { height: auto; width: 320px; max-height: 180px; object-fit: contain; }

.search-box { display: flex; background: #f1f1f1; border-radius: 4px; padding: 5px; }
.search-box input { border: none; background: transparent; padding: 5px; outline: none; }
.search-box button { background: #cc0000; color: white; border: none; padding: 5px 15px; cursor: pointer; border-radius: 3px; }
.header-phone { font-weight: bold; color: #333; font-size: 16px; display: flex; align-items: center; gap: 5px; }

/* NAV */
.main-nav { background: #222; position: sticky; top: 0; z-index: 100; border-bottom: 4px solid #cc0000; }
.nav-list { display: flex; flex-wrap: wrap; }
.nav-list li a { display: block; padding: 15px 20px; color: white; font-weight: bold; font-size: 13px; text-transform: uppercase; }
.nav-list li a:hover { background: #444; }
.btn-cat a { background: #cc0000; margin-left: auto; }

/* CARRUSEL */
.hero-carousel-wrapper { position: relative; width: 100%; overflow: hidden; background: #000; display: flex; align-items: center; }
.hero-carousel { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; scroll-behavior: smooth; width: 100%; -webkit-overflow-scrolling: touch; }
.hero-carousel::-webkit-scrollbar { display: none; }

.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; font-size: 24px; padding: 15px; cursor: pointer; z-index: 10; border-radius: 5px; }
.nav-arrow:hover { background: #cc0000; }
.prev-slide { left: 10px; } .next-slide { right: 10px; }

.hero-slide { min-width: 100%; height: 400px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; position: relative; text-align: center; padding: 20px; }
.slide-tag { position: absolute; top: 20px; background: rgba(0,0,0,0.6); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 12px; border: 1px solid rgba(255,255,255,0.3); }

.slide-mission { background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 100%); }
.slide-vision { background: linear-gradient(135deg, #700000 0%, #330000 100%); }
.slide-blue { background: linear-gradient(135deg, #004e92 0%, #000428 100%); }
.slide-dark { background: linear-gradient(135deg, #434343 0%, #000000 100%); }

.slide-content h2 { font-size: 36px; font-weight: 900; margin-bottom: 15px; }
.slide-content p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; max-width: 800px; }
.big-icon { font-size: 50px; margin-bottom: 15px; color: #cc0000; }
.slide-vision .big-icon { color: white; }
.slide-images { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
.circle-img { width: 100px; height: 100px; background: white; border-radius: 50%; padding: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.circle-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.btn-slide { background: white; color: #333; padding: 10px 25px; border-radius: 30px; font-weight: bold; display: inline-block; }

/* PRODUCTOS */
.main-layout { display: flex; gap: 30px; margin-top: 30px; margin-bottom: 60px; }
.sidebar { width: 250px; flex-shrink: 0; background: white; height: fit-content; border: 1px solid #eee; }
.filter-group h3 { padding: 15px; cursor: pointer; display: flex; justify-content: space-between; border-bottom: 1px solid #eee; }
.filter-group ul { display: none; padding: 10px; }
.filter-group.open ul { display: block; }
.filter-group ul li { padding: 5px 0; cursor: pointer; color: #555; }
.filter-group ul li:hover { color: #cc0000; font-weight: bold; }

.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: white; border: 1px solid #eee; padding: 15px; text-align: center; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: #cc0000; }
.img-container { height: 160px; display: flex; align-items: center; justify-content: center; }
.product-card img { max-width: 100%; max-height: 100%; }

/* PRECIOS ELIMINADOS DEL CSS */

.btn-cotizar { background: #25d366; color: white; padding: 8px; border-radius: 4px; display: block; font-weight: bold; margin-top: 15px; }

/* FOOTER */
.site-footer { background: #333; color: white; padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding-bottom: 30px; text-align: left; }
.col h4 { color: white; margin-bottom: 15px; border-left: 3px solid #cc0000; padding-left: 10px; }
.col p { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-bottom { background: #222; text-align: center; padding: 15px; font-size: 12px; }
.float-wa { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; }

@media (max-width: 768px) { .main-layout { flex-direction: column; } .sidebar { width: 100%; } .hero-slide { height: 450px; } }