/*
Theme Name: Yallah Modern Mediterranean
Theme URI: https://www.yallah.ky/
Author: Andre Gutierrez
Author URI: https://toctoc.ky/
Description: Theme de WordPress para Yallah Modern Mediterranean (Camana Bay, Grand Cayman). Conversion 1:1 del diseno original: verde profundo #265440, naranja #E6863C, dorado #E3A942 y crema, con tipografias Archivo Black + DM Sans.
Version: 2.14.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yallah
Tags: restaurant, one-column, custom-colors, custom-menu, custom-logo, featured-images, translation-ready
*/

/* -------------------------------------------------------------------------
 * 1. Design tokens
 *
 * Mismos valores del design system de Lovable (src/styles.css).
 * Los hex son el fallback exacto; el bloque @supports restaura los oklch
 * originales en navegadores modernos para que el color sea identico.
 * ---------------------------------------------------------------------- */

:root {
  --radius: 1rem;
  --radius-3xl: calc(var(--radius) + 12px); /* 28px */

  /* Brand: #265440 deep green, #E6863C orange, #E3A942 gold */
  --background: #fbf8eb;
  --foreground: #1d442f;
  --card: #fcfaf1;
  --card-foreground: #1d442f;
  --primary: #1d442f;
  --primary-foreground: #fbf8eb;
  --secondary: #e28639;
  --secondary-foreground: #052616;
  --muted: #f1edde;
  --muted-foreground: #567060;
  --accent: #e0a94d;
  --accent-foreground: #0f301f;
  --border: #e3decb;
  --input: #e3decb;
  --ring: #e28639;
  --cream: #fbf8eb;
  --pink: #f081a2; /* borde de las imagenes */
  --footer-bg: #052616; /* verde casi negro: crema encima da 15.23:1 */

  /* Alfas derivados (equivalentes a text-primary-foreground/80, /70, /60) */
  --primary-foreground-80: rgba(251, 248, 235, 0.8);
  --primary-foreground-60: rgba(251, 248, 235, 0.6);
  --primary-90: rgba(29, 68, 47, 0.9);
  --primary-70: rgba(29, 68, 47, 0.7);

  --gradient-warm: linear-gradient(120deg, #e28639, #e0a94d);
  --shadow-block: 0 18px 0 -6px rgba(29, 68, 47, 0.18);

  --font-display: "Archivo Black", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 72rem; /* max-w-6xl */
  --gutter: 1.25rem; /* px-5 */
}

@supports (color: oklch(0.5 0.1 100)) {
  :root {
    --background: oklch(0.978 0.018 95);
    --foreground: oklch(0.352 0.058 158);
    --card: oklch(0.985 0.012 95);
    --card-foreground: oklch(0.352 0.058 158);
    --primary: oklch(0.352 0.058 158);
    --primary-foreground: oklch(0.978 0.018 95);
    --secondary: oklch(0.706 0.144 57);
    --secondary-foreground: oklch(0.24 0.05 158);
    --muted: oklch(0.945 0.02 95);
    --muted-foreground: oklch(0.52 0.04 158);
    --accent: oklch(0.769 0.126 78);
    --accent-foreground: oklch(0.28 0.05 158);
    --border: oklch(0.9 0.026 95);
    --input: oklch(0.9 0.026 95);
    --ring: oklch(0.706 0.144 57);
    --cream: oklch(0.978 0.018 95);
    --pink: oklch(0.7348 0.1398 2.15);
    --footer-bg: oklch(0.24 0.05 158);

    --primary-foreground-80: oklch(0.978 0.018 95 / 0.8);
    --primary-foreground-60: oklch(0.978 0.018 95 / 0.6);
    --primary-90: oklch(0.352 0.058 158 / 0.9);
    --primary-70: oklch(0.352 0.058 158 / 0.7);

    --gradient-warm: linear-gradient(120deg, oklch(0.706 0.144 57), oklch(0.769 0.126 78));
    --shadow-block: 0 18px 0 -6px oklch(0.352 0.058 158 / 0.18);
  }
}

/* -------------------------------------------------------------------------
 * 2. Reset / base
 * ---------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;

  /* Barra de scroll en los colores de la marca (Firefox). */
  scrollbar-color: var(--secondary) var(--muted);
  scrollbar-width: auto;
}

/* Barra de scroll (Chrome, Edge, Safari): pista crema y pulgar degradado. */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background-color: var(--muted);
  border-left: 2px solid var(--border);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--muted);
  border-radius: 9999px;
  background-image: linear-gradient(180deg, var(--secondary), var(--accent));
}

::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(180deg, var(--primary), var(--secondary));
}

::-webkit-scrollbar-corner {
  background-color: var(--muted);
}

/* Seleccion de texto en verde de marca. */
::selection {
  background-color: var(--secondary);
  color: var(--primary);
}

/*
 * Cursor: la mascota de Yallah. Solo en dispositivos con puntero fino (raton),
 * nunca en tactiles, y respetando el cursor de los elementos interactivos.
 */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor:
      image-set(
        url("assets/images/cursor-mascot.png") 1x,
        url("assets/images/cursor-mascot-2x.png") 2x
      )
      6 4,
      auto;
  }

  a,
  button,
  summary,
  label,
  [role="button"],
  input[type="submit"] {
    cursor:
      image-set(
        url("assets/images/cursor-mascot.png") 1x,
        url("assets/images/cursor-mascot-2x.png") 2x
      )
      6 4,
      pointer;
  }

  input,
  textarea,
  select {
    cursor: auto;
  }
}

