/* ==========================================================================
   Yummy Cajamarca · Landing
   Design tokens follow the Yummy brand guide: Poppins (uppercase titles),
   Nunito Sans (body), script type reserved for the logo artwork only.
   ========================================================================== */

:root {
  /* Brand palette */
  --pink: #f8208f;
  --pink-deep: #d90f78;
  --mango: #e07b1f;
  --pink-soft: #fbd0e6;
  --charcoal: #1c1b1a;
  --cream: #f3e9de;
  --milk: #fffaf5;

  /* Type */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --text-hero: clamp(3rem, 6.6vw, 6.5rem);
  --text-h2: clamp(2.75rem, 6.4vw, 5.75rem);
  --text-lead: clamp(1.125rem, 1.5vw, 1.3125rem);

  /* Space */
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(96px, 12vw, 168px);
  --radius-card: 28px;
  --nav-h: 76px;

  /* Focus ring, swapped on dark surfaces */
  --focus: var(--charcoal);

  /* Wave artwork, masked so the color stays a token.
     The line runs half a period past each tile edge: ending a stroke on the edge leaves a
     slanted butt cap there, which showed up as a notch at every seam. */
  --wave-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M-24 6 Q-12 12 0 6 T24 6 T48 6 T72 6' fill='none' stroke='black' stroke-width='3.5'/%3E%3C/svg%3E");
  --wave-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28' viewBox='0 0 96 28'%3E%3Cpath d='M0 14 Q24 0 48 14 T96 14 V28 H0 Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  /* Reserved so locking the scroll for the lightbox never shifts the layout. */
  scrollbar-gutter: stable;
}

.is-lightbox-open,
.is-lightbox-open body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Components set their own display; `hidden` must still win. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul[role="list"],
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

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

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label--pink,
.text-pink {
  color: var(--pink);
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Absolute, not fixed: once focused it would otherwise ride along over the nav for the whole scroll. */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--milk);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  translate: 0 -200%;
}

.skip-link:focus-visible {
  translate: 0 0;
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Shared components ---------- */

/* 19px bold keeps white-on-pink inside WCAG's large-text AA threshold. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, scale 0.2s ease;
}

.btn:active {
  scale: 0.97;
}

.btn--pink {
  background: var(--pink);
  color: #fff;
}

.btn--pink:hover {
  background: var(--pink-deep);
}

.btn--lg {
  min-height: 58px;
  padding: 0 32px;
}

.btn--glow {
  animation: glow 3.2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 22px 0 rgb(248 32 143 / 0.35);
  }
  50% {
    box-shadow: 0 0 46px 6px rgb(248 32 143 / 0.55);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.link-arrow::after {
  content: "→";
  transition: translate 0.25s ease;
}

.link-arrow:hover::after {
  translate: 5px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--milk);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 14px 30px -14px rgb(28 27 26 / 0.35);
}

.pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.wave-line {
  height: 14px;
  background: var(--pink);
  -webkit-mask: var(--wave-line) repeat-x left center / 48px 12px;
  mask: var(--wave-line) repeat-x left center / 48px 12px;
}

/* ---------- 1 · Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--cream);
  /* Failsafe if scripts never load: get out of the way. */
  animation: preloader-failsafe 0.3s ease 4s forwards;
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.preloader__meter {
  position: absolute;
  top: clamp(20px, 4vw, 44px);
  left: var(--gutter);
  display: grid;
  gap: 10px;
}

.preloader__count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 13vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.preloader__count::after {
  content: "%";
  font-size: 0.32em;
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 0.1em;
  color: var(--pink);
}

.preloader__status {
  min-height: 1.6em;
  font-weight: 600;
}

.preloader__stage {
  position: relative;
  width: clamp(130px, 20vw, 190px);
}

.preloader__cup {
  width: 100%;
  overflow: visible;
}

.preloader__stroke {
  stroke: var(--charcoal);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.preloader__liquid {
  transform: translateY(150px);
}

/* Sits exactly where the cup is, hidden until the cup hands over to it. */
.preloader__logo {
  position: absolute;
  inset: 0;
  width: 92%;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}

/* Pink disc that inflates from the logo to cover the screen before the page opens. */
.preloader__burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--pink);
  transform: scale(0);
}

