/* ==========================================================
   L&T Carnicería — sistema visual
   Paleta tomada del logo: negro, atardecer naranja, oro, rojo del cartel y crema.
   ========================================================== */

:root {
  --bg: #0b0807;
  --bg-2: #110d0b;
  --surface: #171210;
  --surface-2: #1f1915;
  --surface-3: #2a211b;
  --line: rgba(255, 226, 190, 0.09);
  --line-2: rgba(255, 226, 190, 0.17);
  --text: #f7ecdc;
  --muted: #bca994;
  --dim: #85725f;
  --gold: #f4b844;
  --orange: #f0842a;
  --ember: #e2531f;
  --red: #c22b1f;
  --cream: #fbefd9;
  --ok: #4cc38a;
  --warn: #f2b84b;
  --err: #f0614f;
  --info: #66b0f2;
  --grad: linear-gradient(135deg, #f8c858 0%, #f0842a 48%, #d9431c 100%);
  --grad-soft: linear-gradient(135deg, rgba(248, 200, 88, 0.16), rgba(217, 67, 28, 0.1));
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px rgba(244, 184, 68, 0.22), 0 20px 60px -18px rgba(240, 132, 42, 0.5);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 74px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.no-scroll {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  /* grano sutil */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  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");
}
body > * {
  position: relative;
  z-index: 1;
}
::selection {
  background: rgba(244, 184, 68, 0.35);
  color: #fff;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  font-variation-settings: 'opsz' 96;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding-right: 0.08em;
}
.muted {
  color: var(--muted);
}
.dim {
  color: var(--dim);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ───────── botones ───────── */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s,
    opacity 0.2s;
  user-select: none;
  position: relative;
  isolation: isolate;
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--grad);
  color: #1b0d05;
  box-shadow:
    0 10px 30px -10px rgba(240, 132, 42, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -10px rgba(240, 132, 42, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 240, 220, 0.03);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover:not(:disabled) {
  border-color: rgba(244, 184, 68, 0.5);
  background: rgba(244, 184, 68, 0.07);
}
.btn-soft {
  background: var(--surface-3);
  border: 1px solid var(--line);
}
.btn-soft:hover:not(:disabled) {
  background: #352a22;
}
.btn-wa {
  background: #1faa59;
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(31, 170, 89, 0.8);
}
.btn-wa:hover {
  background: #22b862;
  transform: translateY(-2px);
}
.btn-danger {
  background: rgba(240, 97, 79, 0.12);
  color: #ff8b7b;
  border: 1px solid rgba(240, 97, 79, 0.3);
}
.btn-lg {
  --h: 58px;
  padding: 0 30px;
  font-size: 1.04rem;
}
.btn-sm {
  --h: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}
.btn-xs {
  --h: 30px;
  padding: 0 11px;
  font-size: 0.8rem;
}
.btn-block {
  width: 100%;
}
.btn-icon {
  width: var(--h);
  padding: 0;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ───────── campos ───────── */
.field {
  display: grid;
  gap: 7px;
}
.field > label,
.label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.input,
.select,
.textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.28);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.textarea {
  height: auto;
  min-height: 86px;
  padding: 13px 16px;
  resize: vertical;
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bca994' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.select option {
  background: #1f1915;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--dim);
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(244, 184, 68, 0.6);
  box-shadow: 0 0 0 4px rgba(244, 184, 68, 0.12);
  background: rgba(0, 0, 0, 0.4);
}
.field.has-error .input,
.input.has-error {
  border-color: var(--err);
  box-shadow: 0 0 0 4px rgba(240, 97, 79, 0.12);
}
.field-error {
  color: #ff8b7b;
  font-size: 0.82rem;
  font-weight: 600;
}
.hint {
  font-size: 0.8rem;
  color: var(--dim);
}
.input-pin {
  letter-spacing: 0.6em;
  font-weight: 800;
  font-size: 1.2rem;
  text-align: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.stepper button {
  width: 42px;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition:
    color 0.2s,
    background 0.2s;
}
.stepper button:hover {
  color: var(--gold);
  background: rgba(244, 184, 68, 0.08);
}
.stepper output,
.stepper .val {
  min-width: 64px;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}
.stepper.sm {
  height: 36px;
}
.stepper.sm button {
  width: 34px;
}
.stepper.sm .val {
  min-width: 56px;
  font-size: 0.88rem;
}

/* segmented */
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
}
.seg button {
  padding: 11px 10px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}
.seg button small {
  display: block;
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--dim);
}
.seg button.on {
  background: var(--surface-3);
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(244, 184, 68, 0.35),
    0 8px 20px -10px rgba(240, 132, 42, 0.6);
}
.seg button.on small {
  color: var(--gold);
}

/* chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 240, 220, 0.025);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.chip:hover {
  color: var(--text);
  border-color: rgba(244, 184, 68, 0.4);
}
.chip.on {
  color: #1b0d05;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(240, 132, 42, 0.8);
}
.chip .count {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* switch */
.switch {
  position: relative;
  width: 52px;
  height: 30px;
  flex: none;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 1;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  transition: background 0.25s;
}
.switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--muted);
  transition: all 0.3s var(--ease);
}
.switch input:checked + span {
  background: var(--grad);
  border-color: transparent;
}
.switch input:checked + span::after {
  transform: translateX(22px);
  background: #fff;
}
.switch input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* tarjetas / pills */
.card {
  background: linear-gradient(180deg, rgba(255, 240, 220, 0.035), rgba(255, 240, 220, 0.012)), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tone-warn {
  color: var(--warn);
  background: rgba(242, 184, 75, 0.12);
}
.tone-info {
  color: var(--info);
  background: rgba(102, 176, 242, 0.12);
}
.tone-orange {
  color: #ff9a4a;
  background: rgba(240, 132, 42, 0.14);
}
.tone-ok {
  color: var(--ok);
  background: rgba(76, 195, 138, 0.12);
}
.tone-err {
  color: var(--err);
  background: rgba(240, 97, 79, 0.12);
}
.tone-muted {
  color: var(--muted);
  background: rgba(255, 240, 220, 0.06);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(11, 8, 7, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 184, 68, 0.35);
  color: var(--gold);
}
.badge.hot {
  background: var(--grad);
  color: #1b0d05;
  border-color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* ───────── nav ───────── */
.announce {
  position: relative;
  z-index: 60;
  background: var(--grad);
  color: #1b0d05;
  text-align: center;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 16px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.3s,
    border-color 0.3s,
    height 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 8, 7, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-color: var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(240, 132, 42, 0.35));
}
.brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 9px 15px;
  border-radius: 99px;
  font-weight: 650;
  font-size: 0.93rem;
  color: var(--muted);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 240, 220, 0.05);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-links + .nav-actions {
  margin-left: 0;
}
.cart-btn {
  position: relative;
}
.cart-btn .count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--grad);
  color: #1b0d05;
  font-size: 0.74rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px var(--bg);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.cart-btn .count.show {
  transform: scale(1);
}
.cart-btn.bump {
  animation: bump 0.5s var(--ease);
}
@keyframes bump {
  30% {
    transform: scale(1.15) rotate(-6deg);
  }
  60% {
    transform: scale(0.95) rotate(3deg);
  }
}
.menu-btn {
  display: none;
}

