/* =============================================================
   PLANTILLA RESTAURANTE — SITIO PÚBLICO
   Bora Pizzeria · colores de marca controlados desde el sistema (Ajustes → Tema)
   ============================================================= */
:root {
  /* Bora: negro tostado, oro viejo y brasa (colores de marca controlados desde Ajustes → Tema) */
  --primary: #D6A03C;
  --secondary: #F07A2A;
  --dark: #0E0B08;
  --on-primary: #1B1206;
  --gold-hi: #F4D27D;
  --gold-deep: #8F6119;
  --primary-soft: color-mix(in srgb, var(--primary) 14%, var(--paper));
  --primary-deep: color-mix(in srgb, var(--primary) 80%, black);
  --cream: #120E0A;
  --paper: #1E1812;
  --paper-2: #271F17;
  --ink: #F3E9D6;
  --muted: #AD9C81;
  --line: #3B2F22;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8);
  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 78px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-light { background: var(--ink); color: var(--dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: .55em 1.05em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Nota de plantilla (explica qué va en cada sección) ---------- */
.tpl-note {
  display: flex; gap: .75rem; align-items: flex-start;
  border: 1.5px dashed color-mix(in srgb, var(--secondary) 70%, #b98500); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--secondary) 10%, var(--paper)); color: #5a4300;
  padding: .85rem 1rem; font-size: .88rem; line-height: 1.5; text-align: left;
}
.tpl-note b { color: #3d2d00; }
.tpl-note .ico { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--secondary); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.tpl-note ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.on-dark .tpl-note { background: rgba(255, 255, 255, .06); border-color: color-mix(in srgb, var(--secondary) 60%, transparent); color: #f1e3c3; }
.on-dark .tpl-note b { color: #fff; }
.tpl-tag {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #6b5000; background: color-mix(in srgb, var(--secondary) 22%, var(--paper)); border: 1px dashed color-mix(in srgb, var(--secondary) 80%, #000);
  padding: .25rem .6rem; border-radius: 999px;
}

/* Marco de reemplazo (para fotos que pondrá el cliente) */
.ph {
  position: relative; border-radius: var(--radius); border: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 4%, transparent) 14px 28px),
    color-mix(in srgb, var(--primary) 5%, var(--paper));
  display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--muted); min-height: 180px; overflow: hidden;
}
.ph .ph-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto .75rem; background: var(--paper); color: var(--primary); box-shadow: var(--shadow); }
.ph .ph-ico svg { width: 26px; height: 26px; }
.ph strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .2rem; }
.ph small { display: block; font-size: .8rem; max-width: 34ch; margin-inline: auto; }
.ph .ph-size { display: inline-block; margin-top: .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: .2rem .55rem; border-radius: 6px; background: var(--paper); color: var(--muted); }
.on-dark .ph { border-color: rgba(255,255,255,.22); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.035) 14px 28px), rgba(255,255,255,.04); color: rgba(255,255,255,.65); }
.on-dark .ph strong { color: #fff; }
.on-dark .ph .ph-ico { background: rgba(255,255,255,.08); color: var(--secondary); box-shadow: none; }
.on-dark .ph .ph-size { background: rgba(255,255,255,.1); color: #fff; }

/* Logo de reemplazo */
.logo-ph {
  width: 44px; height: 44px; border-radius: 12px; border: 2px dashed currentColor; display: grid; place-items: center;
  font-size: .55rem; font-weight: 800; letter-spacing: .08em; opacity: .75; flex: none;
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--font); font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: .55rem .95rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--muted); transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center; color: var(--ink); transition: transform .2s, border-color .2s;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--primary); }
.icon-btn svg { width: 20px; height: 20px; }
.badge-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--cream);
}
.badge-count[data-count="0"] { display: none; }
.badge-count.bump { animation: bump .45s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--dark); color: #fff; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero::before { width: 520px; height: 520px; background: var(--primary); top: -200px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: var(--secondary); bottom: -220px; left: -120px; opacity: .25; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--secondary); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 700; margin: .9rem 0 1.1rem; }
.hero h1 em { font-style: italic; color: var(--secondary); font-weight: 500; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.75); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: #fff; }
.hero-stats div span { font-size: .82rem; color: rgba(255,255,255,.6); }
.hero-visual { position: relative; }
.hero-visual .ph { min-height: 440px; border-radius: 28px; }
.floating-card {
  position: absolute; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow-lg);
  display: flex; gap: .7rem; align-items: center; font-size: .82rem; animation: float 5s ease-in-out infinite;
}
.floating-card .fc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.floating-card .fc-ico svg { width: 20px; height: 20px; }
.floating-card strong { display: block; font-size: .9rem; }
.floating-card.fc-1 { top: 8%; left: -8%; }
.floating-card.fc-2 { bottom: 10%; right: -6%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--dark); color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 2.8rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-top: .6rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.65); }
.section-head .tpl-note { margin-top: 1.2rem; }
.section-head.left { text-align: left; margin-left: 0; }