/* Barra de progreso de lectura, fija arriba del todo. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 4px;
  width: 0;
  background-image: linear-gradient(90deg, var(--secondary), var(--accent));
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Aparicion de secciones al hacer scroll. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.hero__title,
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
}

p,
ul,
ol {
  margin: 0;
}

/* <address> se usa por semantica, no por su estilo por defecto. */
address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed !important;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.875rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------------------------------------------------------------------------
 * 3. Botones
 * ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.btn--order {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
}

.btn--order:hover,
.btn--order:focus-visible {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--xl {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn--ghost {
  border: 2px solid var(--accent);
  color: var(--accent);
  background-color: transparent;
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Boton solido verde, para CTAs sobre fondo crema. */
.btn--solid {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
 * 4. Header
 * ---------------------------------------------------------------------- */

/*
 * El header flota sobre el hero (transparente) y se vuelve solido al hacer
 * scroll, como en las referencias. La clase .is-scrolled la pone el JS.
 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 4px solid transparent;
  background-color: transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Se retira mientras la barra de pedido inferior esta en pantalla. */
.site-header.is-hidden {
  transform: translateY(-115%);
}

.site-header.is-scrolled {
  border-bottom-color: var(--primary);
  background-color: var(--primary-90);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  min-width: 0; /* permite que el nombre se encoja antes que el boton */
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

.site-brand__name {
  overflow-wrap: anywhere;
}

/* En moviles el nombre cede espacio para que el CTA nunca se corte. */
/* En movil el hero usa un gutter algo menor: cada pixel cuenta para el h1. */
@media (max-width: 640px) {
  .hero__inner {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 480px) {
  .site-brand {
    font-size: 1.125rem;
  }
}

/*
 * En movil todos los botones miden y pesan igual, sin importar el modificador
 * con el que se hayan pintado.
 */
@media (max-width: 720px) {
  .btn,
  .btn--order,
  .btn--lg,
  .btn--xl,
  .btn--ghost,
  .btn--solid,
  .order-bar__cta,
  .order-bar__menu,
  .site-footer__cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.8125rem;
    line-height: 1.1;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 9.5rem;
  }
}

.site-brand__logo img {
  max-height: 56px;
  width: auto;
}

/* Brandmark: sobre un disco crema para que resalte en el header verde. */
.site-brand__mark {
  flex: 0 0 auto;
  align-self: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.3rem;
  border-radius: 58% 42% 45% 55% / 55% 50% 50% 45%;
  background-color: var(--cream);
  object-fit: contain;
  transition: transform 0.2s ease;
}

.site-brand:hover .site-brand__mark {
  transform: scale(1.06);
}

@media (min-width: 640px) {
  .site-brand__mark {
    width: 4rem;
    height: 4rem;
  }
}

.site-brand__tagline {
  display: none;
  margin-left: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 auto;
}

.site-nav .btn--order {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-nav__menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu > li > a {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  border: 2px solid var(--primary-foreground-60);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-foreground);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.site-nav__menu > li > a:hover,
.site-nav__menu > li > a:focus-visible,
.site-nav__menu .current-menu-item > a {
  background-color: var(--cream);
  border-color: var(--cream);
  color: var(--primary);
}

/* Sub-menus (solo desktop) */
.site-nav__menu li {
  position: relative;
}

.site-nav__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: none;
  min-width: 12rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  border: 3px solid var(--primary);
  border-radius: 1rem;
  background-color: var(--card);
}

.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li:focus-within > .sub-menu {
  display: block;
}

.site-nav__menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--primary);
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid var(--accent);
  border-radius: 9999px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
}

.nav-toggle__bars::before {
  transform: translateY(-6px);
}

.nav-toggle__bars::after {
  transform: translateY(6px);
}

.site-header.is-open .nav-toggle__bars {
  background-color: transparent;
}

.site-header.is-open .nav-toggle__bars::before {
  transform: rotate(45deg) scaleX(1.15);
}

.site-header.is-open .nav-toggle__bars::after {
  transform: rotate(-45deg) scaleX(1.15);
}

@media (max-width: 639px) {
  /* Panel a pantalla completa: enlaces grandes y faciles de tocar. */
  .site-header.is-open .site-nav__menu {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 60;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 5.5rem var(--gutter) 2rem;
    overflow-y: auto;
    background-color: var(--primary);
    background-image: url("assets/images/pattern-green.webp");
    background-size: 620px auto;
    background-blend-mode: soft-light;
  }

  .site-header.is-open .site-nav__menu > li {
    width: 100%;
  }

  .site-header.is-open .site-nav__menu > li > a {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    border: 0;
    border-bottom: 2px solid var(--primary-foreground-60);
    border-radius: 0;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    text-align: left;
    background-color: transparent;
    color: var(--primary-foreground);
  }

  .site-header.is-open .site-nav__menu > li > a:hover,
  .site-header.is-open .site-nav__menu > li > a:focus-visible {
    background-color: transparent;
    color: var(--accent);
  }

  /* La mascota asoma en la esquina del panel abierto. */
  .site-header.is-open .site-nav__menu::after {
    content: "";
    position: absolute;
    right: 0.5rem;
    bottom: 2rem;
    width: 9.5rem;
    height: 9.5rem;
    background-image: url("assets/images/mascot-beige.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.9;
    rotate: -6deg;
    pointer-events: none;
  }

  .site-header.is-open .site-nav__menu .sub-menu {
    position: static;
    display: block;
    border: 0;
    padding: 0 0 0 1rem;
    background: transparent;
  }

  .site-header.is-open .site-nav__menu .sub-menu a {
    color: var(--primary-foreground-80);
  }

  /*
   * El header crea su propio contexto de apilado con z-index 50, asi que
   * subirle el z-index a un hijo no lo sacaba por encima del panel (60):
   * hay que subir el del propio header.
   */
  .site-header.is-open {
    z-index: 80;
    background-color: transparent;
  }

  /* Hermano del panel (z-index 60) dentro del mismo contexto: debe superarlo. */
  .site-header.is-open .site-header__inner {
    position: relative;
    z-index: 70;
  }

  /*
   * El panel esta DENTRO de .site-header__inner, no al lado: para que la X
   * quede encima hay que subir el z-index del propio boton (y del logo y el
   * CTA) por encima del 60 del panel.
   */
  .site-header.is-open .nav-toggle,
  .site-header.is-open .site-brand,
  .site-header.is-open .site-nav > .btn {
    position: relative;
    z-index: 70;
  }

  /* La X, bien visible sobre el panel. */
  .site-header.is-open .nav-toggle {
    border-color: var(--accent);
    background-color: var(--primary);
    color: var(--accent);
  }
}

@media (min-width: 640px) {
  .site-brand__tagline {
    display: inline;
  }

  .site-nav__menu {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* -------------------------------------------------------------------------
 * 5. Hero
 * ---------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--primary);
  background-image: radial-gradient(
    120% 80% at 70% 0%,
    rgba(226, 134, 57, 0.22) 0%,
    transparent 60%
  );
}

/*
 * Wordmark gigante detras de todo, como en las referencias: la palabra se
 * recorta contra los bordes y la foto flota por delante.
 */
.hero__wordmark {
  position: absolute;
  top: 4%;
  left: 0;
  right: 0;
  z-index: -1;
  text-align: center;
  will-change: transform;
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 24rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}

h1.eyebrow {
  font-size: 0.9375rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent);
}

.eyebrow--secondary {
  color: var(--secondary);
}

.hero__title {
  margin-top: 1.25rem;
  font-size: 3rem;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

.hero__title-line {
  display: block;
}

.hero__title-line--alt {
  color: var(--secondary);
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--primary-foreground-80);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-foreground-80);
}

.hero__media {
  position: relative;
}

.hero__glow {
  position: absolute;
  inset: -1rem;
  border-radius: 62% 38% 46% 54% / 58% 52% 48% 42%;
  background-image: var(--gradient-warm);
  opacity: 0.3;
  filter: blur(40px);
  pointer-events: none;
}

.hero__image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 2.5rem;
  border: 4px solid var(--accent);
  object-fit: cover;
}

/* Slideshow del hero: las fotos se funden unas con otras.
   La forma es el circulo irregular de la marca, no un rectangulo. */
.hero__slides {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 62% 38% 46% 54% / 58% 52% 48% 42%;
  border: 5px solid var(--pink);
  background-color: var(--primary);
  animation: yallah-morph 18s ease-in-out infinite;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* Fundido corto para que a 2s de intervalo el cambio se note agil. */
  transition: opacity 0.6s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .hero__inner {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

/*
 * El hero pasa a dos columnas a partir de 900px, no de 768px: entre esos dos
 * anchos la columna de texto quedaba tan estrecha que el titular encogia por
 * debajo del tamano que tiene en movil.
 */
@media (min-width: 900px) {
  .hero__inner {
    /* La columna del texto es mas ancha que la de la foto: es lo que permite
       que el titular crezca sin invadir la imagen. */
    grid-template-columns: 1.7fr 1fr;
    gap: 3rem; /* aire entre el titular y la imagen */
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

/*
 * El titular debe caer siempre en DOS lineas ("Hummus is a meal." /
 * "Don't argue."), no importa el ancho. La linea mas larga mide 9.5em en
 * Archivo Black, asi que con 10cqw del ancho de la columna nunca desborda.
 * Va despues de los media queries para ganarles en orden de cascada.
 */
@supports (container-type: inline-size) {
  .hero__copy {
    container-type: inline-size;
  }

  /*
   * Titular en tres lineas: la mas larga es "MEDITERRANEAN", que mide
   * 9.52em reales en Archivo Black (medido con la fuente ya cargada).
   * El tope absoluto seria 10.5cqw del ancho de la columna; con 9.8cqw
   * queda ~7% de aire para que nunca toque la foto.
   */
  .hero__title {
    font-size: clamp(1.6rem, 9.8cqw, 4.6rem);
  }

  /*
   * En movil la palabra "MEDITERRANEAN" es el limite: no se puede partir.
   * Se gana ancho reduciendo el gutter y cerrando un poco el tracking, y
   * con eso el titular admite 10.4cqw en vez de 9.8.
   */
  @media (max-width: 640px) {
    .hero__title {
      font-size: clamp(1.6rem, 10.4cqw, 4.6rem);
      letter-spacing: -0.045em;
    }
  }

  .hero__title-line {
    white-space: nowrap;
  }
}

/* -------------------------------------------------------------------------
 * 6. Marquee
 * ---------------------------------------------------------------------- */

/*
 * La cinta se superpone a la onda del hero y va ligeramente girada, como la
 * tira de cinta adhesiva de las referencias.
 */
.marquee {
  position: relative;
  z-index: 3;
  margin-top: -2.75rem;
  margin-bottom: -2.75rem;
  width: 108%;
  margin-left: -4%;
  overflow: hidden;
  transform: rotate(-2.4deg);
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
  background-color: var(--secondary);
  padding-block: 1rem;
  box-shadow: 0 14px 30px rgba(29, 68, 47, 0.18);
}

/* La cinta girada se sale de pantalla a lo ancho: se recorta aqui, no en
   el body, para no romper el header fijo. */
main {
  overflow-x: hidden;
  overflow-x: clip;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: yallah-marquee 26s linear infinite;
}

/*
 * El hueco lo pone el `gap` (identico entre palabra y bullet) y el
 * padding-right cierra el grupo, para que las dos copias encajen sin salto
 * al reiniciarse la animacion en el -50%.
 */
.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
}

.marquee__item,
.marquee__sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--primary);
  white-space: nowrap;
}

.marquee__sep {
  font-size: 1.125rem;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .marquee__group {
    gap: 1.75rem;
    padding-right: 1.75rem;
  }

  .marquee__item {
    font-size: 1.875rem;
  }

  .marquee__sep {
    font-size: 1.375rem;
  }
}

@keyframes yallah-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*
 * Las cintas se mueven siempre, tambien con "reducir movimiento" activado en
 * el sistema (es un requisito de la marca). Windows 11 desactiva los efectos
 * de animacion por defecto en muchos equipos, y con `animation: none` la
 * cinta se quedaba quieta. Ambas son decorativas: la de texto va aria-hidden
 * y la de logos duplica su contenido con aria-hidden en la copia.
 */

/* -------------------------------------------------------------------------
 * 7. Seccion Flavors
 * ---------------------------------------------------------------------- */

.section {
  padding-block: 5rem;
}

.section__title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--primary);
}

