/* Gastro Club — mobile-first · negro + rojo #b23b3b */

:root {
  --black: #080808;
  --black-soft: #121212;
  --black-card: #161616;
  --red: #b23b3b;
  --red-bright: #c94a4a;
  --red-deep: #7a2525;
  --red-glow: rgba(178, 59, 59, 0.45);
  --white: #f2ebe1;
  --muted: #9a9590;
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
  --container-pad: 1.25rem;
  --section-pad: 3.5rem;
  --fab-h: 3.75rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(var(--fab-h) + 1.25rem + var(--safe-bottom));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
}

.bento__item picture,
.gallery__item picture,
.location-card__media picture {
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: 71.25rem;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Textura — solo desktop con hover */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  display: none;
}

/* Header — móvil */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
}

.header.is-scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 100%;
  gap: 0.75rem;
  position: relative;
}

.nav__brand {
  display: flex;
  align-items: center;
  min-width: 0;
  z-index: 1002;
}

.nav__logo {
  width: auto;
  height: 2.25rem;
  max-width: min(160px, 42vw);
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--red-glow));
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1002;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1002;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.nav__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  width: min(100%, 20rem);
  display: flex;
  flex-direction: column;
  padding:
    calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.25rem)
    var(--container-pad)
    calc(1.25rem + var(--safe-bottom));
  background: rgba(10, 10, 10, 0.98);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  overflow-y: auto;
}

.nav__drawer.is-open {
  transform: translateX(0);
}

.nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  flex: 1;
}

.nav__links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.65rem 0;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--white);
  padding-left: 0.35rem;
}

.nav__drawer-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav__lang--drawer {
  display: none;
}

.nav__lang {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav__lang-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.nav__drawer-foot .lang-switch {
  width: 100%;
  justify-content: center;
}

.nav__drawer-foot .lang-switch__btn {
  flex: 1;
  min-width: 0;
}

.nav__cta {
  width: 100%;
  min-height: 3rem;
  font-size: 0.95rem;
}

/* Hero — móvil */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--black) 8%, rgba(8, 8, 8, 0.75) 35%, rgba(8, 8, 8, 0.5) 60%),
    linear-gradient(100deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.4) 55%, transparent 100%);
}

.hero__pattern {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 2rem 5.5rem;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: transparent;
  background: linear-gradient(90deg, var(--white) 20%, var(--red-bright) 80%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1;
}

.stat__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero__scroll {
  display: none;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid var(--border);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--black-soft);
  overflow: hidden;
  padding: 0.75rem 0;
}

.marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee__track span:nth-child(odd) {
  color: var(--red);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Secciones */
.section {
  padding-block: var(--section-pad);
}

.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section__title em {
  font-style: italic;
  color: var(--red-bright);
}

.section__subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.section__head {
  margin-bottom: 2rem;
}

/* Experiencia */
.experience__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience__text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.pill-list li {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.bento__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
}

.bento__item--large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.bento__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__item--placeholder {
  background: linear-gradient(135deg, var(--black-card) 0%, var(--red-deep) 100%);
}

/* Galería */
.gallery {
  padding-bottom: 2.5rem;
}

.gallery .container {
  padding-bottom: 0.5rem;
}

.gallery__viewport {
  overflow: hidden;
  padding: 0 var(--container-pad) 0.75rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery__viewport.is-static {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.gallery__viewport.is-static::-webkit-scrollbar {
  display: none;
}

.gallery__track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: gallery-carousel 42s linear infinite;
  will-change: transform;
}

.gallery__viewport.is-static .gallery__track {
  animation: none;
  will-change: auto;
}

.gallery__viewport:is(:hover, :focus-within, :active) .gallery__track {
  animation-play-state: paused;
}

@keyframes gallery-carousel {
  to {
    transform: translateX(-50%);
  }
}

.gallery__item {
  flex: 0 0 78vw;
  max-width: 280px;
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}

.gallery__viewport.is-static .gallery__item {
  scroll-snap-align: center;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--ph {
  background: linear-gradient(160deg, var(--black-card), var(--red-deep));
}

/* Sedes */
.locations {
  background: var(--black-soft);
}

.locations__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.location-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card__media--ph,
.location-card[data-location="monteverde"] .location-card__media--ph {
  background: linear-gradient(135deg, #1a0a0c 0%, var(--red-deep) 100%);
}

.location-card[data-location="tilaran"] .location-card__media--ph {
  background: linear-gradient(135deg, var(--black) 0%, #2a0810 100%);
}

.location-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  border-radius: 999px;
}

.location-card__body {
  padding: 1.25rem;
}

.location-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.location-card__zone {
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.location-card__body > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.location-card__meta {
  list-style: none;
  margin-bottom: 1rem;
}

.location-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.location-card__meta svg {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-map {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(178, 59, 59, 0.25);
  background: var(--black-soft);
  aspect-ratio: 4 / 3;
  min-height: 200px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.location-map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 500;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright), var(--red-deep));
  pointer-events: none;
}

.location-map__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.location-map__vignette {
  position: absolute;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.85) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(8, 8, 8, 0.35) 0%, transparent 20%),
    radial-gradient(ellipse at center, transparent 50%, rgba(8, 8, 8, 0.25) 100%);
}

.location-map__chip {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(178, 59, 59, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(178, 59, 59, 0.4);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}

.location-map__chip:active {
  transform: translateX(-50%) scale(0.97);
}

.location-map__hint {
  position: absolute;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(4px);
  border: 0;
  cursor: pointer;
}

.location-map.is-interactive .location-map__hint {
  display: none;
}

/* Leaflet — tema Gastro Club */
.location-map .leaflet-container {
  background: #0e0e0e;
  font-family: var(--font-sans);
}

.location-map .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden;
  border-radius: 10px !important;
  margin: 0 0.5rem 3.25rem 0 !important;
}

.location-map .leaflet-control-zoom a {
  width: 2rem !important;
  height: 2rem !important;
  line-height: 2rem !important;
  background: rgba(22, 22, 22, 0.95) !important;
  color: var(--white) !important;
  border-bottom: 1px solid var(--border) !important;
}

.location-map .leaflet-control-zoom a:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

.location-map .leaflet-control-attribution {
  margin: 0 !important;
  padding: 2px 6px !important;
  font-size: 0.55rem !important;
  background: rgba(8, 8, 8, 0.75) !important;
  color: var(--muted) !important;
  border-radius: 6px 0 0 0;
}

.location-map .leaflet-control-attribution a {
  color: var(--muted) !important;
}

.map-pin-host {
  background: none !important;
  border: none !important;
}

.map-pin {
  position: relative;
  width: 36px;
  height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.map-pin__core {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  background: var(--red-bright);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 12px var(--red-glow);
}

.map-pin__ring {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  border: 2px solid var(--red);
  border-radius: 50%;
  opacity: 0.5;
  animation: map-pulse 2s ease-out infinite;
}

@keyframes map-pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.leaflet-popup.map-popup .leaflet-popup-content-wrapper {
  background: rgba(22, 22, 22, 0.95);
  color: var(--white);
  border: 1px solid rgba(178, 59, 59, 0.4);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.leaflet-popup.map-popup .leaflet-popup-content {
  margin: 0.6rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.leaflet-popup.map-popup .leaflet-popup-tip {
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid rgba(178, 59, 59, 0.4);
  box-shadow: none;
}

/* Horarios */
.schedule {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.schedule__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.schedule__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.schedule__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 0.75rem;
  align-items: start;
}

.schedule__row dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.schedule__row dd {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.location-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Menú */
.menu__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item {
  padding: 1.35rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-left: 3px solid var(--red);
}

.menu-item__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
}

.menu-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0.35rem 0 0.5rem;
}

.menu-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.menu-item__price {
  font-weight: 600;
  color: var(--red-bright);
}

.menu__note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA */
.cta {
  padding-block: var(--section-pad);
}

.cta__inner {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--black-card);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 250px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 auto 1.25rem;
  position: relative;
  max-width: 22rem;
}

.cta__phone {
  color: var(--red-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.footer__hours {
  font-size: 0.8rem !important;
  color: var(--muted);
  margin-top: 0.5rem !important;
  line-height: 1.5;
}

.footer__wa {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-bright);
}

.footer__logo {
  width: auto;
  height: 2rem;
  object-fit: contain;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer__nav a {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
}

.footer__bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.footer__credit {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.footer__credit a {
  color: var(--red-bright);
  font-weight: 600;
  transition: color 0.2s;
}

.footer__credit a:hover {
  color: var(--white);
}

/* Selector de idioma */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  flex-shrink: 0;
}

/* Barra superior — siempre visible en móvil */
.lang-switch--bar {
  padding: 5px;
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid rgba(178, 59, 59, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.lang-switch--bar .lang-switch__btn {
  min-width: 2.75rem;
  height: 2.75rem;
  font-size: 0.8rem;
}

.lang-switch--bar .lang-switch__btn.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 4px 12px var(--red-glow);
}

.lang-switch__btn {
  min-width: 2.25rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.lang-switch__btn.is-active {
  color: var(--white);
  background: var(--red);
}

.lang-switch__btn:active {
  transform: scale(0.96);
}

.lang-switch__btn:not(.is-active):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* FAB WhatsApp */
.fab-wa {
  position: fixed;
  right: max(var(--container-pad), env(safe-area-inset-right, 0px));
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--fab-h);
  height: var(--fab-h);
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease-out);
}

.fab-wa:active {
  transform: scale(0.94);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Tablet (640px+) ========== */
@media (min-width: 40rem) {
  :root {
    --container-pad: 1.5rem;
    --section-pad: 4.5rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn--block {
    width: auto;
    flex: 1;
    min-width: 10rem;
  }

  .hero__title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
  }

  .gallery__item {
    flex: 0 0 42vw;
  }

  .schedule__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .cta__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta__buttons .btn--block {
    width: auto;
    min-width: 12rem;
  }
}

/* ========== Desktop nav (768px+) ========== */
@media (min-width: 48rem) {
  :root {
    --header-h: 5rem;
    --section-pad: 5.5rem;
  }

  body {
    padding-bottom: 0;
  }

  .fab-wa {
    display: none;
  }

  .cursor-glow {
    display: block;
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
  }

  .nav {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }

  .nav__tools {
    display: contents;
  }

  .lang-switch--bar {
    display: none;
  }

  .nav__lang--drawer {
    display: flex;
  }

  .nav__toggle,
  .nav__backdrop {
    display: none;
  }

  .nav__drawer {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    transform: none;
    overflow: visible;
  }

  .nav__drawer.is-open {
    transform: none;
  }

  .nav__links {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    flex: 0 1 auto;
  }

  .nav__links a {
    font-size: 0.9rem;
    min-height: auto;
    padding: 0;
    border-bottom: none;
  }

  .nav__links a:hover,
  .nav__links a:focus-visible {
    padding-left: 0;
  }

  .nav__links a {
    position: relative;
    color: var(--muted);
    transition: color 0.25s;
  }

  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s var(--ease-out);
  }

  .nav__links a:hover::after,
  .nav__links a:focus-visible::after {
    width: 100%;
  }

  .nav__drawer-foot {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: none;
  }

  .nav__lang {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .nav__lang-label {
    display: none;
  }

  .nav__drawer-foot .lang-switch {
    width: auto;
  }

  .nav__drawer-foot .lang-switch__btn {
    flex: 0 0 auto;
    min-width: 2.25rem;
  }

  .nav__cta {
    width: auto;
    min-height: auto;
    padding: 0.55rem 1.25rem !important;
    white-space: nowrap;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s !important;
  }

  .nav__cta:hover {
    background: var(--red-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--red-glow);
  }

  .nav__logo {
    height: 2.75rem;
    max-width: none;
  }

  .hero {
    align-items: center;
  }

  .hero__content {
    padding-block: 3rem 5rem;
  }

  .hero__img {
    object-position: center 40%;
  }

  .hero__overlay {
    background:
      linear-gradient(105deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.55) 45%, rgba(122, 37, 37, 0.35) 100%),
      linear-gradient(to top, var(--black) 0%, transparent 40%);
  }

  .hero__pattern {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='%23b23b3b' stroke-width='0.5'/%3E%3C/svg%3E");
  }

  .hero__desc {
    font-size: 1.1rem;
    max-width: 32rem;
  }

  .hero__actions {
    margin-bottom: 3rem;
  }

  .hero__stats {
    display: flex;
    gap: 3rem;
    text-align: left;
  }

  .stat__num {
    font-size: 2rem;
  }

  .hero__scroll {
    display: flex;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px;
    height: 44px;
    border: 2px solid var(--border);
    border-radius: 20px;
    justify-content: center;
    padding-top: 8px;
  }

  .hero__scroll span {
    width: 4px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
  }

  @keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
  }

  .btn--primary:hover {
    background: var(--red-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--red-glow);
  }

  .btn--ghost:hover {
    border-color: var(--red);
    color: var(--red-bright);
  }

  .btn--outline:hover {
    background: var(--red);
  }

  .location-card:hover {
    transform: translateY(-6px);
    border-color: rgba(178, 59, 59, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }

  .location-card:hover .location-card__media img {
    transform: scale(1.05);
  }

  .location-map__chip:hover {
    background: var(--red-bright);
    transform: translateX(-50%) translateY(-2px);
  }

  .location-map {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }

  .location-card__media img {
    transition: transform 0.6s var(--ease-out);
  }

  .bento__item:hover img {
    transform: scale(1.06);
  }

  .gallery__item:hover img {
    transform: scale(1.05);
  }

  .pill-list li:hover {
    border-color: var(--red);
    color: var(--red-bright);
  }

  .footer__nav a:hover {
    color: var(--red);
  }

  .social-link:hover {
    color: var(--white);
    border-color: var(--red);
    background: var(--red);
  }
}

@media (hover: hover) {
  body:hover .cursor-glow {
    opacity: 0.35;
  }

  .fab-wa:hover {
    transform: scale(1.06);
  }
}

/* ========== Layout amplio (900px+) ========== */
@media (min-width: 56.25rem) {
  .experience__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .bento {
    gap: 1rem;
  }

  .bento__item--large {
    grid-column: auto;
    grid-row: span 2;
    aspect-ratio: auto;
  }

  .locations__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .location-card__actions {
    flex-direction: row;
  }

  .location-card__actions .btn--block {
    flex: 1;
  }

  .menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .menu-item {
    border-left: none;
  }

  .menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--red);
    transition: height 0.4s var(--ease-out);
  }

  .menu-item {
    position: relative;
    padding: 2rem;
    overflow: hidden;
  }

  .menu-item:hover::before {
    height: 100%;
  }

  .footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .footer__nav {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .footer__social {
    justify-content: flex-end;
  }

  .cta__inner {
    padding: 4rem 2rem;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }

  .gallery__track {
    animation: none;
  }

  .gallery__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .map-pin__ring {
    animation: none;
    opacity: 0.35;
  }
}
