:root { --verde-oscuro: #0a2e16; --verde-esmeralda: #1b5e20; --dorado: #d4af37; --blanco: #ffffff; --fondo-gris: #f4f6f5; --texto: #2c3e35; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--fondo-gris); color: var(--texto); margin: 0; line-height: 1.6; }
h1, h2, h3 { font-family: 'Cinzel', serif; margin-top: 0; }

.navbar { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); display: flex; justify-content: space-between; padding: 1rem 5%; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.06); align-items: center; }
.logo { font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 700; color: var(--verde-esmeralda); display: flex; align-items: center; gap: 10px; }
.enlaces { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.enlaces a { text-decoration: none; color: var(--texto); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: color 0.3s; }
.enlaces a:hover { color: var(--verde-esmeralda); }

.hero { background: linear-gradient(rgba(10, 46, 22, 0.75), rgba(10, 46, 22, 0.9)), url('https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&w=1920&q=80') center/cover fixed; height: 80vh; min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--blanco); padding: 0 20px; }
.animar-texto { font-size: 4rem; margin: 0 0 15px 0; text-shadow: 2px 4px 10px rgba(0,0,0,0.4); opacity: 0; transform: translateY(30px); animation: subirAparecer 1s ease forwards 0.3s; }
.animar-subtexto { font-size: 1.4rem; font-weight: 300; letter-spacing: 2px; opacity: 0; transform: translateY(20px); animation: subirAparecer 1s ease forwards 0.6s; }
.animar-boton { opacity: 0; animation: aparecerSuave 1s ease forwards 1s; }

@keyframes subirAparecer { to { opacity: 1; transform: translateY(0); } }
@keyframes aparecerSuave { to { opacity: 1; } }

.btn-hero { display: inline-block; margin-top: 35px; padding: 15px 40px; border: 2px solid var(--dorado); color: var(--dorado); text-decoration: none; text-transform: uppercase; font-weight: 600; letter-spacing: 2px; transition: all 0.4s; border-radius: 4px; }
.btn-hero:hover { background-color: var(--dorado); color: var(--verde-oscuro); }

.container { max-width: 1200px; margin: 6rem auto; padding: 0 20px; }
.titulo-elegante { text-align: center; font-size: 2.5rem; color: var(--verde-oscuro); position: relative; padding-bottom: 20px; margin-bottom: 50px; }
.titulo-elegante::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--dorado); }
.titulo-elegante.blanco { color: var(--blanco); }

.catalogo { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; }
.producto { background: var(--blanco); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: all 0.4s ease; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(0,0,0,0.05); }
.producto:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--verde-esmeralda); }
.producto-imagen-placeholder { width: 100%; height: 250px; background-color: #eef2f0; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.producto-imagen-placeholder img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.producto:hover .producto-imagen-placeholder img { transform: scale(1.08); }
.producto-info { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.producto h3 { font-size: 1.5rem; color: var(--verde-esmeralda); margin-bottom: 15px; }
.producto p { font-size: 0.95rem; color: #555; margin-bottom: 10px; }
.etiqueta { font-weight: 600; color: var(--verde-oscuro); }
.precio { font-size: 2rem; color: var(--verde-oscuro); font-weight: 700; margin: 20px 0; text-align: center; border-top: 1px solid #eee; padding-top: 20px; }
.btn-comprar { display: flex; justify-content: center; align-items: center; gap: 10px; background-color: var(--verde-esmeralda); color: var(--blanco); border: none; padding: 15px; border-radius: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; cursor: pointer; width: 100%; }
.btn-comprar:hover { background-color: var(--verde-oscuro); }

/* SECCIÓN DE CONTACTO CENTRADA (Sin Mapa) */
.seccion-contacto { background-color: var(--verde-oscuro); padding: 6rem 0; color: var(--blanco); }
.grid-contacto-centrado { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; justify-content: center; }

.tarjeta-premium { background: rgba(255,255,255,0.03); border-top: 4px solid var(--dorado); padding: 35px 20px; border-radius: 12px; transition: transform 0.3s; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.tarjeta-premium:hover { transform: translateY(-10px); background: rgba(255,255,255,0.08); }
.link-tarjeta { text-decoration: none; cursor: pointer; }

.icono-dorado { color: var(--dorado); font-size: 2.5rem; margin-bottom: 15px; }
.tarjeta-premium h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--blanco); }
.tarjeta-premium p { color: #ccc; margin: 0; line-height: 1.5; }

.destaque { background: rgba(37, 211, 102, 0.08); border-top-color: #25D366; }
.icono-whatsapp { color: #25D366; font-size: 2.5rem; margin-bottom: 15px; }
.click-info { margin-top: 20px; font-size: 0.8rem; color: var(--dorado); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.destaque .click-info { color: #25D366; }

footer { background-color: #051a0c; color: #888; text-align: center; padding: 40px; }

/* CARRITO */
.carrito-icono { font-size: 1.5rem; color: var(--verde-esmeralda); cursor: pointer; position: relative; }
#contador-carrito { position: absolute; top: -8px; right: -12px; background: #b71c1c; color: white; font-size: 0.7rem; font-weight: bold; width: 18px; height: 18px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.carrito-lateral { position: fixed; top: 0; right: -400px; width: 350px; height: 100vh; background: white; box-shadow: -5px 0 15px rgba(0,0,0,0.2); z-index: 2000; transition: right 0.4s ease; display: flex; flex-direction: column; }
.carrito-lateral.abierto { right: 0; }
.carrito-header { padding: 20px; background: var(--verde-esmeralda); color: white; display: flex; justify-content: space-between; align-items: center; }
.btn-cerrar { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.carrito-body { flex-grow: 1; padding: 20px; overflow-y: auto; }
.carrito-vacio { text-align: center; color: #888; margin-top: 50px; }
.item-carrito { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding: 15px 0; }
.item-info h4 { margin: 0; color: var(--verde-oscuro); font-size: 0.95rem; }
.item-controles button { background: #eee; border: none; padding: 5px 10px; cursor: pointer; border-radius: 4px; font-weight: bold; }
.carrito-footer { padding: 20px; background: #f9f9f9; border-top: 1px solid #eee; text-align: center; }
.total-pedido { font-size: 1.5rem; font-weight: bold; color: var(--verde-oscuro); margin-bottom: 15px; }
.btn-enviar-wa { width: 100%; padding: 15px; background: #25D366; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 1.1rem; display: flex; justify-content: center; gap: 10px; align-items: center; }

@media (max-width: 900px) {
    .navbar { flex-direction: column; gap: 15px; padding: 15px; }
    .hero { min-height: 60vh; }
    .animar-texto { font-size: 2.5rem; }
    .grid-contacto-centrado { grid-template-columns: 1fr; }
    .carrito-lateral { width: 100%; right: -100%; }
}