/* ============================================================
   ENRUTA DELIVERY · Estilos
   ============================================================ */

:root {
  --ink: #141a1f;
  --ink-2: #2b343b;
  --muted: #6d777f;
  --bg: #fdf8f2;
  --surface: #ffffff;
  --line: #efe5d9;
  --brand: #fdd303;
  --brand-2: #ffe14d;
  --brand-soft: #fff8cc;
  --wa: #1faa53;
  --wa-dark: #138a41;
  --dark: #101a20;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 10px 28px rgba(20, 26, 31, .07);
  --shadow-lg: 0 26px 70px rgba(20, 26, 31, .22);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid rgba(163, 128, 0, .55);
  outline-offset: 2px;
  border-radius: 8px;
}

.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* ---------------- Barra de anuncio ---------------- */
.announce {
  background: var(--dark);
  color: #f7efe7;
  font-size: clamp(11px, 2.6vw, 12.5px);
  letter-spacing: .01em;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 0;
  text-align: center;
  flex-wrap: wrap;
}
.announce b { color: #ffe14d; font-weight: 700; }
.announce-sep { opacity: .5; }
.announce-2 { opacity: .75; }

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 248, 242, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  row-gap: 6px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.brand-img {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--brand);
  border: 1px solid rgba(20, 26, 31, .1);
  box-shadow: 0 6px 16px rgba(20, 26, 31, .12);
  flex-shrink: 0;
}
.brand-img-lg {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  margin-bottom: 14px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: -.03em;
  line-height: .95;
}
.brand-text span {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7a6400;
  font-weight: 800;
  margin-top: 4px;
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within {
  border-color: #ecd257;
  box-shadow: 0 0 0 4px rgba(253, 211, 3, .18);
}
.search-icon { color: #a6aeb4; flex-shrink: 0; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 13px 0;
  outline: none;
  font-size: 14.5px;
}
.search input::placeholder { color: #a2abb1; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search-top { flex: 1; max-width: 520px; margin-inline: auto; }

.search-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 2px 2px 16px;
  font-size: 12.5px;
  color: #5c666d;
}
.search-status b { color: var(--ink); }
.search-status .link-mini { text-decoration: underline; }

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 10px);
  margin-left: auto;
  flex-shrink: 0;
  min-width: 0;
}
.btn-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f7a3c;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #cdebd8;
  background: #f0fbf4;
  transition: background .2s, transform .15s;
}
.btn-help:hover { background: #e3f7eb; transform: translateY(-1px); }
.btn.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #0f1a20;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid #e3d47a;
  background: rgba(253, 211, 3, .18);
  transition: background .2s, transform .15s;
}
.btn.btn-admin:hover { background: rgba(253, 211, 3, .36); border-color: #d9c44f; transform: translateY(-1px); }
.btn.btn-admin svg { flex-shrink: 0; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  position: relative;
  transition: transform .15s, background .2s;
}
.cart-btn:hover { transform: translateY(-1px); background: #22303a; }
.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #17140c;
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  animation: pop .3s ease;
}
@keyframes pop {
  0% { transform: scale(.6); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  transition: transform .15s, box-shadow .2s, background .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-brand {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #17140c;
  box-shadow: 0 10px 22px rgba(191, 158, 0, .32);
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 170, 83, .26);
}
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: #ecd257; }
.btn-lg { padding: 15px 24px; font-size: 15px; width: 100%; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.icon-btn:hover { background: #f7efe7; transform: rotate(90deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 52px 0 26px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 460px;
  height: 460px;
  background: rgba(253, 211, 3, .28);
  top: -160px;
  right: -80px;
}
.hero::after {
  width: 380px;
  height: 380px;
  background: rgba(52, 211, 153, .12);
  bottom: -180px;
  left: -120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  color: #49535a;
  font-size: clamp(11px, 2.8vw, 12.5px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  padding: 7px 14px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 0 rgba(31, 170, 83, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(31, 170, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 170, 83, 0); }
}
.hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 20px 0 16px;
}
.hero .hl {
  background: linear-gradient(180deg, transparent 62%, rgba(253, 211, 3, .55) 62%);
  padding-inline: 2px;
}
.lead {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 52ch;
}
.search-hero {
  margin: 26px 0 16px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 18px 40px rgba(20, 26, 31, .1);
  border-color: #efe3bd;
}
.search-hero input { padding: 15px 0; font-size: 15px; }
.search-go {
  border: 0;
  background: var(--brand);
  color: #17140c;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s;
}
.search-go:hover { background: #e8c200; }

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-chips a,
.quick-chips button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 13px;
  min-height: 34px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a555c;
  text-decoration: none;
  transition: border-color .2s, color .2s, transform .15s, background .2s;
}
.quick-chips a:hover,
.quick-chips button:hover {
  border-color: #ecd257;
  color: var(--brand);
  background: #fffdf0;
  transform: translateY(-1px);
}
.stats {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed #e6d9c9;
}
.stats li { display: flex; flex-direction: column; gap: 1px; }
.stats b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 12px; color: var(--muted); }

/* ---------------- Maqueta de chat ---------------- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 430px;
}
.phone {
  width: min(330px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  transform: rotate(-2.5deg);
  box-shadow: 0 34px 70px rgba(20, 26, 31, .18);
  position: relative;
  z-index: 1;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #3d484f;
  padding: 2px 4px 12px;
  border-bottom: 1px solid #f3eae0;
}
.phone-top .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .15);
}
.bubble {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 9px;
  max-width: 90%;
  width: fit-content;
}
.bubble.in {
  background: #f5efe8;
  border-top-left-radius: 4px;
}
.bubble.out {
  background: #d9fdd3;
  margin-left: auto;
  border-top-right-radius: 4px;
}
.bubble.small { font-size: 12px; }
.bubble-price {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  color: #0d5c33;
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(20, 26, 31, .12);
  z-index: 2;
  white-space: nowrap;
}
.float-1 { top: 34px; left: -6px; transform: rotate(-4deg); }
.float-2 { bottom: 22px; right: -4px; transform: rotate(3deg); }

/* ---------------- Catálogo ---------------- */
.catalog { padding: 26px 0 64px; scroll-margin-top: 88px; }
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid #ece1d4;
}
.catalog-head h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.catalog-head p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}
.tabs {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
  flex-wrap: wrap;
}
.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #566169;
  transition: background .2s, color .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 2px 6px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #566169;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: #ecd257; }