.preloader__meter,
.preloader__stage {
  z-index: 1;
}

/* Page reveal: a hole grows from the logo's center (driven by --hole from JS). */
.preloader.is-revealing {
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole, 0px), #000 calc(var(--hole, 0px) + 1px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--hole, 0px), #000 calc(var(--hole, 0px) + 1px));
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 10px clamp(10px, 2vw, 24px);
}

.nav__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1280px;
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: clamp(12px, 2vw, 28px);
  border-radius: 999px;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-scrolled .nav__inner {
  background: rgb(255 250 245 / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -24px rgb(28 27 26 / 0.45);
}

.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--pink), var(--pink)) no-repeat left bottom / 0 3px;
  transition: background-size 0.3s ease;
}

.nav__links a:hover {
  background-size: 100% 3px;
}

.nav__links-carta {
  display: none;
}

.nav__brand {
  justify-self: center;
}

.nav__brand img {
  height: 42px;
  width: auto;
}

.nav__cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 22px;
}

.nav__cta-short,
.nav__toggle {
  display: none;
}

/* ---------- 2 · Hero ---------- */

/* Set by JS only, removed as soon as the pop-in timeline has hidden its targets. */
.is-intro .hero__grid,
.is-intro .hero__bar {
  visibility: hidden;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 40px);
  background: var(--cream);
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero__title {
  font-size: var(--text-hero);
}

/* Each line is designed as one line: never let a word break across two. */
.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__line--accent {
  color: var(--pink);
}

.hero__lead {
  max-width: 34ch;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: var(--text-lead);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(28px, 3vw, 40px);
}

.hero__stage {
  /* Tuned so the glass keeps the height the old, narrower product had. */
  --product-w: min(64%, 330px);
  position: relative;
  height: clamp(440px, 68vh, 640px);
}

.hero__arch {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(96%, 470px);
  height: 74%;
  margin-left: calc(min(96%, 470px) / -2);
  border-radius: 999px 999px 44px 44px;
  background: var(--pink-soft);
}

.hero__product {
  position: absolute;
  bottom: 7%;
  left: 50%;
  z-index: 2;
  width: var(--product-w);
  margin-left: calc(var(--product-w) / -2);
  will-change: transform;
}

.hero__float img {
  width: 100%;
  filter: drop-shadow(0 34px 34px rgb(28 27 26 / 0.2));
}

.hero__shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  z-index: 1;
  width: 40%;
  height: 22px;
  margin-left: -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(28 27 26 / 0.28), transparent);
}

.hero__pill {
  position: absolute;
  top: 30%;
  left: 0;
  z-index: 3;
  max-width: min(100%, 300px);
}

.hero__pill strong {
  font-weight: 700;
}

.hero__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-block: 22px 26px;
  list-style: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.hero__bar li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero__bar .label {
  color: var(--pink-deep);
}

.hero__bar .socials {
  align-items: center;
  gap: 10px 22px;
}

.hero__bar a {
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- 2b · Nosotros ---------- */

.about {
  position: relative;
  padding-block: var(--section-y);
  background: var(--pink-soft);
}

/* Soft pink wave rising out of the hero, and a cream wave handing over to "Lo más pedido". */
.about::before,
.about::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  -webkit-mask: var(--wave-fill) repeat-x bottom / 96px 28px;
  mask: var(--wave-fill) repeat-x bottom / 96px 28px;
}

.about::before {
  top: -27px;
  background: var(--pink-soft);
}

.about::after {
  bottom: -1px;
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

/* Portrait store photo: capped so it does not tower over the copy beside it. */
.about__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  padding: 4% 4% 8%;
}

.about__frame {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  rotate: -2deg;
  box-shadow: 0 40px 70px -36px rgb(28 27 26 / 0.55);
}