/* Página interna: cabecera */
.page-hero { background: var(--dark); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: var(--primary); filter: blur(90px); opacity: .45; top: -260px; right: -100px; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: .7rem 0 .6rem; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 60ch; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: #fff; }
.page-hero .tpl-note { max-width: 760px; margin-top: 1.4rem; }

/* ---------- Tarjetas de valor / características ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card-ico svg { width: 26px; height: 26px; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
.section-dark .card p { color: rgba(255,255,255,.62); }
.section-dark .card-ico { background: color-mix(in srgb, var(--primary) 22%, transparent); color: #fff; }

/* Franja de servicios */
.strip { background: var(--primary); color: var(--on-primary); padding: 1.1rem 0; overflow: hidden; }
.strip-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }
.strip-track span { display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; }
.strip-track span::after { content: '✦'; font-style: normal; color: var(--secondary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sistema (lo que incluye) */
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sys-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.sys-item:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.sys-item .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 800; }
.sys-item .num svg { width: 20px; height: 20px; }
.sys-item h4 { font-family: var(--font); font-size: 1.02rem; margin: .1rem 0 .3rem; }
.sys-item p { font-size: .88rem; color: rgba(255,255,255,.6); margin: 0; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.role-card { border-radius: var(--radius); padding: 1.3rem; background: var(--paper); color: var(--ink); }
.role-card .role-badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); margin-bottom: .6rem; }
.role-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Productos ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.4rem; }
.dish {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dish-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(240,122,42,.25), transparent 70%), #1a140f; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dish:hover .dish-media img { transform: scale(1.07); }
.dish-media .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--primary); }
.dish-media .noimg svg { width: 48px; height: 48px; opacity: .55; }
.dish-tag { position: absolute; top: 12px; left: 12px; background: rgba(14,11,8,.82); color: var(--gold-hi); border: 1px solid rgba(214,160,60,.35); font-size: .72rem; font-weight: 700; padding: .28rem .65rem; border-radius: 999px; }
.dish-tag.hot { background: var(--primary); color: var(--on-primary); left: auto; right: 12px; }
.dish-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.dish-body h3 { font-size: 1.18rem; margin: 0; }
.dish-body p { color: var(--muted); font-size: .88rem; margin: 0; flex: 1; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.add-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--primary); color: var(--on-primary); display: grid; place-items: center;
  transition: transform .2s, background .2s; box-shadow: 0 8px 18px -8px var(--primary);
}
.add-btn:hover { transform: rotate(90deg) scale(1.08); background: var(--primary-deep); }
.add-btn svg { width: 20px; height: 20px; }
.dish.soldout { opacity: .6; }
.dish.soldout .add-btn { background: #bbb; box-shadow: none; pointer-events: none; }

/* Menú: filtros */
.menu-tools { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-tools .container { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .88rem; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.chip .n { font-size: .72rem; opacity: .6; margin-left: .3rem; }
.search { position: relative; min-width: 240px; }
.search input { width: 100%; padding: .7rem 1rem .7rem 2.6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.menu-cat-title { display: flex; align-items: baseline; gap: 1rem; margin: 3rem 0 1.3rem; }
.menu-cat-title:first-child { margin-top: 0; }
.menu-cat-title h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0; }
.menu-cat-title span { color: var(--muted); font-size: .9rem; }
.menu-cat-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* Seguimiento de pedido */
.track-pill {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(150%); z-index: 60;
  background: var(--dark); color: #fff; border-radius: 999px; padding: .6rem .7rem .6rem 1.1rem; display: flex; align-items: center; gap: .9rem;
  box-shadow: var(--shadow-lg); transition: transform .4s cubic-bezier(.2,.9,.3,1.2); font-size: .88rem; max-width: calc(100% - 32px);
}
.track-pill.show { transform: translateX(-50%) translateY(0); }
.track-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 0 var(--secondary); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.track-pill button { background: rgba(255,255,255,.12); border: none; color: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; }
.track-steps { display: flex; justify-content: space-between; margin: 1.4rem 0; position: relative; }
.track-steps::before { content: ''; position: absolute; top: 17px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.track-steps .bar { position: absolute; top: 17px; left: 8%; height: 3px; background: var(--primary); transition: width .6s; }
.track-step { position: relative; z-index: 1; text-align: center; flex: 1; font-size: .78rem; color: var(--muted); }
.track-step i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin: 0 auto .4rem; background: var(--paper); border: 3px solid var(--line); font-style: normal; font-weight: 700; color: var(--muted); transition: all .3s; }
.track-step.done i { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.track-step.done { color: var(--ink); font-weight: 600; }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15, 10, 5, .55); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.drawer-head h3 { margin: 0; font-size: 1.35rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; }
.drawer-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); background: var(--paper); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.cart-item img, .cart-item .noimg { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--primary-soft); }
.cart-item h4 { font-family: var(--font); font-size: .95rem; margin: 0 0 .15rem; }
.cart-item .ci-price { font-size: .85rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 30px; height: 30px; border: none; background: none; font-weight: 700; color: var(--ink); border-radius: 50%; }
.qty button:hover { background: var(--primary-soft); color: var(--primary); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); margin: .3rem 0; }
.sum-row.total { font-size: 1.15rem; color: var(--ink); font-weight: 800; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty svg { width: 64px; height: 64px; color: var(--line); margin: 0 auto 1rem; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .95rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.check { display: flex; gap: .55rem; align-items: center; font-size: .88rem; color: var(--muted); margin: .4rem 0 1rem; }
.check input { accent-color: var(--primary); width: 18px; height: 18px; }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.pay-opts label { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .5rem; text-align: center; font-size: .8rem; font-weight: 600; cursor: pointer; background: var(--paper); transition: all .2s; }
.pay-opts input { display: none; }
.pay-opts input:checked + span { color: var(--primary); }
.pay-opts label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,10,5,.6); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--cream); border-radius: 24px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 2rem; transform: translateY(20px) scale(.97); transition: transform .35s; box-shadow: var(--shadow-lg); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.success-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; margin: 0 auto 1rem; animation: pop .5s cubic-bezier(.2,.9,.3,1.4); }
.success-ico svg { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(0); } }

