/* ====== Restobar — Estilo público (basado en demo.html) ======
   Las variables :root --brand/--brand-deep/--brand-soft/--surface/etc.
   se inyectan en línea desde header.php según tema_json. */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ====== NAVIGATION ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-trans);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  padding: 12px 48px;
  background: var(--surface-trans-strong);
  box-shadow: 0 6px 24px rgba(26, 20, 16, 0.06);
}

.logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--brand); }
.logo img { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1.5px;
  width: 0;
  background: var(--brand);
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--brand);
  color: white;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .25s;
}
.nav-cta:hover { background: var(--brand-deep); transform: translateY(-1px); }

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--ink);
  transition: all .25s;
  margin-right: 4px;
  flex-shrink: 0;
}
.nav-cart:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-1px);
}
.nav-cart svg { width: 20px; height: 20px; }
.nav-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--brand);
  color: white;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--surface);
}
.nav-cart-count[hidden] { display: none; }

/* Wrapper centro del nav: agrupa nav-links y nav-actions juntos */
.nav-center { display: inline-flex; align-items: center; gap: 18px; }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.nav-actions .nav-cart { margin-right: 0; }

.nav-account { position: relative; display: inline-flex; }
.nav-account[hidden] { display: none; }
.nav-account-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-soft); color: var(--ink);
  border: none; cursor: pointer;
  transition: all .25s; flex-shrink: 0;
}
.nav-account-btn:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.nav-account-btn svg { width: 20px; height: 20px; }

.nav-account-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 200;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  min-width: 200px; padding: 6px;
  display: flex; flex-direction: column;
}
.nav-account-menu[hidden] { display: none; }
.nav-account-menu a,
.nav-account-menu button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  background: none; border: none; cursor: pointer; text-align: left;
  text-transform: none; letter-spacing: 0;
  width: 100%;
}
.nav-account-menu a:hover,
.nav-account-menu button:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-account-menu svg { width: 14px; height: 14px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: .3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ====== HERO SLIDER ====== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a201a;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,20,16,0.45) 0%, rgba(26,20,16,0.75) 100%);
}
.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 820px;
  padding: 0 32px;
  transform: translateY(24px);
  opacity: 0;
  transition: all 1s .3s ease;
}
.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}
.slide-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-on-dark);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.slide-eyebrow::before,
.slide-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brand-on-dark);
}
.slide-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.slide-title em {
  font-style: italic;
  color: var(--brand-on-dark);
  font-weight: 300;
}
.slide-text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 38px;
}
.slide-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-ghost-light {
  color: white;
  padding: 16px 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  transition: all .25s;
}
.btn-ghost-light:hover {
  color: var(--brand-on-dark);
  border-color: var(--brand-on-dark);
}
.slider-controls {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
  align-items: center;
}
.slider-dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.slider-dot.active {
  background: var(--brand);
  width: 56px;
}
.slider-dot:hover:not(.active) { background: rgba(255,255,255,0.55); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.slider-arrow:hover { background: var(--brand); border-color: var(--brand); }
.slider-arrow.prev { left: 32px; }
.slider-arrow.next { right: 32px; }

/* ====== Botones ====== */
.btn-primary {
  background: var(--brand);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.btn-primary svg { transition: transform .3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  color: var(--ink);
  padding: 16px 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--ink);
  transition: all .25s;
}
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }

/* ====== SECTION HEADERS ====== */
.section {
  padding: 120px 48px;
  position: relative;
}
.section-header {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--brand);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.section-title em {
  font-style: italic;
  color: var(--brand);
}

/* ====== NOSOTROS ====== */
#nosotros { background: var(--surface-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.about-image {
  position: relative;
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-alt);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,20,16,0.3));
}
.about-content h2 { margin-bottom: 28px; }
.about-lead {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 24px;
}
.about-content p, .about-content div {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 16px;
}
.about-content :is(h1,h2,h3,h4) { color: var(--ink); margin: 16px 0 8px; }

/* ====== CARTA ====== */
.menu-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.menu-tab {
  padding: 14px 24px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .25s;
  white-space: nowrap;
}
.menu-tab:hover { color: var(--ink); }
.menu-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* En móvil: chips horizontales con scroll */
@media (max-width: 768px) {
  .menu-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    margin: 0 -16px 32px;
    padding: 4px 16px 12px;
    border-bottom: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-soft) transparent;
    scroll-snap-type: x proximity;
  }
  .menu-tabs::-webkit-scrollbar { height: 6px; }
  .menu-tabs::-webkit-scrollbar-track { background: transparent; }
  .menu-tabs::-webkit-scrollbar-thumb {
    background: var(--brand-soft);
    border-radius: 100px;
  }
  .menu-tab {
    padding: 9px 18px;
    font-size: 12px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 100px;
    margin: 0;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
  }
  .menu-tab.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: scale(1.04);
  }
  .menu-tab:active { transform: scale(.96); }
}
.menu-grid { position: relative; }
.carta-vacia {
  text-align: center;
  padding: 64px 24px;
  max-width: 520px;
  margin: 32px auto 0;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 18px;
}
.carta-vacia .cv-icon { color: var(--brand); margin-bottom: 18px; opacity: .85; display: flex; justify-content: center; }
.carta-vacia .cv-titulo { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 0 0 10px; }
.carta-vacia .cv-texto { color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin: 0; }