/* ───────── hero ───────── */
.hero {
  position: relative;
  padding: 40px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% -10%;
  z-index: -2;
  background:
    radial-gradient(42% 46% at 76% 42%, rgba(240, 132, 42, 0.3), transparent 70%),
    radial-gradient(30% 34% at 88% 18%, rgba(244, 184, 68, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(194, 43, 31, 0.18), transparent 70%);
}
#embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
  min-height: min(760px, calc(100svh - var(--nav-h) - 40px));
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 10px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(255, 240, 220, 0.04);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  backdrop-filter: blur(6px);
}
.hero-tag .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1b0d05;
}
.hero-tag .dot .ic {
  width: 14px;
  height: 14px;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  margin: 24px 0 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 36ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-feats div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-feats .ic {
  color: var(--gold);
}
.stage {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(248, 200, 88, 0.0), rgba(248, 200, 88, 0.55), rgba(217, 67, 28, 0.55), rgba(248, 200, 88, 0));
  filter: blur(38px);
  opacity: 0.55;
  animation: spin 14s linear infinite;
}
.stage::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 8, 7, 0.9) 50%, transparent 72%);
}
.stage img.logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(23, 18, 16, 0.78);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1b0d05;
  flex: none;
}
.float-card b {
  display: block;
  font-size: 0.95rem;
}
.float-card small {
  color: var(--muted);
  font-weight: 600;
}
.fc-1 {
  top: 12%;
  left: -6%;
  animation-delay: -2s;
}
.fc-2 {
  bottom: 9%;
  right: -4%;
  animation-delay: -4s;
}
.fc-2 .bar {
  height: 5px;
  width: 140px;
  border-radius: 9px;
  background: var(--surface-3);
  margin-top: 7px;
  overflow: hidden;
}
.fc-2 .bar i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--grad);
  border-radius: inherit;
  animation: progress 3.2s var(--ease) infinite alternate;
}
@keyframes progress {
  from {
    width: 38%;
  }
}

