/* ==========================================================================
   ÉBANO KITCHEN & BAR — Minimalist Dark Diffused Slate-Blue Design System
   Inspirado en referencias minimalistas (NOE & Komein):
   - Azul nocturno profundo y difuminado (#05080d -> #1d3140 -> #2c4454)
   - Navegación superior limpia SIN líneas ni bordes
   - Botones mate y sobrios (sin brillos ni degradados chillones)
   - Tipografía ligera, espaciada y elegante
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Safe Oklab/OkLCh gradient interpolation tokens with pre-2024 fallback */
  --in-oklab: ;
  --in-oklch: ;

  /* Official 4-Color Palette: #FF6500 · #1E3E62 · #0B192C · #000000 */
  --palette-orange: #FF6500;
  --palette-slate: #1E3E62;
  --palette-navy: #0B192C;
  --palette-black: #000000;

  /* Core Surfaces & Backgrounds (#000000, #0B192C, #1E3E62) */
  --bg-black: #000000;
  --bg-deep: #0B192C;
  --bg-ebony: #000000;
  --bg-navy: #0B192C;
  --bg-slate: #1E3E62;
  --bg-slate-light: color-mix(in oklab, #1E3E62 78%, white);
  --bg-card: rgba(11, 25, 44, 0.86);

  /* Buttons & Interactive Accents (#FF6500 & #1E3E62) */
  --blue-btn: #FF6500;
  --blue-btn-hover: color-mix(in oklab, #FF6500 84%, white);
  --pacific-teal: #1E3E62;
  --ocean-accent: #FF6500;
  --sky-accent: #1E3E62;
  --sand-accent: #FF6500;
  --sand-hover: color-mix(in oklab, #FF6500 84%, white);
  --terracotta-accent: #FF6500;
  --serif-cream: #ffffff;

  /* Tints & Borders generated safely in Oklab via color-mix() */
  --sand-soft-tint: color-mix(in oklab, #FF6500 24%, transparent);
  --sand-border-tint: color-mix(in oklab, #FF6500 48%, rgba(30, 62, 98, 0.45));
  --teal-soft-tint: color-mix(in oklab, #1E3E62 38%, transparent);
  --ui-border-subtle: color-mix(in oklab, #1E3E62 65%, rgba(255, 255, 255, 0.16));

  /* Text Colors (High contrast against #000000 & #0B192C) */
  --text-white: #ffffff;
  --text-soft: color-mix(in oklab, #1E3E62 22%, white);
  --text-muted: color-mix(in oklab, #1E3E62 48%, white);
  --text-dim: color-mix(in oklab, #1E3E62 68%, white);

  /* Validation States */
  --danger: #ff4d4d;
  --danger-bg: rgba(255, 77, 77, 0.14);
  --valid: #FF6500;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--palette-orange);
  outline-offset: 3px;
}

.container {
  width: min(1220px, 90%);
  margin-inline: auto;
}

/* ==========================================================================
   MATTE, UNDERSTATED BUTTONS (Zero shine, zero glow)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Primary Button (#FF6500) */
.btn--blue {
  background-color: var(--palette-orange);
  color: #ffffff;
  font-weight: 600;
  border-radius: 3px;
}

.btn--blue:hover {
  background-color: var(--blue-btn-hover);
  color: var(--palette-black);
}

/* Pill CTA Button (#FF6500 with #000000 / #ffffff contrast) */
.btn--sand {
  background-color: var(--palette-orange);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.85rem 2rem;
}

.btn--sand:hover {
  background-color: var(--sand-hover);
  color: var(--palette-black);
}

.btn--ghost {
  background-color: rgba(30, 62, 98, 0.38);
  color: var(--text-white);
  border: 1px solid var(--palette-slate);
  border-radius: 3px;
}

.btn--ghost:hover {
  background-color: var(--palette-slate);
  border-color: var(--palette-orange);
  color: #ffffff;
}

/* ==========================================================================
   BORDERLESS MINIMAL HEADER (NOE Reference: No lines, centered logo)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86) 0%, rgba(11, 25, 44, 0) 100%);
  transition: background-color 0.3s ease;
}

.header.is-scrolled {
  background: rgba(11, 25, 44, 0.94);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 114px;
  gap: 3rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.15rem;
}

.nav--left {
  justify-content: flex-end;
}

.nav--right {
  justify-content: flex-start;
}

/* Clean uppercase links WITHOUT bottom lines or borders */
.nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.nav__link:hover {
  color: #ffffff;
  opacity: 0.7;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
}

.brand__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover .brand__logo {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 18px rgba(222, 155, 82, 0.35));
}

.brand__name {
  font-family: var(--font-sans);
  font-size: 2.65rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  color: #ffffff;
  line-height: 1;
}

.brand__sub {
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  color: var(--text-soft);
  margin-top: 0.38rem;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: #ffffff;
}

.mobile-nav {
  background: rgba(6, 10, 15, 0.98);
  padding: 1.5rem 2rem 2rem;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-nav__link {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

/* ==========================================================================
   HERO SECTION (Full-Bleed Section Background Photo + Clean Foreground Text)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 6.5rem;
  background-color: var(--palette-navy);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1220px, 90%);
  margin-inline: auto;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.hero__kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand-accent);
  margin-bottom: 1.05rem;
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 1.2rem + 3.4vw, 4.1rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 1.13;
  color: #ffffff;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1.45rem;
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.45rem, 0.85rem + 1.8vw, 2.35rem);
  font-weight: 200;
  color: var(--serif-cream);
  margin-top: 0.28rem;
}

.hero__highlight {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
  padding-left: 0.85rem;
  border-left: 2px solid var(--sand-accent);
  margin-bottom: 1.85rem;
}

.hero__note {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-wrap: pretty;
  margin-bottom: 1.65rem;
}

/* Staggered Editorial Text Reveal on Slide Change */
.hero__copy.is-exiting .hero__kicker,
.hero__copy.is-exiting .hero__title,
.hero__copy.is-exiting .hero__highlight,
.hero__copy.is-exiting .hero__note,
.hero__copy.is-exiting .hero__actions {
  opacity: 0;
  translate: 0 -10px;
  transition:
    opacity 0.16s ease-in,
    translate 0.16s ease-in;
}

.hero__copy.is-entering .hero__kicker,
.hero__copy.is-entering .hero__title,
.hero__copy.is-entering .hero__title-sub,
.hero__copy.is-entering .hero__highlight,
.hero__copy.is-entering .hero__note,
.hero__copy.is-entering .hero__actions {
  animation: heroTextReveal 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__copy.is-entering .hero__kicker {
  animation-delay: 0ms;
}

.hero__copy.is-entering .hero__title {
  animation-delay: 70ms;
}

.hero__copy.is-entering .hero__title-sub {
  animation-delay: 140ms;
}

.hero__copy.is-entering .hero__highlight {
  animation-delay: 210ms;
}

.hero__copy.is-entering .hero__note {
  animation-delay: 280ms;
}

.hero__copy.is-entering .hero__actions {
  animation-delay: 350ms;
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__img.is-animating {
    animation: none;
  }

  .promo-slider__track,
  .promo-slide__img {
    transition-duration: 0.01ms !important;
  }

  .hero__copy.is-exiting .hero__kicker,
  .hero__copy.is-exiting .hero__title,
  .hero__copy.is-exiting .hero__highlight,
  .hero__copy.is-exiting .hero__note,
  .hero__copy.is-exiting .hero__actions {
    translate: none;
  }

  .hero__copy.is-entering .hero__kicker,
  .hero__copy.is-entering .hero__title,
  .hero__copy.is-entering .hero__title-sub,
  .hero__copy.is-entering .hero__highlight,
  .hero__copy.is-entering .hero__note,
  .hero__copy.is-entering .hero__actions {
    animation-duration: 0.25s;
    animation-delay: 0ms;
  }

  @keyframes heroTextReveal {
    from {
      opacity: 0;
      translate: 0 0;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

.hero__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      95deg var(--in-oklab),
      rgba(0, 0, 0, 0.84) 0%,
      rgba(11, 25, 44, 0.62) 45%,
      rgba(30, 62, 98, 0.18) 100%
    ),
    linear-gradient(
      180deg var(--in-oklab),
      rgba(0, 0, 0, 0.62) 0%,
      rgba(11, 25, 44, 0.08) 34%,
      rgba(11, 25, 44, 0.78) 100%
    );
  pointer-events: none;
}

.hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(0.95) contrast(1.03);
  transform: scale(1);
  transition: opacity 0.35s ease;
}

.hero__img.is-animating {
  animation: heroKenBurns 6s ease-out forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.055);
  }
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  padding: 1rem;
  transition: color 0.2s ease;
  z-index: 5;
}

.hero__arrow:hover {
  color: #ffffff;
}

.hero__arrow--prev {
  left: 1.25rem;
}

.hero__arrow--next {
  right: 1.25rem;
}

.hero__dots {
  position: absolute;
  bottom: 6.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.hero__dot {
  position: relative;
  width: 34px;
  height: 24px;
  padding-block: 10.5px;
  background-color: rgba(255, 255, 255, 0.22);
  background-clip: content-box;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.hero__dot.is-active::after {
  content: '';
  position: absolute;
  inset: 10.5px 0;
  background: rgba(255, 255, 255, 0.85);
  transform-origin: left center;
  animation: heroDotProgress 6s linear forwards;
}

@keyframes heroDotProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.25rem;
}

.kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 400;
  color: var(--serif-cream);
  line-height: 1.15;
  text-wrap: balance;
}

/* ==========================================================================
   PROMOCIONES & EVENTOS ESPECIALES (Full-Bleed Edge-to-Edge · Zero Blur · 7s)
   ========================================================================== */
.promos-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000000;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.promo-slider {
  --promo-slide-w: clamp(280px, 50vw, 600px);
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.promo-slider__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: #000000;
  box-shadow: none;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
}

.promo-slider__viewport:active {
  cursor: grabbing;
}

.promo-slider__track {
  --track-index: 2;
  --drag-x: 0px;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  transform: translate3d(
    calc(50% - (var(--promo-slide-w) * (var(--track-index) + 0.5)) + var(--drag-x)),
    0,
    0
  );
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-slider__track.is-instant,
.promo-slider__track.is-instant .promo-slide__img {
  transition: none !important;
}

.promo-slide {
  position: relative;
  flex: 0 0 var(--promo-slide-w);
  width: var(--promo-slide-w);
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000000;
}

.promo-slide:not(.is-active) {
  cursor: pointer;
}

.promo-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  opacity: 0.32;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-slide.is-active .promo-slide__img {
  opacity: 1;
}

.promo-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 25, 44, 0.88);
  border: 1px solid var(--sand-border-tint);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.promo-slider__arrow:hover {
  background: var(--palette-orange);
  border-color: var(--palette-orange);
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.promo-slider__arrow--prev {
  left: 1.25rem;
}

.promo-slider__arrow--next {
  right: 1.25rem;
}

.promo-slider__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.promo-slider__dot {
  width: 36px;
  height: 24px;
  padding-block: 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.32);
  background-clip: content-box;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.promo-slider__dot.is-active {
  width: 52px;
  background-color: var(--palette-orange);
}

/* ==========================================================================
   PLATOS DESTACADOS (#0B192C · #1E3E62 · #000000 · #FF6500 Grid)
   ========================================================================== */
.featured {
  background:
    radial-gradient(circle at 18% 22%, rgba(30, 62, 98, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 85% 78%, rgba(255, 101, 0, 0.08) 0%, transparent 50%),
    linear-gradient(180deg var(--in-oklch), #0B192C 0%, #1E3E62 52%, #0B192C 100%);
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1080px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

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

.featured-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.featured-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1.1rem;
  background: var(--bg-navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.featured-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.featured-card__title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 500;
  color: var(--text-white);
}

.featured-card__price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--palette-orange);
}

.featured-card__desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   MINIMALIST MENU SECTION (LA CARTA — #0B192C · #1E3E62 · #000000 · #FF6500)
   ========================================================================== */
.menu-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(30, 62, 98, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 14% 52%, rgba(30, 62, 98, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 82% 84%, rgba(255, 101, 0, 0.08) 0%, transparent 52%),
    linear-gradient(180deg var(--in-oklch), #000000 0%, #0B192C 45%, #1E3E62 82%, #0B192C 100%);
}

/* Borderless Minimal Moment Tabs */
.menu-moments {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

.moment-tab {
  position: relative;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.45rem 0;
  transition: color 0.2s ease;
}

.moment-tab:hover {
  color: var(--serif-cream);
}

.moment-tab.is-active {
  color: var(--serif-cream);
  font-weight: 600;
}

.moment-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg var(--in-oklab), var(--sand-accent), var(--terracotta-accent));
}

.menu-controls {
  max-width: 880px;
  margin: 0 auto 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.search-box {
  position: relative;
  width: min(460px, 100%);
  display: flex;
  align-items: center;
}

.search-box__icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box__input {
  width: 100%;
  padding: 0.72rem 2.4rem 0.72rem 2.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text-white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-box__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
}

.search-box__clear {
  position: absolute;
  right: 0.45rem;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-box__clear[hidden] {
  display: none;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.cat-pill {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.cat-pill:hover {
  color: #ffffff;
  border-color: var(--palette-orange);
  background: var(--palette-slate);
}

.cat-pill.is-active {
  background: var(--palette-orange);
  border-color: var(--palette-orange);
  color: #ffffff;
  font-weight: 600;
}

/* Minimalist Editorial Menu Layout */
.menu-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.menu-category-header {
  margin-bottom: 1.75rem;
}

.menu-category-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--serif-cream);
  margin-bottom: 0.2rem;
}

.menu-category-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3.5rem;
  row-gap: 1.65rem;
}

.menu-item-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item-card__info {
  flex: 1;
}

.menu-item-card__name {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.menu-item-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.48;
  text-wrap: pretty;
}

.menu-item-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.menu-item-card__price {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--palette-orange);
  white-space: nowrap;
}

.empty-menu-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BAR SPOTLIGHT (#000000 · #0B192C · #1E3E62 · #FF6500 Banner)
   ========================================================================== */
.bar-banner {
  background:
    radial-gradient(circle at 76% 52%, rgba(255, 101, 0, 0.16) 0%, rgba(30, 62, 98, 0.65) 45%, #000000 92%),
    linear-gradient(95deg var(--in-oklch), #000000 0%, #0B192C 50%, #1E3E62 100%);
  padding: 5.5rem 0;
}

.bar-banner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.bar-banner__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 1.16;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.bar-banner__title span {
  display: block;
  font-size: 0.68em;
  color: rgba(255, 255, 255, 0.85);
}

.bar-banner__text {
  font-size: 0.94rem;
  color: var(--text-soft);
  max-width: 480px;
  text-wrap: pretty;
  margin-bottom: 2rem;
}

.bar-banner__img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: 4px;
}

/* ==========================================================================
   KOMEIN-STYLE CENTERED ATMOSPHERIC BANNER ("Ébano Kitchen & Bar")
   ========================================================================== */
.komein-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.5rem 0;
  overflow: hidden;
}

.komein-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.komein-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.06);
}

.komein-banner__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 25, 44, 0.54) 0%, rgba(0, 0, 0, 0.86) 100%);
}

.komein-banner__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.komein-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.35rem);
  font-weight: 400;
  color: var(--serif-cream);
  text-wrap: balance;
  margin-bottom: 1.2rem;
}

.komein-banner__text {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  text-wrap: pretty;
  margin-bottom: 2.1rem;
}

/* ==========================================================================
   HORARIOS DE ATENCIÓN (#000000 · #0B192C · #1E3E62 · #FF6500 Section)
   ========================================================================== */
.hours-section {
  background:
    radial-gradient(circle at 20% 78%, rgba(30, 62, 98, 0.45) 0%, transparent 52%),
    radial-gradient(circle at 82% 24%, rgba(255, 101, 0, 0.08) 0%, transparent 52%),
    linear-gradient(180deg var(--in-oklch), #0B192C 0%, #1E3E62 55%, #0B192C 100%);
  padding: 5.5rem 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: stretch;
}

.hours-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hours-intro__title {
  margin-bottom: 1rem;
}

.hours-intro__desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.75;
  text-wrap: pretty;
  margin-bottom: 1.5rem;
}

.hours-visual {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #05080d;
}

.hours-visual img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  filter: brightness(0.88);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hours-visual:hover img {
  transform: scale(1.03);
  filter: brightness(0.96);
}

.hours-visual__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.15rem;
  background: rgba(7, 12, 18, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hours-visual__link {
  color: var(--sand-accent);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: opacity 0.2s ease;
}

.hours-visual__link:hover {
  opacity: 0.82;
}

.hours-card {
  background: linear-gradient(145deg var(--in-oklch), rgba(30, 62, 98, 0.65) 0%, rgba(11, 25, 44, 0.95) 100%);
  border: 1px solid var(--sand-border-tint);
  border-radius: 8px;
  padding: 2.4rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 0 36px rgba(255, 101, 0, 0.08);
}

.hours-card__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-card__kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-accent);
  margin-bottom: 0.35rem;
}

.hours-card__title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--serif-cream);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.65rem;
}

.hours-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.62rem 0.85rem;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.hours-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hours-row.is-today {
  background: rgba(255, 101, 0, 0.14);
  border: 1px solid var(--palette-orange);
}

.hours-row__day {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.hours-row.is-today .hours-row__day {
  color: var(--serif-cream);
  font-weight: 600;
}

.hours-row__today-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: var(--palette-orange);
  color: #ffffff;
}

.hours-row__line {
  flex: 1;
  height: 1px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.hours-row__time {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.hours-row--closed .hours-row__day {
  color: rgba(255, 255, 255, 0.58);
}

.hours-row__time--closed {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  padding: 0.18rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-card__footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hours-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   MINIMALIST RESERVATIONS & FORM VALIDATION (:user-invalid)
   ========================================================================== */
.reservations {
  background:
    radial-gradient(circle at 50% 15%, rgba(30, 62, 98, 0.52) 0%, transparent 55%),
    linear-gradient(180deg var(--in-oklch), #000000 0%, #0B192C 55%, #1E3E62 100%);
  padding: 5.5rem 0;
}

.reservations__inner {
  max-width: 720px;
  margin: 0 auto;
}

.reservations__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.reservations__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.res-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}

.hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--ui-border-subtle);
  border-radius: 4px;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field select option {
  background: #0B192C;
  color: #ffffff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--palette-orange);
  background: rgba(30, 62, 98, 0.35);
  box-shadow: 0 0 0 3px var(--sand-soft-tint);
}

.error-msg {
  display: none;
  color: #f0807c;
  font-size: 0.76rem;
  margin-top: 0.3rem;
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid,
.field input.user-invalid-fallback,
.field select.user-invalid-fallback,
.field textarea.user-invalid-fallback {
  border-color: var(--danger);
  background-color: var(--danger-bg);
}

.field input:user-invalid + .error-msg,
.field select:user-invalid + .error-msg,
.field textarea:user-invalid + .error-msg,
.field input.user-invalid-fallback + .error-msg,
.field select.user-invalid-fallback + .error-msg,
.field textarea.user-invalid-fallback + .error-msg {
  display: block;
}

.field input:user-valid,
.field select:user-valid,
.field input.user-valid-fallback,
.field select.user-valid-fallback {
  border-color: rgba(59, 130, 246, 0.5);
}

.res-form__actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   KOMEIN-STYLE PURE DARK MINIMALIST FOOTER (Crisp, Larger & High-Visibility)
   ========================================================================== */
.footer {
  background: #000000;
  padding-top: 5rem;
  position: relative;
  z-index: 7;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4.5rem;
}

.brand--footer {
  align-items: flex-start;
  text-align: left;
  padding: 0;
  margin-bottom: 1.4rem;
}

.brand--footer .brand__name {
  font-family: var(--font-sans);
  font-size: 2.55rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  color: #ffffff;
  line-height: 1;
}

.brand--footer .brand__sub {
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  color: #d6dfe8;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.footer__tagline {
  font-size: 0.98rem;
  font-weight: 500;
  color: #d6dfe8;
}

.footer__links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: #e2e8f0;
}

.footer__links-col a:hover {
  color: #ffffff;
}

.footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.02rem;
}

.footer__address,
.footer__phone {
  font-weight: 700;
  color: #ffffff;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.85rem;
}

.social-icon {
  color: #ffffff;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  opacity: 1;
  transform: scale(1.08);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.65rem 0;
  font-size: 0.88rem;
  color: #b8c4d0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

/* Floating WhatsApp Logo Button in bottom-right (contour shape, no green box/circle) */
.floating-wa {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 50;
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.floating-wa__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.48));
}

.floating-wa:hover {
  transform: scale(1.08);
  filter: brightness(1.04);
}

/* ==========================================================================
   UBICACIÓN & MAPA INTERACTIVO (Minimalist Grayscale Map Section)
   ========================================================================== */
.map-section {
  background: linear-gradient(180deg var(--in-oklch), #0B192C 0%, #000000 100%);
  padding: 5.5rem 0 6.5rem;
}

.map-section__header {
  margin-bottom: 2.4rem;
}

.map-section__sub {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin-top: 0.55rem;
  letter-spacing: 0.04em;
}

.map-frame {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.48);
  background: #e5e5e5;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ==========================================================================
   SECTION STACKING & PERFORMANCE OPTIMIZATION
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
}

.promos-section {
  position: relative;
  z-index: 2;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.featured,
.menu-section,
.bar-banner,
.komein-banner,
.hours-section,
.map-section,
.reservations,
.footer {
  position: relative;
}

.menu-section,
.hours-section,
.map-section,
.reservations {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  .nav--left,
  .nav--right .nav__link {
    display: none;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
    height: 76px;
  }

  .brand {
    align-items: flex-start;
    padding: 0;
  }

  .brand__logo {
    height: 50px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__grid {
    justify-content: center;
  }

  .hero__copy {
    text-align: left;
    max-width: 100%;
  }

  .bar-banner__grid,
  .hours-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-slider {
    --promo-slide-w: min(72vw, 360px);
  }

  .promo-slider__arrow--prev {
    left: 0.5rem;
  }

  .promo-slider__arrow--next {
    right: 0.5rem;
  }

  .hours-status {
    align-self: center;
  }

  .hours-card {
    padding: 1.75rem 1.35rem;
    text-align: left;
  }

  .hours-card__actions {
    justify-content: center;
  }

  .hero__arrow {
    display: none;
  }

  .menu-items-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .form-row,
  .form-row--3,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ACCESSIBILITY: HIGH CONTRAST & FORCED COLORS MODE (Modern Web Guidance)
   ========================================================================== */
@media (prefers-contrast: more) {
  :root {
    --text-soft: #eef3f8;
    --text-muted: #c8d4e0;
    --ui-border-subtle: rgba(255, 255, 255, 0.45);
    --sand-border-tint: rgba(222, 155, 82, 0.75);
  }

  .field input,
  .field select,
  .field textarea,
  .search-box__input,
  .cat-pill,
  .hours-card {
    border-width: 1.5px;
  }
}

@media (forced-colors: active) {
  .btn,
  .cat-pill,
  .field input,
  .field select,
  .field textarea,
  .hours-card,
  .featured-card__img-wrap,
  .map-frame {
    border: 1px solid ButtonText;
  }

  .cat-pill.is-active,
  .moment-tab.is-active,
  .hours-row.is-today {
    outline: 2px solid Highlight;
  }
}