.chip.is-active {
  background: var(--brand-soft);
  border-color: #ecd257;
  color: #6b5500;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 26px 0 14px;
}
.section-head h3 {
  font-size: 17px;
  letter-spacing: -.01em;
}
.count {
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 600;
}

/* ---------------- Tarjetas de local ---------------- */
.grid { display: grid; gap: 18px; }
.grid.locals { grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(266px, 1fr)); }

.local-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.local-card:hover,
.local-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 26, 31, .13);
  border-color: #f0dd8c;
}
.local-cover {
  position: relative;
  height: 126px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.local-cover::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  top: -70px;
  right: -40px;
}
.local-cover::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .08);
  bottom: -55px;
  left: -25px;
}
.local-emoji {
  font-size: 58px;
  line-height: 1;
  transform: rotate(-6deg);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .18));
  position: relative;
  z-index: 1;
}
.type-pill,
.rating-pill {
  position: absolute;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.type-pill {
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, .92);
  color: #3c464d;
}
.rating-pill {
  top: 10px;
  right: 10px;
  background: rgba(16, 26, 32, .72);
  color: #fff;
}
.local-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.local-top { display: flex; align-items: center; gap: 8px; }
.local-top h3 {
  font-size: 16.5px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.open-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(31, 170, 83, .14);
}
.local-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}
.local-desc {
  font-size: 12.8px;
  color: #5c666d;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.local-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #6b4a32;
  background: #fdf6e0;
  border-radius: 6px;
  padding: 3px 7px;
  letter-spacing: .01em;
}
.local-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #eee1d3;
}
.local-min { font-size: 11.5px; color: var(--muted); }
.local-link {
  font-size: 12.5px;
  font-weight: 800;
  color: #7a6400;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.local-card:hover .local-link svg { transform: translateX(3px); }
.local-link svg { transition: transform .2s; }

/* ---------------- Resultados de productos ---------------- */
.p-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.p-card:hover { border-color: #f0dd8c; transform: translateY(-2px); }
.p-emoji {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fdf6e0;
  display: grid;
  place-items: center;
  font-size: 28px;
  flex-shrink: 0;
}
.p-main { min-width: 0; flex: 1; }
.p-main h4 {
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.p-main p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 2px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-price { font-size: 13.5px; font-weight: 800; }
.add-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #f0dd8c;
  background: var(--brand-soft);
  color: #4a3c00;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.add-btn:hover { background: #fff2a8; transform: scale(1.06); }

/* ---------------- Vacío ---------------- */
.empty {
  text-align: center;
  padding: 52px 20px;
  background: #fff;
  border: 1px dashed #e4d5c4;
  border-radius: var(--radius);
  margin-top: 20px;
}
.empty-emoji { font-size: 44px; margin-bottom: 8px; }
.empty h3 { font-size: 18px; letter-spacing: -.02em; }
.empty p { color: var(--muted); font-size: 13.5px; margin: 6px 0 18px; }

/* ---------------- Pedido especial ---------------- */
.custom-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff8cc, #fffdf5 62%);
  border: 1px dashed #e7cf62;
}
.custom-order-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  flex: 1;
}
.custom-emoji {
  font-size: 25px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  border: 1px solid #f1e4b3;
  flex-shrink: 0;
}
.custom-order h3 { font-size: 15.5px; letter-spacing: -.01em; }
.custom-order p { font-size: 12.8px; color: var(--muted); margin-top: 2px; }
.custom-order .btn { font-size: 13px; padding: 11px 18px; }

/* ---------------- Cómo funciona ---------------- */
.how {
  padding: 56px 0 64px;
  background: #101a20;
  color: #f5ede4;
  position: relative;
  overflow: hidden;
}
.how::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 211, 3, .22), transparent 65%);
  top: -240px;
  right: -140px;
  pointer-events: none;
}
.how-head { max-width: 540px; margin-bottom: 30px; }
.how-head h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -.03em;
}
.how-head p { color: #a9b4bb; margin-top: 8px; font-size: 14.5px; }
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 22px 20px 20px;
}
.step-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 12px;
  font-weight: 800;
  color: #101a20;
  background: #ffe14d;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.step-emoji { font-size: 30px; }
