/* =============================================================
   Do Santos · Pollos a la brasa — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Chatbot  8. Effects  9. Responsive  10. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg:       #110B07;
  --bg-2:     #170F0A;
  --bg-3:     #20160F;
  --bg-4:     #2B1E15;
  --cream:    #F6ECDA;
  --cream-2:  #DCCDB4;
  --cream-3:  #A08F76;
  --accent:   #E8501F;
  --accent-2: #C43B12;
  --glow:     rgba(232, 80, 31, .38);
  --gold:     #F2B544;
  --wa:       #25D366;
  --wa-2:     #1DAA53;
  --line:     rgba(246, 236, 218, .12);
  --line-2:   rgba(246, 236, 218, .22);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =============================================================
   4. Typography
   ============================================================= */
em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--gold); }
.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-3);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2);
}
.eyebrow span {
  font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0;
  color: var(--accent); font-variation-settings: "SOFT" 100;
}
.eyebrow span::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); margin-left: .75rem; vertical-align: middle; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin-top: .9rem;
}
.section-lead { color: var(--cream-2); max-width: 46ch; font-size: 1.02rem; }
.section-lead strong { color: var(--cream); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: 0 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: .96rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s var(--ease-out), border-color .25s, color .25s;
}
.btn svg { font-size: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { --h: 56px; padding: 0 1.7rem; font-size: 1.02rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px var(--glow); }
.btn-primary:hover { background: #F2602E; box-shadow: 0 16px 40px -12px var(--glow); }
.btn-wa { background: var(--wa); color: #06210f; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .55); }
.btn-wa:hover { background: #34E077; box-shadow: 0 16px 40px -12px rgba(37, 211, 102, .6); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--cream); background: rgba(246, 236, 218, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cream-2); background: rgba(246, 236, 218, .09); }
.btn-ghost svg { transition: transform .35s var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(3px); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--cream); font-size: 1.15rem;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease-out);
}
.round-btn:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.round-btn:active { transform: scale(.94); }

.tag {
  display: inline-block; padding: .28rem .7rem; border-radius: 999px;
  background: rgba(242, 181, 68, .12); color: var(--gold);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.badge {
  display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .18rem .55rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-family: var(--sans); font-size: .64rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; transform: translateY(-2px);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(circle at 30% 25%, #F5753F, var(--accent) 55%, var(--accent-2));
  color: #FFE7C2; font-size: 1.35rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 8px 24px -8px var(--glow);
}
.brand-mark.sm { width: 34px; height: 34px; font-size: 1.05rem; }
.brand-word {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.45rem;
  font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -.01em;
}
.brand-word small {
  font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); margin-top: .3rem;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: .9rem; max-width: calc(100vw - 32px);
  padding: .7rem .7rem .7rem 1.1rem; border-radius: 999px;
  background: var(--cream); color: var(--bg); font-weight: 600; font-size: .92rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .3s, transform .45s var(--ease-out);
}
.toast[hidden] { display: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast button {
  padding: .5rem .95rem; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .85rem; white-space: nowrap;
}
.toast .toast-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #06210f; font-size: .85rem; flex-shrink: 0; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---- Splash ---- */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: var(--bg);
  transition: opacity .6s var(--ease-soft), visibility .6s;
  animation: splashAuto .6s 2.2s forwards; /* red de seguridad sin JS */
}
.splash-mark {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; color: #FFE7C2;
  background: radial-gradient(circle at 30% 25%, #F5753F, var(--accent) 55%, var(--accent-2));
  box-shadow: 0 0 60px var(--glow);
  animation: flicker 1.2s ease-in-out infinite alternate;
}
.splash-word { font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-variation-settings: "SOFT" 100; }
.is-loaded .splash { opacity: 0; visibility: hidden; }
@keyframes splashAuto { to { opacity: 0; visibility: hidden; } }
@keyframes flicker { from { transform: scale(1); filter: brightness(1); } to { transform: scale(1.06); filter: brightness(1.15); } }

/* ---- Nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(17, 11, 7, .82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-links { display: none; margin-left: auto; gap: .35rem; }
.nav-links a {
  position: relative; padding: .5rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--cream-2);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--cream); background: rgba(246, 236, 218, .06); }
.nav-cta { display: none; --h: 42px; padding: 0 1.1rem; font-size: .9rem; }
.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-content: center; gap: 6px; background: rgba(17, 11, 7, .5);
}
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* Mobile menu */
.nav.is-open .nav-links {
  display: flex; flex-direction: column; position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0;
  padding: 1rem var(--gutter) 1.5rem; background: rgba(17, 11, 7, .97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); animation: menuIn .4s var(--ease-out);
}
.nav.is-open .nav-links a { font-family: var(--serif); font-size: 1.6rem; padding: .55rem 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--cream); }
.nav.is-open { background: rgba(17, 11, 7, .97); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(56px, 9vh, 96px); isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; filter: saturate(1.08) contrast(1.05); transform: scale(1.04); }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 11, 7, .6) 0%, rgba(17, 11, 7, .5) 22%, rgba(17, 11, 7, .78) 45%, rgba(17, 11, 7, .9) 75%, var(--bg) 100%);
}
.hero .kicker { color: var(--cream-2); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hero-mesh {
  position: absolute; inset: -20%; z-index: -2; pointer-events: none; opacity: .55; mix-blend-mode: screen;
  background:
    conic-gradient(from var(--mesh-angle) at 30% 70%, transparent 0deg, rgba(232, 80, 31, .45) 70deg, transparent 140deg, rgba(242, 181, 68, .3) 220deg, transparent 300deg);
  filter: blur(80px);
  animation: meshSpin 22s linear infinite;
}
@keyframes meshSpin { to { --mesh-angle: 360deg; } }
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-sparks i {
  position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
  background: #FFB067; box-shadow: 0 0 8px 2px rgba(255, 120, 40, .8);
  animation: spark linear infinite; opacity: 0;
}
@keyframes spark {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(var(--dx, 30px), -85vh) scale(.3); opacity: 0; }
}
.hero-inner { position: relative; }
.hero-meta {
  display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1.4rem;
  background: rgba(17, 11, 7, .55); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  font-size: .84rem; font-weight: 500; color: var(--cream-2);
}
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 181, 68, .6); animation: pulse 2s infinite; }
.hero-meta.is-open .dot { background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
.hero-meta.is-closed .dot { background: #E05A4F; animation: none; }
.hero-meta .sep { color: var(--cream-3); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero .kicker { margin-bottom: 1rem; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.9rem, 10.5vw, 7.4rem); line-height: .98; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .45);
}
.hero-title .line { display: block; }
.hero-sub { max-width: 52ch; margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--cream-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-actions.center { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; font-size: .88rem; color: var(--cream-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts svg { color: var(--gold); font-size: 1.1rem; }
.hero-facts a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.hero-facts a:hover { text-decoration-color: var(--gold); }

.hero-badge {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 24px);
  width: 118px; height: 118px; display: none; place-items: center;
}
.hero-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rotate 24s linear infinite; }
.hero-badge text { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 3.2px; fill: var(--cream); }
.hero-badge { transition: opacity .4s; }
.has-teaser .hero-badge, .bot-is-open .hero-badge { opacity: 0; }
.hero-badge-core { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: #FFE7C2; background: var(--accent); box-shadow: 0 0 40px var(--glow); }
@keyframes rotate { to { transform: rotate(360deg); } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); display: none;
}
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: scrollDot 1.8s var(--ease-soft) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- Marquee ---- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
  padding: 1.1rem 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; align-items: center; gap: 2rem; animation: marquee 38s linear infinite; padding-left: 2rem; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); font-variation-settings: "SOFT" 100; color: var(--cream-2); }
