@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,400&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #0e0c0a;
  --ink-2: #17140f;
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.35);
  --ivory: #ede6d6;
  --ivory-dim: #a69f8e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
}

/* ---------- NAV ---------- */
.mp-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  background: var(--ink-2);
}

.mp-logo {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.01em;
}

.mp-logo em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.mp-logo-line {
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.mp-nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ---------- DROPDOWN ---------- */
.mp-dropdown {
  position: relative;
}

.mp-dropdown-btn {
  background: none;
  border: none;
  color: var(--ivory);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
}

.mp-caret {
  color: var(--gold);
  font-size: 11px;
  transition: transform 0.25s ease;
}

.mp-dropdown.open .mp-caret {
  transform: rotate(180deg);
}

.mp-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--ink-2);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.mp-dropdown.open .mp-dropdown-panel {
  display: flex;
}

.mp-dropdown-item {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 2px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.mp-dropdown-item:hover {
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold);
}

/* ---------- RESERVE BUTTON (nav) ---------- */
.mp-reserve-btn {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 11px 22px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mp-reserve-btn:hover {
  background: #ddb93a;
}

/* ---------- HERO (placeholder content) ---------- */
.mp-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  text-align: center;
}

.mp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.mp-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.mp-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.mp-subtitle {
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- MENÚ: secciones y platos ---------- */
.mp-menu {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.mp-menu-section {
  padding-top: 60px;
  /* compensa la altura del nav sticky al hacer scroll con el ancla */
  scroll-margin-top: 90px;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.mp-menu-section:first-child {
  border-top: none;
}

.mp-menu-section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}

.mp-menu-kicker {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--gold);
  margin: 0;
}

.mp-menu-section-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0;
}

.mp-dish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}

@media (max-width: 640px) {
  .mp-dish-grid {
    grid-template-columns: 1fr;
  }
}

.mp-dish {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(237, 230, 214, 0.08);
}

.mp-dish-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mp-dish-top h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  margin: 0;
  color: var(--ivory);
}

.mp-price {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  white-space: nowrap;
}

.mp-dish-desc {
  font-size: 13px;
  color: var(--ivory-dim);
  line-height: 1.6;
  margin: 0;
}

/* ---------- UBICACIÓN / MAPA ---------- */
.mp-location {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 100px;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.mp-location-header {
  margin-bottom: 28px;
}

.mp-location-header .mp-eyebrow {
  margin-bottom: 10px;
}

.mp-map-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.mp-map {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.mp-map-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.mp-map-link:hover {
  border-bottom-color: var(--gold);
}

@media (max-width: 640px) {
  .mp-map-wrap {
    max-width: 100%;
  }
}

/* ---------- RESEÑAS (carrusel horizontal infinito) ---------- */
.mp-reviews-section {
  padding: 20px 0 100px;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  overflow: hidden;
}

.mp-reviews-header {
  max-width: 980px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.mp-reviews-viewport {
  width: 100%;
  overflow: hidden;
  /* difumina los bordes izquierdo/derecho para que el bucle se vea limpio */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 60px,
    black calc(100% - 60px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 60px,
    black calc(100% - 60px),
    transparent 100%
  );
}

.mp-reviews-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 4px 24px;
  animation: mp-scroll-left 32s linear infinite;
}

.mp-reviews-track:hover {
  animation-play-state: paused;
}

@keyframes mp-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.mp-review-card {
  flex: 0 0 auto;
  width: 300px;
  background: var(--ink-2);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 4px;
  padding: 26px;
}

.mp-review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.mp-review-text {
  font-size: 14px;
  color: var(--ivory);
  line-height: 1.6;
  margin: 0 0 18px;
}

.mp-review-author {
  font-size: 12px;
  color: var(--ivory-dim);
  letter-spacing: 0.04em;
  margin: 0;
}

@media (max-width: 640px) {
  .mp-review-card {
    width: 240px;
  }
}

/* ---------- HAMBURGUESA (solo visible en móvil) ---------- */
.mp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mp-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ivory);
}

@media (max-width: 860px) {
  .mp-nav {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .mp-hero {
    padding: 100px 20px 60px;
  }

  /* En móvil, se oculta el dropdown + reservar de escritorio y aparece la hamburguesa */
  .mp-nav-right {
    display: none;
  }
  .mp-hamburger {
    display: flex;
  }
}

/* ---------- PANEL LATERAL MÓVIL ---------- */
.mp-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 40;
  display: none;
}

.mp-mobile-overlay.mp-show {
  display: block;
}

.mp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  max-width: 82vw;
  background: var(--ink-2);
  border-left: 1px solid rgba(201, 162, 39, 0.2);
  z-index: 50;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mp-mobile-drawer.mp-open {
  transform: translateX(0);
}

.mp-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--ivory-dim);
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 16px;
}

.mp-mobile-close:hover {
  color: var(--gold);
}

.mp-mobile-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 18px 0 8px;
}

.mp-mobile-link {
  color: var(--ivory);
  text-decoration: none;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(237, 230, 214, 0.08);
}

.mp-mobile-reserve {
  margin-top: 28px;
  margin-bottom: 12px;
  width: 100%;
  flex-shrink: 0;
}

/* ---------- GALERÍA ---------- */
.mp-gallery {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

.mp-gallery-note {
  font-size: 13px;
  color: var(--ivory-dim);
  margin-top: 8px;
  font-style: italic;
}

.mp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}

.mp-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.15);
}

.mp-gallery-img--tall {
  grid-row: span 2;
}

@media (max-width: 640px) {
  .mp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }
}

/* ---------- AVISO DE COOKIES SOBRE EL MAPA (si no hay consentimiento) ---------- */
.mp-map-consent-notice {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--ink-2);
  color: var(--ivory-dim);
  font-size: 13px;
}

.mp-map-consent-notice.mp-show {
  display: flex;
}

.mp-map-wrap {
  position: relative;
}

/* ---------- BANNER DE COOKIES ---------- */
.mp-cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--ink-2);
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.mp-cookie-banner.mp-cookie-show {
  display: flex;
}

.mp-cookie-text {
  font-size: 13px;
  color: var(--ivory-dim);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

.mp-cookie-text a {
  color: var(--gold);
}

.mp-cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.mp-cookie-reject {
  background: none;
  border: 1px solid rgba(237, 230, 214, 0.2);
  color: var(--ivory-dim);
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: pointer;
}

.mp-cookie-accept {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
}

.mp-cookie-accept:hover {
  background: #ddb93a;
}

/* ---------- FOOTER ---------- */
.mp-footer {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding: 48px 24px 28px;
}

.mp-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.mp-footer-hours {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ivory-dim);
}

.mp-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.mp-footer-links a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 13px;
}

.mp-footer-links a:hover {
  color: var(--gold);
}

.mp-footer-copy {
  max-width: 980px;
  margin: 32px auto 0;
  font-size: 12px;
  color: var(--ivory-dim);
  opacity: 0.6;
}