@media (min-width: 640px) {
  .section__title {
    font-size: 3rem;
  }
}

.flavors {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .flavors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.flavor-card {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 4px solid var(--primary);
  background-color: var(--card);
}

.flavor-card__image {
  height: 16rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flavor-card:hover .flavor-card__image {
  transform: scale(1.05);
}

.flavor-card__body {
  border-top: 4px solid var(--primary);
  padding: 1.5rem;
}

.flavor-card__title {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--primary);
}

.flavor-card__copy {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.section__cta {
  margin-top: 3rem;
  text-align: center;
}

.section__cta-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* -------------------------------------------------------------------------
 * 7 bis. Menu completo (Build Your Own + Sides / Treats / Drinks)
 * ---------------------------------------------------------------------- */

/*
 * Patron de lineas de la marca (el mismo de los vasos) como textura de fondo,
 * en una capa aparte para poder bajarle la opacidad.
 */
.menu-section::before,
.visit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: repeat;
  pointer-events: none;
}

.menu-section::before {
  background-image: url("assets/images/pattern-green.webp");
  background-size: 760px auto;
  opacity: 0.07;
}

.visit::before {
  background-image: url("assets/images/pattern-green.webp");
  background-size: 820px auto;
  opacity: 0.06;
  filter: brightness(3);
}

.menu-section {
  position: relative;
  overflow: hidden;
  background-color: var(--muted);
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
  padding-block: 5rem;
}

/* -------------------------------------------------------------------------
 * Elementos flotantes: fotos en circulo irregular que entran con el scroll,
 * se mueven a distinta velocidad (parallax) y flotan en bucle.
 * ---------------------------------------------------------------------- */

.floaties {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/*
 * Dos capas: el JS mueve .floaty (parallax) y .floaty__inner se encarga de
 * la entrada y del flotar en bucle. Asi no se pisan el mismo transform.
 */
.floaty {
  position: absolute;
  display: block;
  will-change: transform;
}

/* Los vasos flotan libres: solo la imagen recortada, sin marco ni fondo. */
.floaty__inner {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(70px) scale(0.85);
  transition:
    opacity 1s ease,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.floaty img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 28px rgba(29, 68, 47, 0.28));
}

.floaty.is-visible .floaty__inner {
  opacity: 1;
  transform: none;
  animation: yallah-float 7s ease-in-out infinite 1.1s;
}



.floaty--1 {
  top: 6%;
  left: -3rem;
  width: 8.5rem;
  rotate: -10deg;
}

.floaty--2 {
  top: 40%;
  right: -3.5rem;
  width: 11rem;
  rotate: 12deg;
}

.floaty--3 {
  bottom: 6%;
  left: 1%;
  width: 7rem;
  rotate: 7deg;
}

/*
 * Por debajo de 1100px no hay margen lateral libre: los vasos flotantes se
 * montaban sobre el texto del menu, asi que se retiran.
 */
@media (max-width: 1100px) {
  .floaty {
    display: none;
  }
}

/* El contenido va por encima de la decoracion. */
.menu-section > .container {
  position: relative;
  z-index: 1;
}

/* La mascota asoma por el borde derecho de la seccion de menu. */
.mascot--menu {
  display: none;
}

@media (min-width: 1180px) {
  .mascot--menu {
    display: block;
    top: 2.5rem;
    right: 1.5rem;
    transform: rotate(-6deg);
  }
}

.menu-section__head {
  max-width: 46rem;
}

.menu-section__title {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
}

@media (min-width: 640px) {
  .menu-section__title {
    font-size: 3rem;
  }
}

.menu-section__subtitle {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary);
}