.marquee i { font-style: normal; color: var(--accent); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Generic section ---- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* ---- Featured carousel ---- */
.carousel-ctrl { display: none; gap: .6rem; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 1rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 2rem;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -4px; }
.feat-card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .5s var(--ease-out);
}
.feat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(242, 181, 68, .14), transparent 45%);
}
.feat-card:hover { border-color: rgba(242, 181, 68, .35); box-shadow: 0 30px 60px -30px rgba(232, 80, 31, .45); }
.feat-card:hover::after { opacity: 1; }
.feat-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-4); }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; filter: saturate(1.05); }
.feat-card:hover .feat-media img { transform: scale(1.07); filter: saturate(1.18); }
.feat-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem 1.25rem 1.3rem; flex: 1; }
.feat-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; font-variation-settings: "opsz" 72; margin-top: .2rem; }
.feat-body p { color: var(--cream-2); font-size: .92rem; line-height: 1.5; }
.feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .8rem; }
.price { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--gold); font-variation-settings: "opsz" 72; }
.add-btn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: 0 1rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .88rem;
  transition: transform .3s var(--ease-out), background-color .2s;
}
.add-btn:hover { background: #F2602E; transform: translateY(-1px); }
.add-btn.is-added, .dish-add.is-added { background: var(--wa); color: #06210f; }
.no-js .add-btn, .no-js .dish-add { display: none; }

/* ---- Carta ---- */
.carta { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.carta-grid { display: grid; gap: 2rem; }
.carta-grid > *, .story-grid > *, .order-grid > *, .location-grid > *, .footer-grid > * { min-width: 0; }
.carta-figure { position: relative; display: none; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.carta-figure img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease-out); }
.carta-figure img.is-swapping { opacity: 0; transform: scale(1.04); }
.carta-figure figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(17, 11, 7, .72); backdrop-filter: blur(8px); border: 1px solid var(--line-2);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; font-variation-settings: "SOFT" 100;
}
.tabs {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .4rem; margin-bottom: 1.6rem;
  position: sticky; top: var(--nav-h); z-index: 5; background: var(--bg-2); padding-top: .6rem;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.no-js .tabs { display: none; }
.tab {
  flex-shrink: 0; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .92rem; font-weight: 600; color: var(--cream-2); transition: all .25s var(--ease-out);
}
.tab:hover { color: var(--cream); border-color: var(--cream-3); }
.tab.is-active { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.cat-title { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin-bottom: .6rem; font-variation-settings: "opsz" 72; }
.js .cat-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cat-panel + .cat-panel { margin-top: 2.5rem; }
.js .cat-panel { display: none; margin-top: 0; }
.js .cat-panel.is-active { display: block; animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.dish {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .2rem; align-items: start;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.dish-top { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .7rem; }
.dish-top h4 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; font-variation-settings: "opsz" 48; }
.dish-leader { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.dish-price { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--gold); white-space: nowrap; }
.dish p { color: var(--cream-2); font-size: .92rem; line-height: 1.5; }
.dish-add {
  display: inline-flex; align-items: center; gap: .35rem; align-self: center; min-height: 36px; padding: 0 .85rem; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; color: var(--cream);
  transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-out);
}
.dish-add:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.dish-add.is-added { border-color: var(--wa); }
.carta-note { margin-top: 1.6rem; font-size: .84rem; color: var(--cream-3); }

/* ---- Story ---- */
.story-grid { display: grid; gap: 3rem; align-items: center; }
.story-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-figure figcaption {
  position: absolute; inset: auto 0 0 0; padding: 3rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(17, 11, 7, .9));
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; font-variation-settings: "SOFT" 100; color: var(--cream-2);
}
.story-lead { margin-top: 1.4rem; font-size: 1.08rem; color: var(--cream-2); max-width: 54ch; }
.pillars { margin-top: 2.2rem; display: grid; gap: 0; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--accent); font-variation-settings: "SOFT" 100; }
.pillar h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: .35rem; }
.pillar p { color: var(--cream-2); font-size: .95rem; }
.cremas-band {
  position: relative; margin-top: clamp(3rem, 7vw, 5rem); border-radius: var(--radius); overflow: hidden;
  min-height: 260px; display: flex; align-items: flex-end;
}
.cremas-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cremas-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17, 11, 7, .92) 0%, rgba(17, 11, 7, .55) 55%, rgba(17, 11, 7, .15) 100%); }
.cremas-copy { position: relative; z-index: 2; padding: clamp(1.5rem, 4vw, 3rem); max-width: 640px; }
.cremas-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.15; margin-top: .6rem; font-variation-settings: "opsz" 144; }

