/* Demos de Webevents: tres negocios ficticios con estilos propios. Mobile-first. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; padding-bottom: 76px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* Barra de demo (común) */
.demo-bar { position: sticky; top: 0; z-index: 50; background: #0c0a14; color: #f5f1ea; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.demo-bar-in { max-width: 1100px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.demo-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; min-height: 44px; }
.demo-back span { display: none; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; color: #b9b2c7; font-weight: 700; }
.dl-long { display: none; }
.dl-short { padding: 2px 8px; border-radius: 99px; background: #ff2bd6; color: #0c0a14; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.demo-want { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; min-height: 44px; border-radius: 999px; background: #1fe4f2; color: #0c0a14; font-weight: 800; text-decoration: none; }
.dm-footer { padding: 32px 16px; text-align: center; font-size: .85rem; opacity: .8; }

.dm-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-inline: 16px; }
.dm-narrow { max-width: 640px; }
.dm-hero { padding: 64px 0 56px; }
.dm-sec { padding: 56px 0; }
.dm-k { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dm-hero h1 { font-size: clamp(3rem, 15vw, 7rem); margin: 12px 0 16px; }
.dm-lead { font-size: 1.15rem; max-width: 34em; }
.dm-sec h2 { font-size: clamp(1.8rem, 7vw, 3rem); margin-bottom: 24px; }
.dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 800; transition: transform .2s ease, filter .2s ease; }
.dm-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.dm-btn.is-off { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.dm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dm-note { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; opacity: .85; margin-top: 20px; }
.dm-note svg { flex: none; margin-top: 3px; }
.dm-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.dm-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 28px 0; }
.dm-count span { display: grid; place-items: center; padding: 12px 0; border-radius: 14px; }
.dm-count b { font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1; }
.dm-count i { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-top: 4px; }
.dm-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; font-weight: 800; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.dm-form { display: grid; gap: 8px; }
.dm-form label { font-weight: 700; font-size: .95rem; margin-top: 8px; }
.dm-form input, .dm-form select { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; border-radius: 12px; border: 1.5px solid currentColor; background: transparent; color: inherit; opacity: .7; }
.dm-form .dm-btn { margin-top: 12px; width: 100%; }

/* ── Concierto ── */
.demo-concert { background: #0f0c18; color: #f3eefc; }
.demo-concert .dm-hero { background: radial-gradient(circle at 85% 10%, rgba(255, 43, 214, .55), transparent 45%), radial-gradient(circle at 0% 90%, rgba(31, 228, 242, .35), transparent 50%), #0f0c18; }
.demo-concert .dm-k { color: #1fe4f2; }
.demo-concert .dm-hero h1 { font-stretch: 72%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .88; }
.demo-concert h1 em { font-style: normal; color: #ff2bd6; display: block; }
.demo-concert .dm-count span { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.demo-concert .dm-btn { background: #1fe4f2; color: #0f0c18; }
.demo-concert .dm-btn.is-ghost { background: transparent; color: #f3eefc; border-color: rgba(255,255,255,.35); }
.demo-concert .dm-sec h2 { font-stretch: 80%; font-weight: 900; text-transform: uppercase; }
.dm-lineup li { display: grid; grid-template-columns: 64px 1fr; gap: 2px 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.dm-time { font-weight: 800; color: #1fe4f2; font-variant-numeric: tabular-nums; grid-row: span 2; }
.dm-name { font-size: 1.6rem; font-weight: 850; font-stretch: 85%; line-height: 1.1; }
.dm-style { font-size: .9rem; opacity: .7; }
.dm-tickets { background: #16121f; }
.dm-tiers { display: grid; gap: 14px; }
.dm-tier { padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: #1c1828; }
.dm-tier.is-on { border-color: #1fe4f2; box-shadow: 0 0 0 1px #1fe4f2 inset; }
.dm-tier-state { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ff7ce6; margin-bottom: 6px; }
.dm-tier h3 { font-size: 1.3rem; }
.dm-price { font-size: 2.2rem; font-weight: 900; margin: 6px 0; }
.dm-info { display: grid; gap: 24px; }
.demo-concert .dm-ico { background: rgba(31,228,242,.12); color: #1fe4f2; }
.dm-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.dm-info p { opacity: .8; }
.demo-concert .dm-sticky { background: #ff2bd6; color: #0f0c18; }

/* ── Restaurante ── */
.demo-restaurant { background: #f6efe3; color: #2b1d14; }
.demo-restaurant .dm-hero { background: #2b1d14; color: #f6efe3; }
.demo-restaurant .dm-k { color: #e9a46a; }
.demo-restaurant .dm-hero h1, .demo-restaurant .dm-sec h2 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.demo-restaurant h1 em { color: #e9a46a; }
.demo-restaurant .dm-btn { background: #a9511f; color: #fff; }
.demo-restaurant .dm-hero .dm-btn.is-ghost { background: transparent; border-color: rgba(246,239,227,.5); color: #f6efe3; }
.dm-updated { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #e8dcc6; }
.dm-live { width: 9px; height: 9px; border-radius: 50%; background: #15803d; box-shadow: 0 0 0 3px rgba(21,128,61,.2); }
.dm-menu-day h2 { margin-top: 16px; margin-bottom: 4px; }
.dm-menu-price { font-weight: 700; color: #8a3f17; }
.dm-courses, .dm-carta { display: grid; gap: 24px; margin-top: 24px; }
.dm-courses h3, .dm-carta h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #8a3f17; margin-bottom: 10px; }
.dm-courses li { padding: 8px 0; border-bottom: 1px dashed #d8c7aa; font-weight: 600; }
.dm-carta li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed #d8c7aa; font-weight: 600; }
.dm-carta small { font-weight: 600; font-size: .75rem; color: #3d6b35; background: #e3eedc; padding: 2px 8px; border-radius: 99px; }
.dm-offers { background: #efe4d1; }
.dm-offer-grid { display: grid; gap: 14px; }
.dm-offer-grid article { padding: 22px; border-radius: 16px; background: #fffaf2; }
.demo-restaurant .dm-ico { background: #f3d9c4; color: #8a3f17; }
.dm-offer-grid h3 { font-size: 1.15rem; margin-bottom: 6px; }

/* ── Sant Valentí ── */
.demo-valenti { background: #2a0719; color: #fde8f1; }
.demo-valenti .dm-hero { background: radial-gradient(circle at 80% 0%, rgba(255, 92, 141, .5), transparent 50%), #2a0719; text-align: center; }
.demo-valenti .dm-hero .dm-lead, .demo-valenti .dm-count { margin-inline: auto; }
.demo-valenti .dm-k { color: #ff9ebd; }
.demo-valenti .dm-hero h1, .demo-valenti .dm-sec h2 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.demo-valenti h1 em { color: #ff5c8d; }
.demo-valenti .dm-count span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,158,189,.3); }
.demo-valenti .dm-btn { background: #ff5c8d; color: #2a0719; }
.dm-seats { display: grid; gap: 8px; justify-items: center; margin-top: 20px; font-size: .9rem; opacity: .9; }
.dm-seats-bar { width: 220px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); overflow: hidden; }
.dm-seats-bar span { display: block; width: 72%; height: 100%; background: #ff5c8d; }
.dm-menus { display: grid; gap: 16px; }
.dm-menu-card { padding: 26px; border-radius: 20px; background: #3a0b24; border: 1px solid rgba(255,158,189,.25); }
.dm-menu-card h3 { font-size: 1.4rem; }
.dm-menu-card li { padding: 8px 0; border-bottom: 1px solid rgba(255,158,189,.18); }
.dm-incl { margin-top: 14px; font-size: .9rem; color: #ff9ebd; font-weight: 700; }
.dm-gift { background: #3a0b24; text-align: center; }
.dm-gift .dm-ico { margin-inline: auto; background: rgba(255,92,141,.18); color: #ff5c8d; }
.demo-valenti .dm-sticky { background: #ff5c8d; color: #2a0719; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .demo-back span { display: inline-flex; }
  .dl-long { display: inline; } .dl-short { display: none; }
  .dm-hero { padding: 104px 0 96px; }
  .dm-sec { padding: 88px 0; }
  .dm-tiers, .dm-info, .dm-offer-grid { grid-template-columns: repeat(3, 1fr); }
  .dm-courses { grid-template-columns: repeat(3, 1fr); }
  .dm-carta, .dm-menus { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .dm-sticky { left: auto; right: 24px; bottom: 24px; padding: 0 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
