@font-face {
  font-family: "Sedgwick Display";
  src: url("assets/fonts/sedgwickavedisplayregular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Fugaz One";
  src: url("assets/fonts/fugazoneregular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #101f34;
  --ink-deep: #091528;
  --cyan: #11aebf;
  --purple: #873bbf;
  --orange: #fc951e;
  --white: #fff;
  --muted: #dce7f0;
  --header-h: 82px;
  --max: 1480px;
  --clip: polygon(9% 0, 100% 0, 100% 72%, 84% 100%, 0 100%, 0 28%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 35%, rgb(17 174 191 / 19%), transparent 35%),
    radial-gradient(circle at 83% 22%, rgb(135 59 191 / 19%), transparent 38%),
    linear-gradient(180deg, #101f34 0%, #11243a 55%, #101f34 100%);
  font-family: "Fugaz One", system-ui, sans-serif;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { color: inherit; }

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgb(16 31 52 / 96%);
  border-bottom: 1px solid rgb(17 174 191 / 12%);
  backdrop-filter: blur(12px);
}
.navbar {
  width: min(var(--max), 96vw);
  min-height: var(--header-h);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr minmax(210px, 1.25fr) 1.2fr 1fr auto;
  align-items: center;
  gap: clamp(.35rem, 1.1vw, 1.3rem);
}
.brand { display: grid; place-items: center; padding: .25rem .4rem; }
.brand img { width: clamp(180px, 18vw, 300px); max-height: 62px; object-fit: contain; }
.nav-cyber,
.cyber-button,
.filter-button {
  --inner: #101f34;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: .62rem 1.25rem;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
  clip-path: var(--clip);
  transition: transform .2s ease, color .2s ease, filter .2s ease;
  white-space: nowrap;
}
.nav-cyber { font-size: clamp(1rem, 1.45vw, 1.65rem); }
.nav-cyber::before,
.cyber-button::before,
.filter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, var(--purple), var(--cyan));
  opacity: 0;
  transition: opacity .2s ease;
}
.nav-cyber::after,
.cyber-button::after,
.filter-button::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  clip-path: var(--clip);
  background: var(--inner);
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.nav-cyber:hover,
.nav-cyber:focus-visible,
.nav-cyber.is-current,
.cyber-button:hover,
.cyber-button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--cyan);
  transform: translateY(-2px);
}
.nav-cyber:hover::before,
.nav-cyber:hover::after,
.nav-cyber:focus-visible::before,
.nav-cyber:focus-visible::after,
.nav-cyber.is-current::before,
.nav-cyber.is-current::after,
.cyber-button::before,
.cyber-button::after,
.filter-button.is-active::before,
.filter-button.is-active::after,
.filter-button:hover::before,
.filter-button:hover::after { opacity: 1; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 4px; margin: 5px 0; border-radius: 9px; background: #fff; transition: .2s ease; }
.mobile-menu { display: none; }

.section-space {
  padding: clamp(4rem, 7vw, 8rem)
           max(2vw, calc((100vw - var(--max)) / 2));
}

.hero {
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(.5rem, 1vw, 1rem);
  padding-bottom: clamp(1rem, 2vw, 2rem);

  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr);
  align-items: center;

  gap: clamp(.2rem, 1vw, 1.5rem);

  overflow: visible;
}

.hero-copy {
  align-self: center;
}

.hero-title {
  width: min(115%, 1050px);
  max-width: none;
  margin-inline: auto;
  transform: rotate(-3deg);
}

.hero-food {
  min-width: 0;
  height: min(82vh, 850px);

  display: grid;
  place-items: center;
}

.hero-food img {
  width: min(120%, 900px);
  max-width: none;

  height: 100%;
  object-fit: contain;
  object-position: center;

  transform: rotate(-2deg) scale(1.08);
}

