/* ==========================================================================
   Miches Chavez Botanero — landing de temporada
   Sin frameworks, sin recursos externos. Los colores siguen los tokens de la
   app (clásico, Muertos, Navidad e Independencia) y la fecha elige la piel.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* shortcut: tokens copiados de pwa_rewrite/web/src/styles.css para no
     añadir build; si cambian allá, actualizarlos aquí. Un archivo compartido
     o un paso de build lo resolvería cuando la deriva duela. */

  /* Tema clásico: la piel de siempre. */
  --bg: #0a0a0c;
  --bg-soft: #101014;
  --panel: #1c1c22;
  --panel-2: #2a2a32;
  --gold: #d4a843;
  --gold-2: #f0c15a;
  --gold-soft: rgba(212, 168, 67, 0.12);
  --gold-soft-strong: rgba(212, 168, 67, 0.26);
  --accent: #b06abf;
  --accent-soft: rgba(176, 106, 191, 0.14);
  --halo-a: rgba(212, 168, 67, 0.09);
  --halo-b: rgba(176, 106, 191, 0.1);
  --halo-c: rgba(212, 168, 67, 0.05);
  --text: #ffffff;
  --muted: #9a9a9f;
  --dim: #8b8b92;
  --danger: #ff4444;
  --ok: #4ade80;
  --line: #1e1e24;
  --line-2: #34343c;
  --appbar-bg: rgba(10, 10, 12, 0.92);
  --appbar-strip: none;
  --ink: #0a0a0c;
  --radius: 16px;
  --season-quote: #f2d6a2;

  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --display: var(--font);
  --serif: var(--font);

  --r-lg: 16px;
  --r-xl: 22px;
}

