* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
    --primary: #D32F2F;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --text: #1a1a1a;
    --ok: #2e7d32;
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--light); line-height: 1.6; overflow-x: hidden; }

/* HEADER */
header {
    position: fixed; top: 0; width: 100%; background: var(--light);
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 3rem; z-index: 1000; border-bottom: 1px solid #eee;
}
.logo { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--primary); letter-spacing: -1px; display: flex; align-items: center; gap: .6rem; }
.logo-badge { background: #000; color: #fff; font-size: .8rem; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: 0; }
.logo-img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; background: #000; }
nav { display: flex; gap: 4rem; list-style: none; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--primary); }
.header-cta { background: var(--primary); color: white; padding: 0.8rem 1.8rem; border-radius: 6px; font-weight: 600; text-decoration: none; transition: opacity 0.2s; cursor: pointer; border: none; font-size: 0.95rem; }
.header-cta:hover { opacity: 0.9; }
@media (max-width: 768px) { header { padding: 1rem 1.5rem; } nav { display: none; } }

/* HERO */
.hero { margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 3rem; max-width: 1600px; margin-left: auto; margin-right: auto; }
.hero-text h1 { font-family: 'Poppins', sans-serif; font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
.hero-text p { font-size: 1.2rem; color: var(--gray); margin-bottom: 2rem; line-height: 1.8; max-width: 500px; }
.hero-cta { display: inline-block; background: var(--primary); color: white; padding: 1rem 2.5rem; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: all 0.2s; cursor: pointer; border: none; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(211, 47, 47, 0.2); }
.hero-video { position: relative; width: 100%; height: 600px; background: var(--gray-light); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .hero { grid-template-columns: 1fr; padding: 3rem 2rem; } .hero-text h1 { font-size: 3rem; } .hero-video { height: 400px; } }

/* SECTIONS */
section { padding: 6rem 3rem; max-width: 1600px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-family: 'Poppins', sans-serif; font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -1px; }
.section-header p { font-size: 1.1rem; color: var(--gray); max-width: 600px; }

/* VIDEOS */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.video-card { position: relative; aspect-ratio: 9/16; background: var(--gray-light); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s; }
.video-card:hover { transform: scale(1.02); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 2rem 1.5rem; color: white; }
.video-overlay h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; }

