/* Sitio público · Manuel José en Concierto */
:root {
  --marino: #0f1a2b;
  --marino-2: #1b2a42;
  --oro: #c4922a;
  --oro-claro: #e3c27a;
  --marfil: #f6f1e7;
  --papel: #ffffff;
  --tinta: #1b1f27;
  --sutil: #5e6573;
  --linea: #e1ddd3;
  --vip: #7a1f3d;
  --orozona: #b98322;
  --plata: #7d8a9c;
  --no-disp: #d5d8dc;
  --error: #b42318;
  --ok: #1f7a45;
  --serif: "Bodoni Moda", "Didot", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--marfil); color: var(--tinta); font: 16px/1.55 var(--sans); }
img { max-width: 100%; }
a { color: var(--marino); }
[hidden] { display: none !important; }
.envoltura { max-width: 1180px; margin: 0 auto; padding-inline: 18px; }

.cabecera { background: var(--marino); color: #fff; }
.cabecera .envoltura { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; }
.logo-texto { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; color: #fff; text-decoration: none; }
.logo-texto small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .24em; color: var(--oro-claro); }
.cabecera nav a { color: #d7dfeb; text-decoration: none; font-size: 14px; margin-left: 16px; }

.heroe { background: radial-gradient(120% 90% at 20% 0%, #22385a 0%, var(--marino) 55%, #0a1220 100%); color: #fff; padding-block: 64px 72px; position: relative; overflow: hidden; }
.heroe::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: repeating-linear-gradient(90deg, var(--oro) 0 34px, #8b6a24 34px 52px); }
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #a9b8cc; font-weight: 600; }
.heroe h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 9vw, 96px); line-height: .95; margin: 14px 0 6px; letter-spacing: -.01em; }
.heroe .subtitulo { color: var(--oro); letter-spacing: .5em; font-size: clamp(14px, 2.4vw, 20px); }
.heroe .datos { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 34px; color: #dfe6ef; }
.heroe .datos b { display: block; color: #fff; font-size: 18px; }

/* Portada con foto del artista: texto a la izquierda sobre la parte oscura, artista a la derecha */
.heroe.con-foto { background: #0a1220; min-height: min(80vh, 660px); display: flex; align-items: center; padding-block: 72px 80px; }
.heroe-foto { position: absolute; inset: 0; margin: 0; }
.heroe-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; display: block; }
.heroe.con-foto::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,18,32,.95) 0%, rgba(10,18,32,.86) 32%, rgba(10,18,32,.38) 60%, rgba(10,18,32,.06) 100%); }
.heroe.con-foto::after { z-index: 3; }
.heroe.con-foto .envoltura { position: relative; z-index: 2; width: 100%; }
.heroe-texto { max-width: 640px; }
.heroe.con-foto h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
@media (max-width: 700px) {
  .heroe.con-foto { align-items: flex-end; min-height: 0; padding-block: 92vw 56px; }
  .heroe-foto img { object-position: 50% 0; height: 118vw; }
  .heroe.con-foto::before { background: linear-gradient(180deg, rgba(10,18,32,0) 0, rgba(10,18,32,.1) 55vw, rgba(10,18,32,.9) 100vw, #0a1220 118vw); }
}

.boton-p { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--oro); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font: 600 16px var(--sans); text-decoration: none; cursor: pointer; }
.boton-p:hover { background: #b0801f; }
.boton-p.oscuro { background: var(--marino); }
.boton-p.claro { background: #fff; color: var(--marino); border: 1px solid var(--linea); }
.boton-p:disabled { opacity: .45; cursor: not-allowed; }
.boton-p.bloque { width: 100%; }

.seccion { padding-block: 48px; }
.seccion h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); margin: 0 0 18px; }
.zonas { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.zona-card { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 20px; border-top: 6px solid var(--c); }
.zona-card h3 { font-family: var(--serif); font-size: 28px; margin: 0; font-weight: 500; }
.zona-card .precio { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.zona-card p { color: var(--sutil); margin: 6px 0 0; font-size: 14px; }
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: paso; padding: 0; list-style: none; }
.pasos li { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 18px; position: relative; }
.pasos li::before { counter-increment: paso; content: counter(paso); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--marino); color: #fff; font-weight: 700; margin-bottom: 8px; }
.logos { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: center; }
.logos img { height: 64px; width: auto; object-fit: contain; }
.pie { background: var(--marino); color: #b8c4d4; font-size: 14px; padding-block: 26px; }

.tarjeta-p { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 20px; }
.campo { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.campo input { display: block; width: 100%; margin-top: 5px; padding: 12px 13px; border: 1px solid #cfc9bc; border-radius: 10px; font: 16px var(--sans); background: #fff; color: var(--tinta); }
.campo input:focus { outline: 2px solid var(--oro); border-color: var(--oro); }
.aviso-p { border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: 15px; }
.aviso-p.error { background: #fdecea; color: #8a1c12; }
.aviso-p.ok { background: #e7f4ec; color: #145c33; }
.aviso-p.info { background: #eef3fa; color: #1f4f86; }
.aviso-p.alerta { background: #fff4dc; color: #7a5310; }
.sutil { color: var(--sutil); }

/* Reservación */
.reserva { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 20px; align-items: start; padding-block: 22px 110px; }
@media (max-width: 920px) { .reserva { grid-template-columns: 1fr; } }
.mapa-p { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 8px; }
.mapa-p svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.herramientas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.chip { border: 1px solid var(--linea); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 14px var(--sans); cursor: pointer; color: var(--tinta); }
.chip.activo { background: var(--marino); color: #fff; border-color: var(--marino); }
.leyenda-p { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--sutil); margin: 10px 6px 2px; }
.leyenda-p i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.panel-reserva { position: sticky; top: 14px; display: grid; gap: 14px; }
@media (max-width: 920px) { .panel-reserva { position: static; } }
.mesa-detalle h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.mesa-grande { width: 100%; max-width: 300px; display: block; margin: 8px auto; }
.mesa-grande .asiento { cursor: pointer; }
.mesa-grande .asiento circle { stroke: #fff; stroke-width: 2; }
.mesa-grande .asiento text { font: 700 13px var(--sans); fill: #fff; text-anchor: middle; pointer-events: none; }
.mesa-grande .asiento.no circle { fill: var(--no-disp); }
.mesa-grande .asiento.no text { fill: #8a9099; }
.mesa-grande .asiento.no { cursor: not-allowed; }
.mesa-grande .asiento.sel circle { fill: var(--marino); stroke: var(--oro); stroke-width: 4; }
.resumen-lista { font-size: 15px; }
.resumen-lista div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--linea); }
.resumen-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; margin-top: 10px; font-variant-numeric: tabular-nums; }
.barra-movil { position: fixed; left: 0; right: 0; bottom: 0; background: var(--marino); color: #fff; padding: 10px 16px; display: none; justify-content: space-between; align-items: center; gap: 10px; z-index: 30; }
@media (max-width: 920px) { .barra-movil { display: flex; } }
.p-silla { cursor: pointer; stroke: #fff; stroke-width: .8; }
.p-silla.sel { stroke: var(--oro); stroke-width: 3; fill: var(--marino) !important; }
.p-silla.no { cursor: default; }
.m-mesa { fill: #fff; stroke: #8a9099; stroke-width: 1.2; cursor: pointer; }
.m-mesa.activa { stroke: var(--oro); stroke-width: 3.5; }
.m-mesa.error { stroke: var(--error); stroke-width: 3.5; }
.m-num { font: 700 10.5px var(--sans); text-anchor: middle; fill: var(--tinta); pointer-events: none; }
.m-silla { cursor: pointer; stroke: #fff; stroke-width: .8; }
.m-silla.sel { stroke: var(--oro); stroke-width: 2.6; }

/* Plano base */
.wallf { fill: #fff; stroke: #d6d0c3; stroke-width: 2; }
.lvs0 { fill: #b3b9c2; } .lvs1 { fill: #86a7c2; } .lvs2 { fill: #93ad84; }
.lvf0 { fill: #ffffff; } .lvf1 { fill: #eef3f7; } .lvf2 { fill: #eef2e9; }
.stage { fill: var(--marino); }
.stg { fill: var(--oro-claro); font: 600 15px var(--sans); letter-spacing: .2em; text-anchor: middle; }
.acc { fill: var(--oro); }
.acct { font: 600 14px var(--sans); letter-spacing: .15em; text-anchor: middle; fill: #fff; }
.fac { fill: #9c3f7a; }
.fact { font: 600 11px var(--sans); letter-spacing: .06em; text-anchor: middle; fill: #fff; }
.stair rect { fill: #fff; stroke: #8a9099; stroke-width: 1.5; }
.stair line { stroke: #8a9099; stroke-width: 1.2; }
.stt { font: 600 10px var(--sans); letter-spacing: .1em; text-anchor: middle; fill: #8a9099; }
.aisle2 { fill: #fff; stroke: #8a9099; stroke-width: 1.5; stroke-dasharray: 6 4; }

/* Pedido */
.referencia { font: 700 clamp(34px, 7vw, 52px)/1 var(--sans); letter-spacing: .12em; text-align: center; color: var(--marino); margin: 6px 0; }
.cuenta-regresiva { text-align: center; font: 700 30px var(--sans); font-variant-numeric: tabular-nums; color: var(--error); }
.datos-banco { width: 100%; border-collapse: collapse; font-size: 15px; }
.datos-banco td { padding: 9px 4px; border-bottom: 1px solid var(--linea); }
.datos-banco td:last-child { text-align: right; font-weight: 700; word-break: break-all; }
.copiar { border: 0; background: none; color: var(--oro); font-weight: 700; cursor: pointer; padding: 0 0 0 8px; }