.menu-section__intro {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.menu-price {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu-steps {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  align-items: start; /* cada tarjeta ocupa solo lo que necesita */
}

@media (min-width: 900px) {
  .menu-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.menu-step {
  border: 4px solid var(--primary);
  border-radius: var(--radius-3xl);
  background-color: var(--card);
  padding: 1.75rem;
}

.menu-step__title {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1.375rem;
  text-transform: uppercase;
  color: var(--primary);
}

.menu-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.menu-step__label {
  display: block;
}

.menu-step__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
}

.menu-step__groups {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .menu-step__groups:has(> .menu-group + .menu-group) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.menu-group__title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.menu-group__note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-foreground);
}

.menu-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

/* Pasos con un solo grupo (toppings, salsas): dos columnas para no alargar. */
@media (min-width: 560px) {
  .menu-group:only-child .menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
}

.menu-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.menu-list__name {
  font-weight: 600;
}

.menu-list__desc {
  flex: 1 1 100%;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.menu-spicy {
  font-size: 0.875rem;
}

.menu-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-extras__title {
  margin-top: 3.5rem;
  font-size: 1.875rem;
  text-transform: uppercase;
  color: var(--primary);
}

.menu-extras {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .menu-extras {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.menu-card {
  border: 4px solid var(--primary);
  border-radius: var(--radius-3xl);
  background-color: var(--card);
  padding: 1.75rem;
}

.menu-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--secondary);
}

.price-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.price-list__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-list__name {
  font-weight: 600;
  color: var(--foreground);
}

.price-list__dots {
  flex: 1 1 auto;
  border-bottom: 2px dotted var(--border);
  transform: translateY(-0.25rem);
}

.price-list__price {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--secondary);
  white-space: nowrap;
}

.price-list__desc {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.menu-combo {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  border: 4px solid var(--primary);
  border-radius: var(--radius-3xl);
  background-image: var(--gradient-warm);
  color: var(--primary);
  padding: 2.5rem 1.75rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-block);
}

/* Brillo diagonal que recorre el bloque para llamar la atencion. */
.menu-combo::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 40%;
  height: 220%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: yallah-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes yallah-shine {
  0% {
    left: -35%;
  }
  55%,
  100% {
    left: 125%;
  }
}

.menu-combo__badge {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.menu-combo__title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.875rem;
  text-transform: uppercase;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .menu-combo__title {
    font-size: 2.75rem;
  }
}

.menu-combo__text {
  position: relative;
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.menu-combo__price {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * 8. Seccion Visit
 * ---------------------------------------------------------------------- */

.visit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding-block: 5rem;
}

.visit > .container {
  position: relative;
  z-index: 1;
}

.visit__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .visit__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.visit__heading {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--accent);
}

.visit__text {
  margin-top: 0.75rem;
  color: var(--primary-foreground-80);
}

.visit__text a:hover,
.visit__text a:focus-visible {
  color: var(--secondary);
}

.visit__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--primary-foreground-60);
}

