/* Moe's Los TRES Potrillos — public site.
   Design system ported from the owner's Lovable project: light warm ground,
   Mexican green / red on buttons, badges and titles, blue and maize as
   complements. Every colour is a token; components never hardcode colours. */

:root {
  --radius: 0.75rem;
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --background: oklch(0.993 0.006 90);
  --foreground: oklch(0.21 0.02 60);
  --card: oklch(1 0 0);
  --primary: oklch(0.45 0.115 152);
  --primary-foreground: oklch(0.99 0.005 120);
  --secondary: oklch(0.96 0.022 85);
  --muted-foreground: oklch(0.5 0.02 60);
  --accent: oklch(0.53 0.185 27);
  --accent-foreground: oklch(0.99 0.005 90);
  --azul: oklch(0.47 0.13 254);
  --maize: oklch(0.83 0.145 84);
  --maize-foreground: oklch(0.26 0.04 60);
  --border: oklch(0.9 0.015 80);

  --gradient-hero: linear-gradient(180deg,
    color-mix(in oklab, var(--foreground) 78%, transparent) 0%,
    color-mix(in oklab, var(--foreground) 45%, transparent) 55%,
    color-mix(in oklab, var(--foreground) 80%, transparent) 100%);
  --gradient-fiesta: linear-gradient(90deg,
    var(--primary) 0%, var(--primary) 33%, var(--card) 33%, var(--card) 66%, var(--accent) 66%, var(--accent) 100%);
  --shadow-card: 0 1px 2px color-mix(in oklab, var(--foreground) 6%, transparent),
    0 12px 28px -14px color-mix(in oklab, var(--foreground) 22%, transparent);
  --shadow-lift: 0 18px 40px -18px color-mix(in oklab, var(--foreground) 32%, transparent);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-sans: 'Barlow', system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
address { font-style: normal; }
ul[role="list"] { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 1; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--maize); color: var(--maize-foreground); }

.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.container--narrow { max-width: 48rem; }
.center { display: flex; justify-content: center; margin-top: 2.5rem; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--foreground); color: var(--card); padding: 0.75rem 1.25rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.ic { width: 1rem; height: 1rem; flex-shrink: 0; }