/* ---------- Empresa ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .ph { min-height: 420px; }
.mv-card { position: relative; overflow: hidden; }
.mv-card .big { position: absolute; right: -10px; bottom: -30px; font-family: var(--font-display); font-size: 8rem; font-weight: 800; color: var(--primary-soft); line-height: 1; z-index: 0; }
.mv-card > * { position: relative; z-index: 1; }
.timeline { position: relative; margin-left: 12px; padding-left: 2rem; border-left: 2px dashed var(--line); }
.tl-item { position: relative; padding-bottom: 1.8rem; }
.tl-item::before { content: ''; position: absolute; left: calc(-2rem - 9px); top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.tl-item .year { font-weight: 800; color: var(--primary); font-size: .85rem; letter-spacing: .08em; }
.tl-item h4 { font-family: var(--font); font-size: 1.05rem; margin: .2rem 0 .3rem; }
.tl-item p { color: var(--muted); font-size: .9rem; margin: 0; }
.team-card { text-align: center; }
.team-card .ph { aspect-ratio: 1; min-height: 0; border-radius: 50%; width: 140px; margin: 0 auto 1rem; padding: 1rem; }
.team-card .ph small { font-size: .7rem; }
.counter { text-align: center; }
.counter strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--primary); }
.counter span { color: var(--muted); font-size: .9rem; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.gallery .ph { min-height: 0; height: 100%; transition: transform .35s, box-shadow .35s; cursor: zoom-in; }
.gallery .ph:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery .ph.hide { display: none; }
.g-label { position: absolute; top: 12px; left: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(14,11,8,.85); color: var(--gold-hi); padding: .25rem .55rem; border-radius: 6px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.info-list { display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem; }
.info-item .card-ico { margin: 0; width: 46px; height: 46px; flex: none; }
.info-item h4 { font-family: var(--font); font-size: .95rem; margin: 0 0 .15rem; }
.info-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.tabs { display: inline-flex; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 1.4rem; }
.tabs button { border: none; background: none; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); }
.tabs button.active { background: var(--primary); color: var(--on-primary); }
.map-ph { min-height: 360px; margin-top: 2rem; }

/* ---------- CTA ---------- */
.cta-band { border-radius: 28px; background: var(--primary); color: var(--on-primary); padding: clamp(2rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.1); right: -80px; top: -120px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 .4rem; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .btn-light { color: var(--primary); position: relative; z-index: 1; }

/* Reseñas (plantilla) */
.review { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; }
.review .stars { color: var(--secondary); letter-spacing: 3px; margin-bottom: .6rem; }
.review p { color: var(--muted); font-style: italic; font-size: .95rem; }
.review .who { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; font-size: .85rem; }
.review .who .av { width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--line); }