/* marquee */
.marquee {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #9d1f16, var(--red) 30%, #d9431c 70%, #9d1f16);
  transform: rotate(-1.6deg);
  margin: -24px -10px 0;
  padding: 16px 0;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(194, 43, 31, 0.6);
  border-block: 1px solid rgba(255, 210, 160, 0.3);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--cream);
  white-space: nowrap;
  padding-right: 34px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
}
.marquee span::after {
  content: '✦';
  color: var(--gold);
  font-style: normal;
  font-size: 0.8em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ───────── secciones ───────── */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.sec-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.sec-head.center .eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.sec-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  margin: 16px 0 14px;
}
.sec-head p {
  color: var(--muted);
  font-size: 1.08rem;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ───────── calculadora ───────── */
.calc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 40% at 80% 40%, rgba(240, 132, 42, 0.09), transparent 70%);
}
.calc {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: start;
}
.calc-form {
  padding: 10px 30px;
}
.calc-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line-2);
}
.calc-step:last-child {
  border-bottom: 0;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  background: var(--grad-soft);
  border: 1px solid rgba(244, 184, 68, 0.3);
  color: var(--gold);
}
.calc-step h3 {
  font-size: 1.35rem;
  margin: 6px 0 16px;
}
.calc-step h3 small {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0;
  margin-left: 6px;
}
.people {
  display: grid;
  gap: 10px;
}
.person-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}
.person-row strong {
  display: block;
  font-size: 1.02rem;
}
.person-row small {
  color: var(--dim);
  font-weight: 600;
  font-size: 0.8rem;
}
.person-row .stepper .val {
  font-size: 1.15rem;
  min-width: 56px;
}
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.cut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.cut {
  position: relative;
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.22s var(--ease);
}
.cut b {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
  padding-right: 22px;
}
.cut small {
  color: var(--dim);
  font-weight: 700;
  font-size: 0.8rem;
}
.cut::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  transition: all 0.2s;
}
.cut:hover {
  border-color: rgba(244, 184, 68, 0.45);
}
.cut.on {
  border-color: rgba(244, 184, 68, 0.7);
  background: linear-gradient(135deg, rgba(244, 184, 68, 0.12), rgba(217, 67, 28, 0.08));
}
.cut.on small {
  color: var(--gold);
}
.cut.on::after {
  border-color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b0d05' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--grad);
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}
.toggle-row b {
  display: block;
}
.toggle-row small {
  color: var(--dim);
  font-weight: 600;
}
.emb-cuts {
  margin-top: 12px;
}
.calc-result {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  padding: 30px;
  overflow: hidden;
  box-shadow: var(--glow), var(--shadow);
  border-color: rgba(244, 184, 68, 0.25);
}
.calc-result::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 132, 42, 0.3), transparent 65%);
  pointer-events: none;
}
.big-kg {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 4px;
}
.big-kg span {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 5.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.big-kg small {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
}
.result-sub {
  color: var(--muted);
  font-weight: 600;
}
.result-lines {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.result-lines li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.result-lines li b {
  font-weight: 700;
}
.result-lines li .q {
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.result-lines li small {
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 600;
}
.result-lines li .p {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
}
.result-empty {
  padding: 26px 0 6px;
  color: var(--dim);
  font-weight: 600;
}
.result-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 20px 0 22px;
}
.result-total span {
  color: var(--muted);
  font-weight: 700;
}
.result-total strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  text-align: right;
}
.result-total small {
  display: block;
  color: var(--dim);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: right;
  margin-top: 6px;
}
.calc-result .actions {
  display: grid;
  gap: 10px;
}
.fine {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--dim);
  display: flex;
  gap: 8px;
}
.fine .ic {
  margin-top: 2px;
}