.about__frame img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  margin-top: -6%;
}

.about__sticker {
  position: absolute;
  top: -2%;
  right: -1%;
  width: clamp(64px, 7.5vw, 108px);
  rotate: 12deg;
  filter: drop-shadow(0 10px 18px rgb(28 27 26 / 0.22));
}

.about__pill {
  position: absolute;
  left: 0;
  bottom: 2%;
}

.about__copy {
  display: grid;
  justify-items: start;
}

/* Small pink type fails AA on the soft pink ground, so labels and accents go darker here. */
.about__copy .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
}

.about__copy .label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.about__title {
  margin-top: 18px;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  text-wrap: balance;
}

/* Accent starts its own line and stays balanced, so no word is left alone at the end. */
.about__title .text-pink {
  display: block;
  text-wrap: balance;
  color: var(--pink-deep);
}

.about__lead {
  max-width: 46ch;
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: var(--text-lead);
  font-weight: 600;
}

.about__text {
  max-width: 50ch;
  margin-top: 16px;
  color: rgb(28 27 26 / 0.82);
}

.about__copy .link-arrow {
  margin-top: clamp(28px, 3.4vw, 40px);
}

/* ---------- 3 · Lo más pedido ---------- */

.menu {
  position: relative;
  padding-block: var(--section-y);
  background: var(--cream);
}

.menu__head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: end;
  gap: 24px 48px;
}

.menu__title-wrap {
  position: relative;
  justify-self: start;
  font-size: var(--text-h2);
}

.menu__title {
  font-size: 1em;
}

.menu__sticker {
  position: absolute;
  top: -0.28em;
  left: calc(100% + 0.08em);
  width: clamp(52px, 6vw, 84px);
  rotate: 14deg;
}

.menu__intro {
  display: grid;
  justify-items: start;
  gap: 18px;
  font-size: var(--text-lead);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vw, 80px);
}

.card {
  position: relative;
  padding-top: 90px;
}

.card__surface {
  position: relative;
  height: 100%;
  border-radius: var(--radius-card);
  background: var(--milk);
  overflow: hidden;
  box-shadow: 0 1px 0 rgb(28 27 26 / 0.05), 0 26px 44px -30px rgb(28 27 26 / 0.45);
  transition: translate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card__tone {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card__tone::before {
  content: "";
  position: absolute;
  left: -25%;
  bottom: 0;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tone);
}

.card__body {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 18px 22px 24px;
}

.card__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(28 27 26 / 0.72);
}

.card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.card__name a {
  text-decoration: none;
}

/* Whole card is clickable through the product name link. */
.card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card__name a:focus-visible {
  outline: none;
}

.card:has(a:focus-visible) .card__surface {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.card__desc {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgb(28 27 26 / 0.78);
}

.card__price {
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink-soft);
  font-family: var(--font-display);
  font-weight: 700;
}

.card__img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 250px;
  width: auto;
  margin-inline: auto;
  pointer-events: none;
  filter: drop-shadow(0 22px 20px rgb(28 27 26 / 0.22));
  transition: rotate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), scale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card__img--tall {
  height: 282px;
  top: -14px;
}

.card__img--round {
  height: 176px;
  top: 64px;
}

/* Products photographed on a table (no cutout) show as a round photo popping out of the card. */
.card__photo {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 2;
  width: 196px;
  height: 196px;
  margin-inline: auto;
  border-radius: 50%;
  border: 6px solid var(--milk);
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 22px 36px -20px rgb(28 27 26 / 0.55);
  transition: rotate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), scale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .card__surface {
  translate: 0 -6px;
}

.card:hover .card__photo,
.card:hover .card__img {
  rotate: -5deg;
  scale: 1.05;
}

.sticker {
  position: absolute;
  top: 96px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mango);
  box-shadow: 0 0 0 4px var(--milk), 0 10px 20px -8px rgb(28 27 26 / 0.5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  rotate: -14deg;
  pointer-events: none;
}

/* ---------- 3b · Ofertas ---------- */