.section-graphic { width: min(740px, 82vw); margin: 0 auto clamp(2rem, 4vw, 4rem); }
.section-graphic--explore { width: min(780px, 90vw); margin-bottom: 1rem; }
.section-graphic--crew { width: min(620px, 90%); margin: 0 auto 1.6rem; }
.featured { padding-top: clamp(3.5rem, 6vw, 7rem); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.2rem);
  margin-bottom: clamp(2.2rem, 4vw, 4rem);
}
.cyber-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: var(--clip);
  border: 0;
  background: linear-gradient(165deg, rgb(135 59 191 / 62%), rgb(17 174 191 / 48%));
}
.cyber-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--purple), #5a6dd3 45%, var(--cyan));
}
.cyber-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  clip-path: var(--clip);
  background: linear-gradient(165deg, rgb(88 50 139 / 92%), rgb(12 121 139 / 88%));
}
.dish-card {
  min-height: 520px;
  padding: 1.4rem 1.3rem 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
}
.dish-card:hover { transform: translateY(-12px) rotate(-.5deg); filter: saturate(1.15); }
.dish-card:nth-child(2):hover { transform: translateY(-12px) rotate(.5deg); }
.dish-card h3 { margin: 0; color: var(--orange); font-size: clamp(1.35rem, 2vw, 2.25rem); line-height: 1.05; }
.dish-card img { width: 100%; height: 390px; object-fit: contain; transition: transform .25s ease; }
.dish-card:hover img { transform: scale(1.04); }
.dish-card span { opacity: 0; color: var(--cyan); transition: opacity .2s ease; }
.dish-card:hover span { opacity: 1; }
.cyber-button {
  width: fit-content;
  min-height: 58px;
  padding: .85rem 1.75rem;
  color: var(--cyan);
  font-size: clamp(1.1rem, 1.8vw, 1.75rem);
}
.cyber-button--large { margin-inline: auto; min-height: 72px; padding: 1rem 2.8rem; font-size: clamp(1.45rem, 2.25vw, 2.25rem); }
.cyber-button--small { min-height: 48px; padding: .55rem 1rem; font-size: 1rem; }
.cyber-button--small img { width: 21px; margin-right: .55rem; }

