/* ============ PETIT CAFÉ · MENÚ ============ */
@font-face {
  font-family: "Page Serif";
  src: url("fonts/page-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --brown: #3d312a;
  --brown-2: #4d3b31;
  --gold: #b09360;
  --gold-soft: #d7c29a;
  --cream: #faf8f5;
  --paper: #f2ede5;
  --green: #36483b;
  --green-2: #2f3f34;
  --ink: #2b231e;
  --muted: #7a6b5f;

  --f-display: "Page Serif", Georgia, serif;
  --f-cond: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --f-btn: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --f-body: "Raleway", system-ui, sans-serif;
  --f-hand: "Chewy", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- display type ---------- */
.tag, .display, .divider__title, .hero__claim, .foot__claim, .display-sm, .group__title, .closing__text strong,
.kicker, .granola__base p, .step h3, .step__n, .foot__card h3, .theme-brown .closing__text {
  font-family: var(--f-display);
  font-weight: 400 !important;
  font-synthesis: none;
  letter-spacing: .01em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--brown);
  color: var(--cream);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: -10%;
  background: radial-gradient(60% 50% at 50% 40%, rgba(176,147,96,.22), transparent 70%);
  z-index: -1;
  animation: glow 8s ease-in-out infinite alternate;
}
.hero__inner {
  text-align: center;
  padding: 96px var(--gutter) 120px;
  display: flex; flex-direction: column; align-items: center;
  transform: translateY(calc(var(--hero-p, 0) * 60px));
  opacity: calc(1 - var(--hero-p, 0) * 1.2);
}
.hero__logo { width: min(68vw, 360px); height: auto; animation: rise 1.2s var(--ease) both; }
.hero__claim {
  margin-top: clamp(28px, 6vh, 56px);
  color: var(--gold);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 54px);
  line-height: .95;
  text-transform: uppercase;
  display: flex; flex-direction: column;
}
.hero__claim span { animation: rise 1s var(--ease) both; }
.hero__claim span:nth-child(1) { animation-delay: .35s; }
.hero__claim span:nth-child(2) { animation-delay: .5s; }
.hero__sub { margin-top: 18px; max-width: 30ch; font-size: clamp(15px, 2.6vw, 18px); animation: rise 1s .7s var(--ease) both; }
.btn {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--gold); color: var(--brown);
  font-family: var(--f-btn); font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
  animation: rise 1s .85s var(--ease) both;
  transition: transform .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-3px); background: var(--gold-soft); }
.hero__car { position: absolute; width: clamp(96px, 16vw, 200px); pointer-events: none;
  background: var(--cream); padding: clamp(8px, 1.4vw, 16px); border-radius: 18px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }
.hero__car--a { left: 4%; bottom: 10%; --d: 0s; }
.hero__car--b { right: 4%; top: 12%; --d: 1.2s; }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--gold); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--gold); color: var(--brown); overflow: hidden; white-space: nowrap; padding: 12px 0; }
.marquee__track { display: inline-flex; gap: 22px; align-items: center; animation: marquee 38s linear infinite; font-family: var(--f-btn); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 14px; }
.marquee i { font-style: normal; opacity: .6; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 10px;
  padding-inline: var(--gutter);
  background: rgba(61, 49, 42, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  transition: box-shadow .3s;
}
.nav--solid { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.nav__logo { flex: none; display: grid; place-items: center; }
.nav__logo img { width: 52px; height: auto; }
.nav__scroll { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); }
.nav__scroll::-webkit-scrollbar { display: none; }
#nav-list { display: flex; gap: 6px; padding: 0 16px; width: max-content; margin-inline: auto; }
#nav-list a {
  display: block; padding: 9px 16px; border-radius: 999px;
  color: var(--cream); text-decoration: none; white-space: nowrap;
  font-family: var(--f-btn); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; font-size: 13px;
  transition: background .3s, color .3s;
}
#nav-list a:hover { background: rgba(255,255,255,.08); }
#nav-list a.active { background: var(--gold); color: var(--brown); }