.steps h3 { font-size: 16px; margin: 10px 0 5px; letter-spacing: -.01em; }
.steps p { font-size: 13px; color: #a9b4bb; line-height: 1.55; }

/* ---------------- Footer ---------------- */
.footer {
  padding: 52px 0 46px;
  background: #0a1216;
  color: #cfd8dd;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}
.footer-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
  margin-top: -4px;
}
.footer-brand-name span {
  display: block;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffe14d;
  margin-top: 5px;
}
.footer h4 {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffe14d;
  margin-bottom: 8px;
}
.footer h4:not(:first-child) { margin-top: 18px; }
.footer-text {
  font-size: 13px;
  color: #9fabb2;
  margin-bottom: 14px;
  max-width: 40ch;
  line-height: 1.6;
}
.footer .small { font-size: 12px; color: #77848c; }
.footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #4a3f00;
  border-bottom: 1px dashed rgba(74, 63, 0, .4);
}
.footer-admin:hover { color: #000; border-bottom-color: #000; }
/* Acceso discreto al panel: 5 toques en el logo o en este punto */
.admin-dot {
  width: 30px;
  height: 30px;
  margin: 0 0 -8px 2px;
  padding: 0;
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.admin-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .1;
  transition: opacity .2s;
}
.admin-dot:hover::before,
.admin-dot:focus-visible::before { opacity: .45; }
.footer .btn-wa { margin-top: 4px; font-size: 13px; padding: 11px 18px; }

/* ---------------- Overlay ---------------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 22, .5);
  backdrop-filter: blur(3px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* ---------------- Drawer del carrito ---------------- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: #fff;
  z-index: 80;
  display: flex;
  flex-direction: column;
  transform: translateX(103%);
  transition: transform .3s cubic-bezier(.32, .72, .3, 1);
  box-shadow: -18px 0 50px rgba(10, 18, 22, .18);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 20px; letter-spacing: -.02em; }
.drawer-head p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 20px;
  overscroll-behavior: contain;
}

/* Pasos del pedido */
.cart-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
  flex-shrink: 0;
}
.cart-step {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #98a2a8;
  padding: 5px 4px;
  border-radius: 999px;
  text-align: center;
  line-height: 1.15;
  transition: color .2s, background .2s;
}
.cart-step b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ece5db;
  color: #8b949a;
  font-size: 10px;
  flex-shrink: 0;
}
.cart-step.is-active { color: #3f4a51; background: var(--brand-soft); }
.cart-step.is-active b { background: var(--brand); color: #17140c; }
.cart-step.is-done b { background: #d8f3e1; color: #0f7a3c; }

.cart-review { display: grid; gap: 10px; }
.cart-review h3 { font-size: 15px; letter-spacing: -.01em; }
.cart-review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  font-size: 12.5px;
  color: #4c565d;
}
.cart-review-card b { color: var(--ink); }
.cart-review-card .row { display: flex; gap: 8px; justify-content: space-between; }
.cart-review-card .row span:last-child { text-align: right; font-weight: 600; }
.cart-review-note { font-size: 11.5px; color: #7a6a5c; }
.cart-back { display: inline-block; margin-top: 10px; text-decoration: underline; }
.drawer-foot [hidden] { display: none !important; }

.ci {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #eee1d3;
}
.ci-emoji {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fdf6e0;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ci-main { flex: 1; min-width: 0; }
.ci-name { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.ci-local { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ci-price { font-size: 12.5px; color: #59636b; margin-top: 5px; }
.ci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  flex-shrink: 0;
}
.ci-total { font-size: 13px; font-weight: 800; }
.ci-del {
  border: 0;
  background: none;
  color: #b0b8bd;
  padding: 0;
  line-height: 1;
}
.ci-del:hover { color: #dc2626; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: #fff;
}
.stepper button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f7f1ea;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background .2s;
}
.stepper button:hover { background: #fff2a8; color: #6b5500; }
.stepper span {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.stepper.sm button { width: 28px; height: 28px; }
.stepper.sm span { font-size: 12.5px; }

.free-ship { margin: 16px 0 6px; }
.free-ship p { font-size: 11.8px; color: #8a6a52; font-weight: 600; }
.free-ship .bar {
  height: 6px;
  border-radius: 99px;
  background: #f3e7da;
  margin-top: 7px;
  overflow: hidden;
}
.free-ship .bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transition: width .3s;
}

.order-form { margin-top: 8px; }
.order-form legend {
  font-size: 13px;
  font-weight: 800;
  padding: 0;
  margin-bottom: 8px;
}
fieldset.mode {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mode-opt { position: relative; }
.mode-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mode-opt span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  color: #5a646b;
  transition: border-color .2s, background .2s, color .2s;
}
.mode-opt input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: #5c4a00;
}
.mode-opt input:focus-visible + span {
  outline: 3px solid rgba(255, 90, 31, .4);
  outline-offset: 2px;
}
.field { margin-bottom: 11px; }
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #3f4a51;
}
.field .opt { font-weight: 500; color: #9aa4aa; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13px;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 52px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #e8c94b;
  box-shadow: 0 0 0 4px rgba(253, 211, 3, .16);
}
.field input.invalid { border-color: #ef4444; background: #fff7f7; }
.err {
  display: none;
  font-size: 11.5px;
  color: #dc2626;
  margin-top: 4px;
  font-weight: 600;
}
.err.show { display: block; }
.link-danger {
  border: 0;
  background: none;
  color: #a6b0b6;
  font-size: 12px;
  text-decoration: underline;
  padding: 4px 0;
  margin-top: 2px;
}
.link-danger:hover { color: #dc2626; }

.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty h3 { font-size: 17px; }
.cart-empty p { color: var(--muted); font-size: 13px; margin: 6px 0 18px; }

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 12px 20px 16px;
  background: #fffdfb;
  flex-shrink: 0;
}
.totals { margin-bottom: 12px; }
.trow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.8px;
  color: #5f6970;
  padding: 3px 0;
}
.trow b { color: var(--ink); font-weight: 700; }
.trow.total {
  border-top: 1px dashed #e9dccd;
  margin-top: 6px;
  padding-top: 9px;
  font-size: 14px;
  color: var(--ink);
}
.trow.total b { font-size: 20px; letter-spacing: -.02em; }
.mini {
  font-size: 10.8px;
  color: #98a2a8;
  text-align: center;
  margin-top: 8px;
  line-height: 1.45;
}

/* ---------------- Modal de local ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  max-height: min(90dvh, 900px);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.99);
  transition: transform .25s;
}
.modal.open .modal-card { transform: none; }
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 9px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  z-index: 5;
}
.modal-top-title {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-close {
  position: static;
  flex-shrink: 0;
  background: #f7f1e9;
}
.modal-close:hover { transform: rotate(90deg); }
.modal-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-cover {
  height: 148px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.modal-cover::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  top: -130px;
  right: -60px;
}
.modal-emoji {
  font-size: 66px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .2));
}
.modal-body { padding: 20px 24px 26px; }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.modal-head h2 {
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-top: 6px;
}
.modal-head .btn { font-size: 12.5px; padding: 9px 14px; }
.modal-desc { font-size: 13.5px; color: #5c666d; margin-top: 10px; max-width: 62ch; }
.modal-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.modal-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.8px;
  font-weight: 700;
  color: #4c565d;
  background: #fdf5ed;
  border: 1px solid #f2e4d5;
  padding: 6px 10px;
  border-radius: 999px;
}
.modal-note {
  margin-top: 14px;
  font-size: 12px;
  color: #7a6a5c;
  background: #fff9f3;
  border: 1px dashed #f0dcc8;
  border-radius: 12px;
  padding: 10px 12px;
}
.modal-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin: 22px 0 4px;
}
.menu { margin-top: 4px; }
.menu-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px dashed #eee1d3;
}
.menu-row:last-child { border-bottom: 0; }
.menu-emoji {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #fdf6e0;
  display: grid;
  place-items: center;
  font-size: 25px;
  flex-shrink: 0;
}
.menu-main { flex: 1; min-width: 0; }
.menu-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.tag-sm { font-size: 9.5px; padding: 2px 6px; }
.menu-main p {
  font-size: 11.8px;
  color: var(--muted);
  margin: 3px 0 4px;
  line-height: 1.4;
}
.menu-main strong { font-size: 13.5px; }
.modal-bar {
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  background: #fffdfb;
  flex-shrink: 0;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.modal-bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-bar-in > span { font-size: 12.5px; color: #5c666d; min-width: 0; }
.modal-bar-in b { color: var(--ink); }
.modal-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.modal-bar-actions .btn { padding: 9px 14px; font-size: 12.5px; }
.modal-bar-actions [hidden] { display: none !important; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 25px);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(10, 18, 22, .3);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .search-top { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { min-height: 360px; order: 2; }
  .phone { transform: rotate(-1.5deg); }
  .float-1 { left: 4%; }
  .float-2 { right: 4%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; gap: 10px; }
  .brand-text { font-size: 17px; }
  .brand-img { width: 38px; height: 38px; border-radius: 11px; }
  .btn-help span { display: none; }
  .btn-help { padding: 11px; }
  .btn-admin span { display: none; }
  .btn-admin { padding: 11px; }
  .cart-label { display: none; }
  .cart-btn { padding: 11px 13px; }
  .hero { padding: 34px 0 16px; }
  .hero h1 { margin-top: 16px; }
  .hero-art { display: none; }
  .search-hero { padding-left: 14px; }
  .search-hero input { font-size: 14px; padding: 13px 0; }
  .search-go { padding: 10px 14px; font-size: 12.5px; }
  .stats { gap: 18px; }
  .stats b { font-size: 16px; }
  .catalog { padding: 18px 0 46px; }
  .catalog-head { align-items: flex-start; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 9px 8px; }
  .grid.locals { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
  .local-cover { height: 112px; }
  .how { padding: 42px 0 46px; }
  .footer { padding: 40px 0 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .drawer { width: 100%; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-card {
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
  }
  .modal-top { padding-top: max(9px, env(safe-area-inset-top)); }
  .modal-cover { height: 112px; }
  .modal-body { padding: 16px 18px 20px; }
  .modal-head .btn { width: 100%; }
  .modal-bar-in { align-items: center; }
  .modal-bar-actions { width: 100%; }
  .modal-bar-actions .btn { flex: 1; justify-content: center; }
  .toast { bottom: 18px; }
}

@media (max-width: 420px) {
  .grid.locals { grid-template-columns: 1fr; }
  .quick-chips button { font-size: 11.5px; padding: 6px 10px; }
  .announce-2, .announce-sep { display: none; }
  .modal-bar-in { flex-direction: column; align-items: stretch; }
  .modal-bar-in .btn { width: 100%; }
}

@media (max-width: 380px) {
  .btn-help { display: none; }
  .brand-text { font-size: 15.5px; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   AMPLIACIÓN · Locales data-driven, catálogos y pedido
   ============================================================ */

/* ---------------- Navegación ---------------- */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #4c565d;
}
.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.section-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8a6a00;
  margin-bottom: 5px;
}

.catalog, .how, .about, .contact { scroll-margin-top: 88px; }

/* ---------------- Aviso de datos de ejemplo ---------------- */
.demo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff8cc;
  border: 1px solid #f0dd8c;
  border-radius: 14px;
  padding: 11px 14px;
  margin: 14px 0 20px;
}
.demo-banner p {
  font-size: 12.3px;
  color: #6b5500;
  margin: 0;
  max-width: 95ch;
}
.demo-badge {
  display: inline-block;
  background: var(--dark);
  color: #ffe14d;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.demo-float {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

/* ---------------- Tarjetas de local (nuevo diseño) ---------------- */
.local-card { position: relative; }
.local-cover.has-img { background: #1a2329; }
.local-cover.has-img::before { display: none; }
.local-cover.has-img::after {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(10, 16, 20, .28), rgba(10, 16, 20, 0) 58%);
}
.local-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.local-cover .local-emoji { position: relative; z-index: 1; }

.local-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.local-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #fdf6e0;
  border: 1px solid #f0e3d2;
}
.local-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-fallback { font-size: 22px; line-height: 1; }
.local-brand-text { min-width: 0; }
.local-brand-text h3 {
  font-size: 16px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.local-rubro {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #9a7a00;
  margin-top: 2px;
}
.avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}
.avail .open-dot { width: 7px; height: 7px; }
.avail.off { color: #a33b3b; }
.avail.off .open-dot {
  background: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .13);
}
.local-card .local-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}
.local-card .local-min { max-width: 62%; }

/* ---------------- Catálogos de productos ---------------- */
.catalog-alt {
  background: linear-gradient(180deg, #fffdf8, #fdf8f2);
  border-block: 1px solid var(--line);
}
.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
}
/* Encabezados y botones "Ver más" dentro del grid de catálogo */
.cat-band {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 2px -4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cat-band h4 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink);
}
.cat-band span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.cat-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 2px 0 8px;
}
.cat-more .btn { padding: 9px 18px; font-size: 12.5px; }
.c-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.c-card:hover {
  transform: translateY(-3px);
  border-color: #f0dd8c;
  box-shadow: 0 16px 34px rgba(20, 26, 31, .11);
}
.c-img {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #fff;
  border-bottom: 1px solid #f5eee5;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
}
.c-img-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s;
}
.c-card:hover .c-img-el { transform: scale(1.035); }
.img-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #fdf6e0;
  color: #d4b400;
  font-size: 44px;
  font-weight: 800;
}
.c-state {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(16, 26, 32, .82);
  color: #ffe14d;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 999px;
}
.c-body {
  padding: 13px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.c-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a6a00;
}
.c-body h4 {
  font-size: 14.5px;
  letter-spacing: -.015em;
  line-height: 1.28;
  margin: 4px 0 2px;
}
.c-pres { font-size: 12px; color: var(--muted); }
.c-ref {
  font-size: 10.8px;
  color: #8b949a;
  margin-top: 7px;
  line-height: 1.35;
}
.c-ref a {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
.c-ref a:hover { color: #5f6a70; }
.c-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  margin-top: auto;
}
.c-price small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9aa4aa;
}
.c-price b {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.btn-add {
  border: 1px solid #ead98a;
  background: var(--brand-soft);
  color: #5c4b00;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-add:hover { background: #fff2a8; transform: translateY(-1px); }
.catalog-note {
  font-size: 11.5px;
  color: #8b949a;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 92ch;
}
.no-stock {
  font-size: 11px;
  font-weight: 800;
  color: #a33b3b;
  white-space: nowrap;
}

/* ---------------- Modal de local (nuevo) ---------------- */
.modal-cover.has-img { background: #1a2329; }
.modal-cover.has-img::after {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(10, 16, 20, .25), rgba(10, 16, 20, 0) 60%);
}
.modal-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-cover .modal-emoji { position: relative; z-index: 1; }
.modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.modal-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #fdf6e0;
  border: 1px solid #f0e3d2;
}
.modal-logo img { width: 100%; height: 100%; object-fit: cover; }
.modal-logo.logo-fallback { font-size: 26px; }
.type-pill-static {
  position: static;
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 7px;
}
.modal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.modal-menu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 4px;
}
.modal-menu-head h3 { font-size: 15px; letter-spacing: -.01em; }
.modal-warn {
  background: #fff2f2;
  border-color: #f0caca;
  color: #9b2c2c;
}
.menu-emoji { overflow: hidden; }
.menu-emoji img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.menu-row .stepper { align-self: center; }
.carta-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.3px;
  font-weight: 800;
  color: #7a6400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.carta-block {
  margin-top: 10px;
  font-size: 13px;
  color: #5c666d;
}
.carta-block > a { display: block; margin-top: 10px; }
.carta-block img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.carta-empty {
  text-align: center;
  background: #fffdf8;
  border: 1px dashed #e8d8c4;
  border-radius: 16px;
  padding: 26px 16px;
}
.carta-empty h4 { font-size: 16px; margin-top: 4px; }
.carta-empty p { margin: 6px auto 14px; max-width: 46ch; line-height: 1.5; }