/* ───────── catálogo ───────── */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  margin: -2px;
}
.cats::-webkit-scrollbar {
  display: none;
}
.search {
  position: relative;
  width: min(320px, 100%);
}
.search .ic {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
}
.search .input {
  padding-left: 46px;
  border-radius: 99px;
  height: 46px;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 20px;
}
.pcard {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.3s;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 184, 68, 0.3);
  box-shadow: var(--glow), var(--shadow);
}
.pcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 60% at 50% 62%, rgba(240, 132, 42, 0.22), transparent 70%),
    linear-gradient(160deg, #2a1f19, #120d0b);
  overflow: hidden;
}
.pcard-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(23, 18, 16, 0.65));
  pointer-events: none;
}
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pcard-media .art {
  width: 78%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55));
  transition: transform 0.6s var(--ease);
}
.pcard:hover .pcard-media img,
.pcard:hover .pcard-media .art {
  transform: scale(1.06) rotate(-2deg);
}
.pcard-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pcard-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pcard-cat {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.pcard h3 {
  font-size: 1.4rem;
}
.pcard p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.price strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}
.price span {
  color: var(--dim);
  font-weight: 700;
  font-size: 0.85rem;
}
.price s {
  color: var(--dim);
  font-size: 0.88rem;
  font-weight: 600;
}
.pcard-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pcard-actions .btn {
  flex: 1;
  --h: 44px;
  padding: 0 14px;
}
.pcard.in-cart {
  border-color: rgba(244, 184, 68, 0.35);
}
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--dim);
  font-weight: 600;
}
.empty .ic {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--surface-3);
}
.skeleton {
  border-radius: 26px;
  min-height: 420px;
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.4s infinite;
  border: 1px solid var(--line);
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* ───────── cómo funciona / bento ───────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 28px 24px;
}
.step .num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.step h3 {
  font-size: 1.3rem;
  margin: 16px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.93rem;
}
.step .ic-box {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(244, 184, 68, 0.08);
  border: 1px solid rgba(244, 184, 68, 0.2);
  color: var(--gold);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.tile h3 {
  font-size: 1.5rem;
}
.tile p {
  color: var(--muted);
  font-size: 0.95rem;
}
.tile .ic-big {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1b0d05;
}
.tile .ic-big .ic {
  width: 26px;
  height: 26px;
}
.t-a {
  grid-column: span 3;
  grid-row: span 2;
  background:
    radial-gradient(70% 60% at 70% 30%, rgba(240, 132, 42, 0.28), transparent 70%),
    linear-gradient(160deg, #2a1d15, #140e0b);
}
.t-a h3 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.tile > * {
  position: relative;
  z-index: 1;
}
.t-a > p,
.t-a > h3 {
  max-width: 30ch;
}
.t-a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(20, 14, 11, 0.98) 18%, rgba(20, 14, 11, 0.6) 48%, transparent 75%);
  pointer-events: none;
}
.t-a .tile-logo {
  position: absolute;
  z-index: 0;
  top: -10%;
  right: -12%;
  width: 64%;
  opacity: 0.85;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transform: rotate(8deg);
}
.t-b,
.t-c {
  grid-column: span 3;
}
.t-d,
.t-e {
  grid-column: span 3;
}
.pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.pay-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line-2);
  font-size: 0.82rem;
  font-weight: 700;
}