/* ---------- DIVIDERS (portadillas con foto) ---------- */
.divider {
  position: relative;
  height: clamp(340px, 72svh, 720px);
  overflow: hidden;
  display: grid; place-items: center;
  color: #fff;
  isolation: isolate;
}
.divider__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.15); will-change: transform; }
.divider::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,22,18,.15), rgba(30,22,18,.45)); z-index: -1; }
.divider__title { text-align: center; text-transform: uppercase; line-height: .9; font-weight: 900; padding-inline: var(--gutter); text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.divider__title span { display: block; font-size: clamp(54px, 13vw, 150px); }
.divider__title small { display: block; font-size: clamp(30px, 6.5vw, 74px); margin-top: .12em; }
.divider__cue { position: absolute; bottom: 22px; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); display: grid; place-items: center; }
.divider__cue span { width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(-2px, -2px); animation: nudge 1.8s ease-in-out infinite; }

/* ---------- SECCIONES ---------- */
.sec { padding-block: clamp(56px, 9vw, 110px); position: relative; }
.theme-cream { background: var(--cream); }
.theme-brown { background: var(--brown); color: var(--cream); }
.theme-green { background: var(--green); color: var(--cream); }
.sec + .sec.theme-cream { padding-top: 0; }
.divider + .sec.theme-cream, .sec.theme-green + .sec.theme-cream, .sec.theme-brown + .sec.theme-cream { padding-top: clamp(56px, 9vw, 110px); }

.sec__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: clamp(22px, 4vw, 40px); }
.tag {
  display: inline-flex; flex-direction: column;
  background: var(--gold); color: var(--cream);
  padding: .32em .5em .28em;
  font-weight: 900; text-transform: uppercase; line-height: .9;
  font-size: clamp(32px, 6.4vw, 60px);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 30px -18px rgba(61,49,42,.6);
}
.tag--light { background: var(--cream); color: var(--brown); }
.theme-green .tag--light { color: var(--green); }
.aside { text-align: right; font-style: italic; color: var(--gold); font-size: 14px; line-height: 1.3; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.aside span { white-space: nowrap; }
.aside b { display: inline-block; margin-top: 4px; font-style: normal; font-size: 11px; color: var(--muted); }
.theme-brown .aside b, .theme-green .aside b { color: var(--gold-soft); }

.lead { font-size: clamp(20px, 3.6vw, 30px); color: var(--gold); margin-bottom: clamp(26px, 4vw, 44px); font-weight: 500; line-height: 1.25; }
.lead em { font-weight: 700; }
.lead .flag { width: 38px; height: auto; display: inline-block; vertical-align: -4px; margin-left: 6px; }
.display-sm { color: var(--brown); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 4.4vw, 40px); }
.kicker { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 7.4vw, 44px); line-height: 1.02; margin-bottom: 30px; }
.kicker span { color: var(--gold); }


/* columnas de grupos */
.cols { columns: 1; column-gap: clamp(20px, 3vw, 36px); }
@media (min-width: 700px) { .cols { columns: 2; } }
@media (min-width: 1060px) { .cols:not(.cols--2) { columns: 3; } }

.group {
  break-inside: avoid;
  margin-bottom: clamp(20px, 3vw, 32px);
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 1px 0 rgba(61,49,42,.04), 0 18px 40px -30px rgba(61,49,42,.35);
  position: relative;
}
.theme-brown .group, .theme-green .group { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.group__title { color: var(--gold); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 30px); line-height: 1; }
.group__head .price { font-size: 20px; }
.group__note { font-style: italic; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.theme-brown .group__note, .theme-green .group__note { color: var(--gold-soft); }
.group__text { margin-top: 12px; font-size: 15px; color: var(--muted); }
.theme-brown .group__text, .theme-green .group__text { color: rgba(250,248,245,.8); }
.group__img { width: 110px; position: absolute; right: -10px; top: -30px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.18)); }
.group__img.group__img--tall { width: auto; height: 150px; right: 14px; top: -46px; object-fit: contain; }
.group:has(.group__img) .group__head { padding-right: 90px; }