/* ---------- Pie ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 4rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { font-family: var(--font); color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-name small { color: rgba(255,255,255,.5); }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials span { width: 38px; height: 38px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.3); display: grid; place-items: center; font-size: .6rem; font-weight: 700; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.secret { cursor: default; user-select: none; }

/* Botón flotante */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25a35a; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .25s;
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 28px; height: 28px; }

/* Toast */
.toast-wrap { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 200; display: grid; gap: .5rem; }
.toast { background: var(--ink); color: var(--dark); padding: .8rem 1.1rem; border-radius: 14px; font-size: .9rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .6rem; animation: toastIn .4s cubic-bezier(.2,.9,.3,1.3); }
.toast b { color: var(--secondary); }
@keyframes toastIn { from { transform: translateX(120%); opacity: 0; } }

/* Animación al hacer scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; } [data-reveal-delay="2"] { transition-delay: .2s; } [data-reveal-delay="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .system-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .floating-card.fc-1 { left: 0; } .floating-card.fc-2 { right: 0; }
}
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--cream); padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-actions .btn-order { display: none; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual .ph { min-height: 300px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split .ph { min-height: 300px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .system-grid, .grid-4, .roles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .g-big { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .hero-stats { gap: 1.2rem; }
  .floating-card { display: none; }
  .brand-name small { display: none; }
  .modal-box { padding: 1.5rem; }
  .menu-tools { top: var(--header-h); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Feed de redes (galería) */
.feed-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
@media (max-width: 860px) { .feed-grid { grid-template-columns: repeat(3, 1fr); } }

/* Preguntas frecuentes */
.faq { display: grid; gap: .7rem; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--primary); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: .7rem 0 0; font-size: .93rem; }

/* =============================================================
   IDENTIDAD DE MARCA
   (Base heredada de la plantilla; la identidad de Bora se aplica al final del archivo.)
   etiquetas condensadas (como la carta impresa).
   ============================================================= */
