/* NEXO MATCH · identidad de la familia NEXO (logos aprobados el 30-10-2026), misma base que NEXO SIGN.
   Azul del ícono #1456F0 (claro) / #4B86FF (oscuro) · tinta #0E1B3D · servicio #49577A · marino #0B1830 · menta #8DE8C0. */
:root { --ink:#0e1b3d; --soft:#49577a; --line:#d6dde8; --bg:#f4f6f9; --surface:#fff; --brand:#1456f0; --brand-hover:#0f45c4; --brand-soft:#e5edff; --on:#fff;
  --marino:#0b1830; --marino2:#12254a; --menta:#8de8c0;
  --ok:#12794f; --ok-soft:#ddf3e8; --warn:#8f5400; --warn-soft:#ffefc7; --bad:#b42e2e; --bad-soft:#fbe3e3; --r:14px;
  --titulo:'Barlow Condensed','Arial Narrow',sans-serif; --texto:'Barlow','Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif; }
@media (prefers-color-scheme: dark) { :root { --ink:#e8edfa; --soft:#a9b8d2; --line:#26324f; --bg:#0b1224; --surface:#131c33; --brand:#4b86ff; --brand-hover:#6c9bff; --brand-soft:#1b2a55; --on:#0b1224;
  --ok:#7bdcb0; --ok-soft:#12352a; --warn:#ffcf70; --warn-soft:#3a2c0d; --bad:#ff9d9d; --bad-soft:#3b1a1f; } }
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 var(--texto); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--brand); }
img, svg { max-width: 100%; }
.salto { position: absolute; left: -9999px; }
.salto:focus { left: 12px; top: 12px; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 30; border-radius: 8px; }

/* Logo claro/oscuro según el tema del equipo */
.solo-oscuro { display: none; }
@media (prefers-color-scheme: dark) { .solo-claro { display: none !important; } .solo-oscuro { display: inline-block; } }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 8px max(16px, calc((100% - 1120px) / 2 + 20px)); background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand .logo { height: 52px; width: auto; }
.by { color: var(--soft); font-size: 13px; }
.nav-pub { display: none; margin-left: auto; align-items: center; gap: 20px; }
.nav-pub a:not(.btn) { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-pub a:not(.btn):hover { color: var(--brand); }
.who { margin-left: auto; display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--soft); flex-wrap: wrap; }
.who:empty { display: none; }

main { width: 100%; max-width: 860px; margin: 0 auto; padding: 18px 16px 40px; flex: 1; outline: none; }
.foot { text-align: center; color: var(--soft); font-size: 13px; padding: 24px 16px 28px; border-top: 1px solid var(--line); background: var(--surface); }
.foot img { height: 36px; width: auto; margin-bottom: 6px; }
.foot p { margin: 4px 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font: 800 30px/1.08 var(--titulo); margin: 4px 0 10px; letter-spacing: .005em; }
h2 { font: 700 22px/1.15 var(--titulo); margin: 0 0 10px; }
h3 { font-size: 16px; margin: 0 0 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 14px; box-shadow: 0 1px 2px rgba(14,27,61,.04); }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--soft); } .small { font-size: 14px; } .tiny { font-size: 12.5px; }
label { display: block; font-weight: 700; margin-bottom: 4px; }
input[type=text], input[type=email], select, textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--soft); border-radius: 10px; background: var(--surface); color: var(--ink); }
textarea { min-height: 220px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 2px solid var(--brand); background: var(--brand); color: var(--on); font: 700 15px/1 var(--texto); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.bad { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.grande { min-height: 52px; padding: 0 24px; font-size: 16.5px; }
.btn.menta { background: var(--menta); border-color: var(--menta); color: var(--marino); }
.btn.menta:hover { background: #a9f0d1; border-color: #a9f0d1; }
.btn.linea { background: transparent; border-color: #4a679c; color: #fff; }
.btn.linea:hover { background: var(--marino2); }
.btn:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #ffb400; outline-offset: 2px; }
.notice { padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); }
.notice.warn { background: var(--warn-soft); color: var(--warn); } .notice.bad { background: var(--bad-soft); color: var(--bad); } .notice.ok { background: var(--ok-soft); color: var(--ok); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--brand-soft); color: var(--brand); }
.badge.completed, .badge.signed { background: var(--ok-soft); color: var(--ok); }
.badge.void, .badge.declined { background: var(--bad-soft); color: var(--bad); }
.badge.draft, .badge.pending { background: var(--warn-soft); color: var(--warn); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.list li:first-child { border-top: 0; }
.grow { flex: 1; min-width: 180px; }
.mono { font-family: Consolas, ui-monospace, monospace; font-size: 13px; overflow-wrap: anywhere; }
.toasts { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 20; width: min(92vw, 460px); }
.toast { padding: 12px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.toast.bad { background: var(--bad); color: #fff; } .toast.ok { background: var(--ok); color: #fff; }
[hidden] { display: none !important; }

/* ── Portada pública (sin sesión) ─────────────────────────────────────────────────────────────── */
.landing { display: none; }
.publico .landing { display: block; }
.publico #app { display: none; }
.publico .nav-pub { display: flex; }
.publico .by { display: none; }
.ancho { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.oscuro { background: var(--marino); color: #fff; }
.oscuro a:not(.btn) { color: var(--menta); }
.eyebrow { margin: 0 0 10px; font: 700 13px/1 var(--texto); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.oscuro .eyebrow { color: var(--menta); }
.lead { font-size: 18px; color: var(--soft); max-width: 60ch; margin: 0 0 18px; }
.oscuro .lead { color: #c8d4ea; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.centro { text-align: center; }

.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: .98; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--menta); }
.hero .bajada { font-size: 19px; color: #c8d4ea; max-width: 34em; margin: 0 0 26px; }
.hero .nota { margin: 16px 0 0; font-size: 14px; color: #a9b8d2; }
.ilus { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.ilus .trazo { stroke-dasharray: 260; stroke-dashoffset: 260; animation: trazar 1.6s .4s ease-out forwards; }
.ilus .t2 { animation-delay: 1.4s; }
.ilus .sello { transform-origin: 372px 70px; animation: sello .5s 2.8s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes trazar { to { stroke-dashoffset: 0; } }
@keyframes sello { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ilus .trazo { animation: none; stroke-dashoffset: 0; } .ilus .sello { animation: none; } }

.confianza { background: var(--marino2); color: #fff; }
.confianza ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; margin: 0 auto; }
.confianza li { border-left: 3px solid var(--menta); padding-left: 12px; }
.confianza b { display: block; font: 700 19px/1.2 var(--titulo); letter-spacing: .02em; }
.confianza span { font-size: 14px; color: #a9b8d2; }

.bloque { padding: 72px 0; }
.bloque h2 { font: 800 clamp(30px, 4.4vw, 46px)/1.04 var(--titulo); margin: 0 0 14px; }
.bloque.alterno { background: var(--surface); border-block: 1px solid var(--line); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.pasos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pasos li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.pasos .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 22px/1 var(--titulo); margin-bottom: 14px; }
.pasos h3 { font: 700 23px/1.1 var(--titulo); margin: 0 0 8px; }
.pasos p { margin: 0; color: var(--soft); }

.usos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.usos li { padding: 12px 14px 12px 40px; border-radius: 10px; background: var(--brand-soft); font-weight: 600; position: relative; }
.usos li::before { content: ''; position: absolute; left: 15px; top: 50%; width: 13px; height: 7px; border: solid var(--brand); border-width: 0 0 3px 3px; transform: translateY(-70%) rotate(-45deg); }
.usos.no li { background: var(--bad-soft); color: var(--bad); }
.usos.no li::before, .usos.no li::after { width: 15px; height: 3px; border: 0; background: var(--bad); transform: translateY(-50%) rotate(45deg); }
.usos.no li::after { content: ''; position: absolute; left: 15px; top: 50%; transform: translateY(-50%) rotate(-45deg); }

.tarjeta, .faq { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.tarjeta h3, .faq h3 { font: 700 26px/1.1 var(--titulo); margin: 0 0 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding: 8px 0 8px 34px; position: relative; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ''; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--menta); }
.checks li::after { content: ''; position: absolute; left: 6px; top: 15px; width: 8px; height: 4px; border: solid var(--marino); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; color: var(--soft); }

.planes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; }
.plan h3 { font: 700 24px/1 var(--titulo); margin: 0 0 10px; }
.plan .precio { font: 800 38px/1 var(--titulo); margin: 0 0 16px; }
.plan .precio small { font: 500 15px var(--texto); color: var(--soft); }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan.destacado { border: 2px solid var(--brand); box-shadow: 0 12px 30px rgba(20,86,240,.14); }
.cinta { position: absolute; top: -12px; left: 24px; margin: 0; background: var(--brand); color: #fff; font: 700 12px/1 var(--texto); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; }

.entrar { padding: 64px 0; }
.entrar .dos { align-items: center; }
.entrar .card { color: var(--ink); margin: 0 !important; }
.entrar .card a { color: var(--brand); }

@media (max-width: 900px) {
  .hero-grid, .dos { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 40px; padding-bottom: 48px; }
  .ilus { max-width: 420px; margin: 0 auto; }
  .confianza ul, .planes { grid-template-columns: 1fr 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .bloque { padding: 52px 0; }
}
@media (max-width: 640px) {
  .nav-pub a:not(.btn) { display: none; }
  .confianza ul, .planes, .usos { grid-template-columns: 1fr; }
}


/* ── NEXO MATCH: panel del recinto ─────────────────────────────────────────────────────────── */
main.ancho-panel { max-width: 1180px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 6px 0 4px; scrollbar-width: thin; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--soft); font-weight: 700; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a[aria-current=page] { color: var(--brand); border-color: var(--brand); }
.venue-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.venue-head h1 { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--soft); background: var(--surface); color: var(--ink); font: 600 14px var(--texto); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: var(--on); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
input[type=date], input[type=time], input[type=tel], input[type=number] { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--soft); border-radius: 10px; background: var(--surface); color: var(--ink); }
.court { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg); }
.court + .court { margin-top: 12px; }

/* Dibujo de la cancha dividida (las partes se ven tal como se arriendan) */
.pitch { display: grid; gap: 3px; height: 54px; border-radius: 8px; padding: 3px; background: #2e7d4f; max-width: 320px; }
.pitch span { background: #3fa36a; border-radius: 4px; display: grid; place-items: center; color: #fff; font: 700 12px var(--texto); }

/* Calendario del día: filas = horas, columnas = canchas; cada cancha tiene 24 subcolumnas (sirve para 1, 2, 3, 4, 6 y 8 partes). */
.daybar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.daybar input { width: auto; }
.daybar .grow { min-width: 0; }
.cal-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-height: 72vh; }
.cal { display: grid; position: relative; min-width: 100%; }
.cal .hd { position: sticky; top: 0; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 6px; font-weight: 800; text-align: center; font-size: 14px; }
.cal .hd small { display: block; font-weight: 500; color: var(--soft); font-size: 12px; }
.cal .tm { position: sticky; left: 0; z-index: 2; background: var(--surface); font-size: 12px; color: var(--soft); padding: 0 6px; border-top: 1px solid var(--line); text-align: right; }
.cal .corner { position: sticky; left: 0; top: 0; z-index: 4; background: var(--surface); border-bottom: 1px solid var(--line); }
.cal .cell { border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--bg), var(--bg) 6px, var(--surface) 6px, var(--surface) 12px); }
.cal .cell.open { background: var(--surface); cursor: pointer; }
.cal .cell.open:hover { background: var(--brand-soft); }
.cal .item { z-index: 1; margin: 2px; border-radius: 8px; padding: 4px 6px; background: var(--brand); color: var(--on); font-size: 12px; line-height: 1.25; overflow: hidden; cursor: pointer; border: 0; text-align: left; font-family: inherit; }
.cal .item b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .item.serie { background: #0f766e; }
.cal .item.cancelled { background: var(--bad-soft); color: var(--bad); text-decoration: line-through; opacity: .85; }
.cal .closed { z-index: 1; margin: 2px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 12px; padding: 4px 6px; font-weight: 700; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--soft); margin-top: 8px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }

dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, 94vw); background: var(--surface); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(11,24,48,.55); }
dialog form, dialog .body { padding: 20px; }
.hours-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.hours-row:first-child { border-top: 0; }
.span-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.span-row input { width: 150px; min-width: 0; }
@media (max-width: 520px) { .hours-row { grid-template-columns: 1fr; } }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--warn-soft); color: var(--warn); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th, .vs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs td:nth-child(2) { font-weight: 600; }

/* Páginas legales (términos y privacidad) */
main.legal { max-width: 820px; }
main.legal h1 { margin-top: 18px; }
main.legal h2 { margin-top: 26px; }
main.legal p, main.legal li { color: var(--ink); }
main.legal .card h2 { margin-top: 0; }
main.legal .vs { margin: 8px 0 12px; }

/* ── Ficha del recinto y vista del cliente (1-12-2026) ─────────────────────────────────────── */
.bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width .3s; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; font-size: 14px; }
.steps li.ok { color: var(--ok); font-weight: 600; }
input[type=search] { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--soft); border-radius: 10px; background: var(--surface); color: var(--ink); }
.mapbox { border: 1px dashed var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.mapbox iframe { width: 100%; height: 300px; border: 0; border-radius: 10px; display: block; }
.carousel { position: relative; border-radius: 16px; overflow: hidden; background: var(--marino); }
.carousel.empty { padding: 40px; text-align: center; color: #c8d4ea; }
.carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 16 / 9; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.carousel figcaption a { color: #fff; }
.carousel .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #0e1b3d; font-size: 24px; cursor: pointer; }
.carousel .prev { left: 10px; } .carousel .next { right: 10px; }
.carousel .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel .dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.carousel .dots button[aria-current] { background: #fff; width: 20px; border-radius: 99px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.photo-grid .ph { margin: 0; position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--bg); display: grid; gap: 6px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.photo-grid input, .photo-grid select { padding: 7px 9px; font-size: 13.5px; }
.photo-grid .cover { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; font: 700 12px var(--texto); padding: 3px 8px; border-radius: 99px; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.amenity { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; }
.amenity.on { border-color: var(--brand); background: var(--brand-soft); }
.amenity .check { font-weight: 600; }
.amenity input[type=number], .amenity select { padding: 7px 9px; margin-left: 32px; width: calc(100% - 32px); }
.policies { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.policy { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 400; cursor: pointer; }
.policy:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.policy input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.savebar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-top: 14px; box-shadow: 0 -6px 18px rgba(14,27,61,.08); }
.customer { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-top: 14px; }
.customer h2 { margin-top: 18px; }
.space-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.space-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; }
.amen-list { columns: 2 220px; padding-left: 18px; }
.space-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }

/* Precios (1-12-2026) */
.pricebox { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); display: grid; gap: 4px; }
.heat { display: grid; gap: 2px; font-size: 11px; overflow-x: auto; }
.heat .hh { text-align: center; color: var(--soft); }
.heat .hd { font-weight: 700; color: var(--soft); align-self: center; }
.heat .hc { height: 22px; border-radius: 4px; border: 1px solid var(--line); }
details summary { cursor: pointer; color: var(--brand); }

/* Dibujos y fotos por espacio (1-12-2026) */
.art svg { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; border-radius: 8px; }
.space-card .mini .carousel { border-radius: 8px; }
.space-card .mini .slide { aspect-ratio: 16 / 10; }
.space-card .mini .nav { width: 30px; height: 30px; font-size: 18px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs img { width: 140px; height: 88px; object-fit: cover; border-radius: 8px; flex: none; }
.thumb-art { width: 160px; flex: none; }
input[type=time] { min-width: 150px; }
.cal .item .price { display: block; font-weight: 700; opacity: .9; }
.cal .item.closed-conflict { outline: 3px solid #f59e0b; outline-offset: -3px; }
.cal .item .warnline { display: block; font-weight: 800; color: #fde68a; }
.event-box { border-top: 1px solid var(--line); padding-top: 12px; }
/* Lista de invitados (solo invitados, cada uno con su enlace) */
.guest-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; align-items: center; }
.guest-list .resp td { vertical-align: middle; }
.guest-list .resp td.ic { width: 28px; text-align: center; font-size: 18px; }
.guest-list .resp td.acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.table-wrap { overflow-x: auto; }
@media (max-width: 560px) { .guest-list .resp td.acts { justify-content: flex-start; } .guest-list .resp tr { display: grid; grid-template-columns: 28px 1fr auto; } .guest-list .resp td.acts { grid-column: 1 / -1; } }
/* Portada: «Todo tu recinto en un solo lugar» */
.mod-titulo { font: 700 22px/1.1 var(--titulo); margin: 30px 0 12px; }
.modulos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.modulos li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.modulos .ico { font-size: 26px; display: block; margin-bottom: 6px; }
.modulos h3 { font: 700 20px/1.15 var(--titulo); margin: 0 0 6px; }
.modulos p { margin: 0; color: var(--soft); font-size: 15px; }
.modulos.pronto li { background: transparent; border-style: dashed; }
.modulos.pronto h3::after { content: 'Pronto'; margin-left: 8px; font: 700 11px/1 var(--texto); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 3px 7px; border-radius: 99px; vertical-align: middle; }