/* Día de los Muertos: morados profundos y naranja cempasúchil. */
:root[data-theme="muertos"] {
  --bg: #120a1c;
  --bg-soft: #180d26;
  --panel: #211531;
  --panel-2: #2d1e42;
  --gold: #f0a233;
  --gold-2: #ffc45f;
  --gold-soft: rgba(240, 162, 51, 0.14);
  --gold-soft-strong: rgba(240, 162, 51, 0.28);
  --accent: #b06abf;
  --accent-soft: rgba(176, 106, 191, 0.2);
  --halo-a: rgba(240, 162, 51, 0.1);
  --halo-b: rgba(176, 106, 191, 0.17);
  --halo-c: rgba(240, 162, 51, 0.06);
  --line: #2b1c3f;
  --line-2: #3d2a55;
  --appbar-bg: rgba(18, 10, 28, 0.92);
  --appbar-strip: linear-gradient(90deg, #f0a233, #b06abf);
  --ink: #170d20;
  --season-quote: #f8d7a8;
}

/* Navidad: verdes de pino, oro de esferas y nieve. */
:root[data-theme="navidad"] {
  --bg: #0a100b;
  --bg-soft: #0e170f;
  --panel: #14231a;
  --panel-2: #1d3226;
  --gold: #e9c351;
  --gold-2: #ffe08a;
  --gold-soft: rgba(233, 195, 81, 0.13);
  --gold-soft-strong: rgba(233, 195, 81, 0.28);
  --accent: #4caf78;
  --accent-soft: rgba(76, 175, 120, 0.16);
  --halo-a: rgba(233, 195, 81, 0.09);
  --halo-b: rgba(76, 175, 120, 0.12);
  --halo-c: rgba(233, 195, 81, 0.05);
  --line: #1e3327;
  --line-2: #2c4a37;
  --appbar-bg: rgba(10, 16, 11, 0.92);
  --appbar-strip: linear-gradient(90deg, #2e8b57, #e9c351 50%, #2e8b57);
  --ink: #10160f;
  --season-quote: #f6e4ad;
}

/* Independencia: verde, blanco y rojo de la bandera. */
:root[data-theme="independencia"] {
  --bg: #0b120d;
  --bg-soft: #0f1912;
  --panel: #12241a;
  --panel-2: #1b3a28;
  --gold: #3fbf74;
  --gold-2: #7de0a4;
  --gold-soft: rgba(63, 191, 116, 0.15);
  --gold-soft-strong: rgba(63, 191, 116, 0.3);
  --accent: #e45b62;
  --accent-soft: rgba(228, 91, 98, 0.15);
  --halo-a: rgba(63, 191, 116, 0.1);
  --halo-b: rgba(228, 91, 98, 0.08);
  --halo-c: rgba(63, 191, 116, 0.05);
  --line: #1d3a29;
  --line-2: #2b543c;
  --appbar-bg: rgba(11, 18, 13, 0.92);
  --appbar-strip: linear-gradient(
    90deg,
    #006847 0 33.3%,
    #f5f5f0 33.3% 66.6%,
    #ce1126 66.6% 100%
  );
  --ink: #0c130e;
  --season-quote: #c7f0d8;
}

/* ── base ─────────────────────────────────────────────────────────────── */

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(1000px 640px at 82% -8%, var(--halo-a), transparent 62%),
    radial-gradient(900px 700px at -12% 36%, var(--halo-b), transparent 60%),
    radial-gradient(800px 600px at 55% 105%, var(--halo-c), transparent 65%);
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

section[id] {
  scroll-margin-top: 88px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -0.16em;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
}

.glow-a {
  top: -12%;
  right: -8%;
  width: 42vw;
  height: 42vw;
  min-width: 340px;
  min-height: 340px;
  background: var(--gold-soft-strong);
}

.glow-b {
  top: 38%;
  left: -18%;
  width: 38vw;
  height: 38vw;
  min-width: 320px;
  min-height: 320px;
  background: var(--accent-soft);
}

.glow-c {
  right: 12%;
  bottom: -18%;
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  background: var(--gold-soft);
}

.site-header,
main,
.site-footer,
.mobile-cta {
  position: relative;
  z-index: 1;
}

/* ── header ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background-color: var(--appbar-bg);
  background-image: var(--appbar-strip, none);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 64px;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1;
}

.brand-text strong {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-text small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.main-nav a:hover {
  color: var(--gold);
  background: var(--gold-soft);
}

.main-nav a[aria-current="true"] {
  color: var(--gold);
  background: var(--gold-soft);
}

.header-cta {
  flex: none;
}

/* ── botones ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.15s ease, background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  transition: transform 0.15s ease;
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-2);
}

.btn-ghost {
  background: var(--panel-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--panel-2);
  color: var(--gold);
  opacity: 0.9;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.text-link .icon {
  transition: transform 0.2s ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-link:hover {
  color: var(--gold-2);
}

/* ── eyebrow / títulos ────────────────────────────────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 19px;
  height: 19px;
}

.season-icon-generic {
  display: none;
}

:root:not([data-theme="muertos"]) .season-icon-flower,
:root:not([data-theme="muertos"]) .hero-flower,
:root:not([data-theme="muertos"]) .quote-flower {
  display: none;
}

:root:not([data-theme="muertos"]) .season-icon-generic {
  display: inline-block;
}

.eyebrow.light {
  color: var(--season-quote);
}

.season-chip {
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--gold-soft);
  letter-spacing: 0.12em;
}

.season-sep {
  color: var(--dim);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(40px, 5.5vw, 76px) 0 clamp(62px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.accent {
  display: inline;
  color: var(--gold);
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  transform: none;
}

.hero-lead {
  max-width: 53ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-rows: 1fr 0.74fr;
  gap: 14px;
  width: min(100%, 560px);
  margin-left: auto;
  padding: 20px 16px 18px 4px;
  isolation: isolate;
}

.hero-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: none;
  border-radius: var(--r-lg);
  background: var(--panel);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo:hover img {
  transform: scale(1.03);
}

.hero-photo-main {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: var(--r-xl);
  transform: none;
}

.hero-photo-main img {
  object-position: center 46%;
}

.hero-photo-boneless {
  grid-column: 2;
  grid-row: 1;
  z-index: 2;
  align-self: end;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  transform: none;
}

.hero-photo-boneless img {
  object-position: center 52%;
}

.hero-photo-alitas {
  grid-column: 2;
  grid-row: 2;
  z-index: 2;
  border-radius: var(--r-lg);
  transform: none;
}

.hero-photo-alitas img {
  object-position: center 46%;
}

.photo-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 8, 17, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.photo-tag .icon {
  color: var(--gold);
  width: 13px;
  height: 13px;
}

.hero-photo-boneless .photo-tag,
.hero-photo-alitas .photo-tag {
  left: 9px;
  bottom: 9px;
  padding: 5px 9px;
  font-size: 9px;
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 12%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-align: center;
  transform: none;
}

.hero-badge .icon {
  width: 19px;
  height: 19px;
  margin-bottom: 2px;
}

.hero-flower {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.hero-flower-a {
  top: -30px;
  right: 2px;
  width: 84px;
  height: 84px;
  transform: rotate(12deg);
  animation: float 8s ease-in-out infinite;
}

.hero-flower-b {
  right: -18px;
  bottom: 9%;
  width: 48px;
  height: 48px;
  opacity: 0.7;
  transform: rotate(-16deg);
  animation: float 10s ease-in-out -3s infinite;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

/* ── secciones ────────────────────────────────────────────────────────── */

.section {
  padding: clamp(68px, 9vw, 112px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-head h2 {
  margin-top: 13px;
}

.section-head > p:last-child {
  max-width: 57ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  max-width: none;
  align-items: end;
}

.section-head.split p {
  margin-bottom: 4px;
}

/* ── tarjetas de antojos ──────────────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.food-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.food-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 168, 67, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.food-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 10px 30px rgba(212, 168, 67, 0.1);
}

.food-card:hover::after {
  opacity: 1;
}

.food-card:hover .food-media img {
  transform: scale(1.03);
}

.food-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--bg-soft);
}

.food-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.food-card:nth-child(1) .food-media img {
  object-position: center 42%;
}

.food-card:nth-child(2) .food-media img {
  object-position: center 52%;
}

.food-card:nth-child(3) .food-media img {
  object-position: center 43%;
}

.photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 8, 17, 0.7);
  color: var(--gold-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.food-body {
  padding: 20px 22px 22px;
}

.food-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.food-body h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.price {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.food-body > p {
  margin: 13px 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 6px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.salsas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
  padding: 17px 20px;
  border: none;
  border-radius: var(--radius);
  background: var(--panel);
}

.salsas-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.salsas-label .icon {
  width: 16px;
  height: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.chips li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.chips li:nth-child(2)::before {
  background: #ec6a4b;
}

.chips li:nth-child(3)::before {
  background: #c88b4a;
}

.chips li:nth-child(4)::before {
  background: #e6b34b;
}

.chips li:nth-child(5)::before {
  background: #e4773d;
}

.chips li:nth-child(6)::before {
  background: #d43b3b;
}

.salsas .text-link {
  margin-left: auto;
}

.prices-note {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ── la casa ──────────────────────────────────────────────────────────── */

.casa {
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 168, 67, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.feature-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  box-shadow: 0 10px 30px rgba(212, 168, 67, 0.1);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 19px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.casa-link {
  margin: 26px 0 0;
}

/* ── temporada ────────────────────────────────────────────────────────── */

.season-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5.4vw, 64px);
  border: none;
  border-radius: var(--r-xl);
  background: var(--panel);
  isolation: isolate;
}

.season-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.season-content h2 {
  max-width: 15ch;
  margin: 16px 0 18px;
  font-size: clamp(2.1rem, 4.3vw, 3.7rem);
}

.season-content > p:not(.eyebrow) {
  max-width: 50ch;
  margin-bottom: 26px;
  color: var(--season-quote);
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.9;
}

.season-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
}

.season-quote p {
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}

.season-quote cite {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── mapa ────────────────────────────────────────────────────────────── */

.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--line);
}

#map {
  width: 100%;
  height: 420px;
}

