/* Inicio rediseñado: portada con video, promociones, 2x1, categorías y a domicilio.
   Paleta del sitio (negro, crema y rojo) con títulos en serif. */
.hx-hero, .hx-section, .hx-delivery, .hx-quick, .hx-start, .hx-promos { --hx-black: #0b0b0b; --hx-red: #E62026; --hx-red-deep: #c3161c; --hx-cream: #EFE6D8; --hx-white: #F5F3EE; --hx-line: rgba(245, 243, 238, .16); --hx-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; --hx-ease: cubic-bezier(.22, .8, .2, 1); }
.hx-wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.hx-wrap--wide { width: min(1320px, calc(100% - 24px)); }

/* ---------- Portada ---------- */
.hx-hero { position: relative; min-height: calc(100dvh - var(--nav-h, 78px)); display: grid; place-items: center; overflow: hidden; text-align: center; background: var(--hx-black); color: var(--hx-white); isolation: isolate; }
.hx-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hx-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .38) 45%, rgba(0, 0, 0, .78) 100%); }
.hx-hero__content { display: flex; flex-direction: column; align-items: center; padding: 56px 20px 96px; }
.hx-hero__logo { width: clamp(72px, 8vw, 104px); height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.hx-hero h1 { margin: 0; font-family: var(--hx-serif); font-weight: 700; font-size: clamp(4rem, 13vw, 10rem); line-height: .85; letter-spacing: -.02em; text-wrap: balance; }
.hx-hero__sub { margin: 18px 0 0; font-size: clamp(.72rem, 1.2vw, .92rem); letter-spacing: .42em; text-transform: uppercase; }
.hx-hero__tag { margin: 22px 0 0; font-family: var(--hx-serif); font-weight: 600; font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--hx-cream); }
.hx-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hx-hero__down { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; color: #fff; transition: background .25s; }
.hx-hero__down:hover { background: rgba(255, 255, 255, .15); }
.hx-hero__down svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; animation: hx-bob 2.2s ease-in-out infinite; }
@keyframes hx-bob { 50% { transform: translateY(4px); } }