/* FAQ */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.faq details[open] {
  border-color: rgba(244, 184, 68, 0.3);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ic {
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary .ic {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 26px 22px;
  color: var(--muted);
}

/* CTA final */
.cta-final {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 70px);
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(240, 132, 42, 0.35), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(194, 43, 31, 0.3), transparent 60%),
    var(--surface);
  border: 1px solid rgba(244, 184, 68, 0.25);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.cta-final h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}
.cta-final p {
  color: var(--muted);
  margin: 14px 0 28px;
  font-size: 1.08rem;
}
.contact-list {
  display: grid;
  gap: 12px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}
.contact-item .ic {
  color: var(--gold);
  margin-top: 3px;
}
.contact-item small {
  display: block;
  color: var(--dim);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-item b {
  font-weight: 700;
}

/* footer */
.footer {
  padding: 50px 0 calc(40px + var(--safe-b));
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.footer p {
  color: var(--dim);
  font-size: 0.88rem;
}
.footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.footer nav a:hover {
  color: var(--gold);
}

/* flotantes */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + var(--safe-b));
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1faa59;
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(31, 170, 89, 0.9);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float .ic {
  width: 30px;
  height: 30px;
}
.cart-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + var(--safe-b));
  z-index: 41;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 62px;
  padding: 0 10px 0 20px;
  border-radius: 20px;
  background: rgba(31, 25, 21, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(244, 184, 68, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform 0.45s var(--ease);
}
.cart-bar.show {
  transform: none;
}
.cart-bar b {
  display: block;
  font-size: 1.02rem;
}
.cart-bar small {
  color: var(--muted);
  font-weight: 600;
}

/* ───────── overlays: drawer / modal ───────── */
.layer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.layer .scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, 0.66);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s;
}
.layer.open .scrim {
  opacity: 1;
}
.drawer .panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.8);
}
.drawer.open .panel {
  transform: none;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 {
  font-size: 1.5rem;
}
.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  overscroll-behavior: contain;
}
.panel-foot {
  padding: 18px 22px calc(18px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.close-x {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s;
  flex: none;
}
.close-x:hover {
  color: var(--text);
  transform: rotate(90deg);
}
.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item .thumb {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2a1f19, #120d0b);
}
.cart-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item .thumb .art {
  width: 90%;
}
.cart-item .top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cart-item b {
  font-weight: 750;
  line-height: 1.3;
}
.cart-item .unit {
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 600;
}
.cart-item .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.cart-item .line {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cart-item .note {
  margin-top: 10px;
  height: 38px;
  font-size: 0.85rem;
  border-radius: 11px;
  padding: 0 12px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--dim);
  transition: all 0.2s;
  flex: none;
}
.icon-btn:hover {
  color: var(--err);
  background: rgba(240, 97, 79, 0.1);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 600;
}
.sum-row b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sum-row.total {
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 800;
}
.sum-row.total b {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 50px 10px;
}
.cart-empty .bubble {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(244, 184, 68, 0.25);
  color: var(--gold);
}
.cart-empty .bubble .ic {
  width: 38px;
  height: 38px;
}
.cart-empty h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cart-empty p {
  color: var(--muted);
  margin-bottom: 22px;
}

.modal {
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal .dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100svh - 48px));
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.35s var(--ease),
    transform 0.4s var(--ease);
}
.modal.open .dialog {
  opacity: 1;
  transform: none;
}
.modal .dialog.sm {
  width: min(520px, 100%);
}

