/* Fory — paleta sacada de los píxeles de @foryfactory_ y fory.uy */
:root {
  --g-950: #04301D;
  --g-900: #06452A;
  --g-800: #085831;
  --g-700: #15622D;
  --g-600: #158036;
  --g-500: #1C883F;
  --g-text: #20683D;
  --white: #FDFEFF;
  --polaroid: #EAEAEA;
  --cream: #F9F2DF;
  --cream-2: #F1E6C8;
  --bun: #E1C087;
  --crust: #B79257;
  --cheddar: #DBA746;
  --ember: #FF8A3D;
  --ink: #0E2618;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --r: 18px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--g-900); color: var(--white);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.script { font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--cheddar); outline-offset: 3px; border-radius: 6px; }

/* Textura "hoja de lechuga" de sus piezas, generada en SVG (sin imágenes) */
.texture {
  background-color: var(--g-700);
  background-image:
    radial-gradient(120% 80% at 20% 0%, rgba(28,136,63,.55), transparent 60%),
    url("../assets/lettuce.webp");
  background-size: auto, 384px 384px;
  background-repeat: no-repeat, repeat;
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--cream); --fg: var(--g-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 800; text-decoration: none;
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 6px 0 rgba(0,0,0,.18);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 0 rgba(0,0,0,.18); }
.btn:active { transform: translateY(3px) scale(.98); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn-cream { --bg: var(--cream); --fg: var(--g-900); }
.btn-green { --bg: var(--g-600); --fg: var(--white); }
.btn-green:hover { --bg: var(--g-500); }
.btn-outline { --bg: transparent; --fg: var(--white); border-color: rgba(253,254,255,.7); box-shadow: none; }
.btn-outline:hover { --bg: rgba(255,255,255,.1); box-shadow: none; }
.btn-outline-dark { --bg: var(--white); --fg: var(--g-900); border-color: var(--g-900); box-shadow: none; }
.btn-sm { padding: .7em 1.1em; font-size: 14px; }
.btn-block { width: 100%; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.link-btn { background: none; border: 0; padding: .4em 0; color: var(--g-text); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
.btn { position: relative; overflow: hidden; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Loader de marca ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 18px; justify-items: center;
  background: var(--g-800); animation: loader-out .45s ease .95s forwards;
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader-logo { font: 900 44px/1 var(--serif); letter-spacing: -.02em; }
.loader-stack { display: grid; gap: 4px; justify-items: center; }
.loader-stack i { display: block; height: 10px; border-radius: 6px; opacity: 0; transform: translateY(-30px); animation: drop .5s var(--ease) forwards; }
.loader-stack i:nth-child(1) { width: 64px; height: 20px; border-radius: 32px 32px 6px 6px; background: var(--bun); animation-delay: .52s; }
.loader-stack i:nth-child(2) { width: 70px; background: var(--cheddar); animation-delay: .39s; }
.loader-stack i:nth-child(3) { width: 66px; height: 12px; background: #5A3320; animation-delay: .26s; }
.loader-stack i:nth-child(4) { width: 72px; height: 6px; background: #6DB33F; animation-delay: .13s; }
.loader-stack i:nth-child(5) { width: 64px; background: var(--bun); }
@keyframes drop { to { opacity: 1; transform: none; } }

/* ---------- Cursor (solo mouse) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
  .cursor-dot { width: 8px; height: 8px; background: var(--cheddar); }
  .cursor-ring { width: 38px; height: 38px; border: 2px solid rgba(219,167,70,.7); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; }
  .cursor.is-hover .cursor-ring { width: 64px; height: 64px; background: rgba(219,167,70,.15); border-color: var(--cheddar); }
  .cursor.is-hidden { opacity: 0; }
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut); transition: background .3s, padding .3s, transform .35s var(--ease);
}
.nav.is-scrolled { background: rgba(6,69,42,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 10px; }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-word { font: 900 30px/0.9 var(--serif); letter-spacing: -.03em; }
.logo-sub { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; margin-top: 3px; padding-left: 2px; opacity: .9; }
.logo-lg .logo-word { font-size: 64px; }
.logo-lg .logo-sub { font-size: 14px; }
.nav-links { display: none; gap: 28px; font-weight: 700; font-size: 15px; }
.nav-links a { text-decoration: none; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--cheddar); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Sellos tipo estampilla (Fory Beef / Veggie / Vegan) ---------- */
.stamp {
  --s: 1; display: inline-grid; justify-items: center; line-height: .9;
  padding: calc(8px * var(--s)) calc(14px * var(--s)) calc(10px * var(--s));
  background: var(--g-600); color: var(--white);
  outline: 2px dashed rgba(255,255,255,.85); outline-offset: calc(-6px * var(--s));
  box-shadow: 0 0 0 calc(4px * var(--s)) var(--g-600), 0 10px 24px rgba(0,0,0,.25);
  transform: rotate(-8deg);
  -webkit-mask: radial-gradient(circle at 4px 4px, transparent 2.5px, #000 3px) -4px -4px / 9px 9px;
          mask: radial-gradient(circle at 4px 4px, transparent 2.5px, #000 3px) -4px -4px / 9px 9px;
}
.stamp span { font: 800 calc(14px * var(--s)) var(--serif); }
.stamp b { font: 400 calc(30px * var(--s)) var(--script); margin-top: -2px; }
.stamp-sm { --s: .8; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; overflow: hidden;
  grid-template-rows: 1fr auto; padding: 72px var(--gut) 28px;
}
.hero-stage { position: relative; min-height: 46svh; }
#hero-canvas { position: absolute; inset: -6% -10% 0; width: 120%; max-width: none; height: 106%; opacity: 0; transition: opacity .8s ease; touch-action: pan-y; }
.hero.is-3d #hero-canvas { opacity: 1; }
.hero.is-3d .hero-static { opacity: 0; scale: 1.12; }
.stamp-hero { position: absolute; right: 6%; top: 10%; --s: .9; z-index: 2; }
.hero-copy { position: relative; z-index: 3; max-width: 640px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bun); margin-bottom: 12px; }
.eyebrow-dark { color: var(--g-600); }
.eyebrow-warm { color: var(--ember); }
.hero-title { font-size: clamp(44px, 12.5vw, 104px); font-weight: 900; letter-spacing: -.03em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .script { color: var(--cheddar); font-size: 1.12em; line-height: .8; }
.lead { font-size: clamp(16px, 2vw, 19px); max-width: 34em; margin-top: 14px; opacity: .92; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.hero-badges li { padding: 7px 12px; border-radius: 999px; background: rgba(4,48,29,.55); border: 1px solid rgba(255,255,255,.14); }
.hero-badges b { color: var(--cheddar); }
.open-status.is-open::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5BE38A; margin-right: 7px; box-shadow: 0 0 0 4px rgba(91,227,138,.25); animation: pulse 1.6s infinite; vertical-align: 1px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(91,227,138,0); } }
.scroll-hint { display: none; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.05fr; grid-template-rows: 1fr; align-items: center; padding-top: 90px; }
  .hero-stage { order: 2; height: 82svh; }
  #hero-canvas { inset: -8% -12% -4% -8%; width: 120%; height: 112%; }
  .hero-copy { order: 1; }
  .hero-title { font-size: clamp(54px, 7.2vw, 112px); }
  .scroll-hint { display: block; position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; translate: -50% 0; }
  .scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: wheel 1.6s infinite; }
}
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Imagen pre-renderizada del mismo modelo 3D: se ve al instante y queda como
   versión simplificada en equipos sin GPU. El 3D en vivo la reemplaza al cargar. */
.hero-static { position: absolute; left: 50%; top: 50%; width: min(92%, 560px); height: auto; translate: -50% -50%; animation: float 5s ease-in-out infinite; transition: opacity .35s ease, scale .35s ease; }
@keyframes float { 50% { transform: translateY(-12px) rotate(1.5deg); } }

/* Burger CSS: se ve al instante (LCP) y queda de respaldo sin WebGL */
.css-burger { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0; transition: opacity .6s, transform .6s; }
.css-burger span { display: block; width: min(62vw, 340px); }
.cb-top { height: min(24vw, 130px); border-radius: 50% 50% 14% 14% / 80% 80% 20% 20%; background: radial-gradient(circle at 35% 30%, #E9A45A, #B8642A 70%); position: relative; }
.cb-top::after { content: ''; position: absolute; inset: 18% 14% 40%; background: radial-gradient(#F6EEDB 1.5px, transparent 2px) 0 0 / 18px 12px; opacity: .9; }
.cb-cheese { height: 16px; width: min(66vw, 360px) !important; background: var(--cheddar); clip-path: polygon(0 0, 100% 0, 96% 100%, 80% 40%, 62% 100%, 45% 30%, 25% 100%, 6% 40%); margin-top: -2px; }
.cb-patty { height: min(9vw, 48px); border-radius: 22px; background: linear-gradient(#5A3320, #3A2014); margin-top: -6px; }
.cb-lettuce { height: 16px; width: min(68vw, 372px) !important; background: #4EA33A; border-radius: 40%; margin-top: -4px; clip-path: polygon(0 50%, 5% 0, 12% 60%, 20% 5%, 28% 70%, 36% 0, 45% 65%, 54% 5%, 63% 70%, 72% 0, 80% 60%, 88% 5%, 95% 55%, 100% 30%, 100% 100%, 0 100%); }
.cb-bottom { height: min(10vw, 54px); border-radius: 12px 12px 40px 40px; background: linear-gradient(#F3DDB0 0 22%, #DFA35A 22%); margin-top: -2px; }

/* ---------- Damero ---------- */
.checker { height: 28px; background: repeating-conic-gradient(var(--white) 0 25%, var(--g-800) 0 50%) 0 0 / 28px 28px; }
.checker-cream { background: repeating-conic-gradient(var(--cream) 0 25%, var(--g-800) 0 50%) 0 0 / 28px 28px; }

/* ---------- Secciones ---------- */
.sec-head h2 { font-size: clamp(38px, 7vw, 72px); font-weight: 900; letter-spacing: -.025em; }
.sec-head h2 .script { color: var(--cheddar); font-size: 1.15em; }
.sec-head p:not(.eyebrow) { margin-top: 12px; max-width: 36em; font-size: 17px; opacity: .9; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin-inline: auto; }

/* ---------- Configurador ---------- */
.builder { background: var(--cream); color: var(--ink); display: grid; position: relative; }
.builder .sec-head h2 { color: var(--g-800); }
.builder .sec-head h2 .script { color: var(--g-600); }
.builder-stage {
  position: sticky; top: 0; z-index: 5; height: 44svh; min-height: 300px;
  background: radial-gradient(70% 70% at 50% 55%, #FFF8E6, var(--cream-2));
  border-bottom: 1px solid rgba(8,88,49,.12);
}
#build-canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#build-canvas:active { cursor: grabbing; }
.builder-fallback { display: none; }
.no-webgl .builder-fallback { display: block; position: absolute; inset: 0; }
.no-webgl .builder-fallback .css-burger span { width: min(46vw, 260px); }
.no-webgl .drag-hint { display: none; }
.drag-hint { position: absolute; bottom: 10px; left: 50%; translate: -50% 0; font-size: 12px; font-weight: 700; color: var(--g-text); opacity: .75; }
.builder-tag { position: absolute; top: 14px; right: 16px; }
.builder-tag .stamp { --s: .62; }
.builder-panel { padding: 28px var(--gut) 56px; display: grid; gap: 22px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font: 800 20px var(--serif); color: var(--g-800); margin-bottom: 12px; padding: 0; }
.step legend small { font: 700 13px var(--sans); color: var(--g-text); margin-left: auto; }
.step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--g-800); color: var(--white); font: 800 15px var(--sans); }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: grid; gap: 4px; height: 100%; padding: 12px 10px; border-radius: 14px; cursor: pointer;
  background: var(--white); border: 2px solid rgba(8,88,49,.14); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.opt label:hover { transform: translateY(-2px); }
.opt input:checked + label { border-color: var(--g-600); box-shadow: 0 0 0 3px rgba(21,128,54,.18); }
.opt input:focus-visible + label { outline: 3px solid var(--cheddar); outline-offset: 2px; }
.opt .swatch { width: 34px; height: 22px; border-radius: 12px 12px 4px 4px; margin-bottom: 4px; }
.opt b { font-size: 14px; line-height: 1.2; color: var(--g-900); }
.opt small { font-size: 11.5px; line-height: 1.3; color: #3A4A3F; }
.switch { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 700; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { width: 46px; height: 26px; border-radius: 99px; background: #C9CFC4; position: relative; transition: background .2s; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + .switch-ui { background: var(--g-600); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--cheddar); outline-offset: 2px; }
.top-group + .top-group { margin-top: 14px; }
.top-group h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 2px solid rgba(8,88,49,.16); font-size: 14px; font-weight: 700; color: var(--g-900);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); user-select: none;
}
.chip label i { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.chip label:active { transform: scale(.94); }
.chip input:checked + label { background: var(--g-800); color: var(--white); border-color: var(--g-800); }
.chip input:checked + label::after { content: '✓'; font-size: 12px; }
.chip input:focus-visible + label { outline: 3px solid var(--cheddar); outline-offset: 2px; }
.chip input:disabled + label { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.chip .tag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: #FBE3D6; color: #9A3412; text-decoration: none; }
.chip .tag.sug { background: var(--cream-2); color: #6B5320; }
.chip .tag.nv { background: #FCE7F3; color: #9D174D; }
.fineprint { font-size: 12px; color: #5B6B60; margin-top: 10px; }
.order-card { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 18px 50px rgba(8,88,49,.14); border: 1px solid rgba(8,88,49,.1); }
.order-card h3 { font-size: 26px; color: var(--g-800); }
.order-summary { margin: 10px 0 16px; font-size: 14.5px; color: #33473A; }
.order-summary b { color: var(--g-900); }
.order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.order-fields > label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-text); }
.order-fields .full { grid-column: 1 / -1; }
.order-fields input[type=text] { padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(8,88,49,.16); background: #FBFAF5; color: var(--ink); font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.order-fields input[type=text]:focus { border-color: var(--g-600); outline: none; }
.qty { display: inline-flex; align-items: center; justify-content: space-between; border: 2px solid rgba(8,88,49,.16); border-radius: 12px; overflow: hidden; color: var(--ink); }
.qty button { width: 42px; height: 44px; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--g-800); }
.qty output { font: 800 17px var(--sans); text-transform: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid rgba(8,88,49,.16); border-radius: 12px; overflow: hidden; }
.seg input { position: absolute; opacity: 0; }
.seg label { padding: 12px 4px; text-align: center; cursor: pointer; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 700; transition: background .2s, color .2s; }
.seg input:checked + label { background: var(--g-800); color: var(--white); }
.seg input:focus-visible + label { outline: 3px solid var(--cheddar); outline-offset: -3px; }
.order-mini { display: flex; justify-content: space-between; margin-top: 8px; }

@media (min-width: 900px) {
  .builder { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .builder-stage { height: 100svh; border: 0; }
  .builder-panel { padding: 110px var(--gut) 80px; }
}

/* ---------- Menú ---------- */
.menu { padding: 72px var(--gut) 80px; position: relative; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.chip-filter {
  padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(253,254,255,.4); background: transparent;
  font-weight: 800; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease);
}
.chip-filter:hover { transform: translateY(-2px); }
.chip-filter.is-active { background: var(--white); color: var(--g-800); border-color: var(--white); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 26px; max-width: 1200px; margin: 0 auto; }
.card {
  --rx: 0deg; --ry: 0deg; --tilt: -1.5deg;
  position: relative; background: var(--polaroid); color: var(--ink); border-radius: 6px; padding: 14px 14px 18px;
  box-shadow: 0 22px 40px rgba(0,0,0,.28); transform: perspective(1000px) rotate(var(--tilt)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s; will-change: transform;
}
.card:nth-child(even) { --tilt: 1.5deg; }
.card.is-tilting { transition: transform .08s linear; }
.card:hover { box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.card-photo { position: relative; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: radial-gradient(75% 75% at 50% 55%, #FFF8E6, #E5D9BC); transform: translateZ(30px); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card .stamp { position: absolute; top: -12px; right: -10px; --s: .78; transform: rotate(8deg) translateZ(50px); }
.card-body { transform: translateZ(20px); }
.card h3 { font-size: 30px; text-align: center; margin-top: 14px; color: var(--g-800); letter-spacing: -.01em; }
.card-desc { font-size: 13.5px; color: var(--g-text); text-align: center; margin: 8px 6px 14px; line-height: 1.45; font-weight: 500; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed rgba(8,88,49,.25); }
.price { font: 800 22px var(--serif); color: var(--g-900); }
.price small { display: block; font: 700 10px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #6E4A0E; }
.card-actions { display: flex; gap: 6px; }
.card-actions .btn { padding: .7em .95em; font-size: 13px; box-shadow: 0 4px 0 rgba(0,0,0,.14); }
.card.is-hidden { display: none; }
.price-note { text-align: center; font-size: 13px; opacity: .8; margin-top: 26px; }
.dulce { max-width: 1000px; margin: 64px auto 0; text-align: center; }
.dulce h3 { font-size: clamp(30px, 5vw, 44px); margin-top: 18px; }
.dulce > p { opacity: .9; margin-top: 6px; }
.dulce-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 22px; }
.bar { text-align: left; border-radius: 16px; padding: 18px; background: linear-gradient(145deg, #3B2216, #1E110A); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bar::before { content: ''; position: absolute; right: -20px; top: -20px; width: 110px; height: 110px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 26px, transparent 26px 30px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 26px, transparent 26px 30px); border-radius: 10px; transform: rotate(12deg); }
.bar b { font: 800 22px var(--serif); color: var(--bun); }
.bar p { font-size: 14px; opacity: .85; margin-top: 4px; }

/* ---------- Reseñas ---------- */
.reviews { background: var(--cream); color: var(--ink); padding: 72px var(--gut) 84px; display: grid; gap: 40px; }
.reviews .sec-head h2 { color: var(--g-800); }
.reviews .sec-head h2 .script { color: var(--g-600); }
.rating { text-align: center; background: var(--g-800); color: var(--white); border-radius: 28px; padding: 34px 20px; align-self: start; box-shadow: 0 24px 60px rgba(8,88,49,.25); }
.rating-num { font: 900 clamp(96px, 22vw, 150px)/0.9 var(--serif); letter-spacing: -.04em; color: var(--cheddar); }
.stars { position: relative; width: 190px; height: 34px; margin: 10px auto 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath fill='%23ffffff33' d='M19 1l5.3 11.3 12.2 1.4-9 8.4 2.4 12-10.9-6.1-10.9 6.1 2.4-12-9-8.4 12.2-1.4z'/%3E%3C/svg%3E") 0 0 / 38px 34px repeat-x; }
.stars-fill { position: absolute; inset: 0; width: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath fill='%23DBA746' d='M19 1l5.3 11.3 12.2 1.4-9 8.4 2.4 12-10.9-6.1-10.9 6.1 2.4-12-9-8.4 12.2-1.4z'/%3E%3C/svg%3E") 0 0 / 38px 34px repeat-x; }
.rating-sub { margin-bottom: 18px; font-size: 17px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 24px; }
.review { background: var(--white); border-radius: 18px; padding: 20px; border: 1px solid rgba(8,88,49,.1); box-shadow: 0 10px 30px rgba(8,88,49,.08); position: relative; }
.review .ph { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #FEF3C7; color: #92400E; padding: 3px 8px; border-radius: 6px; }
.review .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--white); background: var(--g-600); }
.review .who b { display: block; font-size: 15px; color: var(--g-900); }
.review .who small { color: #4F5E54; font-size: 12px; }
.review .st { color: var(--cheddar); letter-spacing: 2px; font-size: 15px; }
.review p { font-size: 15px; color: #2C3D31; margin-top: 6px; }
@media (min-width: 980px) { .reviews { grid-template-columns: 340px 1fr; align-items: start; gap: 56px; } .rating { position: sticky; top: 100px; } }

/* ---------- El local ---------- */
.local { position: relative; overflow: hidden; padding: 84px var(--gut); background: radial-gradient(90% 70% at 50% 110%, #7A2E0C 0%, #3A160A 45%, #170A05 100%); }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.local-inner { position: relative; max-width: 1200px; margin: 0 auto; }
.local .sec-head h2 .script { color: var(--ember); }
.local-grid { display: grid; gap: 22px; margin-top: 34px; }
.hours, .map { background: rgba(20,9,4,.55); border: 1px solid rgba(255,170,110,.2); border-radius: 22px; padding: 22px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hours h3 { font-size: 26px; margin-bottom: 12px; }
.hours ul#hours-list { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 15px; }
.hours li.is-today { color: var(--ember); font-weight: 800; }
.hours li.off span:last-child { color: #D9C2B0; }
.open-status.big { margin-top: 16px; font-weight: 800; font-size: 16px; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { padding: 7px 12px; border-radius: 999px; background: rgba(255,138,61,.14); font-size: 13px; font-weight: 700; }
.map { padding: 10px; display: grid; gap: 10px; }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: 14px; background: #2A140A; filter: saturate(.9) contrast(1.05); }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 10px 8px; font-size: 14px; }
@media (min-width: 900px) { .local-grid { grid-template-columns: 1fr 1.4fr; } .map iframe { height: 380px; } }

/* ---------- Footer ---------- */
.footer { padding: 56px var(--gut) 110px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.footer-claim { font: 800 clamp(22px, 3.4vw, 34px)/1.1 var(--serif); max-width: 16em; }
.footer-claim span { color: var(--bun); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 34px 0; padding: 22px 0; border-block: 1px solid rgba(255,255,255,.18); }
.footer-cols a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.footer-cols a:hover { color: var(--bun); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; opacity: .9; }
.made-by { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); transition: background .2s; }
.made-by:hover { background: rgba(255,255,255,.1); }
@media (min-width: 900px) { .footer { padding-bottom: 56px; } }

/* ---------- CTA fija en celular ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(253,254,255,.94); box-shadow: 0 10px 30px rgba(0,0,0,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(150%); transition: transform .4s var(--ease);
}
.mobile-cta.is-on { transform: none; }
.mobile-cta .btn { box-shadow: none; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- Intro del hero (CSS, arranca con el loader) ---------- */
.hero-title .line > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: 1.05s; }
.hero-title .line + .line > span { animation-delay: 1.15s; }
.hero-copy .eyebrow, .hero-copy .lead, .cta-row, .hero-badges { animation: fade-up .8s var(--ease) both; }
.hero-copy .eyebrow { animation-delay: 1s; }
.hero-copy .lead { animation-delay: 1.3s; }
.cta-row { animation-delay: 1.4s; }
.hero-badges { animation-delay: 1.5s; }
.stamp-hero { animation: stamp-in .9s cubic-bezier(.3,1.6,.5,1) 2.2s both; }
@keyframes rise { from { transform: translateY(45%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } }
@keyframes stamp-in { from { transform: scale(0) rotate(-40deg); } }

/* ---------- Revelado ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal { transform: perspective(1000px) translateY(50px) rotate(0deg); }
.js .card.reveal.is-in { transform: perspective(1000px) rotate(var(--tilt)) rotateX(var(--rx)) rotateY(var(--ry)); }
.js .card.reveal.is-in.is-tilting { transition: transform .08s linear; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Carrito ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(253,254,255,.7); background: rgba(4,48,29,.35); color: var(--white); cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.cart-btn:hover { background: rgba(255,255,255,.12); }
.cart-btn .ico { width: 22px; height: 22px; }
.cart-btn.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.92); } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cheddar); color: var(--g-900); font: 800 12px/20px var(--sans); text-align: center; }
.cart-count[data-zero] { display: none; }
@media (max-width: 520px) { .nav-wa { display: none; } }
.fly-dot { position: fixed; z-index: 95; width: 22px; height: 22px; border-radius: 50%; background: var(--cheddar); box-shadow: 0 4px 14px rgba(0,0,0,.3); pointer-events: none; }

.cart-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(4,30,18,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.cart-overlay.is-open { opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--cream); color: var(--ink);
  box-shadow: -20px 0 60px rgba(0,0,0,.3); transform: translateX(100%); transition: transform .4s var(--ease);
}
.cart.is-open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--g-800); color: var(--white); }
.cart-head h2 { font-size: 26px; }
.cart-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.cart-empty, .cart-done { text-align: center; padding: 40px 10px; display: grid; gap: 8px; color: #3A4A3F; }
.cart-empty-ico { font-size: 46px; }
.cart-empty-cta { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--white); border-radius: 14px; padding: 10px; border: 1px solid rgba(8,88,49,.1); }
.cart-item img, .cart-item .ci-ico { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--cream-2); display: grid; place-items: center; font-size: 30px; }
.cart-item b { display: block; font-size: 15px; color: var(--g-900); line-height: 1.2; }
.cart-item small { display: block; font-size: 12px; color: #4F5E54; line-height: 1.35; margin-top: 2px; }
.ci-price { font-weight: 800; color: var(--g-800); font-size: 14px; margin-top: 4px; }
.ci-side { display: grid; justify-items: end; gap: 6px; }
.ci-qty { display: inline-flex; align-items: center; border: 2px solid rgba(8,88,49,.16); border-radius: 10px; }
.ci-qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--g-800); }
.ci-qty span { min-width: 20px; text-align: center; font-weight: 800; }
.ci-del { border: 0; background: none; color: #8A1C1C; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.checkout { display: grid; gap: 12px; margin-top: 16px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 0; border-top: 2px dashed rgba(8,88,49,.25); }
.cart-total span { font-weight: 700; color: #3A4A3F; }
.cart-total b { font: 900 28px var(--serif); color: var(--g-900); }
.co-field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-text); }
.co-field legend { padding: 0; margin-bottom: 6px; }
.co-field input[type=text] { padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(8,88,49,.16); background: var(--white); color: var(--ink); font: 500 16px var(--sans); text-transform: none; letter-spacing: 0; }
.co-field input[type=text]:focus { border-color: var(--g-600); outline: none; }
.co-field input[aria-invalid=true] { border-color: #C2410C; }
.co-err { color: #B42318; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.cart-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 85; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: var(--g-900); color: var(--white); font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .35s var(--ease), opacity .35s; white-space: nowrap; }
.cart-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 900px) { .cart-toast { bottom: 30px; } }
body.cart-lock { overflow: hidden; }
.order-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; color: #3A4A3F; font-weight: 700; }
.order-price b { font: 900 26px var(--serif); color: var(--g-900); }
.order-price small { font-size: 11px; color: #6E4A0E; text-transform: uppercase; letter-spacing: .05em; }
.order-actions { display: grid; gap: 10px; }
.bar-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.bar-foot span { font-weight: 800; color: var(--bun); }
.bar .btn { position: relative; z-index: 1; }