/* MENÚ */
.menu-section { background: var(--gray-light); }
.menu-filtros { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 3rem; }
.filtro-btn { border: 1.5px solid #e2e2e2; background: #fff; color: var(--text); padding: 0.6rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.filtro-btn:hover { border-color: var(--primary); color: var(--primary); }
.filtro-btn.activo { background: var(--primary); border-color: var(--primary); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.menu-cargando, .menu-vacio { text-align: center; color: var(--gray); padding: 3rem; grid-column: 1/-1; }
.menu-card { background: white; border-radius: 14px; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.10); }
.menu-card-img { width: 100%; height: 180px; background: #111; overflow: hidden; position: relative; display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:1px; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-cat-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.68rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .5px; }
.menu-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.menu-card-body h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.3; }
.menu-desc { color: var(--gray); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.menu-precio { color: var(--primary); font-weight: 800; font-size: 1.1rem; margin-bottom: .8rem; }
.btn-agregar { background: var(--primary); color: #fff; border: 0; border-radius: 8px; padding: .7rem 1rem; font-weight: 700; cursor: pointer; font-family:'Inter',sans-serif; font-size:.9rem; transition: opacity .2s; }
.btn-agregar:hover { opacity: .9; }

/* PROMO */
.promo-section { background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%); color: white; }
.promo-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.promo-section h2 { color: white; margin-bottom: 1.5rem; }
.promo-content p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.8; }
.promo-cta { background: white; color: var(--primary); padding: 1rem 2.5rem; border-radius: 6px; font-weight: 700; border:0; cursor:pointer; font-size:1rem; font-family:'Inter',sans-serif; transition: all 0.2s; }
.promo-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.promo-image { width: 100%; height: 500px; background: rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; }
.promo-image img { width: 100%; height: 100%; object-fit: cover; }

/* ABOUT */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { width: 100%; height: 400px; background: var(--gray-light); border-radius: 12px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { font-size: 1rem; color: var(--gray); margin-bottom: 1.5rem; line-height: 1.8; }
.features-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.feature-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.feature-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; flex-shrink: 0; }
.feature-content h4 { font-weight: 700; margin-bottom: 0.3rem; }
.feature-content p { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* CONTACT */
.contact-section { background: var(--gray-light); text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.contact-card { background: white; padding: 2rem; border-radius: 12px; transition: all 0.3s; }
.contact-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.contact-card p { color: var(--gray); margin-bottom: 0.8rem; }
.contact-card a, .link-btn { color: var(--primary); text-decoration: none; font-weight: 600; background:none; border:0; cursor:pointer; font-size:1rem; font-family:'Inter',sans-serif; }
.contact-card a:hover, .link-btn:hover { text-decoration: underline; }

/* FOOTER */
footer { background: var(--dark); color: white; padding: 4rem 3rem 2rem; }
.footer-content { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { font-family: 'Poppins', sans-serif; margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 0.8rem; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
    section { padding: 3rem 1.5rem; }
    .section-header h2 { font-size: 2rem; }
    .hero-text h1 { font-size: 2.5rem; }
    .about-content, .promo-content, .hero { grid-template-columns: 1fr; }
    .promo-image, .hero-video { height: 300px; }
}

/* CARRITO FLOTANTE */
.cart-fab {
    position: fixed; bottom: 22px; right: 22px; z-index: 1200;
    background: var(--primary); color: #fff; border: 0; border-radius: 999px;
    padding: .9rem 1.3rem; font-weight: 700; font-size: 1rem; cursor: pointer;
    box-shadow: 0 8px 24px rgba(211,47,47,0.4); display: flex; align-items: center; gap: .5rem;
    font-family: 'Inter', sans-serif;
}
.cart-fab:hover { transform: scale(1.04); }
.cart-count { background: #fff; color: var(--primary); border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; padding: 0 6px; }
.cart-total { font-size: .95rem; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; padding: 26px 22px 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-close { position: absolute; top: 12px; right: 14px; background: #f1f1f1; border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
.modal-box h3.modal-title { font-family: 'Poppins', sans-serif; font-size: 1.3rem; margin-bottom: .3rem; padding-right: 30px; }
.modal-box .sub { color: var(--gray); font-size: .9rem; margin-bottom: 1.2rem; }
.campo { margin-bottom: .9rem; }
.campo label { display: block; font-size: .8rem; font-weight: 600; color: #444; margin-bottom: .35rem; }
.campo input, .campo select, .campo textarea {
    width: 100%; border: 1.5px solid #e2e2e2; border-radius: 10px; padding: .7rem .8rem;
    font-size: 1rem; font-family: 'Inter', sans-serif; background: #fafafa;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 0; border-color: var(--primary); background: #fff; }
.opciones { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 .8rem; }
.opcion-pill { border: 1.5px solid #e2e2e2; border-radius: 10px; padding: .5rem .9rem; cursor: pointer; font-size: .9rem; user-select: none; }
.opcion-pill.sel { border-color: var(--primary); background: rgba(211,47,47,.08); color: var(--primary); font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: .8rem; }
.qty button { width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid #e2e2e2; background: #fff; font-size: 1.1rem; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.btn-primario { width: 100%; background: var(--primary); color: #fff; border: 0; border-radius: 12px; padding: .9rem; font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: .6rem; font-family:'Inter',sans-serif; }
.btn-primario:hover { opacity: .92; }
.btn-primario:disabled { opacity: .5; cursor: not-allowed; }
.btn-sec { width: 100%; background: #f1f1f1; color: #333; border: 0; border-radius: 12px; padding: .8rem; font-weight: 600; cursor: pointer; margin-top: .5rem; font-family:'Inter',sans-serif; }

/* Carrito (lista) */
.cart-item { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid #eee; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info .n { font-weight: 700; font-size: .92rem; }
.cart-item .info .d { color: var(--gray); font-size: .78rem; }
.cart-item .sub { font-weight: 700; color: var(--primary); white-space: nowrap; }
.cart-item .rm { background: none; border: 0; color: #b00; cursor: pointer; font-size: .8rem; }
.cart-tot { display: flex; justify-content: space-between; margin: .4rem 0; font-size: .95rem; }
.cart-tot.grand { font-weight: 800; font-size: 1.15rem; border-top: 2px solid #eee; padding-top: .6rem; margin-top: .6rem; }

.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: .8rem 1.3rem; border-radius: 10px; z-index: 3000; font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
