:root {
  --espresso: #1a120e;
  --tostado: #2a1c15;
  --cobre: #dd8650;
  --tomate: #c8371e;
  --muzza: #f7e9cc;
  --masa: #e9c58f;
  --albahaca: #5d8a3c;
  --display: "Shrikhand", "Cooper Black", serif;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --pad: clamp(18px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--espresso); color: var(--muzza); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 3px solid var(--cobre); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--muzza); color: var(--espresso); padding: 8px 14px; }
.skip:focus { left: 8px; }

.h2 { font: 400 clamp(44px, 6vw, 96px)/.95 var(--display); color: var(--espresso); letter-spacing: -.01em; }
.h2 em { font-style: normal; color: var(--tomate); }
.h2--light { color: var(--muzza); }
.h2--light em { color: var(--cobre); }
.kicker { margin: 0 0 16px; font: 700 13px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cobre); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: scale .2s, background-color .2s, color .2s; }
.btn:hover { scale: 1.04; }
.btn--fire { background: var(--tomate); color: #fff; }
.btn--fire:hover { background: #a92a14; }
.btn--glass { background: rgba(247, 233, 204, .14); color: var(--muzza); border-color: rgba(247, 233, 204, .5); backdrop-filter: blur(6px); }
.btn--line { background: transparent; border-color: currentColor; color: inherit; }

/* ---------- barra ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--pad); transition: background-color .3s; }
.top.is-solid { background: rgba(26, 18, 14, .92); backdrop-filter: blur(10px); }
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 var(--display); color: var(--cobre); }
.top__brand img { width: 44px; height: 44px; border-radius: 50%; }
.top__nav { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.top__nav a { text-decoration: none; }
.top__nav a:hover { color: var(--cobre); }
.top__cta { background: var(--tomate); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 999px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; overflow: hidden; isolation: isolate; }
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-on { opacity: 1; }
.slide.is-on img { animation: kenburns 7s ease-out forwards; }
.slide:nth-child(even).is-on img { animation-name: kenburns2; }
@keyframes kenburns { from { scale: 1.16; translate: -2% 1%; } to { scale: 1.02; translate: 0 0; } }
@keyframes kenburns2 { from { scale: 1.02; translate: 1% 0; } to { scale: 1.15; translate: -1% -2%; } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 18, 14, .65) 0%, rgba(26, 18, 14, .05) 30%, rgba(26, 18, 14, .25) 55%, rgba(26, 18, 14, .92) 100%); }
.bars { position: absolute; top: 84px; left: var(--pad); right: var(--pad); display: flex; gap: 6px; }
.bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(247, 233, 204, .3); overflow: hidden; position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0; background: var(--muzza); transform-origin: left; scale: 0 1; }
.bars i.done::after { scale: 1 1; }
.bars i.on::after { animation: bar 6s linear forwards; }
@keyframes bar { to { scale: 1 1; } }
.hero__inner { padding: 120px var(--pad) clamp(28px, 5vh, 56px); }
.hero__kicker { margin: 0 0 6px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }
.hero__t { font: 400 clamp(76px, 12.5vw, 210px)/.86 var(--display); color: var(--muzza); letter-spacing: -.02em; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.hero__small { display: block; font: 700 clamp(22px, 2.4vw, 36px)/1 var(--sans); letter-spacing: 0; color: var(--cobre); margin-bottom: 6px; }
.hero__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(247, 233, 204, .3); }
.hero__cap { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tomate); box-shadow: 0 0 0 4px rgba(200, 55, 30, .3); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(200, 55, 30, 0); } }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- número ---------- */
.numero { background: var(--cobre); color: var(--espresso); text-align: center; padding: clamp(80px, 10vw, 150px) var(--pad); overflow: hidden; }
.numero__k { margin: 0 0 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; }
.numero__t { font: 400 clamp(64px, 13vw, 230px)/.9 var(--display); color: var(--espresso); white-space: nowrap; letter-spacing: -.02em; }
.numero__p { max-width: 560px; margin: 26px auto 30px; font-size: 18px; font-weight: 500; }
.numero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.numero .btn--line { color: var(--espresso); }
.numero .btn--line.is-ok { background: var(--espresso); color: var(--muzza); }

/* ---------- favoritos ---------- */
.favs { background: var(--muzza); color: var(--espresso); padding: clamp(80px, 10vw, 150px) var(--pad); }
.favs__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 60px; margin-bottom: 56px; }
.favs__head p { max-width: 420px; margin: 0; font-size: 18px; }
.favs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 90px; gap: 18px; }
.fav { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: var(--masa); }
.fav img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s; }
.fav:hover img { scale: 1.06; }
.fav figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(26, 18, 14, .86); color: var(--muzza); padding: 14px 16px; border-radius: 14px; font-size: 14.5px; backdrop-filter: blur(4px); }
.fav figcaption b { display: block; font: 400 26px/1.05 var(--display); color: var(--cobre); margin-bottom: 4px; }
.fav--a { grid-column: 1 / 6; grid-row: span 6; }
.fav--b { grid-column: 6 / 13; grid-row: span 4; }
.fav--c { grid-column: 6 / 9; grid-row: span 4; }
.fav--d { grid-column: 9 / 13; grid-row: span 4; }
.fav--e { grid-column: 1 / 6; grid-row: span 2; }
.fav--e figcaption { top: 14px; bottom: auto; }

