/* ==== El bonito — estilos generales ==== */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #555;
  --gold: #c9a227; /* dorado elegante */
  --gold-ink: #8e741e;
  --border: #e9e4d0;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-text { font-weight: 700; letter-spacing: .5px; color: var(--text); }
.brand img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.1)); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 42px; height: 38px; border-radius: 10px;
  position: relative;
}
.nav-toggle .bar { display: block; height: 2px; width: 24px; background: var(--text); margin: 5px auto; transition: transform .3s, opacity .3s; }

.site-nav ul { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--text); padding: .6rem .8rem; border-radius: 999px; }
.site-nav a:hover { background: #faf7ef; color: var(--gold-ink); }

/* Mobile nav (collapsible with animation) */
@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    overflow: hidden; max-height: 0;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--border);
    transition: max-height .45s ease;
    box-shadow: var(--shadow);
  }
  .site-nav.open { max-height: 240px; }
  .site-nav ul { flex-direction: column; padding: .5rem; }
  .site-nav a { padding: .9rem 1rem; }
  /* toggle animation into X */
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  background: radial-gradient(1000px 400px at 10% 10%, #fff7d6, transparent),
              radial-gradient(800px 300px at 90% 0%, #fff2c2, transparent);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 5rem 1rem;
  text-align: center;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 0.6rem; letter-spacing: .5px; }
.lead { color: var(--muted); max-width: 700px; margin: 0 auto 1.6rem; }

/* Buttons */
.btn {
  display: inline-block; border-radius: 999px;
  padding: .9rem 1.2rem; text-decoration: none;
  border: 1px solid var(--gold); box-shadow: var(--shadow);
}
.btn-primary { background: linear-gradient(180deg, #fceeb0, #e7cc6b); color: #3d320a; border-color: #d8b247; }
.btn-outline { background: white; color: var(--gold-ink); }
.btn:hover { transform: translateY(-1px); }

/* Layout helpers */
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.card {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 1.2rem; box-shadow: var(--shadow);
}
.strip { background: #fffdf4; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.badge { position: relative; display: grid; place-items: center; height: 160px; }
.badge-ring {
  position: absolute; inset: 0;
  border: 2px dashed var(--gold);
  border-radius: 999px;
  animation: spin 14s linear infinite;
}
.badge-text { position: relative; font-weight: 700; color: var(--gold-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer {
  text-align: center; border-top: 1px solid var(--border);
  padding: 2rem 1rem; color: var(--muted);
}
.site-footer .small { font-size: .9rem; color: #777; }

/* Page titles */
.page-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .25rem; }
.page-subtitle { color: var(--muted); margin-top: 0; }

/* Menu page */
.menu-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.chip { border: 1px solid var(--gold); background: #fff; border-radius: 999px; padding: .5rem .9rem; cursor: pointer; }
.chip.active { background: linear-gradient(180deg, #fceeb0, #e7cc6b); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 800px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-item {
  position: relative; padding: 1rem 1rem 2.2rem;
  border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow);
}
.menu-item h3 { margin: .2rem 0 .3rem; }
.menu-item p { margin: 0; color: var(--muted); }
.menu-item .price { position: absolute; right: 1rem; bottom: .9rem; font-weight: 700; color: var(--gold-ink); }

/* About */
.about-card { background: #fffef7; border: 1px solid var(--border); border-radius: 18px; padding: 1rem 1.2rem; }

/* Contact */
.form-card label { display: block; font-weight: 600; margin-top: .8rem; }
.form-card input, .form-card textarea {
  width: 100%; padding: .8rem .9rem; margin-top: .4rem;
  border: 1px solid var(--border); border-radius: 12px; outline: none;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.15); }
.form-status { margin-top: .8rem; min-height: 1.2rem; font-weight: 600; }
.contact-info .map-placeholder {
  margin-top: 1rem; height: 180px; border-radius: 14px; border: 1px dashed var(--gold);
  display: grid; place-items: center; color: var(--gold-ink);
}