/* ---------------- Carrito agrupado ---------------- */
.cart-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}
.cart-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: #fdf6e0;
  border-bottom: 1px solid var(--line);
}
.cart-group-head h3 {
  font-size: 13px;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.cg-kind {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: var(--dark);
  color: #ffe14d;
  padding: 3px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.cart-group .ci { padding: 11px 12px; }
.cart-group .ci:last-of-type { border-bottom: 0; }
.cart-group-foot {
  padding: 9px 12px 11px;
  border-top: 1px dashed #eee1d3;
  background: #fffdfb;
  font-size: 11.5px;
}
.cart-group-pack,
.cart-group-sub {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: space-between;
}
.cart-group-pack span {
  flex: 1;
  color: #8b949a;
  text-align: right;
}
.cart-group-pack b,
.cart-group-sub b { font-weight: 800; white-space: nowrap; }
.cart-group-sub { margin-top: 3px; color: #5c666d; }
.ci-emoji { overflow: hidden; }
.ci-emoji img { width: 100%; height: 100%; object-fit: contain; }
.trow.quote {
  margin-top: 9px;
  padding: 8px 10px;
  background: var(--brand-soft);
  border: 1px solid #f0e2a0;
  border-radius: 10px;
}
.trow.quote b { color: #7a6400; }

/* ---------------- Nota de delivery y formulario ---------------- */
.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #fff8cc;
  border: 1px dashed #e6d274;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 6px 0 4px;
  font-size: 11.4px;
  color: #6b5500;
  line-height: 1.45;
}
.delivery-note span { font-size: 17px; line-height: 1.2; }
.delivery-note p { margin: 0; }
.form-title {
  font-size: 14.5px;
  letter-spacing: -.01em;
  margin: 4px 0 10px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field-row .field { margin-bottom: 11px; }
fieldset.when {
  border: 0;
  padding: 0;
  margin: 0 0 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
fieldset.when legend {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 800;
  padding: 0;
  margin-bottom: 8px;
}
fieldset.when .field {
  grid-column: 1 / -1;
  margin: 2px 0 0;
}
.field select.invalid,
.field textarea.invalid { border-color: #ef4444; background: #fff7f7; }

/* ---------------- Sobre nosotros ---------------- */
.about {
  padding: 64px 0;
  background: #fffdf8;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: start;
}
.about-copy h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin-top: 4px;
}
.about-copy > p {
  font-size: 14.5px;
  color: #5c666d;
  margin-top: 12px;
  max-width: 62ch;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.about-list li > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  border: 1px solid #f0e2a0;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.about-list h3 { font-size: 14.5px; letter-spacing: -.01em; }
.about-list p {
  font-size: 12.8px;
  color: #6d777f;
  line-height: 1.55;
  margin-top: 2px;
  max-width: 58ch;
}
.about-card {
  background: var(--dark);
  color: #f4ede5;
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.about-card h3 {
  font-size: 20px;
  letter-spacing: -.02em;
  color: #fff;
}
.about-card > p {
  font-size: 13px;
  color: #b9c2c8;
  margin: 8px 0 16px;
  line-height: 1.55;
}
.about-card .btn-wa { width: 100%; }
.contact-list {
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.contact-list div { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; }
.contact-list dt {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8f9aa1;
}
.contact-list dd {
  margin: 3px 0 0;
  font-size: 13px;
  color: #f4ede5;
}
.contact-list a:hover { color: #ffe14d; }
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.socials a {
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 7px 11px;
  transition: border-color .2s, background .2s;
}
.socials a:hover { border-color: #ffe14d; background: rgba(253, 211, 3, .1); }
.socials span { color: #ffe14d; }
.about-note {
  font-size: 10.8px;
  color: #8f9aa1;
  line-height: 1.5;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .14);
}

/* ---------------- Contacto ---------------- */
.contact {
  padding: 40px 0 56px;
  background: var(--brand);
  border-top: 1px solid #e8c400;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.contact h2 {
  font-size: clamp(24px, 3vw, 31px);
  letter-spacing: -.03em;
  margin-top: 3px;
}
.contact p {
  font-size: 13.5px;
  color: #4f4300;
  margin-top: 6px;
  max-width: 58ch;
}
.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact .btn-ghost {
  background: rgba(255, 255, 255, .6);
  border-color: rgba(20, 26, 31, .18);
}
.contact .btn-ghost:hover { background: #fff; }

/* ---------------- Estado de zona ---------------- */
#zoneStatus.is-open { color: #9ff0b9; font-weight: 700; }
#zoneStatus.is-closed { color: #ffd9a8; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .nav { gap: 12px; font-size: 12.3px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-card { max-width: 640px; }
}
@media (max-width: 720px) {
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  .c-body { padding: 11px 12px 13px; }
  .c-body h4 { font-size: 13.5px; }
  .c-price b { font-size: 16px; }
  .btn-add { padding: 7px 10px; font-size: 11.5px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-inner { align-items: flex-start; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1; justify-content: center; text-align: center; }
  .about { padding: 46px 0; }
  .about-card { padding: 22px; }
  .local-card .local-min { max-width: 100%; }
  .local-foot { flex-direction: column; align-items: flex-start; gap: 5px; }
  .cart-group-pack span { display: none; }
}
@media (max-width: 420px) {
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .c-ref { font-size: 9.5px; }
  .c-foot { flex-direction: column; align-items: flex-start; gap: 7px; }
  .c-price b { font-size: 15px; }
  .hero-art { display: none; }
}

/* ---------------- Variantes y extras en la carta ---------------- */
.menu-row-opts { align-items: flex-start; }
.menu-row-opts .menu-main { min-width: 0; }
.menu-opts {
  margin-top: 9px;
  padding: 10px 11px;
  border: 1px solid #f0e4c0;
  background: #fffdf3;
  border-radius: 12px;
  display: grid;
  gap: 8px;
}
.opt-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #4c565d;
}
.opt-line > span { flex-shrink: 0; }
.opt-line select {
  flex: 1;
  min-width: 0;
  border: 1px solid #e6dcc8;
  border-radius: 9px;
  background: #fff;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 600;
}
.opt-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.opt-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #ece2d2;
  background: #fff;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  color: #4c565d;
  cursor: pointer;
}
.opt-check input { accent-color: #b89600; width: 14px; height: 14px; }
.opt-check b { font-size: 10.5px; color: #7a6400; white-space: nowrap; }
.menu-opts-foot { display: flex; justify-content: flex-end; }
.menu-opts .btn-add { display: inline-flex; align-items: center; gap: 5px; }
.menu-opts .btn-add b { font-size: 11.5px; font-weight: 800; color: #5c4a00; }
.ci-opt {
  font-size: 11px;
  color: #8a6400;
  margin-top: 3px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#sendOrder:disabled { opacity: .65; cursor: wait; transform: none; }

/* ---------------- Libreta de direcciones ---------------- */
.addr-book {
  border: 1px solid #eee2d2;
  background: #fffaf3;
  border-radius: 13px;
  padding: 10px 11px;
  margin: 0 0 13px;
}
.addr-book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #3f4a51;
}
.addr-book select {
  width: 100%;
  border: 1px solid #e7dccd;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  font-size: 12.5px;
}
.addr-book-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 10.5px;
  color: #8d969c;
  line-height: 1.4;
}
.link-mini {
  border: 0;
  background: none;
  color: #8a6a00;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
}
.link-mini:hover { color: #5c4a00; }
.link-inline { margin: 0; font-size: 10.5px; }
.save-data {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: #5c666d;
  line-height: 1.4;
  margin: 2px 0 8px;
  cursor: pointer;
}
.save-data input { margin-top: 2px; accent-color: #b89600; }
.privacy-note {
  font-size: 10.6px;
  line-height: 1.55;
  color: #8d969c;
  margin: 0 0 10px;
}
.privacy-note a { color: #7a6400; font-weight: 700; text-decoration: underline; }
.privacy-note .link-mini { font-size: 10.6px; margin-left: 2px; }

/* ---------------- Página de privacidad ---------------- */
.legal { padding: 42px 0 64px; }
.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.legal-card h1 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -.035em;
  line-height: 1.1;
}
.legal-card .legal-meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.legal-card h2 {
  font-size: 18px;
  letter-spacing: -.015em;
  margin: 30px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal-card p,
.legal-card li {
  font-size: 13.6px;
  color: #4f5a61;
  line-height: 1.7;
}
.legal-card p { margin-top: 8px; }
.legal-card ul { margin: 8px 0 0; padding-left: 20px; }
.legal-card li { margin-top: 5px; }
.legal-card strong { color: var(--ink); }
.legal-card a { color: #7a6400; font-weight: 700; text-decoration: underline; }
.legal-card .legal-box {
  margin-top: 18px;
  border: 1px dashed #e6d8b8;
  background: #fffaf0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: #6b5a2a;
  line-height: 1.6;
}
.legal-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.legal-actions-inline { margin: 14px 0 4px; }

@media (max-width: 720px) {
  .menu-opts { padding: 9px; }
  .menu-opts .btn-add { width: 100%; justify-content: center; }
  .addr-book-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .addr-book-foot { align-items: flex-start; flex-direction: column; }
  .legal { padding-top: 26px; }
  .legal-card { border-radius: 16px; }
}

/* ---------------- Ajustes finos para movil ---------------- */
@media (max-width: 720px) {
  /* Evita que iOS haga zoom automatico al enfocar un campo */
  .search input,
  .search-hero input,
  .field input,
  .field select,
  .field textarea,
  .opt-line select,
  .addr-book select {
    font-size: 16px;
  }

  /* Objetivos tactiles de al menos 40px */
  .chip,
  .quick-chips a,
  .quick-chips button,
  .tab {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-add { min-height: 38px; }
  .stepper button { width: 36px; height: 36px; }
  .stepper.sm button { width: 34px; height: 34px; }
  .icon-btn { width: 44px; height: 44px; }
  .footer-text a,
  .footer-admin {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
  }
  .footer-admin { min-height: 40px; }
  .about dl a { display: inline-flex; align-items: center; min-height: 34px; }

  /* Respeta el notch y la barra inferior del telefono */
  .drawer-head { padding-top: max(20px, env(safe-area-inset-top)); }
  .drawer-foot { padding-bottom: max(18px, env(safe-area-inset-bottom)); }

  /* Menos sombras y filtros costosos en pantallas pequenas */
  .local-card,
  .c-card { box-shadow: 0 6px 18px rgba(20, 26, 31, .07); }
  .overlay { backdrop-filter: none; }
}

@media (max-width: 380px) {
  .catalog-grid { gap: 10px; }
  .c-body { padding: 10px 10px 12px; }
  .c-body h4 { font-size: 12.8px; }
  .local-card .local-name { font-size: 15px; }
  .wrap { width: calc(100% - 24px); }
}
/* ---------------- Aviso de cookies y publicidad ---------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 14px;
  background: rgba(16, 26, 32, .55);
  backdrop-filter: blur(4px);
  animation: cookieIn .25s ease both;
}
.cookie-banner.is-closing { animation: cookieOut .25s ease both; }
.cookie-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.cookie-text { flex: 1 1 420px; min-width: 260px; }
.cookie-text strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.cookie-text p { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.cookie-more {
  display: inline-block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #7a5f00;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cookie-actions .btn { min-height: 42px; padding-inline: 16px; font-size: 13.5px; }
.cookie-actions .link-mini { min-height: 42px; }
.cookie-config {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.cookie-config label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cookie-config input { width: 18px; height: 18px; accent-color: #b58f00; }
.cookie-config .btn { margin-left: auto; }

@keyframes cookieIn { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cookieOut { from { transform: none; opacity: 1; } to { transform: translateY(18px); opacity: 0; } }

/* ---------------- Espacios publicitarios ---------------- */
.ad-wrap {
  width: min(1180px, 100% - 40px);
  margin: 26px auto;
  text-align: center;
}
.ad-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ad-wrap ins.adsbygoogle {
  display: block;
  min-height: 90px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

@media (max-width: 720px) {
  .cookie-banner { padding: 8px; }
  .cookie-inner { padding: 14px; border-radius: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 0; }
  .cookie-config .btn { width: 100%; margin-left: 0; }
  .ad-wrap { width: calc(100% - 24px); margin: 18px auto; }
}

/* ============================================================
   SERVICIOS: RECOJO/ENVÍO Y TAXIMOTO
   ============================================================ */
.servicio {
  padding: 46px 0;
  background: #fffdf6;
  border-top: 1px solid #ece1d4;
  scroll-margin-top: 88px;
}
.servicio .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 22px;
}
.servicio .section-head h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.servicio .section-head p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
  max-width: 62ch;
}
.servicio-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}
.servicio-info h3 { font-size: 18px; margin-bottom: 10px; }
.servicio-steps {
  list-style: none;
  counter-reset: paso;
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
}
.servicio-steps li {
  position: relative;
  padding-left: 38px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}
.servicio-steps li::before {
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #2b2500;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.servicio-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}
.servicio-form {
  background: #fff;
  border: 1px solid #ece1d4;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(60, 40, 0, .06);
}
.servicio-form > h3 { font-size: 18px; margin-bottom: 14px; }
.servicio-form .field { margin-bottom: 12px; }
.servicio-form .when { margin: 6px 0 14px; }
.servicio-form .btn-block { width: 100%; }
.form-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin: 0 0 12px;
}
@media (max-width: 860px) {
  .servicio { padding: 32px 0; }
  .servicio-grid { grid-template-columns: 1fr; gap: 20px; }
  .servicio-form { padding: 18px; }
}
.servicio-alt { background: #f6fbff; }
.servicio-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
}
.servicio-presets .chip { font-size: 12px; padding: 5px 10px; }

/* ============================================================
   SERVICIOS DESTACADOS + BOTTOM SHEET
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 20px;
  scroll-margin-top: 88px;
}
.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  min-height: 340px;
  padding: 24px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  background: #17181d;
  box-shadow: 0 18px 40px rgba(20, 26, 31, .18), inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .22s, box-shadow .22s;
  -webkit-tap-highlight-color: transparent;
}
.service-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.03);
  transform: scale(1.01);
  transition: transform .6s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 15, 19, .58) 0%, rgba(11, 15, 19, .12) 34%, rgba(11, 15, 19, .62) 64%, rgba(11, 15, 19, .93) 100%);
  pointer-events: none;
}
.service-taxi::after {
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(253, 211, 3, .22), transparent 58%),
    linear-gradient(180deg, rgba(11, 15, 19, .55) 0%, rgba(11, 15, 19, .1) 34%, rgba(11, 15, 19, .6) 64%, rgba(11, 15, 19, .93) 100%);
}
.service-envio::after {
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(249, 115, 22, .24), transparent 58%),
    linear-gradient(180deg, rgba(11, 15, 19, .55) 0%, rgba(11, 15, 19, .1) 34%, rgba(11, 15, 19, .6) 64%, rgba(11, 15, 19, .93) 100%);
}
.service-card > .service-copy,
.service-card > .service-cta { position: relative; z-index: 2; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 26px 54px rgba(20, 26, 31, .24); }
.service-card:hover .service-photo { transform: scale(1.05); }
.service-card:active { transform: translateY(-1px); }
.service-card:focus-visible { outline: 3px solid #1b1b1f; outline-offset: 3px; }
.service-copy { display: flex; flex-direction: column; gap: 5px; }
.service-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffd84d;
}
.service-envio .service-kicker { color: #ffc078; }
.service-title {
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
.service-text {
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
}
.service-cta {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #17140c;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}
.service-envio .service-cta { background: #fff; color: #17140c; }
.service-card:hover .service-cta span { transform: translateX(2px); }
.service-cta span { transition: transform .2s; }

/* ---------------- Bottom sheet de servicios ---------------- */
.sheet {
  position: fixed;
  inset: 0;
  /* Por encima del aviso de cookies (1200): si no, tapa el botón de envío. */
  z-index: 1300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.sheet.open { visibility: visible; pointer-events: auto; }
.sheet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: 92vh;
  max-height: min(92dvh, 780px);
  background: #fff;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -18px 60px rgba(10, 18, 22, .32);
  overflow: hidden;
  outline: none;
  transform: translateY(105%);
  transition: transform .32s cubic-bezier(.32, .72, .3, 1);
}
.sheet.open .sheet-card { transform: none; }
.sheet-grab {
  display: block;
  flex-shrink: 0;
  width: 46px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #e2d8ca;
}
.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 10px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.sheet-kicker {
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet-head h2 { font-size: 23px; line-height: 1.1; letter-spacing: -.03em; }
.sheet-close { flex-shrink: 0; width: 44px; height: 44px; background: #f7f1e9; }
.sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px max(20px, env(safe-area-inset-bottom));
}
.sheet-intro { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sheet-form[hidden] { display: none; }
.sheet-form .field { margin-bottom: 12px; }
.sheet-form .field-row .field { margin-bottom: 12px; }
.sheet-form .btn-block { width: 100%; min-height: 48px; }
.sheet-form .privacy-note { margin: 10px 0 0; }
.sheet-when { margin: 2px 0 14px; }
.field-label {
  display: block;
  margin-bottom: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #3f4a51;
}
.sheet-when .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-when .mode-opt span { padding: 10px 6px; font-size: 12px; }
.sheet-subfield { margin: 10px 0 0; }
.sheet .servicio-presets { margin: 8px 0 0; }
.sheet .servicio-presets .chip { padding: 8px 13px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.sheet .servicio-presets .chip:hover { border-color: #e8c94b; background: var(--brand-soft); }
.form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

@media (min-width: 720px) {
  .sheet-card {
    margin-bottom: 32px;
    border-radius: 26px;
    max-height: min(calc(100dvh - 64px), 780px);
  }
}

@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; gap: 12px; margin: 16px 0 16px; }
  .service-card { min-height: 300px; padding: 20px 20px 18px; gap: 7px; }
  .service-title { font-size: 22px; }
  .service-text { font-size: 12.5px; }
  .service-cta { padding: 9px 14px; font-size: 12.5px; }
  .sheet-head h2 { font-size: 21px; }
  .sheet-form .field input,
  .sheet-form .field select,
  .sheet-form .field textarea { font-size: 16px; }
}

@media (max-width: 380px) {
  .service-card { min-height: 280px; padding: 17px; }
  .service-title { font-size: 20.5px; }
  .sheet-body { padding-left: 15px; padding-right: 15px; }
}