.items { margin-top: 10px; }
.items--2 { display: grid; grid-template-columns: 1fr; column-gap: 28px; }
@media (min-width: 520px) { .items--2 { grid-template-columns: 1fr 1fr; } }
.item { padding: 10px 0; border-bottom: 1px dashed rgba(61,49,42,.14); }
.item:last-child { border-bottom: 0; }
.theme-brown .item, .theme-green .item { border-color: rgba(255,255,255,.14); }
.item__head { display: flex; align-items: baseline; gap: 8px; }
.item__name { font-family: var(--f-cond); font-weight: 700; letter-spacing: -.005em; font-size: 16.5px; line-height: 1.25; display: inline-flex; align-items: center; gap: 8px; }
.item__flag { width: 26px; height: auto; display: inline-block; border-radius: 2px; }
.dots { flex: 1; min-width: 14px; border-bottom: 2px dotted rgba(176,147,96,.5); transform: translateY(-4px); }
.price { font-family: var(--f-cond); font-weight: 700; color: var(--gold); white-space: nowrap; letter-spacing: .02em; font-size: 17px; }
.item__alt { font-style: italic; color: var(--muted); font-size: 14px; }
.item__desc { font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.theme-brown .item__alt, .theme-brown .item__desc, .theme-green .item__alt, .theme-green .item__desc { color: rgba(250,248,245,.72); }
.badge { font-family: var(--f-btn); display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--brown); color: var(--gold-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.theme-brown .badge, .theme-green .badge { background: var(--gold); color: var(--brown); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; transition: transform .25s var(--ease), background .25s; }
.chips li:hover { transform: translateY(-2px); background: var(--gold-soft); }
.theme-brown .chips li, .theme-green .chips li { background: rgba(255,255,255,.1); }
.theme-brown .chips li:hover, .theme-green .chips li:hover { background: var(--gold); color: var(--brown); }

/* Affogato destacado */
.group--feature { background: var(--paper); color: var(--brown); overflow: hidden; }
.group--feature .group__title { color: var(--gold); font-size: clamp(30px, 4vw, 40px); }
.group--feature .group__head .price { font-size: 26px; }
.group--feature .group__text { color: var(--brown); font-size: 18px; line-height: 1.35; font-family: var(--f-body); }
.group--feature .group__text strong { color: var(--gold); }
.group--feature .group__text em { color: var(--gold); }
.cans { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.can-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding-bottom: 10px; }
.can { width: 88px; height: auto; position: relative; z-index: 1; filter: drop-shadow(6px 10px 10px rgba(0,0,0,.22)); }
/* sombra de apoyo: el vaso "parado" sobre la mesa */
.can-wrap::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; z-index: 0;
  width: 115%; height: 22px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,.25) 55%, transparent);
  filter: blur(3px);
  animation: shadow 4.5s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.theme-cream .can-wrap::after, .group--feature .can-wrap::after { background: radial-gradient(closest-side, rgba(61,49,42,.7), rgba(61,49,42,.3) 55%, transparent); }
@keyframes shadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.82); opacity: .65; } }

/* Métodos */
.group--methods { padding: clamp(10px, 2vw, 18px) clamp(20px, 3vw, 32px); }
.group--methods .items { display: grid; grid-template-columns: 1fr; column-gap: 40px; margin: 0; }
@media (min-width: 820px) { .group--methods .items { grid-template-columns: 1fr 1fr; } }
.item--methods { padding: 18px 0; }
.item--methods .item__name { font-size: 19px; }
.item--methods .item__desc { font-size: 15px; }
.sec:has(.group--methods) .cols { columns: 1; }

.closing { display: flex; align-items: center; gap: clamp(18px, 4vw, 48px); margin-top: clamp(20px, 4vw, 40px); flex-wrap: wrap; justify-content: center; text-align: left; }
.closing__img { width: clamp(180px, 34vw, 320px); }
.closing__text { font-family: var(--f-body); font-weight: 300; font-size: clamp(22px, 3.6vw, 30px); color: var(--gold); line-height: 1.3; max-width: 24ch; }
.closing__text strong { font-family: inherit; font-weight: inherit !important; color: inherit; }
.theme-brown .closing__text strong { color: var(--cream); }
.closing__small { margin-top: 10px; font-style: italic; font-weight: 700; }
.theme-brown .closing { justify-content: flex-start; }
.theme-brown .closing__text { font-family: var(--f-display); text-transform: uppercase; max-width: none; }
.theme-brown .closing__text strong { font-family: var(--f-display); color: var(--cream); }