h1, h2 { font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
h3, h4 { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.eyebrow { font-family: var(--font-cond); font-weight: 600; letter-spacing: .16em; font-size: .85rem; }
.btn { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 1rem; border-radius: 8px; }
.btn-sm { font-size: .88rem; }
.btn-primary { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-outline:hover { background: var(--primary); }

/* Encabezado negro con logo */
.site-header { background: rgba(10, 10, 10, .94); border-bottom: 3px solid var(--primary); }
.site-header.scrolled { border-color: var(--primary); }
.brand-logo { height: 58px; width: auto; transition: transform .25s; }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.04); }
.nav-links a { color: rgba(255,255,255,.72); font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; border-radius: 6px; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--on-primary); background: var(--primary); }
.site-header .icon-btn { background: #1c1c1c; border-color: #2c2c2c; color: #fff; }
.badge-count { border-color: #0a0a0a; }

/* Hero con foto real */
.hero { background: #0b0b0b url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 40L40 0" stroke="%23ffffff" stroke-opacity=".035" stroke-width="2"/></svg>'); }
.hero::after { display: none; }
.hero::before { opacity: .38; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--primary); font-weight: 400; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--primary); }
.hero-stats div strong { font-family: var(--font-cond); font-weight: 700; font-size: 2.1rem; }
.hero-photo { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 3px solid var(--primary); box-shadow: 0 40px 80px -30px rgba(240, 122, 42, .55); transform: rotate(2deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -18px; bottom: 26px; z-index: 2; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); text-transform: uppercase; padding: .7rem 1.1rem; border-radius: 6px; transform: rotate(-6deg); box-shadow: var(--shadow-lg); font-size: 1.05rem; line-height: 1.1; }
.hero-badge small { display: block; font-family: var(--font-cond); font-size: .78rem; letter-spacing: .1em; opacity: .9; }
.floating-card { border-radius: 10px; }
.floating-card strong { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .03em; }

/* Franja */
.strip-track { font-family: var(--font-cond); font-style: normal; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.strip-track span::after { content: '★'; color: #fff; opacity: .7; }

/* Tarjetas */
.card { border-radius: 14px; }
.card h3 { font-size: 1.35rem; }
.card-ico { border-radius: 10px; }
.counter strong { font-family: var(--font-cond); font-weight: 700; }

/* Productos */
.dish { border-radius: 14px; }
.dish-body h3 { font-size: 1.3rem; }
.price { font-family: var(--font-cond); font-weight: 700; font-size: 1.55rem; color: var(--primary); }
.dish-tag { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; border-radius: 4px; }
.dish-opts { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.dish-opts span { font-size: .72rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: .2rem .5rem; border-radius: 4px; }
.dish.no-photo .dish-media { aspect-ratio: auto; height: 110px; background: #141414 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path d="M0 28L28 0" stroke="%23ffffff" stroke-opacity=".05" stroke-width="2"/></svg>'); }
.dish.no-photo .noimg { padding: 0 1rem; text-align: center; }
.dish.no-photo .noimg span { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: 1.15rem; line-height: 1.1; }
.dish.no-photo .noimg span::first-letter { color: var(--primary); }
.dish.no-photo .dish-tag { background: var(--primary); color: var(--on-primary); }
.cart-item .noimg { display: grid; place-items: center; color: var(--primary); }
.cart-item .noimg svg { width: 28px; }
.ci-note { font-size: .78rem; color: var(--primary); font-weight: 600; line-height: 1.35; margin: .1rem 0 .2rem; }
.cart-hint { margin-top: 1rem; font-size: .85rem; background: var(--primary-soft); color: var(--ink); border-radius: 10px; padding: .75rem .9rem; }
.free-tag { display: inline-block; font-size: .68rem; font-weight: 800; background: #18a558; color: #06200f; padding: .1rem .45rem; border-radius: 4px; margin-left: .3rem; vertical-align: middle; }
.chip { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; border-radius: 6px; }
.chip.active { background: var(--primary); border-color: var(--primary); }
.menu-cat-title h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.menu-cat-title::after { height: 3px; background: var(--primary); opacity: .15; }
.menu-tools { background: color-mix(in srgb, var(--cream) 94%, transparent); }

/* Modal de opciones de producto */
.modal-opts .modal-box { width: min(520px, 100%); }
.opts-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; padding-right: 2.5rem; }
.opts-head img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; }
.opts-head h2 { font-size: 1.5rem; margin: .2rem 0; }
.opts-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.opt-group { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem 1rem; margin: 0 0 1rem; background: var(--paper); }
.opt-group legend { font-family: var(--font-cond); text-transform: uppercase; font-weight: 700; letter-spacing: .06em; padding: 0 .4rem; }
.opt-group legend small { font-family: var(--font); text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-left: .3rem; }
.opt-select { width: 100%; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--cream); margin-top: .4rem; }
.opts-err { background: rgba(230,90,66,.14); color: #ff9b86; border-radius: 8px; padding: .6rem .8rem; font-size: .85rem; margin-bottom: .8rem; }

/* Selector de sede para WhatsApp */
.picker-head { text-align: center; margin-bottom: 1.2rem; }
.picker-head h2 { font-size: 1.6rem; margin: .5rem 0 .3rem; }
.picker-head p { color: var(--muted); margin: 0; font-size: .92rem; }
.sede-pick { display: grid; gap: .55rem; }
.sede-opt { display: flex; align-items: center; gap: .9rem; text-align: left; width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, transform .2s; }
.sede-opt:hover { border-color: #25a35a; transform: translateX(4px); }
.sede-opt b { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; display: block; }
.sede-opt small { color: var(--muted); }
.sede-opt > span:nth-child(2) { flex: 1; }
.sede-opt svg { width: 20px; height: 20px; }
.so-ico { width: 40px; height: 40px; border-radius: 50%; background: #25a35a; color: #fff; display: grid; place-items: center; flex: none; }

.acomp-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.acomp-list span { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: rgba(255,255,255,.85); }

/* Sedes */
.sedes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.sedes-grid.full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.sede-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; scroll-margin-top: calc(var(--header-h) + 20px); }
.sede-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sede-card:target { outline: 3px solid var(--primary); }
.sede-map { aspect-ratio: 16 / 9; background: #ddd; }
.sede-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sede-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--primary); }
.sede-region { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--primary); font-weight: 600; }
.sede-card h3 { font-size: 1.55rem; margin: .2rem 0 .3rem; }
.sede-note { color: var(--muted); font-size: .9rem; margin: 0 0 .8rem; }
.sede-info { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .55rem; font-size: .92rem; flex: 1; }
.sede-info li { display: flex; gap: .6rem; align-items: flex-start; }
.sede-info svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 2px; }
.sede-info small { display: block; color: var(--muted); font-size: .8rem; }
.sede-info a:hover { color: var(--primary); }
.sede-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.sede-actions .btn { flex: 1; }
.sede-actions .btn-primary { background: #25a35a; box-shadow: none; }
.sede-actions .btn-primary:hover { background: #1c8a4b; }
.section-dark .sede-card { background: #161616; border-color: #262626; color: #fff; }
.section-dark .sede-note, .section-dark .sede-info small { color: rgba(255,255,255,.6); }
.section-dark .sede-actions .btn-outline { color: #fff; }

/* Experiencia */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.exp { position: relative; border-radius: 14px; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.exp .n { font-family: var(--font-display); font-size: 3.2rem; color: var(--primary); opacity: .14; position: absolute; right: 12px; top: 0; line-height: 1; }
.exp h3 { font-size: 1.3rem; margin: .8rem 0 .4rem; }
.exp p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Reseñas reales */
.review { border-style: solid; }
.review .stars { color: #f5a400; }
.review p { font-style: normal; color: var(--ink); }
.review .who .av { border: none; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 800; font-family: var(--font-cond); }
.review .who small { color: var(--muted); }

/* Galería con fotos */
.gallery .g-photo { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #111; }
.gallery .g-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery .g-photo:hover img { transform: scale(1.06); }
.gallery > .hide { display: none; }
.lightbox-img { width: 100%; border-radius: 12px; }
.modal-wide .modal-box { width: min(760px, 100%); }

/* Pie */
.footer-logo { height: 84px; width: auto; margin-bottom: 1rem; }
.socials a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem .5rem .6rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-weight: 600; font-size: .88rem; }
.socials a:hover { border-color: var(--primary); background: var(--primary); }
.socials svg { width: 20px; height: 20px; }
.site-footer { border-top: 4px solid var(--primary); }
.site-footer h4 { font-size: 1.05rem; letter-spacing: .06em; }

/* FAB WhatsApp */
.fab { border: none; background: #25a35a; }

/* CTA */
.cta-band { border-radius: 16px; background: var(--primary) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 40L40 0" stroke="%23000000" stroke-opacity=".08" stroke-width="3"/></svg>'); }
.cta-band .btn-light { background: #0e0e0e; color: #fff; }

/* Página interna */
.page-hero { background: #0b0b0b; border-bottom: 4px solid var(--primary); }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }

/* Mapa general */
.sedes-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 380px; margin-top: 2rem; }
.sedes-map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { background: #0e0e0e; border-bottom: 3px solid var(--primary); }
  .hero-photo { max-width: 440px; margin: 0 auto; transform: none; }
  .hero-badge { left: 8px; }
}
@media (max-width: 600px) {
  .brand-logo { height: 48px; }
  .exp-grid { grid-template-columns: 1fr; }
  .sedes-grid.full { grid-template-columns: 1fr; }
  .opts-head img { width: 72px; height: 72px; }
}
.gallery .g-photo .g-label { z-index: 1; }
.track-pill:not(.show) { visibility: hidden; }
.sedes-grid:not(.full) { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.sedes-grid:not(.full) .sede-actions { flex-direction: column; }
.socials a span { width: auto; height: auto; border: none; border-radius: 0; display: inline; font-size: .88rem; }

/* ---------- Responsive afinado (cualquier pantalla) ---------- */
.contact-grid > *, .split > *, .hero-grid > *, .cols > * { min-width: 0; }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { white-space: nowrap; }
.info-item > div { min-width: 0; overflow-wrap: anywhere; }
.fab { bottom: calc(20px + env(safe-area-inset-bottom)); right: calc(20px + env(safe-area-inset-right)); }
.track-pill { bottom: calc(22px + env(safe-area-inset-bottom)); }
.drawer { height: 100vh; height: 100dvh; }
.drawer-foot { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); }
img { height: auto; }
.dish-media img, .gallery img, .hero-photo img, .opts-head img, .cart-item img { height: 100%; }
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { padding: 2.6rem 0 3.4rem; }
  .hero h1 { font-size: clamp(2.1rem, 10.5vw, 2.8rem); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-badge { font-size: .9rem; bottom: 14px; }
  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .dish-body { padding: .8rem .85rem .9rem; }
  .dish-body h3 { font-size: 1.02rem; }
  .dish-body p { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .price { font-size: 1.2rem; }
  .add-btn { width: 38px; height: 38px; }
  .dish-tag { font-size: .62rem; top: 8px; left: 8px; }
  .dish-tag.hot { right: 8px; }
  .dish-opts span { font-size: .64rem; }
  .menu-tools { padding: .7rem 0; }
  .menu-tools .container { gap: .6rem; }
  .cta-band { padding: 1.6rem; }
  .cta-band .btn { width: 100%; }
  .sedes-grid, .sedes-grid.full { grid-template-columns: 1fr; }
  .sedes-grid:not(.full) .sede-actions { flex-direction: row; }
  .modal { place-items: end center; padding: 0; }
  .modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; max-height: 92dvh; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .footer-grid { gap: 1.6rem; }
  .toast-wrap { left: 12px; right: 12px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .dish-grid { grid-template-columns: 1fr; }
  .pay-opts { grid-template-columns: 1fr; }
  .nav-actions .icon-btn { width: 40px; height: 40px; }
}
@media (min-width: 1600px) {
  .container { width: min(1360px, 100% - 64px); }
  .hero h1 { font-size: 5rem; }
}
@media (min-width: 2200px) {
  html { font-size: 18px; }
  .container { width: min(1560px, 100% - 96px); }
}
button, a, .btn { touch-action: manipulation; }


/* =============================================================
   BORA PIZZERIA — identidad: horno de leña, oro viejo y brasa
   ============================================================= */
body {
  background-color: var(--cream);
  background-image: repeating-linear-gradient(90deg, rgba(255,236,200,.018) 0 1px, transparent 1px 9px), repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 3px, transparent 3px 41px);
}
h1, h2 { font-family: var(--font-display); font-weight: 700; text-transform: none; letter-spacing: .01em; }
h3, h4 { font-family: var(--font-cond); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.eyebrow { color: var(--primary); }
.btn-primary { background: linear-gradient(180deg, var(--gold-hi), var(--primary) 55%, var(--gold-deep)); border-color: var(--gold-deep); color: var(--on-primary); text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: linear-gradient(180deg, #fbe39f, var(--gold-hi) 40%, var(--primary)); }
.btn-outline { color: var(--ink); }
.btn-ghost-light { border-color: rgba(244,210,125,.4); color: var(--gold-hi); }

/* Encabezado */
.site-header { background: rgba(14, 11, 8, .94); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(214,160,60,.25); }
.brand { gap: .65rem; }
.brand-logo { height: 52px; width: 52px; border-radius: 50%; }
.brand-word { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; color: var(--gold-hi); font-size: 1.15rem; line-height: 1; }
.brand-word small { display: block; font-family: var(--font-cond); font-weight: 600; letter-spacing: .34em; font-size: .62rem; color: var(--muted); margin-top: 4px; }
.site-header .icon-btn { background: var(--paper); border-color: var(--line); color: var(--gold-hi); }
@media (max-width: 420px) { .brand-word { display: none; } }

/* Hero */
.hero { background: radial-gradient(ellipse at 70% 60%, rgba(240,122,42,.28), transparent 55%), #0e0b08; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.05; }
.hero h1 em { background: linear-gradient(180deg, var(--gold-hi), var(--primary) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: var(--gold-hi); }
.hero-photo { border: 3px solid var(--primary); }
.hero-logo-badge { position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; border-radius: 50%; z-index: 2; filter: drop-shadow(0 12px 24px rgba(0,0,0,.6)); }
.strip { background: linear-gradient(90deg, var(--gold-deep), var(--primary), var(--gold-deep)); color: var(--on-primary); }
.strip-track span::after { color: var(--on-primary); }

/* Títulos de categoría tipo pincelada dorada (como la carta impresa) */
.menu-cat-title h2, .brush {
  display: inline-block; font-family: var(--font-script); font-weight: 400; text-transform: none; color: #1d1307; font-size: clamp(1.8rem, 4.4vw, 2.4rem); line-height: 1;
  padding: .18em 1.4em .28em .8em; margin: 0;
  background: linear-gradient(97deg, rgba(143,97,25,0) 0%, #a8741f 6%, #e2ae4a 28%, #f6d784 52%, #d9a240 78%, rgba(169,116,31,0) 100%);
  clip-path: polygon(2% 22%, 9% 8%, 30% 12%, 52% 3%, 74% 9%, 93% 4%, 100% 30%, 96% 52%, 100% 78%, 88% 94%, 64% 88%, 40% 97%, 18% 90%, 4% 96%, 0% 70%, 4% 48%);
}
.menu-cat-title::after { display: none; }

/* Tarjetas de producto */
.dish { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-color: var(--line); }
.dish-body h3 { color: var(--gold-hi); letter-spacing: .03em; }
.dish-body p { color: var(--muted); }
.price { color: var(--gold-hi); }
.price small { font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.dish-sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; margin: .2rem 0 .6rem; }
.dish-sizes span { text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .15rem; font-family: var(--font-cond); font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.dish-sizes small { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.add-btn { background: linear-gradient(180deg, var(--gold-hi), var(--primary)); color: var(--on-primary); }
.dish-media img { transition: transform .5s; }
.dish:hover .dish-media img { transform: scale(1.05); }

/* Configurador de pizza */
.opt-group legend small, .opt-group legend { color: var(--ink); }
.opt-sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
@media (max-width: 480px) { .opt-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt-size input, .opt-seg input, .opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-size span { display: grid; gap: .05rem; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .65rem; cursor: pointer; background: var(--cream); }
.opt-size b { font-family: var(--font-cond); font-size: 1.05rem; letter-spacing: .03em; }
.opt-size small { color: var(--muted); font-size: .76rem; }
.opt-size small i { font-style: normal; }
.opt-size em { font-style: normal; font-family: var(--font-cond); font-weight: 700; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.opt-size input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 16%, var(--cream)); }
.opt-size input:disabled + span { opacity: .35; cursor: not-allowed; }
.opt-size input:focus-visible + span, .opt-seg input:focus-visible + span, .opt-chip input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.opt-seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.opt-seg label, .opt-chip { position: relative; }
.opt-seg span, .opt-chip span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; font-weight: 600; cursor: pointer; background: var(--cream); }
.opt-seg input:checked + span, .opt-chip input:checked + span { border-color: var(--primary); color: var(--gold-hi); background: color-mix(in srgb, var(--primary) 16%, var(--cream)); }
.opt-chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.opt-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.opt-flavors { display: grid; gap: .45rem; margin-top: .7rem; }
.opt-flavor { display: grid; grid-template-columns: 5rem 1fr; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.opt-flavor[hidden] { display: none; }
.opt-flavor .opt-select { margin: 0; }
.opt-hint { display: block; color: var(--muted); margin-top: .5rem; }
.opt-select { color: var(--ink); }

/* Tamaños (inicio) */
.sizes-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: end; }
@media (max-width: 760px) { .sizes-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.size-card { display: grid; justify-items: center; gap: .2rem; text-align: center; padding: 1.2rem .6rem; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.size-disc { width: calc(var(--d) * 2.6px); aspect-ratio: 1; max-width: 100%; border-radius: 50%; margin-bottom: .6rem;
  background: radial-gradient(circle at 50% 50%, #e9a23b 0 58%, #c9762c 60% 66%, #8c4a1c 67% 72%, transparent 73%), radial-gradient(circle, rgba(240,122,42,.35), transparent 70%); box-shadow: 0 0 40px rgba(240,122,42,.25); }
.size-card b { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-hi); }
.size-card span { font-family: var(--font-cond); font-size: 1.4rem; font-weight: 700; }
.size-card small { color: var(--muted); }

/* Instagram + QR */
.qr-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.2rem; align-items: center; }
@media (max-width: 480px) { .qr-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.qr-card .qr { width: 170px; height: 170px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 0 0 3px rgba(221,42,123,.35); }
.qr-card .qr img { width: 100%; height: 100%; }
.ig-handle { font-family: var(--font-cond); font-weight: 700; font-size: 1.6rem; letter-spacing: .05em; background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af); -webkit-background-clip: text; background-clip: text; color: transparent; }
.map-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--paper); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* Pie, modales y cajón */
.site-footer { background: #0a0806; border-top: 1px solid var(--line); }
.footer-logo { width: 110px; height: 110px; border-radius: 50%; }
.modal-box, .drawer { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.drawer-head, .drawer-foot { background: var(--paper-2); }
.field input, .field select, .field textarea, .search input { background: var(--cream); color: var(--ink); }
.pay-opts input:checked + span, .pay-opts label:has(input:checked) { border-color: var(--primary); color: var(--gold-hi); }
.cta-band { background: radial-gradient(ellipse at 80% 50%, rgba(240,122,42,.45), transparent 60%), linear-gradient(135deg, #2a1d10, #120e0a); border: 1px solid var(--gold-deep); color: var(--ink); }
.cta-band .btn-light { background: linear-gradient(180deg, var(--gold-hi), var(--primary)); color: var(--on-primary); }
.review { background: var(--paper); }
.review .stars { color: var(--primary); }
.sede-card { background: var(--paper); }
.fab { box-shadow: 0 12px 30px -8px rgba(37,163,90,.6); }
::selection { background: var(--primary); color: var(--on-primary); }
.sizes-row { align-items: stretch; }
.size-card { align-content: end; }
@media (max-width: 640px) { .dish-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dish-sizes span { font-size: .9rem; } }

/* Página única: la carta */
.menu-hero { padding-block: clamp(2rem, 5vw, 3.5rem); background: radial-gradient(ellipse at 20% 60%, rgba(240,122,42,.3), transparent 55%), var(--dark); }
.menu-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.menu-hero-logo { width: clamp(140px, 20vw, 220px); height: auto; border-radius: 50%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.7)) drop-shadow(0 0 30px rgba(240,122,42,.3)); }
.menu-hero .hero-ctas { margin-top: 1.2rem; }
@media (max-width: 640px) { .menu-hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } .menu-hero .hero-ctas { justify-content: center; } }
#instagram .grid-2 { align-items: start; }
@media (max-width: 760px) { #instagram .grid-2 { grid-template-columns: 1fr; } }
#ubicacion, #instagram, #menu-list { scroll-margin-top: calc(var(--header-h) + 70px); }

/* Campos ocultos del formulario (recoger en el local) */
.drawer [hidden], #checkout-form [hidden] { display: none !important; }