/* Imagen clickeable y botón ojo en sección carta del index */
.menu-item-img-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  border-radius: 14px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: block; flex-shrink: 0;
}
.menu-item-img-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.menu-item-img-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.menu-item-eye-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  margin-left: 10px; flex-shrink: 0;
  background: var(--surface-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: all .18s;
}
.menu-item-eye-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.06);
}

/* Dialog detalle de carta */
.dd-overlay[hidden] { display: none !important; }
.dd-overlay {
  position: fixed; inset: 0;
  background: rgba(15,10,7,0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px;
  font-family: var(--sans); color: var(--ink);
  animation: dd-fade .22s ease;
}
@keyframes dd-fade { from { opacity: 0; } to { opacity: 1; } }
.dd-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: 100%; max-width: 460px; max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: dd-slide .28s cubic-bezier(0.4,0,0.2,1);
}
@keyframes dd-slide { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.dd-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: 1px solid var(--line);
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .18s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dd-close:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.dd-hero {
  position: relative;
  height: 240px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.dd-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-color: var(--surface-alt);
  background-image: linear-gradient(135deg, var(--brand-soft) 0%, var(--surface-alt) 100%);
}
.dd-precio {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
  border: 1px solid var(--line);
}
.dd-precio small {
  font-size: .65rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-soft); font-weight: 600;
}
.dd-precio strong {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.25rem; color: var(--brand); font-weight: 700;
}
.dd-body { padding: 22px 24px 16px; }
.dd-eyebrow {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 6px;
}
.dd-name {
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 600;
  color: var(--ink); line-height: 1.2; margin: 0 0 4px;
}
.dd-pres {
  font-size: .8rem; color: var(--ink-soft); font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  margin: 0 0 18px;
}
.dd-pres[hidden] { display: none; }
.dd-info {
  list-style: none; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
  background: var(--surface-alt);
}
.dd-info li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.dd-info li[hidden] { display: none; }
.dd-info li:last-child { border-bottom: none; }
.dd-info .lbl { color: var(--ink-soft); font-weight: 500; }
.dd-info .val { color: var(--ink); font-weight: 600; text-align: right; max-width: 60%; }
.dd-descripcion {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
}
.dd-descripcion[hidden] { display: none; }
.dd-desc-head {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-deep); font-weight: 700; margin-bottom: 6px;
}
.dd-descripcion p { font-size: .85rem; color: var(--ink); line-height: 1.55; margin: 0; }
.dd-footer {
  position: sticky; bottom: 0;
  display: flex; gap: 10px; padding: 14px 24px 22px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}
.dd-btn-cancel {
  padding: 12px 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; color: var(--ink);
  font-family: inherit; font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; transition: all .18s;
}
.dd-btn-cancel:hover { background: var(--surface-alt); border-color: var(--ink-soft); }

@media (max-width: 540px) {
  .dd-box { max-height: 95vh; border-radius: 16px; }
  .dd-hero { height: 200px; }
  .dd-name { font-size: 1.35rem; }
}
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-carousel { overflow: hidden; position: relative; }
.menu-track {
  display: flex;
  transition: transform .55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.menu-page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 64px;
}
.menu-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.menu-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.menu-arrow:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-1px);
}
.menu-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.menu-counter {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  min-width: 80px;
  text-align: center;
}
.menu-counter strong {
  color: var(--brand);
  font-weight: 500;
}
.menu-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
  transition: all .3s;
}
.menu-item:hover { transform: translateX(4px); }
.menu-item:hover .menu-item-name { color: var(--brand); }
.menu-item-img {
  width: 84px; height: 84px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: var(--surface-alt);
}
.menu-item-content { flex: 1; min-width: 0; }
.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.menu-item-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  transition: color .25s;
}
.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  margin-bottom: 6px;
}
.menu-item-price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--brand);
  white-space: nowrap;
}
.menu-item-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.menu-item-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ====== EQUIPO ====== */
#equipo {
  background: var(--ink);
  color: var(--surface);
}
#equipo .section-title { color: var(--surface); }
#equipo .section-eyebrow { color: var(--brand-on-dark); }
#equipo .section-eyebrow::before { background: var(--brand-on-dark); }
#equipo .section-title em { color: var(--brand-on-dark); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #2a201a;
}
.team-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform .8s ease;
  filter: grayscale(0.3);
}
.team-card:hover .team-card-img {
  transform: scale(1.06);
  filter: grayscale(0);
}
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,20,16,0.92));
  z-index: 1;
}
.team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(40px);
  transition: transform .4s ease;
}
.team-card:hover .team-info { transform: translateY(0); }
.team-role {
  font-size: 11px;
  color: var(--brand-on-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.team-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: white;
  line-height: 1.1;
  margin-bottom: 8px;
}
.team-bio {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  transition: opacity .4s ease, max-height .4s ease;
  overflow: hidden;
  margin-bottom: 14px;
}
.team-card:hover .team-bio {
  opacity: 1;
  max-height: 100px;
}
.team-socials {
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s ease .1s;
}
.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
}
.team-social {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.team-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ====== GALERÍA ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-alt);
  position: relative;
  cursor: pointer;
  transition: all .4s;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .3s;
}
.gallery-item:hover::after { background: rgba(0, 0, 0, 0.25); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px; height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  z-index: 2;
  transition: transform .3s;
}
.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }

/* ====== BLOG ====== */
#blog { background: var(--surface-alt); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  transition: all .35s;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(26,20,16,0.1);
}
.blog-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-alt);
  transition: transform .6s;
}
.blog-card:hover .blog-image { transform: scale(1.04); }
.blog-content { padding: 26px 28px; }
.blog-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.blog-category {
  color: var(--brand);
  font-weight: 700;
}
.blog-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
  transition: color .25s;
}
.blog-card:hover .blog-title { color: var(--brand); }
.blog-excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ====== RESERVAS ====== */
.reservation-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.reservation-info h2 { margin-bottom: 24px; }
.reservation-info-text {
  color: var(--ink-soft);
  margin-bottom: 36px;
  font-size: 16px;
}
.reservation-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reservation-detail {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--surface-alt);
  border-radius: 8px;
  border-left: 3px solid var(--brand);
}
.reservation-detail-icon {
  width: 44px; height: 44px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reservation-detail h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.reservation-detail p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.reservation-form {
  background: var(--surface);
  padding: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(26,20,16,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  transition: all .25s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--sans);
}
.reservation-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ====== CONTACTO ====== */
#contacto {
  background: var(--ink);
  color: var(--surface);
}
#contacto .section-title { color: var(--surface); }
#contacto .section-eyebrow { color: var(--brand-on-dark); }
#contacto .section-eyebrow::before { background: var(--brand-on-dark); }
#contacto .section-title em { color: var(--brand-on-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.contact-info-list {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.contact-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(231,91,30,0.15);
  color: var(--brand-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.contact-item-value {
  font-family: var(--serif);
  font-size: 18px;
  color: white;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all .25s;
}
.social-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}
.map-card {
  position: relative;
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: #2a201a;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.map-overlay {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  background: var(--surface-trans-strong);
  backdrop-filter: blur(10px);
  padding: 22px 26px;
  border-radius: 8px;
  color: var(--ink);
  pointer-events: none;
  border-left: 3px solid var(--brand);
}
.map-overlay h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--ink);
}
.map-overlay p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ====== FOOTER ====== */
footer.site-footer {
  position: relative;
  color: rgba(255,255,255,0.65);
  padding: 80px 48px 30px;
  overflow: hidden;
  isolation: isolate;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--footer-bg);
  background-size: cover;
  background-position: center;
  background-color: #0f0a07;
  z-index: -2;
}
footer.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,10,7,0.88) 0%, rgba(15,10,7,0.94) 100%);
  z-index: -1;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.footer-brand .logo { color: white; font-size: 28px; }
.footer-brand .logo span { color: var(--brand); }
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h5 {
  color: white;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 968px) {
  .nav { padding: 18px 24px; gap: 12px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-center { margin-left: auto; gap: 0; }
  .nav-actions { gap: 6px; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .hero-slider { min-height: 560px; }
  .slider-arrow { display: none; }
  .slide-content { padding: 0 28px; }
  .slide-actions { gap: 12px; }

  .section { padding: 80px 24px; }

  .about-grid,
  .blog-grid,
  .team-grid,
  .reservation-wrapper,
  .contact-grid,
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-page { grid-template-columns: 1fr; gap: 18px; }
  .menu-controls { gap: 18px; margin-top: 32px; }

  .about-image { min-height: 380px; }
  .map-card { min-height: 420px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .blog-grid { gap: 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .reservation-form { padding: 28px; }

  footer.site-footer { padding: 60px 24px 30px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}