/* Omelette */
.omelette__grid { display: grid; gap: 28px; align-items: start; margin-bottom: clamp(26px, 4vw, 44px); }
@media (min-width: 860px) { .omelette__grid { grid-template-columns: .8fr 1.2fr; gap: 48px; } }
.display { color: var(--gold); font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 8vw, 78px); line-height: .9; }
.display span:nth-child(2) { color: var(--brown); }
.omelette__text { margin-top: 16px; font-size: 18px; }
.omelette__price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.omelette__price span { font-family: var(--f-display); text-transform: uppercase; color: var(--brown); font-size: 22px; }
.omelette__price .price { font-size: 38px; }

/* Granola */
.granola__top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(26px, 4vw, 48px); }
.granola .tag { font-size: clamp(32px, 6.6vw, 64px); }
.granola .tag span:last-child { color: #8bb35c; }
.granola__base { max-width: 260px; }
.granola__base p { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 24px; line-height: 1; }
.granola__base .price { font-size: 30px; color: #b5d27f; display: block; margin-top: 6px; }
.granola__base small { font-size: 13px; opacity: .8; }
.granola__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .granola__grid { grid-template-columns: 1.1fr .9fr; } }
.steps { display: grid; gap: 14px; }
@media (min-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 20px 22px; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.step__n { position: absolute; top: 14px; right: 16px; font-family: var(--f-display); font-weight: 900; font-size: 34px; color: rgba(181,210,127,.4); }
.step h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 20px; line-height: 1.05; margin-bottom: 8px; padding-right: 34px; }
.step p { opacity: .85; font-size: 15px; }
@media (max-width: 859px) { .granola__art { order: -1; } }

/* ---------- GALERÍA (fotos que rotan) ---------- */
.gal {
  touch-action: pan-y;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 2; border-radius: calc(var(--radius) + 4px);
  background: #f7f7f6;
  box-shadow: 0 30px 60px -34px rgba(43,35,30,.55), 0 2px 0 rgba(43,35,30,.04);
}
.gal--wide { margin-bottom: clamp(30px, 5vw, 56px); }
@media (min-width: 900px) { .gal--wide { aspect-ratio: 21 / 9; } }
.gal__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.gal__slide.is-on { opacity: 1; z-index: 1; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.0); transition: transform 6s linear; }
.gal__slide.is-on img { transform: scale(1.07); }
.gal__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(250,248,245,.94); color: var(--brown);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.35);
  font-family: var(--f-cond); font-size: 15px;
  transform: translateY(12px); opacity: 0; transition: .6s var(--ease) .25s;
}
.gal__cap b { font-weight: 700; }
.gal__cap .price { font-size: 15px; }
.gal__slide.is-on .gal__cap { transform: none; opacity: 1; }
.gal__hand { position: absolute; z-index: 2; right: 18px; top: 14px; font-family: var(--f-hand); color: var(--brown); font-size: clamp(20px, 2.6vw, 26px); transform: rotate(-8deg); }
.gal__dots { position: absolute; right: 14px; bottom: 18px; z-index: 3; display: flex; gap: 6px; }
.gal__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(61,49,42,.28); cursor: pointer; transition: width .4s var(--ease), background .4s; }
.gal__dots button.is-on { width: 24px; background: var(--brown); }
.gal__dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gal__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(61,49,42,.08); }
.gal__bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.gal.is-running .gal__bar span { animation: galbar 4.2s linear forwards; }
@keyframes galbar { to { width: 100%; } }
@media (max-width: 560px) { .gal__cap { left: 10px; bottom: 12px; padding: 7px 12px; font-size: 14px; } .gal__dots { right: 12px; bottom: 16px; } }