/* ---- Order ---- */
.order { background: var(--bg-2); border-block: 1px solid var(--line); }
.order-grid { display: grid; gap: 3rem; align-items: center; }
.steps { margin-top: 2rem; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(232, 80, 31, .14); color: var(--accent); font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
}
.step h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .2rem; }
.step p { color: var(--cream-2); font-size: .92rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.order-facts { display: grid; gap: 1rem; margin-top: 2rem; }
.order-facts li { display: flex; align-items: center; gap: .8rem; }
.order-facts svg { font-size: 1.4rem; color: var(--gold); }
.order-facts strong { display: block; font-size: .92rem; }
.order-facts span { font-size: .86rem; color: var(--cream-3); }
.order-figure { position: relative; border-radius: var(--radius); overflow: visible; }
.order-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.order-chip {
  position: absolute; left: 1rem; bottom: -1.2rem; display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.1rem .8rem .8rem; border-radius: 18px; background: var(--cream); color: var(--bg);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); font-weight: 700; line-height: 1.15; font-size: .95rem;
}
.order-chip svg { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--accent); color: #FFE7C2; }
.order-chip small { font-weight: 500; color: #6b5a48; font-size: .8rem; }

/* ---- Location ---- */
.location-grid { display: grid; gap: 1.4rem; }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; background: var(--bg-3); border: 1px solid var(--line); }
.map-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95) contrast(.9);
  transition: filter .5s;
}
.map-wrap:hover iframe, .map-wrap:focus-within iframe { filter: none; }
.map-pin-card {
  position: absolute; left: 1rem; top: 1rem; display: flex; align-items: center; gap: .7rem;
  padding: .55rem 1rem .55rem .55rem; border-radius: 999px; background: rgba(17, 11, 7, .88); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); line-height: 1.2; transition: transform .3s var(--ease-out);
}
.map-pin-card:hover { transform: translateY(-2px); }
.map-pin-card strong { display: block; font-size: .92rem; }
.map-pin-card small { font-size: .78rem; color: var(--cream-3); }
.info-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.4rem; }
.info-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.info-row > svg { font-size: 1.4rem; color: var(--gold); margin-top: .15rem; }
.info-row h3 { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .35rem; }
.info-row p { color: var(--cream-2); }
.info-row a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.info-row a:hover { text-decoration-color: var(--gold); }
.live-pill { padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(242, 181, 68, .14); color: var(--gold); }
.live-pill.is-open { background: rgba(37, 211, 102, .14); color: #4BE38A; }
.live-pill.is-closed { background: rgba(224, 90, 79, .14); color: #F08A80; }
.hours { display: grid; gap: .1rem; font-size: .9rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .32rem .6rem; margin-inline: -.6rem; border-radius: 8px; color: var(--cream-2); }
.hours li.is-today { background: rgba(232, 80, 31, .12); color: var(--cream); font-weight: 600; }
.info-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.info-actions .btn { flex: 1 1 200px; }

/* ---- CTA final ---- */
.cta-final { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0; text-align: center; isolation: isolate; }
.cta-mesh {
  position: absolute; inset: -30%; z-index: -1; opacity: .7;
  background: conic-gradient(from var(--mesh-angle) at 50% 50%, rgba(232, 80, 31, .5), transparent 25%, rgba(242, 181, 68, .35) 50%, transparent 75%, rgba(232, 80, 31, .5));
  filter: blur(90px); animation: meshSpin 26s linear infinite;
}
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 75%); }
.cta-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1; margin-top: 1rem; font-variation-settings: "opsz" 144, "SOFT" 40; }
.cta-sub { margin-top: 1.2rem; color: var(--cream-2); font-size: 1.08rem; }