.explore-preview { padding-top: clamp(4rem, 7vw, 8rem); }
.explore-heading { max-width: 980px; margin: 0 auto clamp(2rem, 4vw, 4rem); text-align: center; }
.explore-heading p, .subpage-hero p { color: var(--muted); font-family: system-ui, sans-serif; font-weight: 700; font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.7; }
.explore-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center; }
.carousel { min-height: 620px; position: relative; }
.carousel-track { height: 100%; min-height: 620px; }
.carousel-slide { position: absolute; inset: 4px; margin: 0; opacity: 0; pointer-events: none; transition: opacity .35s ease; clip-path: var(--clip); background: var(--ink-deep); }
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img, .carousel-slide video { width: 100%; height: 100%; min-height: 612px; object-fit: cover; }
.carousel-slide figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1.4rem 1.3rem; background: linear-gradient(transparent, rgb(9 21 40 / 95%)); font-size: clamp(1.1rem, 1.7vw, 1.7rem); }
.carousel-arrow { position: absolute; z-index: 5; top: 50%; width: 48px; height: 56px; border: 0; background: rgb(16 31 52 / 82%); color: #fff; font-size: 2.5rem; cursor: pointer; }
.carousel-prev { left: 12px; } .carousel-next { right: 12px; }
.carousel-dots { position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: .55rem; }
.carousel-dot { width: 10px; height: 10px; border: 0; border-radius: 99px; background: #fff; opacity: .45; cursor: pointer; }
.carousel-dot.is-active { width: 30px; opacity: 1; background: var(--cyan); }
.explore-side { display: grid; justify-items: center; gap: 1.5rem; text-align: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.social-links { display: flex; align-items: center; gap: .85rem; }
.social-links a { display: grid; place-items: center; width: 46px; height: 46px; transition: transform .2s ease; }
.social-links a:hover { transform: translateY(-5px) scale(1.05); }
.social-links img { max-width: 100%; max-height: 100%; }
.social-links--large a { width: 68px; height: 68px; }

.crew { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.crew-symbol img { width: min(100%, 720px); margin: auto; /* intentionally no shadow */ }
.crew-copy { text-align: center; }
.crew-copy p { max-width: 760px; margin: auto; font-family: system-ui, sans-serif; font-weight: 800; font-size: clamp(1.15rem, 1.8vw, 1.75rem); line-height: 1.7; }

.contact { position: relative; min-height: 85svh; display: grid; align-content: center; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("assets/icons/nave.svg") no-repeat 8% 5% / min(52vw, 760px); opacity: .95; }
.contact-mission { position: relative; width: min(760px, 82vw); margin: 0 3vw 3rem auto; }
.contact-grid { position: relative; width: min(980px, 100%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.contact-block { min-width: 0; }
.contact-block h2 { margin: 0 0 .7rem; color: var(--orange); font-family: "Sedgwick Display", fantasy; font-size: clamp(2rem, 3.2vw, 3.4rem); font-weight: 700; line-height: 1; }
.contact-block p, .contact-block > a:not(.cyber-button) { display: block; margin: .35rem 0; font-family: system-ui, sans-serif; font-weight: 800; font-size: clamp(1rem, 1.4vw, 1.3rem); line-height: 1.55; text-shadow: none; }
.contact-block > a:not(.cyber-button):hover { color: var(--cyan); }

.subpage-main { min-height: calc(100svh - var(--header-h)); }
.subpage-hero { max-width: 1100px; margin: auto; padding-bottom: 2rem; text-align: center; }
.subpage-hero h1 { margin: .2rem 0 1rem; color: var(--orange); font-family: "Sedgwick Display", fantasy; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .9; }
.subpage-hero--graphic img { width: min(780px, 92vw); margin: 0 auto 1rem; }
.subpage-hero .social-links { justify-content: center; }
.menu-section, .explore-page { padding-top: 1.5rem; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 2.5rem; }
.filter-button { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.menu-card { min-height: 390px; padding: 1rem; display: grid; grid-template-rows: 210px auto 1fr auto; gap: .8rem; color: #fff; text-align: left; cursor: pointer; transition: transform .2s ease; }
.menu-card:hover { transform: translateY(-8px); }
.menu-card-media { overflow: hidden; clip-path: var(--clip); background: rgb(9 21 40 / 72%); }
.menu-card-media img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 1.2rem; text-align: center; color: var(--cyan); font-size: 1.4rem; background: radial-gradient(circle, rgb(17 174 191 / 25%), transparent 65%); }
.menu-card h2 { margin: 0; color: var(--orange); font-size: clamp(1.2rem, 1.8vw, 1.75rem); line-height: 1.05; }
.menu-card p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; font-weight: 700; line-height: 1.45; }
.menu-card-price { align-self: end; color: var(--cyan); font-size: 1.35rem; }

.media-grid { columns: 4 260px; column-gap: 1rem; }
.media-card { break-inside: avoid; position: relative; width: 100%; margin: 0 0 1rem; padding: 0; overflow: hidden; border: 0; background: var(--ink-deep); cursor: pointer; clip-path: var(--clip); }
.media-card::after { content: "Abrir"; position: absolute; inset: auto 0 0; padding: 2.2rem 1rem .8rem; color: #fff; background: linear-gradient(transparent, rgb(9 21 40 / 90%)); opacity: 0; transition: opacity .2s ease; }
.media-card:hover::after { opacity: 1; }
.media-card img, .media-card video { width: 100%; height: auto; max-height: 620px; object-fit: cover; transition: transform .25s ease; }
.media-card:hover img, .media-card:hover video { transform: scale(1.025); }
.media-type { position: absolute; z-index: 2; top: .7rem; right: .7rem; padding: .35rem .55rem; border-radius: 99px; background: rgb(16 31 52 / 82%); color: var(--cyan); font-size: .75rem; }

.modal, .lightbox { width: min(920px, 92vw); max-height: 90svh; padding: 0; overflow: auto; color: #fff; border: 3px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(120deg, var(--purple), var(--cyan)) border-box; }
.modal::backdrop, .lightbox::backdrop { background: rgb(3 8 17 / 78%); backdrop-filter: blur(6px); }
.modal { grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr); }
.modal[open] { display: grid; }
.modal-image { width: 100%; height: 100%; min-height: 420px; object-fit: contain; background: rgb(9 21 40 / 70%); }
.modal-copy { align-self: center; padding: clamp(1.5rem, 4vw, 3rem); }
.modal-copy h2 { margin: .25rem 0 .75rem; color: var(--orange); font-size: clamp(2rem, 4vw, 4rem); line-height: .95; }
.modal-price { color: var(--cyan); font-size: 1.5rem; }
.modal-description { color: var(--muted); font-family: system-ui, sans-serif; font-weight: 700; line-height: 1.65; }
.modal-close { position: fixed; z-index: 10; top: calc(5svh + 8px); right: calc(4vw + 8px); width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: var(--orange); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox { width: min(1100px, 94vw); background: #081321; }
.lightbox-content img, .lightbox-content video { width: 100%; max-height: 86svh; object-fit: contain; }

.site-footer { padding: 1.2rem; color: rgb(255 255 255 / 65%); background: rgb(6 15 28 / 45%); text-align: center; font-family: system-ui, sans-serif; font-weight: 700; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; } .delay-2 { transition-delay: .16s; } .delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  :root { --header-h: 70px; }
  .navbar { grid-template-columns: 1fr auto; min-height: var(--header-h); }
  .navbar > .nav-cyber { display: none; }
  .brand { justify-self: start; }
  .brand img { width: min(250px, 62vw); max-height: 53px; }
  .menu-toggle { display: block; }
  .mobile-menu { position: absolute; inset: 100% 0 auto; display: grid; gap: .25rem; max-height: 0; overflow: hidden; padding: 0 4vw; background: rgb(16 31 52 / 98%); transition: max-height .25s ease, padding .25s ease; }
  .mobile-menu.is-open { max-height: 360px; padding-top: 1rem; padding-bottom: 1rem; }
  .mobile-menu a { padding: .9rem 1rem; border-left: 3px solid var(--cyan); font-size: 1.2rem; }
  .hero { grid-template-columns: 1.05fr .95fr; }
  .featured-grid, .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-grid .dish-card:last-child { grid-column: 1 / -1; width: min(520px, 100%); justify-self: center; }
  .explore-layout { grid-template-columns: 1fr; }
  .explore-side { display: flex; flex-wrap: wrap; justify-content: center; }
  .crew { grid-template-columns: 1fr; }
  .crew-symbol img { max-height: 520px; }
  .contact::before { opacity: .42; background-position: 50% 2%; }
  .contact-mission { margin-inline: auto; }
  .contact-grid { margin-inline: auto; }
}

@media (max-width: 760px) {
  .section-space { padding: 3.5rem 5vw; }
  .hero {
    min-height: auto;
    padding-top: 1.4rem;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-title { width: min(100%, 620px); }
  .hero-food { height: min(52svh, 500px); margin-top: -1rem; }
  .hero-food img { transform: none; width: min(92vw, 560px); }
  .featured-grid, .menu-grid { grid-template-columns: 1fr; }
  .featured-grid .dish-card:last-child { width: 100%; grid-column: auto; }
  .dish-card { min-height: 470px; }
  .dish-card img { height: 340px; }
  .carousel, .carousel-track { min-height: 480px; }
  .carousel-slide img, .carousel-slide video { min-height: 472px; }
  .crew-copy p { font-size: 1.05rem; }
  .contact { padding-top: 5rem; }
  .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-block .social-links { justify-content: center; }
  .contact-block .cyber-button { margin-inline: auto; }
  .modal[open] { display: block; }
  .modal-image { min-height: 260px; max-height: 46svh; }
  .modal-close { top: 3svh; right: 4vw; }
  .media-grid { columns: 2 160px; }
}

@media (max-width: 480px) {
  .nav-cyber, .cyber-button { white-space: normal; text-align: center; }
  .brand img { width: min(215px, 68vw); }
  .section-graphic { width: 95vw; }
  .dish-card { min-height: 430px; }
  .dish-card img { height: 300px; }
  .carousel, .carousel-track { min-height: 420px; }
  .carousel-slide img, .carousel-slide video { min-height: 412px; }
  .social-links--large a { width: 52px; height: 52px; }
  .media-grid { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   AJUSTES V3 — identidad visual, movimiento y responsividad
   ========================================================= */

/* Malla fija: permanece inmóvil al desplazarse en cualquier página. */
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 65% 60% at 12% 26%, rgb(17 174 191 / 19%) 0%, rgb(17 174 191 / 11%) 37%, transparent 72%),
    radial-gradient(ellipse 58% 66% at 86% 18%, rgb(135 59 191 / 19%) 0%, rgb(135 59 191 / 12%) 40%, transparent 74%),
    radial-gradient(ellipse 62% 58% at 72% 84%, rgb(17 174 191 / 15%) 0%, transparent 70%),
    radial-gradient(ellipse 60% 65% at 18% 86%, rgb(135 59 191 / 15%) 0%, transparent 72%),
    linear-gradient(#101f34, #101f34);
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  font-family: "Fugaz One", sans-serif;
}

/* Toda la tipografía textual utiliza Fugaz One. */
body,
button,
a,
p,
h1,
h2,
h3,
strong,
span,
figcaption,
.explore-heading p,
.subpage-hero p,
.crew-copy p,
.contact-block h2,
.contact-block p,
.contact-block > a:not(.cyber-button),
.menu-card p,
.modal-description,
.site-footer {
  font-family: "Fugaz One", sans-serif;
}

/* Hero: título con inclinación ligera hacia la izquierda. */
.hero-title {
  transform: rotate(-3deg);
  transform-origin: center;
}

/* Más espacio exterior para que las sombras gráficas no parezcan cortadas. */
.section-graphic {
  box-sizing: content-box;
  padding: clamp(.6rem, 1.3vw, 1.25rem);
  overflow: visible;
  filter: drop-shadow(12px 18px 10px rgb(3 8 17 / 42%));
}
.section-graphic--explore {
  padding: clamp(.8rem, 1.5vw, 1.5rem);
}
.section-graphic--crew {
  filter: none;
}

/* Luz detrás de todos los botones, intensificada al pasar el cursor. */
.nav-cyber,
.cyber-button,
.filter-button {
  filter: drop-shadow(0 0 8px rgb(17 174 191 / 18%));
  overflow: visible;
}
.nav-cyber:hover,
.nav-cyber:focus-visible,
.nav-cyber.is-current,
.cyber-button:hover,
.cyber-button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  filter:
    drop-shadow(0 0 9px rgb(17 174 191 / 80%))
    drop-shadow(0 0 20px rgb(135 59 191 / 48%));
}

/* Luz detrás de tarjetas sin cambiar su silueta ciber. */
.cyber-card,
.menu-card,
.media-card {
  transition: transform .25s ease, filter .25s ease;
}
.cyber-card:hover,
.cyber-card:focus-visible,
.menu-card:hover,
.menu-card:focus-visible,
.media-card:hover,
.media-card:focus-visible {
  filter:
    drop-shadow(0 0 13px rgb(17 174 191 / 62%))
    drop-shadow(0 0 27px rgb(135 59 191 / 42%));
}

/* Las tres tarjetas destacadas reaccionan exactamente igual. */
.dish-card:hover,
.dish-card:nth-child(2):hover,
.dish-card:nth-child(3):hover {
  transform: translateY(-12px);
  filter:
    saturate(1.12)
    drop-shadow(0 0 13px rgb(17 174 191 / 62%))
    drop-shadow(0 0 27px rgb(135 59 191 / 42%));
}

/* Animación recuperada para Menú estelar. */
.menu-estelar-button {
  animation: menu-estelar-float 2.8s ease-in-out infinite;
}
.menu-estelar-button::before {
  animation: menu-estelar-glow 2.8s ease-in-out infinite;
}
@keyframes menu-estelar-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.025); }
}
@keyframes menu-estelar-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

/* Nave flotante y misión colocada al lado de los datos. */
.contact {
  min-height: 92svh;
  padding-top: clamp(13rem, 22vw, 22rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  grid-template-rows: auto;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.contact::before {
  inset: 0 auto auto 3%;
  width: min(67vw, 980px);
  height: min(28vw, 390px);
  background: url("assets/icons/nave.svg") no-repeat center / contain;
  transform-origin: center;
  animation: nave-flotante 5.5s ease-in-out infinite;
}
.contact-grid {
  grid-column: 1;
  grid-row: 1;
}
.contact-mission {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 760px);
  margin: 0;
  transform: rotate(3deg);
  filter: drop-shadow(14px 18px 12px rgb(3 8 17 / 38%));
}
@keyframes nave-flotante {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  45% { transform: translate3d(18px, -10px, 0) rotate(1deg); }
  70% { transform: translate3d(6px, 4px, 0) rotate(0deg); }
}

/* Filtros más grandes en Menú y Explora. */
.filter-bar {
  gap: clamp(.75rem, 1.4vw, 1.25rem);
}
.filter-button {
  min-height: 58px;
  padding: .8rem 1.55rem;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

/* Videos: señal visual de reproducción al pasar el cursor. */
.media-card video {
  transition: transform .25s ease, filter .25s ease;
}
.media-card:hover video,
.media-card:focus-visible video {
  filter: brightness(1.08) saturate(1.08);
}

@media (max-width: 1100px) {
  .contact {
    padding-top: clamp(10rem, 26vw, 17rem);
    grid-template-columns: 1fr;
  }
  .contact::before {
    width: min(92vw, 850px);
    height: min(42vw, 340px);
    left: 4%;
  }
  .contact-grid,
  .contact-mission {
    grid-column: 1;
  }
  .contact-grid { grid-row: 2; }
  .contact-mission {
    grid-row: 1;
    width: min(760px, 88vw);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .hero-title { transform: rotate(-2deg); }
  .contact {
    padding-top: 9rem;
    gap: 2.5rem;
  }
  .contact::before {
    width: 96vw;
    height: 180px;
    left: 2vw;
  }
  .contact-mission {
    width: 95vw;
    transform: rotate(2deg);
  }
  .filter-button {
    min-height: 52px;
    padding: .7rem 1.15rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-estelar-button,
  .menu-estelar-button::before,
  .contact::before {
    animation: none !important;
  }
}


/* =========================================================
   AJUSTES V4 — hero, menú compacto y resplandor cian suave
   ========================================================= */

/* La fotografía nueva del hero permanece completa en escritorio y móvil. */
.hero-food img {
  width: min(100%, 760px);
  height: min(70vh, 720px);
  object-fit: contain;
  object-position: center;
}

/* Las tarjetas del menú muestran únicamente nombre y precio.
   La descripción completa permanece disponible en el modal. */
.menu-card {
  grid-template-rows: 230px auto auto;
  align-content: start;
}
.menu-card-price {
  align-self: end;
  margin-top: .2rem;
}

/* Resplandor trasero cian de baja opacidad para todos los controles,
   excepto los enlaces de navegación superior. */
.cyber-button,
.filter-button,
.carousel-arrow,
.carousel-dot,
.modal-close,
.social-links a,
button:not(.menu-toggle) {
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.cyber-button:hover,
.cyber-button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active,
.carousel-arrow:hover,
.carousel-arrow:focus-visible,
.carousel-dot:hover,
.carousel-dot:focus-visible,
.modal-close:hover,
.modal-close:focus-visible,
.social-links a:hover,
.social-links a:focus-visible,
button:not(.menu-toggle):not(.nav-cyber):hover,
button:not(.menu-toggle):not(.nav-cyber):focus-visible {
  filter:
    drop-shadow(0 0 8px rgb(17 174 191 / 28%))
    drop-shadow(0 0 18px rgb(17 174 191 / 16%));
}

/* Las tarjetas de inicio reciben el mismo resplandor suave. */
body[data-page="home"] .dish-card:hover,
body[data-page="home"] .dish-card:focus-visible,
body[data-page="home"] .carousel:hover,
body[data-page="home"] .carousel:focus-within {
  filter:
    saturate(1.08)
    drop-shadow(0 0 11px rgb(17 174 191 / 30%))
    drop-shadow(0 0 24px rgb(17 174 191 / 17%));
}

/* El navbar conserva su comportamiento original sin el resplandor V4. */
.nav-cyber:hover,
.nav-cyber:focus-visible,
.nav-cyber.is-current {
  filter: none;
}

@media (max-width: 760px) {
  .hero-food img {
    width: min(94vw, 620px);
    height: min(52svh, 520px);
  }
  .menu-card {
    grid-template-rows: 220px auto auto;
  }
}