@media (max-width: 640px) {
  #map {
    height: 300px;
  }
}

.quote-flower {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  opacity: 0.85;
}

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

.season-flower {
  position: absolute;
  animation: float 9s ease-in-out infinite;
}

.season-flower-a {
  top: -46px;
  right: 8%;
  width: 160px;
  height: 160px;
  transform: rotate(14deg);
}

.season-flower-b {
  right: 26%;
  bottom: -54px;
  width: 130px;
  height: 130px;
  opacity: 0.72;
  transform: rotate(-18deg);
  animation-delay: -3s;
}

.season-flower-c {
  top: 16%;
  right: 37%;
  width: 54px;
  height: 54px;
  opacity: 0.6;
  transform: rotate(32deg);
  animation-delay: -5s;
}

:root:not([data-theme="muertos"]) .season-flower {
  display: none;
}

/* ── footer ───────────────────────────────────────────────────────────── */

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand img {
  width: 64px;
  height: 64px;
}

.footer-brand .brand-text strong {
  font-size: 14px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav h2,
.footer-social h2 {
  margin: 0 0 5px;
  color: var(--dim);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--gold);
}

.social-link .icon {
  width: 17px;
  height: 17px;
}

/* El icono de Facebook hereda color text/muted por defecto (gris suave)
   e ilumina a dorado al pasar el cursor, igual que el de Instagram. */
.social-link--facebook .icon {
  color: var(--muted);
  transition: color 0.2s ease;
}