.eyebrow { font-family: var(--font-sans); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; }
.fiesta-rule { background-image: var(--gradient-fiesta); height: 4px; width: 100%; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.375rem 0.75rem; }
.pill--accent { background: var(--accent); color: var(--accent-foreground); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--primary); }
.btn:disabled { opacity: 0.6; pointer-events: none; }
.btn--sm { height: 2.25rem; font-size: 0.75rem; }
.btn--lg { height: 3rem; padding: 0 2rem; font-size: 1rem; }
.btn--xl { height: 3.5rem; padding: 0 2.25rem; font-size: 1rem; }
.btn--chile { background: var(--accent); color: var(--accent-foreground); box-shadow: var(--shadow-card); }
.btn--market { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-card); }
.btn--chile:hover, .btn--market:hover { filter: brightness(1.1); }
.btn--outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: var(--primary-foreground); }
.btn--on-image {
  border: 2px solid color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
  color: var(--primary-foreground);
  backdrop-filter: blur(4px);
}
.btn--on-image:hover { background: var(--primary-foreground); color: var(--foreground); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; }
.announce {
  display: block;
  background: var(--accent);
  color: var(--accent-foreground);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.announce[hidden] { display: none; }
.bar { background: color-mix(in oklab, var(--card) 95%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand__badge {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 50%; background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-display); font-size: 1.25rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.125rem; }
.brand__city { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.nav { display: none; align-items: center; gap: 1.5rem; }
.nav a { font-size: 0.875rem; font-weight: 600; color: color-mix(in oklab, var(--foreground) 80%, transparent); transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.bar__tools { display: flex; align-items: center; gap: 0.5rem; }
.lang { display: none; align-items: center; border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.lang button, .mobile-nav__lang button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  color: var(--muted-foreground); transition: background-color 0.2s, color 0.2s;
}
.lang button:hover { color: var(--foreground); }
.lang button[aria-pressed="true"], .mobile-nav__lang button[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); }
.bar__cta { display: none; }
.menu-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--border); border-radius: 50%; background: transparent; cursor: pointer;
}
.menu-btn .ic { width: 1.25rem; height: 1.25rem; }
.menu-btn .ic--close, .menu-btn[aria-expanded="true"] .ic--open { display: none; }
.menu-btn[aria-expanded="true"] .ic--close { display: block; }
.mobile-nav { border-top: 1px solid var(--border); background: var(--card); padding: 0.5rem 1rem 1rem; }
.mobile-nav[hidden] { display: none; }
.mobile-nav > a { display: block; padding: 0.75rem 0; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); font-size: 0.875rem; font-weight: 600; }
.mobile-nav__lang { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.mobile-nav__lang button { border: 1px solid var(--border); padding: 0.375rem 1rem; }
.mobile-nav__lang button[aria-pressed="true"] { border-color: var(--primary); }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--primary); color: var(--primary-foreground); }
.quick a {
  display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  padding: 0.625rem 0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.quick a + a { border-left: 1px solid color-mix(in oklab, var(--primary-foreground) 25%, transparent); }
.quick .ic { width: 0.875rem; height: 0.875rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 18s ease-out both; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background-image: var(--gradient-hero); }
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-block: 5rem; }
.hero__title { max-width: 48rem; font-size: 2.25rem; color: var(--primary-foreground); }
.hero__sub { max-width: 42rem; font-size: 1rem; font-weight: 500; color: color-mix(in oklab, var(--primary-foreground) 90%, transparent); }
.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.hero__badges li {
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 40%, transparent);
  background: color-mix(in oklab, var(--foreground) 25%, transparent);
  backdrop-filter: blur(4px);
  border-radius: 999px; padding: 0.375rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--primary-foreground);
}
.hero__inner > * { animation: rise 0.8s var(--ease) both; }
.hero__inner > :nth-child(2) { animation-delay: 0.08s; }
.hero__inner > :nth-child(3) { animation-delay: 0.16s; }
.hero__inner > :nth-child(4) { animation-delay: 0.24s; }
.hero__inner > :nth-child(5) { animation-delay: 0.32s; }

/* ---------- Sections ---------- */
.section { padding-block: 4rem; }
.section--dark { background: var(--foreground); }
.section--cream { background: color-mix(in oklab, var(--secondary) 60%, var(--background)); }
.section--green { background: var(--primary); }
.heading { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.heading--left { align-items: flex-start; text-align: left; }
.heading h2 { font-size: 1.875rem; }
.heading__eyebrow { display: flex; align-items: center; gap: 0.5rem; color: var(--accent); }
.heading__eyebrow--maize { color: var(--maize); }
.dash { display: inline-block; width: 2rem; height: 0.25rem; border-radius: 999px; background: var(--accent); }
.heading__eyebrow--maize .dash { background: var(--maize); }
.heading__sub { max-width: 42rem; font-weight: 500; color: var(--muted-foreground); }
.heading__sub:empty { display: none; }

.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__media { overflow: hidden; background: var(--secondary); aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; flex: 1; }
.card__body h3 { font-size: 1.5rem; }
.card__body p { font-size: 0.875rem; color: var(--muted-foreground); }

.product .card__media { aspect-ratio: 1; position: relative; }
.product .card__body { padding: 1rem; }
.product h3 { font-size: 1.25rem; }
.product__desc { flex: 1; }
.product__badge {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 1;
  border-radius: 999px; background: var(--accent); color: var(--accent-foreground);
  padding: 0.25rem 0.75rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: var(--shadow-card);
}
.product__badge--next { background: var(--azul); }
.product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-top: 0.25rem; }
.product__now { font-family: var(--font-display); font-size: 1.875rem; line-height: 1; color: var(--foreground); }
.product__now--sale { color: var(--accent); }
.product__unit { font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.product__was { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); text-decoration: line-through; }
.product__window { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--azul); }