.offers {
  position: relative;
  padding-block: 0 calc(var(--section-y) + 20px);
  background: var(--cream);
}

.offers__wave {
  margin-bottom: var(--section-y);
}

.offers__head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: end;
  gap: 24px 48px;
}

.offers__title {
  font-size: var(--text-h2);
}

.offers__intro {
  display: grid;
  justify-items: start;
  gap: 18px;
  font-size: var(--text-lead);
}

.offers__carousel {
  margin-top: clamp(80px, 9vw, 120px);
}

/* Slides share one grid cell, so the carousel keeps the tallest slide's height. */
.offers__viewport {
  display: grid;
  touch-action: pan-y;
}

.offer {
  --tone: var(--pink);
  --sticker: var(--mango);
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(400px, 38vw, 480px);
  border-radius: 36px;
  background: var(--milk);
  box-shadow: 0 1px 0 rgb(28 27 26 / 0.05), 0 34px 60px -40px rgb(28 27 26 / 0.5);
}

.offer[data-tone="mango"] {
  --tone: var(--mango);
  --sticker: var(--pink-soft);
}

.offer[data-tone="charcoal"] {
  --tone: var(--charcoal);
  --sticker: var(--pink);
}

.offer:not(.is-active) {
  visibility: hidden;
}

.offer__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 4.5vw, 64px);
}

.offer__period {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--pink-soft);
}

.offer__name {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1;
}

.offer__items {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-lead);
  font-weight: 600;
}

.offer__items li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.offer__items li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mango);
  translate: 0 -2px;
}

.offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 14px;
}

.offer__art {
  position: relative;
  margin: 14px;
  border-radius: 28px;
  background: var(--tone);
}

.offer__art::before {
  content: "";
  position: absolute;
  inset: 12% 14%;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
}

.offer__img {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  z-index: 1;
  height: 112%;
  width: auto;
  max-width: 92%;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 26px rgb(28 27 26 / 0.3));
}

.offer__price {
  position: absolute;
  top: 9%;
  right: 7%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(96px, 9vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sticker);
  box-shadow: 0 0 0 5px var(--milk), 0 16px 28px -12px rgb(28 27 26 / 0.55);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1;
  rotate: -10deg;
}

.offer__price small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.5em;
  text-align: center;
}

.offers__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.offers__dots {
  display: flex;
  gap: 6px;
}

.offers__dot {
  width: 58px;
  padding: 18px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.offers__dot span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgb(28 27 26 / 0.15);
  overflow: hidden;
}

.offers__dot i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
}

.offers__counter {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.offers__toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--milk);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.offers__toggle:hover {
  background: var(--pink-deep);
}

.offers__toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.offers__icon-play,
.offers__carousel.is-paused .offers__icon-pause {
  display: none;
}

.offers__carousel.is-paused .offers__icon-play {
  display: block;
}

/* ---------- 4 · Catering & Eventos ---------- */

.catering {
  --focus: var(--pink-soft);
  position: relative;
  padding-block: var(--section-y);
  background: var(--charcoal);
  color: var(--cream);
  overflow-x: clip;
}

/* Charcoal wave rising out of whichever cream section sits above (x-only clip keeps it visible). */
.catering::before {
  content: "";
  position: absolute;
  inset: -27px 0 auto;
  height: 28px;
  background: var(--charcoal);
  -webkit-mask: var(--wave-fill) repeat-x bottom / 96px 28px;
  mask: var(--wave-fill) repeat-x bottom / 96px 28px;
}

.catering__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.catering__title {
  margin-top: 18px;
  font-size: var(--text-h2);
  color: var(--milk);
}

.catering__lead {
  max-width: 44ch;
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: var(--text-lead);
  color: rgb(243 233 222 / 0.82);
}

.catering__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 28px 36px;
}

.catering__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1.5px solid rgb(251 208 230 / 0.3);
  border-radius: 999px;
  color: var(--pink-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}

.catering__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mango);
}

.catering__media {
  position: relative;
  padding: 7% 9%;
}