/* checkout */
.co-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.co-head h3 {
  font-size: 1.45rem;
}
.co-steps {
  display: flex;
  gap: 6px;
  margin-left: auto;
  margin-right: 8px;
}
.co-steps i {
  width: 28px;
  height: 6px;
  border-radius: 6px;
  background: var(--surface-3);
  transition: all 0.4s var(--ease);
}
.co-steps i.on {
  background: var(--grad);
  width: 44px;
}
.co-body {
  flex: 1;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 0;
}
.co-main {
  overflow-y: auto;
  padding: 24px;
  overscroll-behavior: contain;
}
.co-side {
  border-left: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.co-section + .co-section,
.co-main [data-step] > * + * {
  margin-top: 26px;
}
.co-section > h4 {
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.co-stack {
  display: grid;
  gap: 14px;
}
.map-box {
  position: relative;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.map-box .map {
  position: absolute;
  inset: 0;
}
.map-box .locate-btn {
  position: absolute;
  z-index: 500;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.8);
}
.map-box .map-msg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--dim);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.loc-status {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.loc-status .ic {
  color: var(--gold);
}
.loc-status.ok {
  border-color: rgba(76, 195, 138, 0.35);
  color: var(--text);
}
.loc-status.ok .ic {
  color: var(--ok);
}
.loc-status.err {
  border-color: rgba(240, 97, 79, 0.4);
  color: #ffb0a5;
}
.loc-status.err .ic {
  color: var(--err);
}
.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: pointer;
}
.check-line input {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
}
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: all 0.2s var(--ease);
}
.pay-opt .ic-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--muted);
  flex: none;
  transition: all 0.2s;
}
.pay-opt b {
  display: block;
  font-size: 0.95rem;
}
.pay-opt small {
  color: var(--dim);
  font-weight: 600;
  font-size: 0.78rem;
}
.pay-opt.on {
  border-color: rgba(244, 184, 68, 0.7);
  background: linear-gradient(135deg, rgba(244, 184, 68, 0.1), rgba(217, 67, 28, 0.06));
}
.pay-opt.on .ic-wrap {
  background: var(--grad);
  color: #1b0d05;
}
.who-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--grad-soft);
  border: 1px solid rgba(244, 184, 68, 0.25);
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1b0d05;
  font-weight: 900;
  font-size: 1.1rem;
  flex: none;
}
.who-card b {
  display: block;
}
.who-card small {
  color: var(--muted);
  font-weight: 600;
}
.who-card button {
  margin-left: auto;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
}
.side-items {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.side-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}
.side-item span {
  color: var(--muted);
}
.side-item b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.co-side .sums {
  margin-top: auto;
}
.co-foot {
  display: flex;
  gap: 10px;
  padding: 16px 22px calc(16px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.co-foot .btn-primary {
  flex: 1;
}
.co-mobile-total {
  display: none;
}
.done {
  text-align: center;
  padding: 30px 10px;
  max-width: 520px;
  margin: 0 auto;
}
.done-check {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1b0d05;
  box-shadow: 0 0 0 10px rgba(244, 184, 68, 0.12), 0 0 0 22px rgba(244, 184, 68, 0.05);
  animation: pop 0.7s var(--ease);
}
.done-check .ic {
  width: 46px;
  height: 46px;
  stroke-width: 3;
}
@keyframes pop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
  }
}
.done h3 {
  font-size: 2.2rem;
}
.done .code {
  display: inline-block;
  margin: 14px 0;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px dashed rgba(244, 184, 68, 0.5);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.done p {
  color: var(--muted);
}
.done .actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.bank-box {
  text-align: left;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line-2);
  white-space: pre-line;
  font-size: 0.92rem;
}
.bank-box b {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.alert {
  display: flex;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(240, 97, 79, 0.1);
  border: 1px solid rgba(240, 97, 79, 0.3);
  color: #ffb0a5;
}
.alert.info {
  background: rgba(244, 184, 68, 0.08);
  border-color: rgba(244, 184, 68, 0.25);
  color: var(--cream);
}
.alert .ic {
  flex: none;
  margin-top: 2px;
}

/* pines del mapa */
.lt-pin-wrap {
  background: none;
  border: 0;
}
.lt-pin {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.lt-pin span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1b0d05;
}
.lt-shop {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.lt-shop img {
  width: 120%;
  max-width: none;
}
.leaflet-container {
  font-family: var(--font);
  background: #1f1915;
}

/* toasts */
#toasts {
  position: fixed;
  z-index: 300;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: min(440px, calc(100% - 28px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(31, 25, 21, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  font-weight: 650;
  font-size: 0.93rem;
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  transition: all 0.35s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast .ic {
  color: var(--ok);
}
.toast-err .ic {
  color: var(--err);
}
.toast-warn .ic {
  color: var(--warn);
}

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .calc {
    grid-template-columns: 1fr;
  }
  .calc-result {
    position: relative;
    top: 0;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .co-body {
    grid-template-columns: 1fr;
  }
  .co-side {
    display: none;
  }
  .co-mobile-total {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    margin-right: auto;
  }
  .co-mobile-total small {
    color: var(--dim);
    font-weight: 700;
    font-size: 0.76rem;
  }
  .co-mobile-total b {
    font-size: 1.1rem;
  }
  .co-foot .btn-primary {
    flex: none;
  }
}
@media (max-width: 860px) {
  :root {
    --nav-h: 66px;
  }
  .hero {
    padding-top: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }
  .hero-copy {
    order: 2;
  }
  .stage {
    width: min(380px, 86%);
  }
  .fc-1 {
    left: -8%;
    top: 4%;
  }
  .fc-2 {
    right: -8%;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .t-a,
  .t-b,
  .t-c,
  .t-d,
  .t-e {
    grid-column: auto;
    grid-row: auto;
  }
  .t-a {
    min-height: 340px;
  }
  .cta-final {
    grid-template-columns: 1fr;
  }
  .cart-bar {
    display: flex;
  }
  .wa-float {
    bottom: calc(90px + var(--safe-b));
    width: 54px;
    height: 54px;
  }
  .nav-actions .label-lg {
    display: none;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand small {
    display: none;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .float-card {
    padding: 9px 12px 9px 9px;
    font-size: 0.78rem;
  }
  .float-card .fc-ic {
    width: 32px;
    height: 32px;
  }
  .fc-2 .bar {
    width: 100px;
  }
  /* En el celular las tarjetas se corren a las esquinas para no tapar el logo */
  .stage {
    margin-top: 28px;
    margin-bottom: 30px;
  }
  .fc-1 {
    top: -6%;
    left: -6%;
  }
  .fc-2 {
    bottom: -11%;
    right: -6%;
  }
  .calc-form {
    padding: 4px 18px;
  }
  .calc-step {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .calc-result {
    padding: 24px 20px;
  }
  .cut-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .search {
    width: 100%;
  }
  .modal {
    padding: 0;
  }
  .modal .dialog {
    max-height: 100svh;
    height: 100svh;
    border-radius: 0;
    border: 0;
  }
  .modal .dialog.sm {
    height: auto;
    max-height: 92svh;
    border-radius: 24px 24px 0 0;
    align-self: end;
  }
  .modal:has(.dialog.sm) {
    place-items: end center;
  }
  .co-main {
    padding: 18px 16px;
  }
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .map-box {
    height: 270px;
  }
  .co-steps i {
    width: 16px;
  }
  .co-steps i.on {
    width: 30px;
  }
}

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