/* ---- Footer ---- */
.footer { background: #0C0805; border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 90px) 0 2rem; padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand p { margin-top: 1rem; color: var(--cream-3); max-width: 34ch; font-size: .95rem; }
.footer h3 { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .8rem; }
.footer p { color: var(--cream-2); font-size: .95rem; }
.footer-link { display: inline-block; margin-top: .6rem; font-size: .9rem; font-weight: 600; color: var(--gold); }
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: .82rem; color: var(--cream-3); }
.footer-credits a { color: var(--cream-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; font-size: 1.75rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .35s var(--ease-bounce), opacity .3s, visibility .3s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s var(--ease-soft) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  padding: .45rem .8rem; border-radius: 10px; background: var(--cream); color: var(--bg); font-size: .82rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out);
}
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.bot-is-open .wa-float { opacity: 0; visibility: hidden; transform: scale(.6); }

/* =============================================================
   7. Chatbot (Santi)
   ============================================================= */
.bot-launcher {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #F5753F, var(--accent) 55%, var(--accent-2)); color: #FFF3E0;
  box-shadow: 0 18px 40px -12px var(--glow), 0 0 0 1px rgba(255, 255, 255, .1) inset;
  transition: transform .4s var(--ease-bounce);
}
.bot-launcher:hover { transform: scale(1.06) rotate(-4deg); }
.bot-launcher svg { position: absolute; font-size: 1.7rem; transition: transform .4s var(--ease-out), opacity .25s; }
.bot-launcher .ic-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.bot-is-open .bot-launcher .ic-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.bot-is-open .bot-launcher .ic-close { opacity: 1; transform: none; }
.bot-badge {
  position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: var(--cream); color: var(--accent-2); font-size: .74rem; font-weight: 800;
  box-shadow: 0 0 0 3px var(--bg); transform: scale(0); transition: transform .35s var(--ease-bounce);
}
.bot-badge.is-on { transform: scale(1); }
.bot-badge.bump { animation: bump .5s var(--ease-bounce); }
@keyframes bump { 40% { transform: scale(1.35); } }