.catering__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 45%), rgb(248 32 143 / 0.6), rgb(224 123 31 / 0.18) 38%, transparent 62%);
  filter: blur(36px);
}

.catering__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  rotate: 2deg;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(251 208 230 / 0.12);
}

.catering__frame img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  margin-top: -8%;
}

.particles {
  position: absolute;
  inset: -4%;
  pointer-events: none;
}

.particles__layer {
  position: absolute;
  inset: 0;
}

.particles__layer--back {
  z-index: 0;
}

.particles__layer--front {
  z-index: 2;
}

.particle {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.particle svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- 4b · Galería ---------- */

.gallery {
  position: relative;
  padding-block: var(--section-y);
  background: var(--cream);
}

/* Cream wave rising out of the charcoal catering section above. */
.gallery::before {
  content: "";
  position: absolute;
  inset: -27px 0 auto;
  height: 28px;
  background: var(--cream);
  -webkit-mask: var(--wave-fill) repeat-x bottom / 96px 28px;
  mask: var(--wave-fill) repeat-x bottom / 96px 28px;
}

.gallery__head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: end;
  gap: 24px 48px;
}

.gallery__title-wrap {
  position: relative;
  justify-self: start;
  font-size: var(--text-h2);
}

.gallery__title {
  font-size: 1em;
}

.gallery__sticker {
  position: absolute;
  top: -0.28em;
  left: calc(100% + 0.08em);
  width: clamp(52px, 6vw, 84px);
  rotate: -12deg;
}

.gallery__intro {
  display: grid;
  justify-items: start;
  gap: 18px;
  font-size: var(--text-lead);
}

/* Masonry: the photos are a mix of portrait and landscape, so columns keep
   every frame at its own aspect instead of cropping them to a common box. */
.gallery__grid {
  columns: 3;
  column-gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vw, 80px);
}

.gallery__cell {
  break-inside: avoid;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--milk);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 1px 0 rgb(28 27 26 / 0.05), 0 26px 44px -30px rgb(28 27 26 / 0.45);
  transition: translate 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery__item img {
  width: 100%;
  transition: scale 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery__item:hover {
  translate: 0 -6px;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  scale: 1.05;
}

/* ---------- Lightbox ---------- */

.lightbox {
  --focus: var(--pink-soft);
  width: min(100vw, 1400px);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: clamp(16px, 3vw, 40px);
  border: 0;
  background: transparent;
  color: var(--milk);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(28 27 26 / 0.92);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100dvh - clamp(100px, 14vw, 160px));
  width: auto;
  border-radius: clamp(16px, 2vw, 28px);
  object-fit: contain;
}

.lightbox__nav,
.lightbox__close {
  display: grid;
  place-items: center;
  width: clamp(44px, 6vw, 56px);
  height: clamp(44px, 6vw, 56px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 250 245 / 0.14);
  color: var(--milk);
  cursor: pointer;
  transition: background 0.25s ease, scale 0.25s ease;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: var(--pink);
  scale: 1.06;
}

.lightbox__nav svg,
.lightbox__close svg {
  width: 45%;
  height: 45%;
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 2;
}

/* ---------- 5 · Ubicación ---------- */

.visit {
  position: relative;
  padding-block: var(--section-y);
  background: var(--pink-soft);
}

/* Soft pink wave rising out of the catering section */
.visit::before {
  content: "";
  position: absolute;
  inset: -27px 0 auto;
  height: 28px;
  background: var(--pink-soft);
  -webkit-mask: var(--wave-fill) repeat-x bottom / 96px 28px;
  mask: var(--wave-fill) repeat-x bottom / 96px 28px;
}

.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.visit__title {
  font-size: var(--text-h2);
}

.visit__facts {
  display: grid;
  gap: 26px;
  margin-top: clamp(32px, 4vw, 48px);
}

.visit__facts dt {
  color: rgb(28 27 26 / 0.72);
}

.visit__facts dd {
  margin-top: 4px;
  font-size: var(--text-lead);
  font-weight: 600;
  line-height: 1.45;
}