/* ---------- Carnicería ---------- */
.feature { display: grid; align-items: center; gap: 2rem; }
.feature__photo { overflow: hidden; border: 4px solid var(--maize); border-radius: var(--radius-2xl); box-shadow: var(--shadow-lift); }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature__photo:hover img { transform: scale(1.04); }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.feature__text h2 { font-size: 2.25rem; color: var(--primary-foreground); }
.feature__text p { max-width: 36rem; font-weight: 500; color: color-mix(in oklab, var(--primary-foreground) 85%, transparent); }
.subhead { margin-top: 3.5rem; font-size: 1.5rem; color: var(--primary-foreground); }
.section--dark .grid--products { margin-top: 1.5rem; }

.planner {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--primary-foreground) 6%, var(--foreground));
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 14%, transparent);
  color: var(--primary-foreground);
}
.planner[hidden] { display: none; }
.planner__intro { display: flex; gap: 1rem; align-items: flex-start; }
.planner__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 50%; background: var(--maize); color: var(--maize-foreground); }
.planner__icon .ic { width: 1.25rem; height: 1.25rem; }
.planner__title { font-size: 1.75rem; }
.planner__text { margin-top: 0.25rem; font-size: 0.9375rem; color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); }
.planner__control { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.75rem 1rem; }
.planner__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.stepper { justify-self: end; display: flex; align-items: center; gap: 0.25rem; }
.stepper button {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--maize); color: var(--maize-foreground); font-size: 1.25rem; font-weight: 700;
  transition: filter 0.2s, transform 0.2s;
}
.stepper button:hover { filter: brightness(1.08); }
.stepper button:active { transform: scale(0.92); }
.stepper output { min-width: 3rem; text-align: center; font-family: var(--font-display); font-size: 1.75rem; }
.planner input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); cursor: pointer; }
.planner__result { display: grid; gap: 0.375rem; }
#planner-lbs { font-family: var(--font-display); font-weight: 400; font-size: 2.75rem; line-height: 1; color: var(--maize); }
.planner__result p:first-child { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; font-weight: 600; }
.planner__cost { font-size: 0.9375rem; }
.planner__rule { font-size: 0.8125rem; color: color-mix(in oklab, var(--primary-foreground) 65%, transparent); }

/* ---------- Specials ---------- */
.specials__foot { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-top: 2.5rem; text-align: center; }
.specials__note { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--primary); }
.specials__disclaimer { font-size: 0.75rem; color: var(--muted-foreground); }
.specials__empty { margin-top: 2rem; text-align: center; font-weight: 500; color: var(--muted-foreground); }
.specials__next { margin-top: 3.5rem; }
.specials__next[hidden] { display: none; }
.specials__next h3 { font-size: 1.75rem; text-align: center; }
.specials__next > p { margin-top: 0.5rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Why shop local ---------- */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.why li {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1.25rem; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why li:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.why__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.why__icon .ic { width: 1.25rem; height: 1.25rem; }
.why__label { font-size: 0.875rem; font-weight: 600; }

/* ---------- Reviews ---------- */
.theme { gap: 0.75rem; padding: 1.5rem; }
.theme .ic { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.theme h3 { font-size: 1.5rem; }
.theme p { font-size: 0.875rem; color: var(--muted-foreground); }
.review-items { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.review-items[hidden] { display: none; }
.review { padding: 1.5rem; }
.review blockquote { margin: 0; }
.review__by { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 700; }

/* ---------- Subscribe ---------- */
.subscribe { display: flex; flex-direction: column; align-items: center; text-align: center; }
.subscribe__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--maize); color: var(--maize-foreground); }
.subscribe__icon .ic { width: 1.5rem; height: 1.5rem; }
.subscribe h2 { margin-top: 1.25rem; font-size: 1.875rem; color: var(--primary-foreground); }
.subscribe__text { max-width: 42rem; margin-top: 0.75rem; font-weight: 500; color: color-mix(in oklab, var(--primary-foreground) 85%, transparent); }
.subscribe__form { display: grid; gap: 1rem; width: 100%; margin-top: 2rem; }
.field { display: flex; flex-direction: column; gap: 0.375rem; text-align: left; }
.field__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); }
.field input {
  height: 2.75rem; padding: 0 0.75rem; border-radius: 0.5rem;
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 30%, transparent);
  background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
  color: var(--primary-foreground); font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { outline: none; border-color: var(--maize); box-shadow: 0 0 0 2px color-mix(in oklab, var(--maize) 50%, transparent); }