.bot-teaser {
  position: fixed; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 79; max-width: 270px;
  padding: .95rem 2.2rem .95rem 1rem; border-radius: 18px 18px 4px 18px; background: var(--cream); color: var(--bg);
  font-size: .9rem; font-weight: 500; line-height: 1.4; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); cursor: pointer;
  animation: teaserIn .5s var(--ease-bounce);
}
.bot-teaser strong { display: block; font-size: .95rem; margin-bottom: .1rem; }
.bot-teaser-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #7a6a58; font-size: 1rem; }
.bot-teaser-x:hover { background: rgba(0, 0, 0, .06); }
.bot-teaser ~ .wa-float, .has-teaser .wa-float { bottom: calc(180px + env(safe-area-inset-bottom)); }
@keyframes teaserIn { from { opacity: 0; transform: translateY(12px) scale(.9); } }

.bot-panel {
  position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column;
  background: #150E09; color: var(--cream); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); transform-origin: bottom right;
  transition: opacity .3s var(--ease-soft), transform .45s var(--ease-out), visibility .3s;
}
.bot-is-open .bot-panel { opacity: 1; visibility: visible; transform: none; }
.bot-head {
  position: relative; display: flex; align-items: center; gap: .75rem; padding: .9rem .9rem .9rem 1rem;
  padding-top: max(.9rem, env(safe-area-inset-top));
  background: linear-gradient(135deg, #3A1A0C 0%, #1D120B 70%); border-bottom: 1px solid var(--line);
}
.bot-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(240px 120px at 0% 0%, rgba(232, 80, 31, .35), transparent 70%); }
.bot-avatar { position: relative; z-index: 1; }
.bot-avatar .brand-mark { width: 44px; height: 44px; }
.bot-online { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 2.5px #2A150B; }
.bot-id { position: relative; z-index: 1; flex: 1; min-width: 0; line-height: 1.25; }
.bot-id strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; font-variation-settings: "opsz" 48; }
.bot-id span { display: block; font-size: .78rem; color: var(--cream-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-id em { font-style: normal; color: #4BE38A; }
.bot-head-btn {
  position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: var(--cream-2);
  transition: background-color .2s, color .2s;
}
.bot-head-btn:hover { background: rgba(246, 236, 218, .1); color: var(--cream); }
.bot-head-btn .count {
  position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  display: none; place-items: center; background: var(--accent); color: #fff; font-size: .64rem; font-weight: 800;
}
.bot-head-btn .count.is-on { display: grid; }

.bot-log {
  flex: 1; overflow-y: auto; padding: 1.1rem 1rem .6rem; display: flex; flex-direction: column; gap: .5rem;
  scroll-behavior: smooth; overscroll-behavior: contain;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(232, 80, 31, .06), transparent 60%),
    #150E09;
}
.bot-day { align-self: center; font-size: .72rem; color: var(--cream-3); padding: .2rem .7rem; border-radius: 999px; background: rgba(246, 236, 218, .05); margin-bottom: .3rem; }
.msg { display: flex; gap: .5rem; align-items: flex-end; max-width: 100%; animation: msgIn .4s var(--ease-out); }
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; justify-content: flex-end; }
.msg-ava { width: 28px; height: 28px; flex-shrink: 0; }
.msg-ava .brand-mark { width: 28px; height: 28px; font-size: .9rem; box-shadow: none; }
.msg-ava.is-hidden { visibility: hidden; }
.bubble {
  max-width: min(78vw, 300px); padding: .65rem .9rem; border-radius: 18px; font-size: .92rem; line-height: 1.45;
  word-wrap: break-word; overflow-wrap: anywhere;
}
.msg-bot .bubble { background: #251910; border: 1px solid rgba(246, 236, 218, .07); border-bottom-left-radius: 6px; color: var(--cream); }
.msg-user .bubble { background: linear-gradient(135deg, #F0622D, var(--accent-2)); color: #fff; border-bottom-right-radius: 6px; }
.bubble strong { font-weight: 700; }
.bubble a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.bubble small { display: block; color: var(--cream-3); font-size: .78rem; margin-top: .25rem; }
.msg-time { font-size: .66rem; color: var(--cream-3); margin: 0 .3rem; white-space: nowrap; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }

.typing { display: inline-flex; gap: 4px; padding: .85rem 1rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cream-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Rich blocks inside the log */
.msg-wide { align-self: stretch; margin-left: 36px; animation: msgIn .4s var(--ease-out); }
.bot-cards { display: flex; gap: .65rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem .1rem .6rem; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.bot-card {
  flex: 0 0 186px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: #221710; border: 1px solid rgba(246, 236, 218, .08);
}
.bot-card img { width: 100%; height: 96px; object-fit: cover; }
.bot-card-body { display: flex; flex-direction: column; gap: .25rem; padding: .7rem .75rem .75rem; flex: 1; }
.bot-card h4 { font-family: var(--serif); font-weight: 600; font-size: .98rem; line-height: 1.2; letter-spacing: -.01em; }
.bot-card p { font-size: .76rem; line-height: 1.35; color: var(--cream-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bot-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: auto; padding-top: .45rem; }
.bot-card-foot b { font-family: var(--serif); color: var(--gold); font-size: 1rem; }
.bot-add {
  display: inline-flex; align-items: center; gap: .25rem; height: 32px; padding: 0 .7rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; transition: background-color .2s, transform .2s;
}
.bot-add:hover { background: #F2602E; }
.bot-add:active { transform: scale(.94); }
.bot-add.is-added { background: var(--wa); color: #06210f; }

.bot-cart { border-radius: 16px; background: #221710; border: 1px solid rgba(246, 236, 218, .08); overflow: hidden; }
.bot-cart-head { display: flex; align-items: center; justify-content: space-between; padding: .75rem .9rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.bot-cart-head span { font-weight: 500; color: var(--cream-3); font-size: .8rem; }
.bot-cart-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; padding: .65rem .9rem; border-bottom: 1px solid rgba(246, 236, 218, .06); }
.bot-cart-row .name { font-size: .86rem; font-weight: 600; line-height: 1.25; }
.bot-cart-row .sub { font-size: .78rem; color: var(--gold); font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: .1rem; border: 1px solid var(--line-2); border-radius: 999px; grid-row: span 2; }
.qty button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; font-weight: 700; color: var(--cream); }
.qty button:hover { background: rgba(246, 236, 218, .1); }
.qty span { min-width: 18px; text-align: center; font-size: .86rem; font-weight: 700; }
.bot-cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem .9rem; font-weight: 700; }
.bot-cart-total b { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); }
.bot-cart-empty { padding: 1rem .9rem; font-size: .86rem; color: var(--cream-3); }
.bot-cart-actions { display: flex; gap: .5rem; padding: 0 .9rem .9rem; }
.bot-cart-actions button, .bot-cart-actions a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; padding: 0 .8rem; border-radius: 999px;
  font-size: .86rem; font-weight: 700;
}
.bot-btn-primary { background: var(--accent); color: #fff; }
.bot-btn-primary:hover { background: #F2602E; }
.bot-btn-ghost { border: 1px solid var(--line-2); color: var(--cream); }
.bot-btn-ghost:hover { background: rgba(246, 236, 218, .08); }
.bot-btn-wa { background: var(--wa); color: #06210f; }
.bot-btn-wa:hover { background: #34E077; }
.bot-btn-wa svg { font-size: 1.15rem; }

.bot-summary dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; padding: .8rem .9rem; font-size: .84rem; border-bottom: 1px solid var(--line); }
.bot-summary dt { color: var(--cream-3); }
.bot-summary dd { font-weight: 600; overflow-wrap: anywhere; }
.bot-note { padding: 0 .9rem .8rem; font-size: .74rem; color: var(--cream-3); }

.bot-map { display: block; border-radius: 16px; overflow: hidden; background: #221710; border: 1px solid rgba(246, 236, 218, .08); }
.bot-map-top { display: flex; gap: .7rem; align-items: center; padding: .8rem .9rem; }
.bot-map-top svg { font-size: 1.4rem; color: var(--gold); }
.bot-map-top strong { display: block; font-size: .9rem; }
.bot-map-top span { font-size: .8rem; color: var(--cream-3); }

.bot-chips { display: flex; gap: .45rem; overflow-x: auto; padding: .55rem 1rem; scrollbar-width: none; border-top: 1px solid var(--line); background: #130C08; }
.bot-chips:empty { display: none; }
.bot-chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; min-height: 36px; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(232, 80, 31, .45);
  color: var(--cream); font-size: .84rem; font-weight: 600; background: rgba(232, 80, 31, .08); white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .2s;
  animation: chipIn .35s var(--ease-out) backwards;
}
.chip:hover { background: var(--accent); border-color: var(--accent); }
.chip:active { transform: scale(.96); }
.chip.chip-wa { border-color: rgba(37, 211, 102, .5); background: rgba(37, 211, 102, .1); }
.chip.chip-wa:hover { background: var(--wa); color: #06210f; }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px); } }

.bot-cartbar { padding: .55rem 1rem 0; background: #130C08; }
.bot-cartbar[hidden] { display: none; }
.bot-cartbar button {
  width: 100%; display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: 0 .6rem 0 1rem; border-radius: 14px;
  background: linear-gradient(135deg, #3A1A0C, #2A170D); border: 1px solid rgba(232, 80, 31, .35); font-size: .86rem; text-align: left;
}
.bot-cartbar button:hover { border-color: var(--accent); }
.bot-cartbar .cb-items { flex: 1; color: var(--cream-2); }
.bot-cartbar .cb-total { font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 1.02rem; }
.bot-cartbar .cb-go { padding: .45rem .8rem; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem; }

.bot-form { display: flex; gap: .5rem; align-items: center; padding: .65rem .8rem .8rem 1rem; padding-bottom: max(.8rem, env(safe-area-inset-bottom)); background: #130C08; }
.bot-form input {
  flex: 1; min-width: 0; height: 46px; padding: 0 1.05rem; border-radius: 999px; border: 1px solid var(--line-2);
  background: #1E140D; font-size: 16px; outline: none; transition: border-color .2s, background-color .2s;
}
.bot-form input::placeholder { color: var(--cream-3); }
.bot-form input:focus { border-color: var(--accent); background: #24180F; }
.bot-send {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent); color: #fff; font-size: 1.15rem; transition: transform .25s var(--ease-out), background-color .2s;
}
.bot-send:hover { background: #F2602E; transform: scale(1.05); }
.bot-foot { padding: 0 1rem .7rem; font-size: .7rem; color: var(--cream-3); text-align: center; background: #130C08; }
.bot-foot a { color: var(--cream-2); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   8. Effects — reveals
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-inner > * { opacity: 0; transform: translateY(22px); animation: heroIn 1s var(--ease-out) forwards; }
.js .hero-inner > *:nth-child(1) { animation-delay: .25s; }
.js .hero-inner > *:nth-child(2) { animation-delay: .35s; }
.js .hero-inner > *:nth-child(3) { animation-delay: .45s; }
.js .hero-inner > *:nth-child(4) { animation-delay: .6s; }
.js .hero-inner > *:nth-child(5) { animation-delay: .72s; }
.js .hero-inner > *:nth-child(6) { animation-delay: .85s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =============================================================
   9. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .bot-panel {
    inset: auto 20px calc(96px + env(safe-area-inset-bottom)) auto;
    width: 392px; height: min(660px, calc(100vh - 130px)); border-radius: 24px;
    border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .3);
  }
  .bot-head { padding-top: .9rem; }
  .bot-form { padding-bottom: .8rem; }
  .bubble { max-width: 290px; }
  .bot-is-open .wa-float { opacity: 0; }
}

@media (min-width: 720px) {
  .hero-badge { display: grid; }
  .hero-scroll { display: block; }
  .carousel-ctrl { display: flex; }
  .carousel { grid-auto-columns: 340px; }
  .order-facts { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .map-wrap { min-height: 420px; }
}

@media (min-width: 960px) {
  :root { --nav-h: 80px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero { align-items: center; }
  .hero-tint {
    background:
      linear-gradient(90deg, rgba(17, 11, 7, .94) 0%, rgba(17, 11, 7, .78) 34%, rgba(17, 11, 7, .25) 66%, rgba(17, 11, 7, .4) 100%),
      linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  }
  .hero-bg img { object-position: 70% 45%; }
  .hero-badge { width: 150px; height: 150px; top: auto; bottom: 64px; right: calc(var(--gutter) + 120px); }
  .carta-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .carta-figure { display: block; position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; }
  .tabs { margin-inline: 0; padding-inline: 0; }
  .story-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); }
  .order-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 6vw, 6rem); }
  .location-grid { grid-template-columns: 1.35fr 1fr; }
  .map-wrap { min-height: 100%; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1280px) {
  .feat-body h3 { font-size: 1.55rem; }
}

/* =============================================================
   10. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sparks, .hero-mesh, .cta-mesh { animation: none; }
  .hero-sparks { display: none; }
  .hero-badge > svg, .marquee-track { animation-duration: 90s; }
  .wa-float::before { animation: none; }
}
