:root {
  --red: #d62828;
  --green: #1b7a39;
  --cream: #fff8f0;
  --dark: #1f2937;
  --radius: 16px;
  --shadow: 0 4px 12px rgba(0,0,0,0.12);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tricolor {
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 33%, #fff 33%, #fff 66%, var(--red) 66%);
}

/* Layout global */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Botones */
.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn.whatsapp { background: var(--green); }
.btn.menu { background: var(--red); }
.btn.pedidosya { background: #111827; }
.btn.instagram { background: #E1306C; } /* Color distintivo de Instagram */
.btn:hover { transform: scale(1.05); }
/* Cards generales */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #eee;
  border-radius: var(--radius);
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Formularios */
.input, .select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

/* Grilla */
.grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.45);
  padding: 20px;
  z-index: 50;
}
.modal.hidden { display: none; }
.modal-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  max-width: 700px;
  width: 100%;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  margin-top: 40px;
  background: var(--green);
  color: #fff;
  padding: 30px 10px;
  text-align: center;
  font-size: 0.9rem;
}