.subscribe__submit .btn { width: 100%; }
.subscribe__status { min-height: 1.25rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--maize); }
.subscribe__consent { margin-top: 0.5rem; font-size: 0.75rem; color: color-mix(in oklab, var(--primary-foreground) 70%, transparent); }

/* ---------- Visit ---------- */
.visit { display: grid; gap: 2rem; margin-top: 2.5rem; }
.visit__info { display: flex; flex-direction: column; gap: 1.5rem; }
.info { display: flex; align-items: flex-start; gap: 0.75rem; }
.info__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 50%; }
.info__icon .ic { width: 1.25rem; height: 1.25rem; }
.info__icon--red { background: color-mix(in oklab, var(--accent) 10%, transparent); color: var(--accent); }
.info__icon--blue { background: color-mix(in oklab, var(--azul) 10%, transparent); color: var(--azul); }
.info__icon--green { background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
#visit-address { display: flex; flex-direction: column; }
#visit-address strong { font-size: 1.125rem; font-weight: 600; }
#visit-address span { color: var(--muted-foreground); }
.info__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); }
.info__value { font-size: 1.125rem; font-weight: 600; transition: color 0.2s; }
.info__value:hover { color: var(--primary); }
.info__hours { width: 100%; }
.hours { margin-top: 0.25rem; max-width: 24rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.375rem 0; border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent); font-size: 0.875rem; }
.hours li span:first-child { font-weight: 600; }
.hours li span:last-child { color: var(--muted-foreground); }
.info__note { margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.visit__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.visit__map { min-height: 18.75rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); background: var(--secondary); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 18.75rem; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--foreground); }
.footer__inner { display: flex; flex-direction: column; gap: 0.75rem; padding-block: 2.5rem; text-align: center; }
.footer__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-foreground); }
.footer__addr { font-size: 0.875rem; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }
.footer__addr a:hover { color: var(--maize); }
.footer__tagline { letter-spacing: 0.14em; color: var(--maize); }
.footer__small { font-size: 0.75rem; color: color-mix(in oklab, var(--primary-foreground) 60%, transparent); }
.footer__copy { color: color-mix(in oklab, var(--primary-foreground) 50%, transparent); }
.footer__social { display: flex; justify-content: center; gap: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--primary-foreground); }
.footer__social:empty { display: none; }
.footer__social a:hover { color: var(--maize); }
.credits { font-size: 0.75rem; color: color-mix(in oklab, var(--primary-foreground) 60%, transparent); }
.credits[hidden] { display: none; }
.credits summary { cursor: pointer; font-weight: 600; }
.credits ul { display: grid; gap: 0.25rem; margin-top: 0.5rem; }
.credits a { text-decoration: underline; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.motion-ready [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
.motion-ready [data-reveal] { transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.7s var(--ease) var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .motion-ready [data-reveal]:not(.is-in) { transform: none; }
}

/* ---------- Breakpoints (match Tailwind sm / lg) ---------- */
@media (min-width: 640px) {
  .container { padding-inline: 1.5rem; }
  .announce { font-size: 0.75rem; }
  .brand__name { font-size: 1.25rem; }
  .lang { display: flex; }
  .bar__cta { display: inline-flex; }
  .quick { display: none; }
  .hero__inner { padding-block: 7rem; }
  .hero__title { font-size: 3.75rem; }
  .hero__sub { font-size: 1.25rem; }
  .hero__actions { flex-direction: row; width: auto; }
  .section { padding-block: 6rem; }
  .heading h2, .subscribe h2 { font-size: 3rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--products { gap: 1.5rem; }
  .feature__text h2 { font-size: 3rem; }
  .feature__text p { font-size: 1.125rem; }
  .subhead { font-size: 1.875rem; }
  .specials__note { font-size: 1.875rem; }
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subscribe__form { grid-template-columns: 1fr 1fr; }
  .subscribe__submit { grid-column: 1 / -1; }
  .subscribe__submit .btn { width: auto; }
  .visit__actions { flex-direction: row; }
  .planner { grid-template-columns: 1.2fr 1fr 1fr; align-items: center; padding: 2rem; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .hero__inner { padding-block: 9rem; }
  .hero__title { font-size: 4.5rem; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .visit { grid-template-columns: 1fr 1fr; }
}

/* ---------- Consent checkboxes ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { grid-column: 1 / -1; display: grid; gap: 0.75rem; text-align: left; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.625rem; align-items: start; font-size: 0.8125rem; line-height: 1.45; color: color-mix(in oklab, var(--primary-foreground) 88%, transparent); cursor: pointer; }
.check input { width: 1.125rem; height: 1.125rem; margin: 0.1rem 0 0; accent-color: var(--maize); cursor: pointer; }
.check--light { color: var(--muted-foreground); }
.check--light input { accent-color: var(--primary); }
.consent__privacy { font-size: 0.8125rem; font-weight: 600; text-decoration: underline; color: var(--maize); }
.footer__link { text-decoration: underline; }
.footer__link:hover { color: var(--maize); }

/* ---------- Pop-up ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: color-mix(in oklab, var(--foreground) 65%, transparent); animation: fadeIn 0.3s ease both; }
.popup__panel {
  position: relative;
  display: grid;
  width: min(100%, 52rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  background: var(--card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lift);
  animation: popIn 0.45s var(--ease) both;
}
.popup__x {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 0; border-radius: 50%; cursor: pointer;
  background: color-mix(in oklab, var(--card) 90%, transparent); color: var(--foreground);
  box-shadow: var(--shadow-card); transition: transform 0.2s;
}
.popup__x:hover { transform: rotate(90deg); }
.popup__media { display: none; position: relative; }
.popup__media img { width: 100%; height: 100%; object-fit: cover; }
.popup__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background-image: var(--gradient-fiesta); }
.popup__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem 1.5rem 1.5rem; }
.popup__body h2 { font-size: 2.25rem; }
.popup__text { color: var(--muted-foreground); font-weight: 500; }
.popup__form { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.pfield { display: grid; gap: 0.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); }
.pfield[hidden] { display: none; }
.pfield input {
  height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: 0.5rem;
  background: var(--background); font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pfield input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 20%, transparent); }
.popup__form .btn { width: 100%; margin-top: 0.25rem; }
.popup__status { min-height: 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.popup__status.is-ok { color: var(--primary); }
.popup__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.8125rem; }
.popup__foot a { text-decoration: underline; color: var(--muted-foreground); }
.popup__later { border: 0; background: none; padding: 0.25rem 0; cursor: pointer; font-weight: 600; color: var(--muted-foreground); }
.popup__later:hover { color: var(--foreground); }
body.popup-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) {
  .popup__panel { grid-template-columns: 0.9fr 1.1fr; }
  .popup__media { display: block; }
  .popup__body { padding: 2.5rem 2rem 2rem; }
  .popup__body h2 { font-size: 2.75rem; }
}