.visit__map {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 5px solid var(--pink);
  aspect-ratio: 4 / 3;
  background-color: var(--primary);
}

.visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .visit__map {
    aspect-ratio: 21 / 9;
  }
}

/* -------------------------------------------------------------------------
 * 7 ter. Circulos irregulares (blobs) y mascota
 *
 * El logo de Yallah es un circulo organico, no un circulo perfecto. Estas
 * utilidades repiten esa forma con border-radius de 8 valores.
 * ---------------------------------------------------------------------- */

.blob {
  border-radius: 62% 38% 46% 54% / 58% 52% 48% 42%;
}

.blob--2 {
  border-radius: 45% 55% 62% 38% / 42% 60% 40% 58%;
}

.blob--3 {
  border-radius: 58% 42% 38% 62% / 50% 45% 55% 50%;
}

/* Blob que respira: cambia de forma muy despacio. */
@keyframes yallah-morph {
  0%,
  100% {
    border-radius: 62% 38% 46% 54% / 58% 52% 48% 42%;
  }
  33% {
    border-radius: 45% 55% 62% 38% / 42% 60% 40% 58%;
  }
  66% {
    border-radius: 55% 45% 36% 64% / 52% 42% 58% 48%;
  }
}

.blob--morph {
  animation: yallah-morph 16s ease-in-out infinite;
}

.mascot {
  position: absolute;
  z-index: 2;
  width: 8rem;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(29, 68, 47, 0.18));
}

@media (min-width: 768px) {
  .mascot {
    width: 11rem;
  }
}

@keyframes yallah-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

.mascot--bob {
  animation: yallah-bob 6s ease-in-out infinite;
}

/* -------------------------------------------------------------------------
 * 7 quater. Seccion "Drink included"
 *
 * Fondo verde con filas de texto en diagonal que se cruzan, destellos
 * naranjas y el vaso flotando en el centro.
 * ---------------------------------------------------------------------- */

.drink {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
}

@media (min-width: 768px) {
  .drink {
    padding-block: 7rem;
  }
}

.drink__rows {
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-7deg);
  pointer-events: none;
}

.drink__row {
  overflow: hidden;
}

.drink__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: yallah-marquee 26s linear infinite;
}

.drink__row--rtl .drink__track {
  animation-direction: reverse;
  animation-duration: 32s;
}