/* ---------- Botones ---------- */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .25s var(--hx-ease), color .25s, border-color .25s, transform .2s; }
.hx-btn:active { transform: scale(.98); }
.hx-btn--red { background: var(--hx-red); color: #fff; }
.hx-btn--red:hover { background: var(--hx-red-deep); }
.hx-btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hx-btn--line:hover { background: #fff; color: #111; border-color: #fff; }
.hx-btn--dark { background: #111; color: var(--hx-cream); }
.hx-btn--dark:hover { background: var(--hx-red); color: #fff; }

/* ---------- Secciones ---------- */
.hx-section { padding: clamp(64px, 9vw, 120px) 0; background: var(--hx-black); color: var(--hx-white); }
.hx-kicker { margin: 0 0 12px; color: rgba(245, 243, 238, .6); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hx-title { margin: 0 0 clamp(24px, 4vw, 44px); font-family: var(--hx-serif); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
.hx-title--sm { margin-bottom: 10px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.hx-title--italic { font-style: italic; font-weight: 700; margin-bottom: 20px; }
.hx-title--italic span { color: var(--hx-red); }
.hx-lead { margin: 0 0 28px; max-width: 44ch; color: #6b5d51; font-size: 1.05rem; line-height: 1.55; }
.hx-lead--light { margin: 0; color: rgba(245, 243, 238, .78); }

/* Promociones (reutiliza el carrusel existente) */
.hx-promos { padding-bottom: clamp(48px, 7vw, 90px); }
.hx-carousel.hero-media { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 2.56 / 1; max-height: 70vh; min-height: 0; border-radius: 28px; overflow: hidden; background: #111; }
.hx-carousel .hero-carousel, .hx-carousel .hero-slide { position: absolute; inset: 0; }
.hx-carousel .hero-slide-image { width: 100%; height: 100%; object-fit: contain; background: #111; }
.hx-carousel.hero-media::after { display: none; }

/* 2x1 */
.hx-two { background: var(--hx-cream); color: #111; }
.hx-two .hx-kicker { color: #6b5d51; }
.hx-two .hx-title { color: #111; }
.hx-two__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.hx-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hx-steps li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 20px 0; border-top: 1px solid rgba(17, 17, 17, .18); }
.hx-steps li:last-child { border-bottom: 1px solid rgba(17, 17, 17, .18); }
.hx-steps b { font-family: var(--hx-serif); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--hx-red); min-width: 64px; }
.hx-steps h3 { margin: 4px 0 4px; font-family: var(--hx-serif); font-size: 1.6rem; line-height: 1.1; }
.hx-steps p { margin: 0; color: #6b5d51; }

/* Categorías */
.hx-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: start; }
.hx-cat { display: block; text-decoration: none; color: var(--hx-white); text-align: center; }
.hx-cat__img { display: block; aspect-ratio: 3 / 4; background: #1b1b1b center / cover no-repeat; border-radius: 28px; transition: border-radius .6s var(--hx-ease), transform .6s var(--hx-ease); }
.hx-cat:nth-child(2) { margin-top: 36px; } .hx-cat:nth-child(4) { margin-top: 36px; }
.hx-cat:nth-child(odd) .hx-cat__img { border-radius: 999px 999px 28px 28px; }
.hx-cat:hover .hx-cat__img { border-radius: 28px; transform: translateY(-4px); }
.hx-cat:nth-child(odd):hover .hx-cat__img { border-radius: 999px 999px 28px 28px; }
.hx-cat__name { display: block; margin-top: 14px; font-family: var(--hx-serif); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.hx-cat:focus-visible { outline: 2px solid var(--hx-red); outline-offset: 4px; border-radius: 12px; }

/* A domicilio */
.hx-delivery { padding: clamp(40px, 6vw, 72px) 0; background: #141414; border-top: 1px solid var(--hx-line); color: var(--hx-white); }
.hx-delivery__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.hx-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-app { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 8px; border: 1px solid var(--hx-line); border-radius: 999px; color: var(--hx-white); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s; }
.hx-app:hover { background: var(--hx-white); color: #111; }
.hx-app img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; }

@media (max-width: 900px) {
  .hx-two__grid { grid-template-columns: 1fr; }
  .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-cat:nth-child(n) { margin-top: 0; }
  .hx-cat:nth-child(5) { grid-column: 1 / -1; }
  .hx-cat:nth-child(5) .hx-cat__img { aspect-ratio: 16 / 9; border-radius: 28px; }
  .hx-carousel.hero-media { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hero__down svg { animation: none; }
  .hx-hero__video { display: none; }
  .hx-hero { background: #0b0b0b url("/static/core/video/hero-poster.webp") center / cover no-repeat; }
}

/* Portada = banners de promociones a todo lo ancho, sin recortes (misma proporción que las imágenes) */
.hx-promos--hero { position: relative; padding: 0; background: transparent; }
.hx-promos--hero .hx-carousel.hero-media { position: relative; inset: auto; width: 100%; max-height: none; border-radius: 0; aspect-ratio: 2.56 / 1; background: #111; }
.hx-hero--brand { min-height: min(78vh, 720px); }
.hx-hero--brand h1 { font-size: clamp(3.4rem, 10vw, 8rem); }

/* Botones encima de los banners */
.hx-quick { position: absolute; right: clamp(12px, 2vw, 28px); left: auto; bottom: clamp(10px, 1.6vw, 22px); z-index: 3; display: flex; flex-direction: column; align-items: stretch; width: min(230px, 22vw); min-width: 190px; gap: 6px; padding: 8px; border-radius: 24px; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hx-quick .hx-btn { min-height: 38px; padding: 0 10px; font-size: .8125rem; letter-spacing: .04em; white-space: nowrap; }
@media (min-width: 901px) { .hx-quick { display: none; } }
.hx-btn--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hx-btn--glass:hover { background: #fff; color: #111; border-color: #fff; }
.hx-delivery { scroll-margin-top: var(--nav-h, 78px); }

/* ¿No sabes qué pedir? — beige del menú físico */
.hx-start { padding: clamp(56px, 8vw, 100px) 0; background: #E3D1BD; color: #221a14; }
.hx-start .hx-kicker { color: rgba(34, 26, 20, .65); }
.hx-start .hx-title { color: #221a14; }
.hx-dishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); margin-bottom: clamp(28px, 4vw, 44px); }
.hx-dish { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.hx-dish__img { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 32px; background: radial-gradient(circle at 50% 56%, rgba(255, 255, 255, .62), rgba(255, 255, 255, .26)); transition: border-radius .55s var(--hx-ease); }
.hx-dish:hover .hx-dish__img { border-radius: 50% 50% 32px 32px / 38% 38% 32px 32px; }
.hx-dish img { width: 92%; height: auto; max-height: 92%; filter: drop-shadow(0 18px 18px rgba(58, 38, 24, .38)); transition: transform .6s var(--hx-ease); }
.hx-dish:hover img { transform: scale(1.06) rotate(-2deg); }
.hx-dish b { margin-top: 12px; font-family: var(--hx-serif); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.05; }
.hx-dish small { color: #B9161B; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hx-dish:focus-visible { outline: 2px solid var(--hx-red); outline-offset: 6px; border-radius: 12px; }
@media (max-width: 900px) { .hx-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-dish__img { border-radius: 24px; }  }
@media (prefers-reduced-motion: reduce) { .hx-dish__img, .hx-dish img { transition: none; } }

/* A domicilio: franja roja para que no se pierda contra el footer negro */
.hx-delivery { background: #c3161c; border-top: 0; color: #fff; }
.hx-delivery .hx-lead--light { color: rgba(255, 255, 255, .92); }
.hx-delivery .hx-app { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hx-delivery .hx-app:hover { background: #fff; color: #111; border-color: #fff; }
@media (max-width: 900px) {
  /* En celular el banner es muy bajo: los botones van en una tarjeta que se monta sobre su orilla inferior */
  .hx-promos--hero { background: #E3D1BD; padding-bottom: 6px; }
  .hx-quick { position: relative; right: auto; bottom: auto; width: auto; min-width: 0; z-index: 4; margin: 12px 14px 0; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 8px; padding: 10px; border-radius: 22px; background: #F5F3EE; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
  .hx-quick .hx-btn { flex: 1 1 100%; min-height: 46px; padding: 0 10px; font-size: .72rem; letter-spacing: .06em; }
  .hx-quick .hx-btn--red { flex-basis: 100%; }
  .hx-quick .hx-btn--glass { flex: 1 1 100%; background: #111; border-color: #111; color: #F5F3EE; }
  .hx-quick .hx-btn--glass:hover { background: #E62026; border-color: #E62026; color: #fff; }
  .hx-start { padding-top: clamp(28px, 6vw, 48px); }
}

.hx-corto { display: none; }
@media (max-width: 900px) { .hx-largo { display: none; } .hx-corto { display: inline; } }

/* Franja roja: cómo se pide en línea (tres pasos) y el botón para pedir. */
.hx-pide { display: grid; gap: 18px; flex: 1 1 420px; max-width: 560px; }
.hx-pide__pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: hx-paso; }
.hx-pide__pasos li { counter-increment: hx-paso; display: grid; justify-items: start; gap: 8px; padding: 14px 14px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 18px; background: rgba(0, 0, 0, .14); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.hx-pide__pasos li::before { content: counter(hx-paso); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #c3161c; font-weight: 900; font-size: .85rem; }
.hx-pide__btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 24px 0 10px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .2s, box-shadow .2s; }
.hx-pide__btn img { width: 40px; height: 40px; object-fit: contain; }
.hx-pide__btn span { font-size: 1.2rem; transition: transform .2s; }
.hx-pide__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.hx-pide__btn:hover span { transform: translateX(4px); }
.hx-pide__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 560px) { .hx-pide__pasos { grid-template-columns: 1fr; } .hx-pide__pasos li { grid-template-columns: auto 1fr; align-items: center; } }
@media (prefers-reduced-motion: reduce) { .hx-pide__btn, .hx-pide__btn span { transition: none; } }