/* Split (pizzas / burgers / postres / bebidas) */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .split--rev .split__art { order: -1; }
  .split--gal { align-items: start; }
  .split--gal .split__art { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.split__main .group { margin-bottom: 20px; }
@media (max-width: 899px) { .split--gal .split__art { order: -1; } }
.split__main.cols { columns: 1; }
@media (min-width: 700px) { .split__main.cols--2 { columns: 2; } }
.group--big .item__name { font-size: 20px; }
.group--big .price { font-size: 20px; }
.group--big .item { padding: 14px 0; }
.callout { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; font-size: 18px; line-height: 1.4; }
.callout strong { color: var(--gold); }
.callout__x { margin-top: 10px; font-size: 15px; opacity: .9; }



.cans--drinks { gap: clamp(10px, 3vw, 26px); align-items: flex-end; }
.cans--drinks .can { width: clamp(70px, 14vw, 120px); }
.cans--drinks .can-wrap::after { height: 26px; }

/* Postres */

/* ---------- FOOTER ---------- */
.foot { background: var(--cream); padding-block: clamp(60px, 9vw, 110px) 32px; border-top: 1px solid rgba(61,49,42,.08); }
.foot__cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .foot__cards { grid-template-columns: repeat(3, 1fr); } }
.foot__card { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 18px 40px -30px rgba(61,49,42,.35); transition: transform .35s var(--ease); }
a.foot__card:hover { transform: translateY(-6px); }
.foot__card img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 12px; }
.foot__card h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; color: var(--gold); font-size: 30px; }
.foot__card p { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.foot__card b { margin-top: 6px; font-size: 18px; }
.foot__end { margin-top: clamp(40px, 7vw, 80px); background: var(--brown); color: var(--cream); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.foot__claim { color: var(--gold); font-weight: 900; text-transform: uppercase; line-height: .95; font-size: clamp(34px, 6vw, 68px); display: flex; flex-direction: column; }
.foot__end img { width: clamp(150px, 22vw, 230px); height: auto; }
.foot__legal { text-align: center; margin-top: 26px; font-size: 13px; color: var(--muted); }

.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--brown); font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.25); opacity: 0; transform: translateY(20px) scale(.8); transition: .35s var(--ease); pointer-events: none; z-index: 60; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- MOVIMIENTO ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.tag.reveal { transform: translateY(-30px); }
.tag.reveal.in { transform: none; }
.divider__title.reveal { transform: scale(.92); }
.divider__title.reveal.in { transform: none; }