.drink__word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--primary-foreground);
  opacity: 0.16;
}

/* Asterisco de la marca, usado como recurso grafico suelto. */
.asterisk {
  position: absolute;
  z-index: 1;
  width: 2.75rem;
  height: auto;
  pointer-events: none;
  will-change: transform;
  animation: yallah-spin 22s linear infinite;
}

@keyframes yallah-spin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@media (max-width: 700px) {
  .asterisk {
    width: 1.9rem;
  }
}

/* En el hero solo queda el asterisco de abajo: el de arriba pisaba el texto. */
.asterisk--hero-2 {
  bottom: 6%;
  right: 8%;
  width: 1.75rem;
  animation-direction: reverse;
}

@media (min-width: 900px) {
  .asterisk--hero-2 {
    bottom: 22%;
    width: 2.25rem;
  }
}

.asterisk--menu-1 {
  top: 16%;
  right: 11%;
}

.asterisk--menu-2 {
  bottom: 20%;
  right: 26%;
  width: 1.9rem;
  animation-direction: reverse;
}

.asterisk--drink-1 {
  top: 12%;
  left: 8%;
  width: 3rem;
}

.asterisk--drink-2 {
  top: 26%;
  right: 12%;
  width: 2rem;
  animation-direction: reverse;
}

.asterisk--drink-3 {
  bottom: 16%;
  left: 16%;
  width: 1.75rem;
}

.asterisk--drink-4 {
  bottom: 24%;
  right: 9%;
  width: 2.75rem;
  animation-direction: reverse;
}

.asterisk--visit-1 {
  top: 14%;
  right: 7%;
  width: 2.5rem;
}

.drink__inner {
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .drink__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .drink__cup {
    order: 2;
    justify-self: center;
  }
}

.drink__cup {
  position: relative;
}

/* Halo detras del vaso para despegarlo del fondo. */
.drink__cup::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  border-radius: 62% 38% 46% 54% / 58% 52% 48% 42%;
  background-image: var(--gradient-warm);
  opacity: 0.28;
  filter: blur(38px);
}

.drink__cup-img {
  position: relative;
  width: min(20rem, 68vw);
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.32));
  animation: yallah-float 6s ease-in-out infinite;
}

@keyframes yallah-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-18px) rotate(1.5deg);
  }
}

.drink__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

.drink__text {
  margin-top: 1.25rem;
  max-width: 30rem;
  font-size: 1.0625rem;
  color: var(--primary-foreground-80);
}

.drink__copy .btn {
  margin-top: 1.75rem;
}

/* Ajustes del menu en pantallas pequenas. */
@media (max-width: 720px) {
  .menu-section {
    padding-block: 3.5rem;
    background-size: 520px auto;
  }

  .menu-price {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  .menu-section__subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.12em;
  }

  .menu-steps {
    margin-top: 2rem;
    gap: 1rem;
  }

  .menu-step,
  .menu-card {
    padding: 1.25rem;
  }

  .menu-step__title {
    gap: 0.7rem;
    font-size: 1.125rem;
  }

  .menu-step__number {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1rem;
  }

  .menu-extras__title {
    margin-top: 2.5rem;
    font-size: 1.5rem;
  }

  .menu-combo {
    padding: 2rem 1.25rem 1.75rem;
  }
}

/* -------------------------------------------------------------------------
 * 8 bis. Proudly part of Prime Group (carrusel de marcas del grupo)
 * ---------------------------------------------------------------------- */

.prime-group {
  overflow: hidden;
  padding-block: 3.5rem;
  border-top: 4px solid var(--accent);
  background-color: var(--secondary-foreground);
  color: var(--primary-foreground);
}

.prime-group__head {
  text-align: center;
}

.prime-group__logo {
  width: 7.92rem; /* 5.5rem +20% +20% */
  height: auto;
  margin-inline: auto;
}

.prime-group__title {
  margin-top: 1rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--accent);
}

@media (min-width: 768px) {
  .prime-group__title {
    font-size: 1.875rem;
  }
}

.logo-marquee {
  margin-top: 2.5rem;
  overflow: hidden;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: yallah-marquee 40s linear infinite;
}

.logo-marquee__track:hover {
  animation-play-state: paused;
}

.logo-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 4.5rem;
  margin-inline: 1.75rem;
}

@media (min-width: 768px) {
  .logo-marquee__item {
    width: 13rem;
    height: 6.5rem;
    margin-inline: 2.5rem;
  }
}

/*
 * Los logos de las marcas vienen en negro o en blanco segun la marca:
 * brightness(0) los aplana a negro e invert(1) los deja todos en blanco,
 * asi el carrusel se ve homogeneo sobre el fondo oscuro.
 */
.logo-marquee__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.logo-marquee__item:hover img,
.logo-marquee__item:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}

/* Enlaces de texto a las otras marcas del grupo. */
.prime-group__links {
  margin: 2.5rem auto 0;
  padding: 0 var(--gutter);
  max-width: var(--container);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
}

