:root {
  --wood: #2a1810;
  --wood-light: #3d2618;
  --gold: #e8b84a;
  --gold-dark: #c9972e;
  --cream: #f5e6c8;
  --white: #faf7f2;
  --pink: #e84a8a;
  --whatsapp: #25d366;
  --maps: #ea4335;
  --ve-yellow: #ffcc00;
  --ve-blue: #00247d;
  --ve-red: #cf142b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  background: var(--wood);
  color: var(--cream);
  line-height: 1.5;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    ),
    linear-gradient(180deg, #1a0f0a 0%, var(--wood) 40%, #1a0f0a 100%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 6rem;
}

/* Header */
.header {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.logo-wrap {
  display: inline-block;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cream), #d4c4a8);
  box-shadow: 0 0 30px rgba(245, 230, 200, 0.25);
}

.logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.tagline {
  font-family: "Pacifico", cursive;
  font-size: 1.25rem;
  color: var(--white);
  margin-top: 0.75rem;
  opacity: 0.95;
}

/* Nav categorías */
.nav-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--wood) 85%, transparent);
}

.nav-cats a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--wood-light);
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(232, 184, 74, 0.3);
  transition: background 0.2s, color 0.2s;
}

.nav-cats a:hover {
  background: var(--gold);
  color: var(--wood);
}

/* Secciones menú */
.menu-section {
  margin-bottom: 2rem;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--ve-red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ve-yellow);
  box-shadow: 8px 0 0 var(--ve-blue), 16px 0 0 var(--ve-red);
}

.menu-item {
  background: var(--wood-light);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--gold-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.item-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.item-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-desc {
  font-size: 0.875rem;
  color: rgba(245, 230, 200, 0.8);
  margin-top: 0.35rem;
}

.subsection-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pink);
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.1em;
}

/* Botones flotantes */
.fab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(26, 15, 10, 0.98), transparent);
  justify-content: center;
  z-index: 100;
}

.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  flex: 1;
  max-width: 200px;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.fab-whatsapp {
  background: var(--whatsapp);
}

.fab-maps {
  background: var(--maps);
}

.fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 230, 200, 0.5);
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

/* Home — elegir sede */
.page-home .container {
  padding-bottom: 2rem;
}

.home-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-align: center;
  margin-top: 0.5rem;
}

.home-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(245, 230, 200, 0.75);
  margin-bottom: 0.25rem;
}

.home-online-label {
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin: 2rem 0 0.75rem;
}

.sede-grid--online .sede-card--order {
  border-color: var(--pink);
}

.sede-grid--online .sede-card--order .sede-card-cta {
  color: var(--pink);
}

.sede-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 420px;
  margin: 2rem auto 0;
  padding: 0 0.25rem;
}

.sede-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: var(--wood-light);
  border-radius: 16px;
  text-decoration: none;
  color: var(--cream);
  border: 2px solid rgba(232, 184, 74, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.sede-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(232, 184, 74, 0.15);
}

.sede-card-name {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sede-card-cta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
}

.sede-card-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232, 184, 74, 0.35);
}

.home-admin {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
}

.home-admin:hover { text-decoration: underline; }

.flag {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.flag-ve {
  display: flex;
  flex-direction: column;
}

.flag-ve span {
  flex: 1;
}

.flag-ve .f-yellow { background: #ffcc00; }
.flag-ve .f-blue { background: #00247d; flex: 1.2; position: relative; }
.flag-ve .f-red { background: #cf142b; }

.flag-es {
  display: flex;
  flex-direction: column;
}

.flag-es span { flex: 1; }
.flag-es .f-red { background: #c60b1e; }
.flag-es .f-yellow { background: #ffc400; flex: 2; }

/* Páginas de sede */
.back-home {
  display: inline-block;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.9;
}

.back-home:hover {
  opacity: 1;
  text-decoration: underline;
}

.sede-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.sede-badge-ve {
  background: linear-gradient(90deg, var(--ve-yellow), var(--ve-blue), var(--ve-red));
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.sede-badge-es {
  background: linear-gradient(90deg, #c60b1e 33%, #ffc400 33%, #ffc400 66%, #c60b1e 66%);
  color: #1a0f0a;
}

.page-sede .header {
  padding-top: 0.5rem;
}

/* España — menú próximamente */
.coming-soon {
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 2rem 0;
  background: var(--wood-light);
  border-radius: 16px;
  border: 2px dashed rgba(232, 184, 74, 0.35);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.coming-soon h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.coming-soon p {
  color: rgba(245, 230, 200, 0.7);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

.fab-bar--disabled {
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.fab-bar--disabled .fab {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.fab-bar--disabled .fab-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}

.fab-soon-label {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.45);
  padding-bottom: 0.25rem;
}

@media (min-width: 480px) {
  .logo {
    width: 220px;
    height: 220px;
  }

  .fab {
    max-width: 220px;
    font-size: 1rem;
  }

  .sede-grid {
    gap: 1.5rem;
  }
}