.float { animation: float 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.bob { animation: bob 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.sway { animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; }
.spin { animation: spin 60s linear infinite; }
.reveal.spin { transition-property: opacity; transform: none; }
.spin-slow { animation: spin 90s linear infinite; }
.reveal.spin-slow { transition-property: opacity; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes glow { to { transform: translate3d(4%, 6%, 0) scale(1.1); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes nudge { 0%, 100% { transform: rotate(45deg) translate(-2px, -2px); } 50% { transform: rotate(45deg) translate(3px, 3px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- MÓVIL ---------- */
@media (max-width: 560px) {
  :root { --nav-h: 58px; }
  .nav__logo img { width: 42px; }
  #nav-list a { padding: 8px 12px; font-size: 13px; }
  .sec__head { flex-direction: column; }
  .aside { text-align: left; align-items: flex-start; }
  .sec__head .tag, .granola .tag { display: flex; width: 100%; }
  .group__img { width: 90px; top: -20px; }
  .group__img.group__img--tall { width: auto; height: 120px; top: -34px; }
  .hero__car { width: 84px; padding: 7px; border-radius: 14px; }
  .hero__car--a { left: 12px; bottom: 7%; }
  .hero__car--b { right: 12px; top: 6%; }
  .to-top { display: none; }
}
.group:has(.group__img--tall) { padding-right: 112px; }
@media (max-width: 560px) { .group:has(.group__img--tall) { padding-right: 92px; } }

/* ============ NUEVO: idioma, buscador, WhatsApp, horario ============ */
[hidden] { display: none !important; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero__ctas .btn { margin-top: 0; }
.btn svg { flex: none; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--brown); }
.btn--dark { background: var(--brown); color: var(--cream); animation: none; margin-top: 22px; }
.btn--dark:hover { background: var(--brown-2); }

/* Selector ES / EN */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); flex: none; }
.lang button { border: 0; background: transparent; color: var(--cream); font: 800 12px/1 var(--f-btn); letter-spacing: .06em; padding: 7px 9px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--brown); }
.lang button:focus-visible, .nav__icon:focus-visible, .search__chips button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.lang--hero { position: absolute; top: 18px; left: 18px; z-index: 2; }

/* Lupa */
.nav__icon { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--cream); cursor: pointer; transition: background .25s; }
.nav__icon:hover, .nav__icon[aria-expanded="true"] { background: rgba(255,255,255,.12); }

/* Panel de búsqueda bajo la barra */
.search { position: absolute; left: 0; right: 0; top: 100%; background: rgba(61,49,42,.97); padding: 12px var(--gutter) 14px; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.search__row { width: min(760px, 100%); margin-inline: auto; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 0; padding: 0 20px; font: 500 16px var(--f-body); background: var(--cream); color: var(--ink); }
.search input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.search__chips { width: min(760px, 100%); margin: 10px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search__chips button { border: 0; border-radius: 999px; padding: 8px 14px; font: 800 12px/1 var(--f-btn); letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.1); color: var(--cream); cursor: pointer; }
.search__chips button[aria-pressed="true"] { background: var(--gold); color: var(--brown); }
.search__count { margin-left: auto; color: var(--gold-soft); font-size: 13px; font-style: italic; }

/* Mientras se filtra se ocultan las piezas decorativas */
.is-filtering .divider, .is-filtering .gal, .is-filtering .closing, .is-filtering .callout,
.is-filtering .kicker, .is-filtering .lead, .is-filtering .marquee, .is-filtering .cans--drinks,
.is-filtering .granola__art, .is-filtering .omelette .display, .is-filtering .omelette__text,
.is-filtering .omelette__price { display: none !important; }
.is-filtering .sec { padding-block: 32px; }
.is-filtering .split--gal, .is-filtering .split, .is-filtering .omelette__grid, .is-filtering .granola__grid { display: block; }

/* Visítanos */
.visit { background: var(--paper); padding-block: clamp(56px, 8vw, 96px); }
.visit__grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .visit__grid { grid-template-columns: 1.2fr .8fr; } }
.visit__card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 18px 40px -30px rgba(61,49,42,.35); text-decoration: none; color: inherit; }
.visit__title { font-family: var(--f-display); text-transform: uppercase; color: var(--gold); font-size: clamp(30px, 5vw, 44px); line-height: 1; }
.visit__sub { font: 800 13px var(--f-btn); letter-spacing: .08em; text-transform: uppercase; margin: 22px 0 8px; color: var(--muted); }
.visit__status span { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: #f3e7e3; color: #8a3b2a; font: 800 12px var(--f-btn); text-transform: uppercase; letter-spacing: .05em; }
.visit__status span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.visit__status span.is-open { background: #e6f0e1; color: #2f6a2b; }
.visit__status span:empty { display: none; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(61,49,42,.16); font-size: 16px; }
.hours li:last-child { border-bottom: 0; }
.hours b { font-family: var(--f-cond); white-space: nowrap; }
.hours .is-today { color: var(--brown); font-weight: 700; }
.visit__card--wa { background: var(--green); color: var(--cream); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; transition: transform .35s var(--ease); }
.visit__card--wa:hover { transform: translateY(-4px); }
.visit__card--wa .visit__title { color: var(--cream); }
.visit__card--wa b { font-family: var(--f-cond); font-size: 20px; color: var(--gold-soft); }
.visit__waicon { color: #8fd18b; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 61;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.28);
  animation: rise .8s 1.2s var(--ease) both;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }

@media (max-width: 560px) {
  .lang--nav { display: none; }
  .is-scrolled .lang--nav { display: inline-flex; }
  .lang button { padding: 6px 7px; font-size: 11px; }
  .nav__icon { width: 36px; height: 36px; }
  .hero__ctas .btn { padding: 13px 20px; font-size: 13px; }
}

/* Granola: el bowl va suelto sobre el verde, como en el menú impreso */
.granola__img { width: min(100%, 420px); height: auto; margin-inline: auto; filter: drop-shadow(0 28px 30px rgba(0,0,0,.4)); --d: .4s; }

/* Métodos con foto del equipo: parado sobre su sombra */
.item--pic { display: grid; grid-template-columns: 1fr 92px; gap: 16px; align-items: center; }
.item__body { min-width: 0; }
.item__pic { position: relative; height: 120px; display: flex; align-items: flex-end; justify-content: center; }
.item__pic::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 86%; height: 14px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(61,49,42,.45), rgba(61,49,42,.15) 60%, transparent); filter: blur(2px); }
.item__img { position: relative; z-index: 1; max-height: 120px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(4px 6px 6px rgba(0,0,0,.15)); transition: transform .5s var(--ease); }
.item--pic:hover .item__img { transform: translateY(-4px) rotate(-2deg); }
@media (max-width: 560px) { .item--pic { grid-template-columns: 1fr 72px; gap: 12px; } .item__pic { height: 96px; } .item__img { max-height: 96px; } }