.prime-group__links a {
  color: var(--primary-foreground-80);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prime-group__links a:hover,
.prime-group__links a:focus-visible {
  color: var(--accent);
}

/* -------------------------------------------------------------------------
 * 9. Footer
 * ---------------------------------------------------------------------- */

/*
 * Footer: naranja de marca con el patron de lineas de textura, asteriscos,
 * la mascota asomando y el wordmark gigante recortado abajo del todo.
 */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 4px solid var(--primary);
  background-color: var(--footer-bg);
  background-image: radial-gradient(
    120% 100% at 15% 0%,
    rgba(226, 134, 57, 0.14) 0%,
    transparent 58%
  );
  color: var(--primary-foreground);
  padding-top: 3.5rem;
  padding-bottom: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("assets/images/pattern-green.webp");
  background-size: 640px auto;
  background-repeat: repeat;
  opacity: 0.07;
  filter: brightness(3.2);
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

/* Wordmark gigante, recortado por el borde inferior. */
.site-footer__wordmark {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: -0.16em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 21vw, 17rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  text-align: center;
  text-transform: uppercase;
  color: var(--primary-foreground);
  opacity: 0.18;
  user-select: none;
  pointer-events: none;
}

.site-footer__mascot {
  position: absolute;
  right: -2.5rem;
  bottom: 4.5rem;
  z-index: 0;
  width: 12rem;
  height: auto;
  opacity: 0.35;
  rotate: 8deg;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .site-footer__mascot {
    display: none;
  }
}

.asterisk--footer-1 {
  top: 10%;
  right: 14%;
  width: 2.5rem;
}

.asterisk--footer-2 {
  bottom: 34%;
  left: 6%;
  width: 1.75rem;
  animation-direction: reverse;
}

.asterisk--footer-3 {
  top: 42%;
  right: 38%;
  width: 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  text-align: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3rem;
    text-align: left;
    align-items: start;
    justify-items: stretch;
  }
}

/* Columna de marca */
.site-footer__mark {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 58% 42% 45% 55% / 55% 50% 50% 45%;
  background-color: var(--cream);
  padding: 0.35rem;
  object-fit: contain;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .site-footer__mark {
    margin-inline: 0;
  }
}

.site-footer__brand-text {
  margin-top: 1.25rem;
  max-width: 22rem;
  font-size: 0.9375rem;
  color: var(--primary-foreground-80);
}

.site-footer__cta {
  margin-top: 1.5rem;
  background-color: var(--primary-foreground);
  color: var(--footer-bg);
}

.site-footer__cta:hover,
.site-footer__cta:focus-visible {
  background-color: var(--accent);
  color: var(--primary);
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.site-footer__label {
  position: relative;
  padding-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.site-footer__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  transform: translateX(-50%);
  background-color: var(--accent);
}

@media (min-width: 768px) {
  .site-footer__label::after {
    left: 0;
    transform: none;
  }
}

.footer-contact {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--primary-foreground-80);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent);
}

.footer-menu {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-menu a {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
  padding-bottom: 2px;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  background-size: 100% 2px;
  color: var(--accent);
}

.social-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid var(--primary-foreground);
  border-radius: 9999px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background-color: var(--primary-foreground);
  color: var(--footer-bg);
  transform: translateY(-2px);
}

.social-links svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.site-footer__legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--primary-foreground-60);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--primary-foreground-80);
}

@media (min-width: 768px) {
  .site-footer__legal {
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__credit a {
  color: var(--primary-foreground);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: var(--accent);
}

/*
 * Todo enlace del footer va subrayado para que se vea que es clicable.
 * Los botones y los iconos sociales quedan fuera: ya se leen como accion.
 */
.site-footer a:not(.btn):not(.social-links a),
.site-footer__legal a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer .social-links a,
.site-footer .btn {
  text-decoration: none;
}

/* -------------------------------------------------------------------------
 * 10. Contenido (paginas, entradas, 404, buscador)
 * ---------------------------------------------------------------------- */

.page-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding-top: 9rem;
  padding-bottom: 3.5rem;
}

.page-hero__title {
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .page-hero__title {
    font-size: 3rem;
  }
}

.page-hero__meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* -------------------------------------------------------------------------
 * Hero de la pagina /menu: foto de fondo con velo verde
 * ---------------------------------------------------------------------- */

.page-hero--menu {
  position: relative;
  overflow: hidden;
  padding-top: 9rem;
  padding-bottom: 4.5rem;
  border-bottom: 4px solid var(--accent);
}

@media (min-width: 768px) {
  .page-hero--menu {
    padding-top: 11rem;
    padding-bottom: 7rem;
  }
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

/* Velo para que el texto siempre tenga contraste sobre la foto. */
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(29, 68, 47, 0.97) 0%,
    rgba(29, 68, 47, 0.9) 42%,
    rgba(29, 68, 47, 0.55) 100%
  );
}

.page-hero__content {
  position: relative;
  max-width: 46rem;
}

.page-hero--menu .page-hero__title {
  margin-top: 0.5rem;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.88;
}

/*
 * Un solo foco: el titulo manda. El texto de apoyo va en tipografia normal
 * (no display dorado) y el precio no lleva pildora, para no competir con el
 * unico CTA naranja de la seccion.
 */
.page-hero__lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--primary-foreground-80);
}

.page-hero__price {
  color: var(--accent);
  font-weight: 700;
}

.page-hero__facts {
  margin-top: 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-foreground-60);
}

.entry {
  padding-block: 3.5rem;
}

.entry__content {
  max-width: 46rem;
}

.entry__content > * + * {
  margin-top: 1.25rem;
}

.entry__content h2 {
  margin-top: 2.5rem;
  font-size: 1.875rem;
  text-transform: uppercase;
  color: var(--primary);
}

.entry__content h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--primary);
}