.social-link--facebook:hover .icon {
  color: var(--gold);
}

.footer-social .social-cta {
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.5;
}

.footer-social .text-link {
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.5;
}

/* ── CTA móvil ────────────────────────────────────────────────────────── */

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--appbar-bg);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  visibility: hidden;
  transform: translateY(100%);
  transition:
    transform 0.28s ease,
    visibility 0.28s;
}

.mobile-cta.is-visible {
  visibility: visible;
  transform: translateY(0);
}

.mobile-cta .icon {
  width: 18px;
  height: 18px;
}

/* ── reveal ───────────────────────────────────────────────────────────── */

/* GSAP pone opacity/transform inline; esta regla solo evita el destello
   antes de que arranque la animación. */
html.js [data-reveal] {
  opacity: 0;
}

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .hero-grid {
    gap: 36px;
  }

  .hero-visual {
    padding-left: 10px;
  }

  .hero-badge {
    left: -8px;
    width: 94px;
    height: 94px;
    font-size: 13px;
  }

  .season-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .season-quote {
    max-width: 440px;
    padding-left: 20px;
  }

  .season-flower-b {
    right: 18%;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin: 0 auto;
    padding-left: 16px;
  }

  .hero-badge {
    left: -4px;
    bottom: 10%;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head.split p {
    max-width: 55ch;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .food-card:last-child .food-media {
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
  }

  .food-card:last-child .food-body {
    align-self: center;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 620px);
  }

  .header-inner {
    min-height: 60px;
    padding: 7px 0;
    gap: 12px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 11px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .header-cta {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 12px;
  }

  .site-header {
    padding: 0;
  }

  .hero {
    padding-top: 34px;
  }

  .season-chip {
    gap: 6px;
    padding: 8px 11px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .season-chip .season-sep {
    display: none;
  }

  .season-chip [data-season-range] {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
    line-height: 0.95;
  }

  .hero-visual {
    gap: 10px;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-rows: 1fr 0.76fr;
    padding: 12px 4px 10px 10px;
  }

  .hero-photo-main {
    border-radius: 30px;
  }

  .hero-photo-boneless,
  .hero-photo-alitas {
    border-radius: 22px;
  }

  .hero-badge {
    left: -8px;
    bottom: 8%;
    width: 78px;
    height: 78px;
    border-width: 2px;
    font-size: 11px;
  }

  .hero-badge .icon {
    width: 15px;
    height: 15px;
  }

  .hero-flower-a {
    top: -18px;
    right: -4px;
    width: 58px;
    height: 58px;
  }

  .hero-flower-b {
    right: -8px;
    width: 34px;
    height: 34px;
  }

  .photo-tag {
    left: 8px;
    bottom: 8px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .photo-tag .icon {
    display: none;
  }

  .hero-photo-boneless .photo-tag,
  .hero-photo-alitas .photo-tag {
    font-size: 8px;
  }

  .hero-actions {
    gap: 9px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .food-card:last-child {
    display: block;
  }

  .food-card:last-child .food-media {
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 0;
  }

  .food-card:last-child .food-body {
    align-self: auto;
  }

  .food-body {
    padding: 18px 20px 20px;
  }

  .salsas {
    align-items: flex-start;
    gap: 12px;
  }

  .salsas .text-link {
    margin-left: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 22px;
  }

  .season-card {
    padding: 28px 24px;
    border-radius: 30px;
  }

  .season-content h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .season-flower-a {
    top: -34px;
    right: -20px;
    width: 112px;
    height: 112px;
    opacity: 0.7;
  }

  .season-flower-b {
    right: 8%;
    bottom: -42px;
    width: 88px;
    height: 88px;
  }

  .season-flower-c {
    display: none;
  }

  .season-quote {
    padding-left: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    margin-top: 32px;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .site-header .brand-text strong {
    font-size: 10px;
  }

  .brand-text small {
    letter-spacing: 0.2em;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-badge {
    width: 68px;
    height: 68px;
    font-size: 9.5px;
  }

  .photo-badge {
    font-size: 8px;
  }

  .food-title-row {
    align-items: center;
  }

  .food-body h3 {
    font-size: 20px;
  }

  .price {
    font-size: 11px;
  }
}

@media (max-width: 350px) {
  .site-header .brand-text {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    padding-inline: 14px;
  }
}

/* ── accesibilidad / movimiento ───────────────────────────────────────── */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-reveal],
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-cta,
  .bg-decor {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .hero-visual,
  .season-decor {
    display: none;
  }
}