.visit__note {
  font-weight: 400;
  font-size: 1rem;
}

/* Social handles: each network's glyph in a pink chip, then its @user. */
.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.social__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  transition: background-color 0.2s ease, scale 0.2s ease;
}

.social__icon svg {
  width: 18px;
  height: 18px;
}

.social--lg {
  gap: 12px;
}

.social--lg .social__icon {
  width: 44px;
  height: 44px;
}

.social--lg .social__icon svg {
  width: 22px;
  height: 22px;
}

.social:hover .social__icon {
  background: var(--pink-deep);
  scale: 1.06;
}

.social:hover .social__handle {
  color: var(--pink-deep);
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(32px, 4vw, 44px);
}

.visit__clock-wrap {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.clock {
  position: relative;
  width: clamp(280px, 38vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: inset 0 0 0 clamp(10px, 1.2vw, 14px) var(--pink), 0 40px 70px -36px rgb(28 27 26 / 0.55);
  container-type: inline-size;
}

/* Hour and minute ticks */
.clock::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -0.6deg, var(--charcoal) 0 1.2deg, transparent 1.2deg 30deg),
    repeating-conic-gradient(from -0.3deg, rgb(28 27 26 / 0.28) 0 0.6deg, transparent 0.6deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent 91%, #000 91.5% 99%, transparent 99.5%);
  mask: radial-gradient(closest-side, transparent 91%, #000 91.5% 99%, transparent 99.5%);
}

.clock__numbers {
  position: absolute;
  inset: 0;
  margin: 0;
}

.clock__numbers li {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12cqw;
  height: 12cqw;
  margin: -6cqw 0 0 -6cqw;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 6cqw;
  transform: rotate(calc(var(--i) * 30deg)) translateY(-33.5cqw) rotate(calc(var(--i) * -30deg));
}

.clock__hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 1;
  transform-origin: 50% 100%;
  border-radius: 999px;
  background: var(--charcoal);
}

.clock__hand--hour {
  width: 2.2cqw;
  height: 24cqw;
  margin-left: -1.1cqw;
}

.clock__hand--minute {
  width: 1.5cqw;
  height: 33cqw;
  margin-left: -0.75cqw;
}

.clock__hand--second {
  width: 0.8cqw;
  height: 44cqw;
  margin-left: -0.4cqw;
  bottom: calc(50% - 6cqw);
  transform-origin: 50% calc(100% - 6cqw);
  background: var(--pink);
  transition: transform 0.35s cubic-bezier(0.4, 2.2, 0.35, 1);
}

.clock__center {
  position: absolute;
  inset: 32%;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: 0 0 0 1.6cqw var(--milk), 0 10px 24px -8px rgb(28 27 26 / 0.4);
  overflow: hidden;
}

/* The isotipo sits centred in the dial; the hands pass behind it. */
.clock__center img {
  width: 58%;
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--milk);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 14px 30px -18px rgb(28 27 26 / 0.45);
}

.status__dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgb(28 27 26 / 0.35);
}

.status.is-open .status__dot {
  background: var(--pink);
}

.status.is-open .status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--pink);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ---------- 6 · Footer ---------- */

.footer {
  position: relative;
  padding-block: clamp(96px, 11vw, 150px) 36px;
  background: var(--pink);
  text-align: center;
}

.footer::before {
  content: "";
  position: absolute;
  inset: -27px 0 auto;
  height: 28px;
  background: var(--pink);
  -webkit-mask: var(--wave-fill) repeat-x bottom / 96px 28px;
  mask: var(--wave-fill) repeat-x bottom / 96px 28px;
}

.footer__inner {
  display: grid;
  justify-items: center;
}

.footer__wordmark {
  width: min(78vw, 700px);
}

.footer__tagline {
  margin-top: clamp(18px, 2.4vw, 30px);
  font-size: clamp(1.625rem, 3.6vw, 2.875rem);
  color: #fff;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(36px, 4vw, 52px);
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--pink-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer__links a:hover {
  background: var(--charcoal);
  color: var(--milk);
}

.footer__legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: clamp(40px, 5vw, 60px);
}

.footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.footer__legal-nav a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer__legal-nav a:hover {
  color: #fff;
}

/* Aviso del Libro de Reclamaciones, visible and one tap away. */
.lr-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 14px;
  background: var(--milk);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: translate 0.25s ease;
}

.lr-badge:hover {
  translate: 0 -2px;
}

.lr-badge svg {
  width: 36px;
  height: 36px;
}

.footer__legal {
  margin-top: 22px;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ---------- Responsive ---------- */

/* Five links must still clear the centered wordmark on small laptops. */
@media (max-width: 1320px) {
  .nav__links {
    gap: 16px;
  }

  .nav__links a {
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 1080px) {
  .menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}

/* Last stop before the hamburger takes over at 900px. */
@media (max-width: 1040px) {
  .nav__links {
    gap: 12px;
  }

  .nav__links a {
    font-size: 0.75rem;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  .nav__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    background: rgb(255 250 245 / 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .nav__toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--charcoal);
    cursor: pointer;
  }

  .nav__toggle-bars,
  .nav__toggle-bars::before,
  .nav__toggle-bars::after {
    display: block;
    width: 18px;
    height: 2.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav__toggle-bars {
    position: relative;
  }

  .nav__toggle-bars::before,
  .nav__toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav__toggle-bars::before {
    top: -6px;
  }

  .nav__toggle-bars::after {
    top: 6px;
  }

  .nav.is-open .nav__toggle-bars {
    background: transparent;
  }

  .nav.is-open .nav__toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav.is-open .nav__toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 24px;
    background: var(--milk);
    box-shadow: 0 24px 50px -24px rgb(28 27 26 / 0.5);
  }

  .nav.is-open .nav__links {
    display: flex;
  }

  .nav__links a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: none;
    font-size: 1rem;
  }

  .nav__links a:hover {
    background: var(--pink-soft);
  }

  .nav__links-carta {
    display: block;
  }

  .nav__brand {
    justify-self: center;
  }

  .nav__brand img {
    height: 34px;
  }

  .nav__cta {
    min-height: 44px;
    padding: 0 18px;
  }

  .nav__cta-long {
    display: none;
  }

  .nav__cta-short {
    display: inline;
  }

  .hero__grid,
  .about__grid,
  .catering__grid,
  .visit__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    padding: 2% 2% 9%;
  }

  :root {
    --text-hero: clamp(3rem, 12.5vw, 6.5rem);
  }

  .hero__stage {
    --product-w: min(48%, 240px);
    height: clamp(380px, 62vw, 520px);
  }

  .hero__arch {
    width: min(78%, 360px);
    margin-left: calc(min(78%, 360px) / -2);
  }

  .hero__pill {
    top: 18%;
    left: 2%;
  }

  .hero__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu__head,
  .offers__head,
  .gallery__head {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    columns: 2;
  }

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

  .offer__art {
    order: -1;
    height: clamp(260px, 62vw, 360px);
  }

  .offer__img {
    height: 116%;
  }

  .offer__text {
    justify-content: flex-start;
    padding: 8px 24px 30px;
  }

  .catering__media {
    padding: 6% 4%;
  }

  .status {
    padding: 12px 18px;
    font-size: 0.9375rem;
  }

  .clock {
    width: min(78vw, 360px);
  }
}

@media (max-width: 560px) {
  .menu__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .menu__sticker,
  .gallery__sticker {
    width: 48px;
  }

  .gallery__grid {
    columns: 1;
    max-width: 380px;
    margin-inline: auto;
  }

  /* The side arrows would squeeze the photo on a phone: stack them under it. */
  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: center;
  }

  .lightbox__figure {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  .lightbox__figure img {
    max-height: calc(100dvh - 210px);
  }

  .lightbox__nav--prev {
    grid-row: 2;
    grid-column: 1;
    justify-self: end;
  }

  .lightbox__nav--next {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
  }

  .nav__brand img {
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