/* ---------- ruleta ---------- */
.ruleta { position: relative; background: var(--tostado); padding: clamp(80px, 10vw, 150px) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px clamp(30px, 6vw, 100px); align-items: center; overflow: hidden; }
.ruleta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 75% 50%, rgba(221, 134, 80, .25), transparent 70%); pointer-events: none; }
.ruleta__text { position: relative; max-width: 520px; }
.ruleta__text p:not(.kicker) { font-size: 18px; margin: 22px 0 30px; }
.wheel-wrap { position: relative; width: min(520px, 42vw); aspect-ratio: 1; }
.wheel { position: absolute; inset: 0; border-radius: 50%; border: 10px solid var(--muzza); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 4px var(--espresso);
  background: conic-gradient(var(--tomate) 0 60deg, var(--cobre) 0 120deg, var(--albahaca) 0 180deg, var(--tomate) 0 240deg, var(--cobre) 0 300deg, var(--albahaca) 0 360deg);
  transition: rotate 4.2s cubic-bezier(.12, .7, .1, 1); }
.wheel span { position: absolute; left: 50%; top: 50%; width: 46%; margin-top: -.6em; transform-origin: 0 50%; rotate: calc(var(--i) * 60deg - 60deg); padding-left: 21%; font: 400 clamp(14px, 1.45vw, 22px)/1.2 var(--display); color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); white-space: nowrap; }
.wheel__pointer { position: absolute; z-index: 2; left: 50%; top: -18px; width: 0; height: 0; margin-left: -18px; border: 18px solid transparent; border-top: 34px solid var(--muzza); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }
.wheel__hub { position: absolute; z-index: 2; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; overflow: hidden; border: 5px solid var(--muzza); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.wheel__hub img { width: 100%; height: 100%; object-fit: cover; }
.result { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: center; background: var(--muzza); color: var(--espresso); border-radius: 26px; padding: 18px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.result[hidden] { display: none; }
@keyframes pop { from { scale: .9; opacity: 0; } }
.result img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.result__k { margin: 0; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--tomate); }
.result h3 { font: 400 clamp(36px, 4vw, 56px)/1 var(--display); margin: 4px 0 8px; }
.result p:not(.result__k) { margin: 0 0 18px; max-width: 520px; }

/* ---------- local ---------- */
.local { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 90vh; background: var(--espresso); }
.local__img { margin: 0; overflow: hidden; }
.local__img img { width: 100%; height: 100%; object-fit: cover; }
.local__card { padding: clamp(60px, 8vw, 120px) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.local__logo { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 24px; }
.local__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 36px 0 18px; }
.local__dl dt { font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cobre); margin-bottom: 6px; }
.local__dl dd { margin: 0; }
.local__rate { margin: 0 0 26px; font-weight: 700; }
.local__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.foot { background: var(--tomate); color: #fff; text-align: center; padding: 50px var(--pad) 100px; overflow: hidden; font-weight: 600; font-size: 14px; }
.foot__big { margin: 0 0 18px; font: 400 clamp(60px, 12vw, 200px)/.9 var(--display); color: var(--muzza); white-space: nowrap; }

.mbar { display: none; }
.js .reveal { opacity: 0; }

@media (max-width: 1000px) {
  .top__nav { display: none; }
  .ruleta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ruleta__text { max-width: 600px; }
  .wheel-wrap { width: min(440px, 86vw); }
  .local { grid-template-columns: 1fr; }
  .local__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { padding: 10px 16px; }
  .top__cta { display: none; }
  .bars { top: 70px; left: 16px; right: 16px; }
  .hero__inner { padding: 110px 16px 96px; }
  .hero__t { font-size: 19vw; }
  .hero__cta { display: none; }
  .numero, .favs, .ruleta, .local__card { padding-left: 16px; padding-right: 16px; }
  .numero__t { font-size: 15.5vw; }
  .numero__cta .btn { flex: 1 1 100%; }
  .favs__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 12px; }
  .fav--a { grid-column: 1 / -1; grid-row: span 3; }
  .fav--b { grid-column: 1 / -1; grid-row: span 2; }
  .fav--c, .fav--d { grid-column: span 1; grid-row: span 2; }
  .fav--e { grid-column: 1 / -1; grid-row: span 2; }
  .fav--c figcaption, .fav--d figcaption { left: 8px; right: 8px; bottom: 8px; padding: 10px; font-size: 13px; }
  .fav--c figcaption b, .fav--d figcaption b { font-size: 19px; }
  .result { grid-template-columns: 1fr; text-align: left; }
  .result img { aspect-ratio: 16 / 10; }
  .local__dl { grid-template-columns: 1fr; }
  .local__cta .btn { flex: 1 1 100%; }
  .foot__big { font-size: 15vw; }
  .mbar { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
  .mbar a:first-child { background: var(--tomate); color: #fff; }
  .mbar a:last-child { background: var(--muzza); color: var(--espresso); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