.entry__content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-underline-offset: 3px;
}

.entry__content a:hover {
  color: var(--secondary);
}

.entry__content ul,
.entry__content ol {
  padding-left: 1.25rem;
}

.entry__content li + li {
  margin-top: 0.5rem;
}

.entry__content blockquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--secondary);
  background-color: var(--muted);
  border-radius: 0 1rem 1rem 0;
}

.entry__content img,
.entry__thumb {
  border-radius: var(--radius-3xl);
  border: 4px solid var(--pink);
}

.entry__content code,
.entry__content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background-color: var(--muted);
  border-radius: 0.5rem;
}

.entry__content code {
  padding: 0.15em 0.4em;
  font-size: 0.9em;
}

.entry__content pre {
  padding: 1rem;
  overflow-x: auto;
}

.entry__content table {
  width: 100%;
  border-collapse: collapse;
}

.entry__content th,
.entry__content td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.post-list {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-card {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 4px solid var(--primary);
  background-color: var(--card);
  display: flex;
  flex-direction: column;
}

.post-card__image {
  height: 14rem;
  width: 100%;
  object-fit: cover;
}

.post-card__body {
  border-top: 4px solid var(--primary);
  padding: 1.5rem;
  flex: 1 1 auto;
}

.post-card__title {
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--primary);
}

.post-card__excerpt {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding-bottom: 3.5rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding-inline: 0.75rem;
  border: 3px solid var(--primary);
  border-radius: 9999px;
  font-family: var(--font-display);
  color: var(--primary);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: var(--secondary);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 26rem;
}

.search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  border: 3px solid var(--primary);
  border-radius: 9999px;
  background-color: var(--card);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
}

.error-404 {
  padding-top: 11rem;
  padding-bottom: 6rem;
  text-align: center;
}

.error-404__code {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.error-404__title {
  margin-top: 0.5rem;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--primary);
}

.error-404__text {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.error-404 .btn {
  margin-top: 2rem;
}

/* Alineaciones de bloques de WordPress */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.alignwide,
.alignfull {
  max-width: 100%;
}

.wp-caption-text,
.entry__content figcaption {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Barra de admin: el header sticky no debe quedar debajo */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* -------------------------------------------------------------------------
 * 12. Interacciones: magnetismo, hero cinematico y barra de pedido
 * ---------------------------------------------------------------------- */

/* Los botones vuelven a su sitio con rebote al salir el cursor. */
.is-magnetic {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.is-magnetic:hover {
  transition-duration: 0.12s;
}

/* Cursor "pulsado": la mascota encogida mientras se mantiene el clic. */
@media (hover: hover) and (pointer: fine) {
  body.is-pressing,
  body.is-pressing a,
  body.is-pressing button {
    cursor:
      image-set(
        url("assets/images/cursor-mascot-press.png") 1x,
        url("assets/images/cursor-mascot-press-2x.png") 2x
      )
      6 4,
      pointer;
  }
}

/*
 * Titular del hero: entra palabra a palabra.
 * Las palabras van `inline` y solo animan opacidad: con `inline-block` cada
 * palabra redondeaba a pixel entero y el titular crecia ~40px, que es justo
 * lo que lo hacia desbordar sobre la foto. El desplazamiento lo hace la
 * linea completa, que es un bloque y no altera el ancho del texto.
 */
.hero__title .word {
  display: inline;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero__title.is-in .word {
  opacity: 1;
}

.hero__title-line {
  transform: translateY(0.35em);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__title.is-in .hero__title-line {
  transform: none;
}

.hero__title-line:nth-child(2) {
  transition-delay: 0.12s;
}

.hero__title-line:nth-child(3) {
  transition-delay: 0.24s;
}

/* La foto se inclina siguiendo el raton. */
.hero__slides {
  transition: transform 0.35s ease-out;
  transform-style: preserve-3d;
}

/* Barra de pedido flotante. */
.order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background-color: var(--primary);
  border-top: 4px solid var(--accent);
  padding-block: 0.85rem;
  box-shadow: 0 -14px 34px rgba(29, 68, 47, 0.28);
}

.order-bar.is-visible {
  transform: none;
}

.order-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-bar__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  color: var(--primary-foreground);
  font-size: 0.9375rem;
  line-height: 1.25;
}

.order-bar__text strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.0625rem;
  text-transform: uppercase;
}

.order-bar__text span {
  color: var(--accent);
}

.order-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.order-bar__cta,
.order-bar__menu {
  padding: 0.7rem 1.5rem;
  font-size: 0.8125rem;
}

/* Secundario: contorno, para que no compita con Order Now. */
.order-bar__menu {
  border: 2px solid var(--primary-foreground-60);
  color: var(--primary-foreground);
  background-color: transparent;
}

.order-bar__menu:hover,
.order-bar__menu:focus-visible {
  background-color: var(--cream);
  border-color: var(--cream);
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .order-bar__inner {
    flex-direction: column;
    gap: 0.65rem;
    justify-content: center;
    text-align: center;
  }

  .order-bar__text {
    justify-content: center;
  }

  .order-bar__text strong {
    font-size: 0.9375rem;
  }

  .order-bar__text span {
    width: 100%;
  }

  .order-bar__actions {
    width: 100%;
    justify-content: center;
  }

  .order-bar__cta,
  .order-bar__menu {
    flex: 1 1 0;
    padding-inline: 0.75rem;
  }
}
