:root {
  /* Paleta: madera clara, blanco, olivo y un toque de naranja */
  --wood: #d6b48a;
  --wood-light: #ece0cc;
  --walnut: #8a6a46;
  --olive: #5f6338;
  --olive-dark: #4a4d2b;
  --accent: #c8743a;

  /* Alias usados en todo el CSS */
  --orange: var(--accent);
  --red: var(--olive);
  --red-dark: var(--olive-dark);
  --mustard: var(--wood);
  --pink: var(--wood-light);
  --green: var(--olive);
  --maroon: var(--walnut);

  --cream: #f6efe4;
  --paper: #fffdfa;
  --ink: #33291f;
  --muted: #75685a;
  --line: #e6d8c4;
  --radius: 24px;
  --shadow: 0 20px 40px -22px rgba(51, 41, 31, .45);
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --script: "Yellowtail", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -.015em;
}
h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
p { margin: 0; }
sup { color: var(--orange); font-size: .55em; }

.eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); background: var(--ink); padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow--light { color: var(--ink); background: var(--mustard); }
.script { font-family: var(--script); font-weight: 400; color: var(--walnut); font-size: 1.05em; letter-spacing: 0; }
.lead { margin-top: 1rem; font-size: 1.1rem; opacity: .9; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.55rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px var(--red); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--mustard); color: var(--ink); }
.btn--outline-light { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--red); }
.link-arrow { font-weight: 700; color: var(--red); text-decoration: none; display: inline-block; margin-top: 1rem; }
.link-arrow:hover { text-decoration: underline; }
.tag { align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 700; padding: .4rem .9rem; border-radius: 999px; background: var(--mustard); color: var(--ink); }
.tag--light { background: #fff; color: var(--red); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(255, 250, 243, .93); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.55rem; }
.nav__brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav__links { display: flex; align-items: center; gap: 1.4rem; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .94rem; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { background: var(--red); color: #fff !important; padding: .55rem 1.15rem; border-radius: 999px; }
.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 9px; transition: transform .25s; }

/* HERO */
.hero {
  min-height: min(100svh, 940px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: 7rem clamp(1rem, 5vw, 5rem) 4rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(214,180,138,.35), transparent 40%),
    radial-gradient(circle at 8% 92%, rgba(95,99,56,.10), transparent 35%),
    var(--paper);
  position: relative; overflow: hidden;
}
.hero__title { display: flex; flex-direction: column; gap: .25rem; }
.hero__q { font-family: var(--body); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 500; color: var(--muted); }
.hero__nope { font-family: var(--script); font-weight: 400; font-size: clamp(3rem, 7vw, 5.2rem); color: var(--orange); transform: rotate(-5deg); transform-origin: left; display: inline-block; width: fit-content; line-height: 1; }
.hero__main { font-size: clamp(3rem, 8vw, 6.6rem); line-height: .95; }
.hero__main em { font-style: normal; color: var(--red); position: relative; z-index: 0; }
.hero__main em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .2em;
  background: var(--mustard); z-index: -1; border-radius: 6px;
  transform: scaleX(0); transform-origin: left; animation: underline 1s .9s forwards ease-out;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__sub { margin: 1.6rem 0 2rem; font-size: 1.12rem; max-width: 34rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.badge { background: #fff; border: 1px solid var(--line); padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; }
.badge b { color: var(--red); }
.badge.is-open { background: #e4f3ea; border-color: #b9dfc8; color: var(--green); }
.badge.is-closed { background: var(--cream); border-color: var(--wood); color: var(--walnut); }

.hero__q, .hero__nope, .hero__main, .hero__sub, .hero__actions, .hero__badges { opacity: 0; animation: rise .8s forwards cubic-bezier(.2,.7,.2,1); }
.hero__nope { animation-delay: .25s; }
.hero__main { animation-delay: .45s; }
.hero__sub { animation-delay: .65s; }
.hero__actions { animation-delay: .8s; }
.hero__badges { animation-delay: .95s; }
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

.hero__media { position: relative; aspect-ratio: 1 / 1.08; }
.hero__img { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero__img:hover img { transform: scale(1.05); }
.hero__img--a { inset: 0 20% 16% 0; transform: rotate(-2deg); }
.hero__img--b { width: 44%; aspect-ratio: 3 / 4; right: 0; bottom: 0; transform: rotate(5deg); }
.hero__sticker {
  position: absolute; left: -3%; bottom: 2%; width: 124px; height: 124px;
  background: var(--red); color: var(--mustard); border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.hero__sticker svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.hero__sticker text { font: 700 11.5px var(--body); letter-spacing: .14em; text-transform: uppercase; fill: #fff; }
.hero__sticker span { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 2.4rem; font-weight: 900; }
.hero__sticker sup { color: var(--mustard); }
@keyframes spin { to { transform: rotate(360deg); } }

/* MARQUEE */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 1rem 0; transform: rotate(-1deg); margin: -.6rem -1rem 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 1.6rem; width: max-content; animation: marquee 34s linear infinite; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.marquee i { color: var(--mustard); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem); }
.section--cream { background: var(--cream); }
.section--orange { background: var(--wood-light); color: var(--ink); position: relative; overflow: hidden; }
.section--orange::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0%, #fff 0 18px, transparent 18px 46px);
}
.section__head { max-width: 1200px; margin: 0 auto 2.8rem; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; flex-wrap: wrap; }
.hint { color: var(--muted); margin-top: .8rem; }

/* MENU */
.reco {
  max-width: 1200px; margin: 0 auto 2rem;
  background: var(--red); color: #fff; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: var(--shadow);
}
.reco__img { overflow: hidden; position: relative; }
.reco__img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; max-height: 520px; transition: transform .6s; }
.reco:hover .reco__img img { transform: scale(1.05) rotate(1deg); }
.reco__body { padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; gap: 1.1rem; justify-content: center; }
.reco h3 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.reco p { font-size: 1.08rem; opacity: .95; max-width: 32rem; }
.reco__notes { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 0; flex-wrap: wrap; }
.reco__notes li { background: rgba(255,255,255,.15); padding: .45rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; display: flex; gap: .4rem; }
.reco .link-arrow { color: var(--mustard); margin-top: 0; }

.popular { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pop-card { position: relative; background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pop-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.pop-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.pop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pop-card:hover .pop-card__img img { transform: scale(1.07); }
.rank { position: absolute; top: 12px; left: 12px; background: var(--mustard); color: var(--ink); font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 900; padding: .3rem .7rem; border-radius: 999px; font-size: .95rem; }
.pop-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.pop-card h4 { font-size: 1.3rem; }
.pop-card p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }

/* GALLERY */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { border: 1.5px solid var(--ink); background: transparent; padding: .5rem 1.1rem; border-radius: 999px; font: 600 .9rem var(--body); cursor: pointer; transition: all .2s; color: var(--ink); }
.filters button.is-active, .filters button:hover { background: var(--ink); color: #fff; }
.gallery { max-width: 1200px; margin: 0 auto; columns: 4 240px; column-gap: 14px; }
.g { margin: 0 0 14px; break-inside: avoid; position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: var(--line); }
.g img { width: 100%; height: auto; transition: transform .6s ease; }
.g figcaption {
  position: absolute; left: 12px; bottom: 12px; background: #fff; padding: .35rem .85rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; transform: translateY(160%); transition: transform .3s ease;
}
.g:hover img { transform: scale(1.06); }
.g:hover figcaption { transform: none; }
.g.is-hidden { display: none; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 14, 10, .93); display: grid; place-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(90vw, 900px); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 14px; animation: fade .3s; }
.lightbox figcaption { color: #fff; font-family: var(--script); font-size: 1.8rem; margin-top: .8rem; }
.lightbox button { position: absolute; background: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; }
.lightbox__nav--next { right: 1rem; top: 50%; }
@keyframes fade { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* REVIEWS */
.score { display: flex; align-items: center; gap: 1rem; }
.score b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 900; font-size: 3.8rem; color: var(--red); line-height: 1; }
.score small { display: block; color: var(--muted); }
.stars {
  --pct: calc(var(--r) / 5 * 100%);
  font-size: 1.15rem; letter-spacing: 2px; color: transparent;
  background: linear-gradient(90deg, var(--mustard) var(--pct), var(--line) var(--pct));
  -webkit-background-clip: text; background-clip: text;
}
.reviews { max-width: 1200px; margin: 0 auto; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 3.6rem) / 4)); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem 0 1rem; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--cream); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; min-height: 280px; transition: transform .3s; }
.review:hover { transform: translateY(-6px) rotate(-.6deg); }
.review p { font-size: 1.04rem; flex: 1; }
.review footer { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.review footer small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; }
.review--orange { background: var(--orange); color: #fff; }
.review--orange .avatar { background: var(--mustard); color: var(--ink); }
.review--green { background: var(--green); color: #fff; }
.review--pink { background: var(--pink); }
.review--pink .avatar { background: var(--maroon); }
.review--orange footer small, .review--green footer small { color: rgba(255,255,255,.8); }
.review--orange .stars, .review--green .stars { background: linear-gradient(90deg, var(--mustard) var(--pct), rgba(255,255,255,.3) var(--pct)); -webkit-background-clip: text; background-clip: text; }
.reviews__ctrl { display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.reviews__ctrl .link-arrow { margin: 0 0 0 auto; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.2rem; cursor: pointer; transition: all .2s; color: var(--ink); }
.round:hover { background: var(--ink); color: #fff; }

/* PAYMENT */
.pay-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem 3rem; align-items: center; position: relative; }
.pay { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.pay li { background: rgba(255,255,255,.7); border: 1.5px solid var(--wood); border-radius: 18px; padding: 1.1rem; display: flex; flex-direction: column; gap: .4rem; font-weight: 700; transition: background .2s, transform .2s; }
.pay li:hover { background: #fff; transform: translateY(-4px) rotate(-1deg); }
.pay__ic { font-size: 1.6rem; }
/* HOURS */
.visit { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; }
.visit__card { background: var(--cream); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.8rem); }
.visit__card h2 { margin-bottom: 1.4rem; }
.visit__side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1.2rem; }
.info-card { background: var(--green); color: #fff; border-radius: var(--radius); padding: 1.5rem; }
.info-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.info-card p { opacity: .9; font-size: .95rem; }
.info-card .link-arrow { color: var(--mustard); }
.info-card:last-child { background: var(--pink); color: var(--ink); }
.info-card:last-child .link-arrow { color: var(--red); }
.info-card--photo { padding: 0; overflow: hidden; background: var(--wood); }
.info-card--photo img { width: 100%; height: 100%; object-fit: cover; }
.now { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; font-weight: 700; margin-bottom: 1.2rem; }
.now .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.now.is-open { background: #e4f3ea; color: var(--green); }
.now.is-open .dot { background: #2fa36b; animation: pulse 1.6s infinite; }
.now.is-closed { background: var(--cream); color: var(--walnut); }
.now.is-closed .dot { background: var(--accent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,163,107,.6); } 100% { box-shadow: 0 0 0 10px rgba(47,163,107,0); } }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: 12px; }
.hours li:nth-child(odd) { background: rgba(255,255,255,.7); }
.hours li.is-today { background: var(--mustard); font-weight: 700; }

/* SPECIALTIES */
.specs { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.spec { position: relative; aspect-ratio: 3 / 4.2; border: 0; padding: 0; cursor: pointer; perspective: 1000px; background: none; font: inherit; text-align: left; color: inherit; }
.spec__front, .spec__back {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s cubic-bezier(.3,.7,.2,1);
}
.spec__front img { width: 100%; height: 100%; object-fit: cover; }
.spec__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.3rem; background: var(--c); color: #fff; display: flex; flex-direction: column; gap: .2rem; }
.spec[style*="mustard"] .spec__label, .spec[style*="pink"] .spec__label { color: var(--ink); }
.spec__back { background: var(--c); color: #fff; transform: rotateY(180deg); padding: 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: .9rem; font-size: 1.02rem; }
.spec[style*="mustard"] .spec__back, .spec[style*="pink"] .spec__back { color: var(--ink); }
.spec.is-flipped .spec__front { transform: rotateY(-180deg); }
.spec.is-flipped .spec__back { transform: rotateY(0); }
.spec__n { font-size: .85rem; font-weight: 700; opacity: .8; }
.spec__name { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.6rem; line-height: 1.05; }
.spec__tags { font-size: 1.6rem; letter-spacing: .3rem; }
.spec:hover .spec__front img { transform: scale(1.05); transition: transform .5s; }
.seasonal { max-width: 1200px; margin: 2rem auto 0; text-align: center; background: #fff; border: 2px dashed var(--orange); border-radius: 999px; padding: .9rem 1.4rem; }

/* CTA */
.cta { background: var(--olive); color: #fff; padding: clamp(7rem, 12vw, 10rem) clamp(1rem, 5vw, 5rem) 0; text-align: center; overflow: hidden; position: relative; }
.cta__inner { max-width: 940px; margin: 0 auto; position: relative; }
.cta__logo { margin: 0 auto 1.5rem; border-radius: 50%; border: 5px solid var(--mustard); animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.cta h2 .script { color: var(--mustard); }
.cta p { margin: 1.2rem auto 2rem; max-width: 34rem; font-size: 1.1rem; opacity: .95; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 3.5rem; }
.cta__strip a { display: block; aspect-ratio: 4 / 5; border-radius: 18px 18px 0 0; overflow: hidden; }
.cta__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cta__strip a:nth-child(odd) { transform: translateY(22px); }
.cta__strip a:hover img { transform: scale(1.08); }

.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 1.8rem clamp(1rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; font-size: .9rem; }
.footer__brand { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.3rem; color: #fff; }


/* ===== Color y estructura visual ===== */
.hero, .section { position: relative; }
.hero__text, .hero__media, .section > :not(.deco) { position: relative; z-index: 1; }

/* Decoraciones retro: soles, asteriscos y flores */
.deco { position: absolute; z-index: 0; height: auto; aspect-ratio: 1; fill: var(--c); pointer-events: none; }
.deco--spin { animation: spin 18s linear infinite; }
.deco--burst { animation: burst 6s ease-in-out infinite; }
@keyframes burst { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(25deg) scale(1.12); } }
.hero__arcs {
  position: absolute; right: -240px; top: 70px; width: 480px; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: repeating-radial-gradient(circle, var(--olive) 0 26px, var(--wood) 26px 52px, var(--wood-light) 52px 78px, #fff 78px 104px); opacity: .9;
}

/* Bordes ondulados entre secciones */
.wavy {
  --wave: 30px;
  margin-top: calc(var(--wave) * -1);
  padding-top: calc(clamp(4rem, 9vw, 7rem) + var(--wave));
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30' preserveAspectRatio='none'%3E%3Cpath d='M0 15 Q30 0 60 15 T120 15 V30 H0Z'/%3E%3C/svg%3E") left top / 120px var(--wave) repeat-x,
    linear-gradient(#000 0 0) left var(--wave) / 100% calc(100% - var(--wave) + 1px) no-repeat;
          mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30' preserveAspectRatio='none'%3E%3Cpath d='M0 15 Q30 0 60 15 T120 15 V30 H0Z'/%3E%3C/svg%3E") left top / 120px var(--wave) repeat-x,
    linear-gradient(#000 0 0) left var(--wave) / 100% calc(100% - var(--wave) + 1px) no-repeat;
}
.cta.wavy { padding-top: calc(clamp(4.5rem, 9vw, 7rem) + var(--wave)); }

/* Números grandes de sección */
.section__head[data-n] { position: relative; }
.section__head[data-n]::after {
  content: attr(data-n); position: absolute; right: 0; top: -.35em; z-index: -1;
  font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 900; line-height: 1;
  font-size: clamp(6rem, 15vw, 12rem); color: transparent; -webkit-text-stroke: 2px var(--stroke, var(--ink)); opacity: .3;
}

/* Temas por sección */
.theme-mustard { background: var(--wood-light); }
.theme-mustard .script { color: var(--olive); }
.theme-pink { background: var(--paper); }
.theme-pink .script { color: var(--walnut); }
.theme-pink .g figcaption { background: var(--mustard); }
.theme-cream { background: var(--cream); }
.theme-green, .theme-maroon { color: #fff; --stroke: #fff; }
.theme-mustard, .theme-pink { --stroke: var(--red); }
.theme-green { background: var(--green); }
.theme-maroon { background: var(--walnut); }
.theme-green .eyebrow, .theme-maroon .eyebrow { background: var(--mustard); color: var(--ink); }
.theme-green .script, .theme-maroon .script { color: var(--mustard); }
.theme-maroon .hint { color: rgba(255,255,255,.75); }

/* Lo más pedido: tarjetas de color */
.theme-mustard .reco { box-shadow: 0 24px 50px -24px rgba(106,29,42,.7); }
.pop-card { background: var(--c, var(--cream)); color: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.pop-card:hover { box-shadow: 10px 10px 0 var(--ink); }
.pop-card p { color: rgba(255,255,255,.85); }
.pop-card[style*="pink"] { color: var(--ink); }
.pop-card[style*="pink"] p { color: var(--maroon); }
.pop-card__img { border-bottom: 3px solid var(--ink); }
.reco { border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink) !important; }

/* Galería sobre rosa */
.theme-pink .g { border: 3px solid var(--ink); }
.theme-pink .filters button.is-active, .theme-pink .filters button:hover { background: var(--red); border-color: var(--red); }

/* Reseñas sobre verde */
.theme-green .score b { color: var(--mustard); }
.theme-green .score small { color: rgba(255,255,255,.75); }
.theme-green .review { color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(0,0,0,.35); }
.review--orange, .review--red { color: #fff !important; }
.review--mustard { background: var(--mustard); }
.review--mustard .avatar { background: var(--green); }
.review--red { background: var(--red); }
.review--red .avatar { background: var(--mustard); color: var(--ink); }
.review--red footer small { color: rgba(255,255,255,.8); }
.review--red .stars { background: linear-gradient(90deg, #fff var(--pct), rgba(255,255,255,.3) var(--pct)); -webkit-background-clip: text; background-clip: text; }
.review--mustard .stars { background: linear-gradient(90deg, var(--red) var(--pct), rgba(0,0,0,.15) var(--pct)); -webkit-background-clip: text; background-clip: text; }
.theme-green .round { background: transparent; border-color: #fff; color: #fff; }
.theme-green .round:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.theme-green .link-arrow { color: var(--mustard); }

/* Pago */

/* Horarios sobre crema */
.theme-cream .visit__card { background: var(--mustard); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.theme-cream .hours li:nth-child(odd) { background: rgba(255,255,255,.45); }
.theme-cream .hours li.is-today { background: var(--red); color: #fff; }
.theme-cream .now { background: #fff; }
.info-card { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }

/* Especialidades sobre vino */
.spec__front, .spec__back { border: 3px solid var(--ink); }
.theme-maroon .spec { filter: drop-shadow(6px 6px 0 rgba(0,0,0,.4)); }
.theme-maroon .seasonal { background: var(--mustard); color: var(--ink); border: 3px solid var(--ink); }

/* CTA y pie */
.cta__strip a { border: 3px solid var(--ink); border-bottom: 0; }
.footer { position: relative; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
  background: linear-gradient(90deg, var(--red) 0 20%, var(--orange) 20% 40%, var(--mustard) 40% 60%, var(--pink) 60% 80%, var(--green) 80%);
}

@media (max-width: 640px) {
  .wavy { --wave: 20px; }
  .hero__arcs { width: 300px; right: -150px; top: auto; bottom: 90px; }
  .hero .deco { display: none; }
  .deco { max-width: 48px; }
  .section__head[data-n]::after { font-size: 5.5rem; opacity: .18; }
  .pop-card { box-shadow: 4px 4px 0 var(--ink); }
  .reco, .theme-cream .visit__card { box-shadow: 5px 5px 0 var(--ink) !important; }
}


/* Menú completo */
.price { display: inline-block; margin-top: .6rem; font-weight: 800; font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 1.15rem; }
.reco__price { font-size: 1rem !important; }
.reco__price b { font-family: var(--display); font-size: 1.25rem; color: var(--wood); }
.spec__price { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.4rem; }
.carta { max-width: 1200px; margin: 3rem auto 0; background: var(--paper); border: 3px solid var(--ink); border-radius: calc(var(--radius) + 6px); box-shadow: 8px 8px 0 var(--ink); padding: clamp(1.4rem, 3.5vw, 2.6rem); }
.carta__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.carta__head h3 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.tabs { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 5px; border: 2px solid var(--line); }
.tabs button { border: 0; background: none; font: 600 .95rem var(--body); padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--olive); color: #fff; }
.carta__panel { animation: fade .35s ease; }
.precios { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.precios th { font-weight: 700; font-size: .85rem; color: var(--muted); text-align: center; padding: 0 .5rem .8rem; white-space: nowrap; }
.precios td { padding: .85rem .5rem; border-top: 1px dashed var(--line); text-align: center; font-weight: 700; }
.precios td:first-child { text-align: left; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 1.2rem; }
.precios tbody tr { transition: background .2s; }
.precios tbody tr:hover { background: var(--cream); }
.cup { display: block; margin: 0 auto .35rem; background: var(--wood); border-radius: 3px 3px 6px 6px; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.cup--s { width: 16px; height: 18px; background: var(--wood-light); border: 0; }
.cup--m { width: 19px; height: 23px; }
.cup--l { width: 22px; height: 28px; background: var(--olive); }
.simples { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.simples li { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border-radius: 14px; padding: .9rem 1.1rem; font-weight: 600; }
.simples b, .casa b, .mas__item > b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: 1.2rem; color: var(--olive); }
.casa { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.casa li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info precio" "tam precio"; gap: .2rem 1rem; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.casa li > div { grid-area: info; }
.casa h4 { font-size: 1.3rem; }
.casa p { color: var(--muted); font-size: .93rem; margin-top: .2rem; }
.casa .tam { grid-area: tam; font-size: .8rem; font-weight: 700; color: var(--walnut); text-transform: uppercase; letter-spacing: .06em; }
.casa b { grid-area: precio; align-self: center; }
.casa .star { color: var(--accent); }
.mas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mas__item { background: var(--cream); border-radius: 18px; padding: 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.mas__item h4 { font-size: 1.25rem; }
.mas__item p { color: var(--muted); font-size: .9rem; }
.mas__item p b { color: var(--ink); }
.mas__item > b { margin-top: auto; padding-top: .4rem; }
.mas__item--wide { grid-column: 1 / -1; background: var(--wood-light); }
.info-card--wifi { background: var(--wood); color: var(--ink); }
.info-card--wifi p { opacity: 1; }
@media (max-width: 900px) {
  .casa { grid-template-columns: 1fr; }
  .mas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .carta { box-shadow: 5px 5px 0 var(--ink); margin-top: 2rem; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: .55rem .4rem; font-size: .85rem; }
  .precios { font-size: .95rem; }
  .precios td:first-child { font-size: 1rem; }
  .precios td, .precios th { padding-left: .25rem; padding-right: .25rem; }
  .simples { grid-template-columns: 1fr; }
}

.copy-btn {
  margin-top: .9rem; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.1rem;
  font: 700 .92rem var(--body); cursor: pointer; transition: transform .15s, background .2s;
}
.copy-btn:hover { transform: translateY(-2px); }
.copy-btn:active { transform: scale(.97); }
.copy-btn.is-copied { background: var(--olive); }

/* Intro de estallido */
.intro { display: none; }
.intro-on { overflow: hidden; }
.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--paper) 0 30%, var(--wood-light) 100%);
  clip-path: circle(150% at 50% 50%);
  transition: clip-path .75s cubic-bezier(.7, 0, .25, 1), opacity .4s .5s;
  cursor: pointer;
}
.intro.is-out { clip-path: circle(0% at 50% 50%); }
.intro__center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1rem; }
.intro__logo {
  width: 150px; height: 150px; border-radius: 50%;
  box-shadow: 0 18px 40px -12px rgba(51, 41, 31, .45), 0 0 0 6px #fff;
  animation: intro-pop .75s .1s cubic-bezier(.3, 1.6, .5, 1) both;
}
.intro__tag {
  font-family: var(--script); font-size: 2rem; color: var(--olive);
  animation: intro-tag .5s .85s ease-out both;
}
.intro__tag sup { color: var(--accent); }
.intro__ring {
  position: absolute; left: 50%; top: 50%; width: 160px; height: 160px; margin: -80px 0 0 -80px;
  border-radius: 50%; border: 5px solid var(--olive); opacity: 0;
  animation: intro-ring 1s .38s ease-out forwards;
}
.intro__ring--2 { border-color: var(--wood); border-width: 10px; animation-delay: .5s; }
.intro__burst { position: absolute; inset: 0; }
.intro__ray {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 13vmin; margin: -13vmin 0 0 -4px;
  border-radius: 8px; background: var(--c); transform-origin: 50% 100%; opacity: 0;
  animation: intro-ray .8s .35s cubic-bezier(.2, .7, .3, 1) forwards;
}
.intro__bit {
  position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  fill: var(--c); opacity: 0;
  animation: intro-bit 1.3s var(--d) cubic-bezier(.15, .8, .3, 1) forwards;
}
@keyframes intro-pop {
  0% { transform: scale(0) rotate(-30deg); }
  60% { transform: scale(1.2) rotate(8deg); }
  80% { transform: scale(.94) rotate(-2deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes intro-tag { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes intro-ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(5); } }
@keyframes intro-ray {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(-70px) scaleY(.2); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-46vmin) scaleY(1); }
}
@keyframes intro-bit {
  0% { opacity: 1; transform: translate(0, 0) scale(.2) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1) rotate(var(--r)); }
}
/* El hero espera a que termine la intro */
.intro-on .hero__q, .intro-on .hero__nope, .intro-on .hero__main, .intro-on .hero__sub,
.intro-on .hero__actions, .intro-on .hero__badges, .intro-on .hero__main em::after { animation-play-state: paused; }

/* Fotos ampliables */
img.zoomable { cursor: zoom-in; }
.spec__label { cursor: pointer; }
.lightbox__nav[hidden] { display: none; }

/* Reveal on scroll */
.reveal-on .reveal { opacity: 0; translate: 0 30px; transition: opacity .8s ease, translate .8s ease; }
.reveal-on .reveal.is-in { opacity: 1; translate: 0 0; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; }
  .hero__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .popular, .specs { grid-template-columns: repeat(2, 1fr); }
  .visit, .pay-wrap { grid-template-columns: 1fr; }
  .reviews__track { grid-auto-columns: minmax(280px, 45%); }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 66px 0 auto; background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 1.5rem; gap: 1.1rem; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-130%); transition: transform .35s ease; z-index: -1;
  }
  .nav.is-open { background: var(--paper); }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .reco { grid-template-columns: 1fr; }
  .reco__img img { min-height: 260px; max-height: 340px; }
  .popular { gap: .8rem; }
  .pop-card__body { padding: .8rem .9rem 1rem; }
  .pop-card h4 { font-size: 1.05rem; }
  .pop-card p { font-size: .82rem; }
  .gallery { columns: 2; column-gap: 10px; }
  .g { margin-bottom: 10px; }
  .g figcaption { transform: none; font-size: .7rem; left: 8px; bottom: 8px; }
  .pay { grid-template-columns: repeat(2, 1fr); }
  .visit__side { grid-template-columns: 1fr; }
  .info-card--photo { max-height: 340px; }
  .specs { gap: .8rem; }
  .spec__name { font-size: 1.2rem; }
  .spec__label { padding: .8rem .9rem; }
  .spec__back { padding: 1rem; font-size: .85rem; gap: .5rem; }
  .spec__tags { font-size: 1.1rem; }
  .hero__sticker { width: 96px; height: 96px; }
  .hero__sticker text { font-size: 10.5px; }
  .hero__sticker span { font-size: 1.8rem; }
  .reviews__track { grid-auto-columns: 86%; }
  .reviews__ctrl .link-arrow { margin: .4rem 0 0; width: 100%; }
  .seasonal { border-radius: 18px; }
  .cta__strip { grid-template-columns: repeat(2, 1fr); }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__q, .hero__nope, .hero__main, .hero__sub, .hero__actions, .hero__badges { opacity: 1; }
  .hero__main em::after { transform: none; }
}
