/* Privé — estilo elegante oscuro: negro, burdeos y dorado. */
:root {
  --bg: #0c090a;
  --surface: #151012;
  --surface-2: #1d1619;
  --surface-3: #261c20;
  --line: #33262b;
  --line-soft: #241b1f;
  --text: #f4ede7;
  --muted: #a99a92;
  --faint: #7a6c66;
  --wine: #7b1e34;
  --wine-2: #9c2944;
  --wine-glow: rgba(156, 41, 68, .35);
  --gold: #c9a45c;
  --gold-2: #e3c88f;
  --gold-soft: rgba(201, 164, 92, .14);
  --ok: #5bbd8f;
  --ok-soft: rgba(91, 189, 143, .12);
  --err: #e8707d;
  --err-soft: rgba(232, 112, 125, .12);
  --warn: #e0b45a;
  --warn-soft: rgba(224, 180, 90, .12);
  --radius: 14px;
  --radius-sm: 9px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.faint { color: var(--faint); }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2rem 0; }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.contenedor.estrecho { max-width: 760px; }

/* ── Cabecera pública ─────────────────────────────── */
.cabecera {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 9, 10, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.cabecera .contenedor { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--text); letter-spacing: .02em; display: flex; align-items: baseline; gap: 2px; }
.logo span { color: var(--gold); }
.logo:hover { color: var(--text); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav a:hover, .nav a.activo { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 1rem; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .nav.abierta { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 10px; text-align: center; }
}

/* ── Botones y formularios ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .92rem var(--sans); letter-spacing: .01em; cursor: pointer;
  background: var(--surface-3); color: var(--text); transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--line); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn-oro { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1209; }
.btn-oro:hover { background: linear-gradient(135deg, #f0d9a6, var(--gold-2)); color: #1a1209; }
.btn-vino { background: var(--wine); color: #fff; }
.btn-vino:hover { background: var(--wine-2); color: #fff; }
.btn-linea { background: transparent; border-color: var(--line); color: var(--text); }
.btn-linea:hover { border-color: var(--gold); background: transparent; color: var(--gold-2); }
.btn-peligro { background: transparent; border-color: rgba(232, 112, 125, .4); color: var(--err); }
.btn-peligro:hover { background: var(--err-soft); color: var(--err); }
.btn-chico { padding: 6px 12px; font-size: .82rem; }
.btn-bloque { width: 100%; }

label { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  font: 15px var(--sans); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--gold); }
input::-webkit-calendar-picker-indicator { filter: invert(.8); }
textarea { min-height: 110px; resize: vertical; }
.campo { margin-bottom: 16px; }
.campo .ayuda { font-size: .8rem; color: var(--faint); margin-top: 5px; }
.fila { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); font-size: .9rem; }
.check input { margin-top: 4px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.trampa { position: absolute; left: -9999px; }

/* ── Avisos ─────────────────────────── */
.aviso { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid; font-size: .92rem; }
.aviso-ok { background: var(--ok-soft); border-color: rgba(91, 189, 143, .35); color: #bfe8d3; }
.aviso-error { background: var(--err-soft); border-color: rgba(232, 112, 125, .35); color: #f6c4ca; }
.aviso-info { background: var(--gold-soft); border-color: rgba(201, 164, 92, .3); color: var(--gold-2); }
.aviso-warn { background: var(--warn-soft); border-color: rgba(224, 180, 90, .35); color: #f1d9a3; }

/* ── Portada ─────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 90px 0 70px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(123, 30, 52, .55), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(201, 164, 92, .12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.hero .eyebrow { color: var(--gold); letter-spacing: .28em; text-transform: uppercase; font-size: .74rem; font-weight: 700; margin-bottom: 14px; }
.hero h1 { max-width: 760px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { color: var(--muted); font-size: 1.08rem; max-width: 580px; margin-bottom: 34px; }
.buscador {
  background: rgba(21, 16, 18, .92); border: 1px solid var(--line); border-radius: 20px;
  padding: 14px; display: grid; gap: 10px; grid-template-columns: 1.4fr 1fr .8fr auto; align-items: end;
  box-shadow: var(--shadow); max-width: 940px;
}
.buscador label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 4px 4px; }
.buscador input, .buscador select { background: var(--surface-2); border-color: transparent; }
@media (max-width: 760px) { .buscador { grid-template-columns: 1fr 1fr; } .buscador .b-donde { grid-column: 1 / -1; } .buscador .btn { grid-column: 1 / -1; } }

.sello { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: .88rem; }
.sello div { display: flex; align-items: center; gap: 8px; }
.sello i { color: var(--gold); font-style: normal; }

.seccion { padding: 64px 0; }
.seccion-titulo { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.seccion-titulo p { margin: 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .87rem; }
.chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chip.activo { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-2); }
.chip small { color: var(--faint); }

/* ── Tarjetas de motel ─────────────────────────── */
.grilla { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.tarjeta { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; color: var(--text); }
.tarjeta:hover { transform: translateY(-3px); border-color: var(--line); color: var(--text); }
.tarjeta .foto { aspect-ratio: 4 / 3; background: var(--surface-2) center / cover no-repeat; position: relative; }
.tarjeta .insignia { position: absolute; top: 12px; left: 12px; background: rgba(12, 9, 10, .8); color: var(--gold-2); border: 1px solid rgba(201, 164, 92, .4); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.tarjeta .cuerpo { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tarjeta h3 { margin: 0; font-size: 1.32rem; }
.tarjeta .lugar { color: var(--muted); font-size: .86rem; }
.tarjeta .precio { margin-top: auto; padding-top: 10px; font-size: .86rem; color: var(--muted); }
.tarjeta .precio b { color: var(--gold-2); font-size: 1.12rem; font-weight: 700; }

/* ── Ficha del motel ─────────────────────────── */
.galeria { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; border-radius: var(--radius); overflow: hidden; margin: 24px 0 30px; }
.galeria a { background: var(--surface-2) center / cover no-repeat; display: block; }
.galeria a:first-child { grid-row: 1 / 3; }
.galeria.pocas { grid-template-columns: 1fr; grid-template-rows: 380px; }
.galeria.n3 { grid-template-columns: 2fr 1fr; }
.galeria.n4 a:nth-child(4) { grid-column: 2 / 4; }
@media (max-width: 760px) { .galeria, .galeria.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; } .galeria a:first-child { grid-column: 1 / -1; grid-row: auto; } .galeria a:nth-child(n+4) { display: none; } }
.ficha { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .ficha { grid-template-columns: 1fr; } }
.ficha-cab .lugar { color: var(--muted); }
.servicios { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 26px; }
.servicio { font-size: .83rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); color: var(--muted); }

.tipo { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.tipo .foto { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2) center / cover no-repeat; }
@media (max-width: 600px) { .tipo { grid-template-columns: 1fr; } .tipo .foto { aspect-ratio: 16 / 9; } }
.tipo h3 { margin-bottom: 4px; }
.tipo .amenidades { color: var(--muted); font-size: .84rem; margin-bottom: 10px; }
.tarifas { display: flex; flex-wrap: wrap; gap: 8px; }
.tarifa-btn { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: var(--text); cursor: pointer; text-align: left; font: inherit; min-width: 120px; }
.tarifa-btn:hover { border-color: var(--gold); }
.tarifa-btn.elegida { border-color: var(--gold); background: var(--gold-soft); }
.tarifa-btn[disabled] { opacity: .45; cursor: not-allowed; }
.tarifa-btn .dur { display: block; font-size: .78rem; color: var(--muted); }
.tarifa-btn .monto { display: block; font-weight: 700; color: var(--gold-2); }
.cupos { font-size: .78rem; margin-top: 8px; }
.cupos.si { color: var(--ok); }
.cupos.pocos { color: var(--warn); }
.cupos.no { color: var(--err); }

.panel-reserva { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.panel-reserva h3 { font-size: 1.5rem; }
.resumen-linea { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: .92rem; }
.resumen-linea b { text-align: right; }
.resumen-total { display: flex; justify-content: space-between; padding: 14px 0 6px; font-size: 1.1rem; }
.resumen-total b { color: var(--gold-2); font-size: 1.35rem; }

/* ── Página de reserva ─────────────────────────── */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.ticket::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--wine), var(--gold)); }
.codigo { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: .12em; color: var(--gold-2); background: var(--surface-2); border: 1px dashed rgba(201, 164, 92, .45); border-radius: 12px; padding: 14px 18px; text-align: center; margin: 14px 0 20px; }
.estado { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.estado::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.estado-pagada, .estado-presentada { background: var(--ok-soft); color: var(--ok); }
.estado-retenida { background: var(--warn-soft); color: var(--warn); }
.estado-vencida, .estado-cancelada, .estado-no_show { background: var(--err-soft); color: var(--err); }
.estado-conflicto { background: var(--gold-soft); color: var(--gold-2); }
.estado-solicitud { background: var(--warn-soft); color: var(--warn); }
.estado-aprobado { background: var(--ok-soft); color: var(--ok); }
.estado-suspendido { background: var(--err-soft); color: var(--err); }
.estado-abierta { background: var(--warn-soft); color: var(--warn); }
.estado-facturada { background: var(--gold-soft); color: var(--gold-2); }

/* ── Modal ─────────────────────────── */
.modal-fondo { position: fixed; inset: 0; z-index: 100; background: rgba(5, 3, 4, .78); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-fondo.abierto { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 26px; box-shadow: var(--shadow); }
.modal h3 { font-size: 1.6rem; }
.modal-acciones { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

.edad { text-align: center; max-width: 430px; }
.edad .logo { justify-content: center; font-size: 2.6rem; margin-bottom: 10px; }

/* ── Bloques informativos ─────────────────────────── */
.pasos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: paso; }
.paso { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.paso::before { counter-increment: paso; content: counter(paso, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 6px; }
.paso h3 { font-size: 1.25rem; }
.paso p { color: var(--muted); margin: 0; font-size: .92rem; }
.banda { background: linear-gradient(120deg, rgba(123, 30, 52, .45), rgba(21, 16, 18, .9)); border: 1px solid var(--line); border-radius: 22px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banda h2 { margin: 0 0 6px; }
.banda p { margin: 0; color: var(--muted); }
.caja { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal p, .legal li { color: #d9cec6; }

/* ── Pie ─────────────────────────── */
.pie { border-top: 1px solid var(--line-soft); padding: 40px 0 30px; margin-top: 40px; color: var(--muted); font-size: .88rem; }
.pie .contenedor { display: grid; gap: 24px; grid-template-columns: 1.5fr 1fr 1fr; }
.pie a { color: var(--muted); display: block; padding: 3px 0; }
.pie a:hover { color: var(--gold-2); }
.pie h4 { color: var(--text); font: 700 .78rem var(--sans); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 10px; }
.pie .legal-pie { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 18px; font-size: .8rem; color: var(--faint); }
@media (max-width: 700px) { .pie .contenedor { grid-template-columns: 1fr 1fr; } .pie .contenedor > div:first-child { grid-column: 1 / -1; } }

/* ── Panel y admin ─────────────────────────── */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.lateral { background: var(--surface); border-right: 1px solid var(--line-soft); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.lateral .logo { padding: 0 8px 18px; font-size: 1.7rem; }
.lateral .logo small { font: 600 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.lateral nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.lateral nav a:hover { color: var(--text); background: var(--surface-2); }
.lateral nav a.activo { color: var(--gold-2); background: var(--gold-soft); }
.lateral .grupo { font: 700 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 16px 12px 6px; }
.lateral select { margin: 0 0 6px; font-size: .88rem; padding: 9px 10px; }
.lateral .pie-lateral { margin-top: 24px; padding: 14px 8px 0; border-top: 1px solid var(--line-soft); font-size: .84rem; }
.principal { padding: 28px 32px 60px; min-width: 0; }
.principal-cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.principal-cab h1 { font-size: 2.1rem; margin: 0; }
.barra-movil { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .lateral { position: fixed; z-index: 60; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .2s; }
  .lateral.abierta { transform: none; box-shadow: var(--shadow); }
  .barra-movil { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface); position: sticky; top: 0; z-index: 50; }
  .barra-movil .logo { font-size: 1.5rem; }
  .principal { padding: 20px 16px 50px; }
}

.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 24px; }
.kpi { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; }
.kpi span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 700; }
.kpi b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; margin-top: 4px; }
.kpi.oro b { color: var(--gold-2); }

.tarjeta-panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.tarjeta-panel > h2, .tarjeta-panel > h3 { font-size: 1.4rem; }
.tarjeta-panel .cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tarjeta-panel .cab h3 { margin: 0; }

.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tabla { width: 100%; border-collapse: collapse; font-size: .89rem; }
.tabla th { text-align: left; font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tabla td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tabla tr:hover td { background: rgba(255, 255, 255, .015); }
.tabla .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabla .acciones { white-space: nowrap; text-align: right; }

.pendientes { list-style: none; padding: 0; margin: 0; }
.pendientes li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.pendientes li::before { content: '◇'; color: var(--gold); margin-right: 10px; }
.pendientes li span { flex: 1; }

.fotos-grilla { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.foto-item { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface-2); }
.foto-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.foto-item .pie-foto { padding: 8px; display: flex; gap: 6px; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); }
.foto-item .portada { position: absolute; top: 8px; left: 8px; }

.calendario { border-collapse: collapse; width: 100%; font-size: .8rem; }
.calendario th, .calendario td { border: 1px solid var(--line-soft); padding: 6px; text-align: center; white-space: nowrap; }
.calendario th { color: var(--muted); font-weight: 600; background: var(--surface-2); }
.calendario td.lleno { background: var(--err-soft); color: var(--err); }
.calendario td.pocos { background: var(--warn-soft); color: var(--warn); }
.calendario td.libre { color: var(--ok); }
.calendario td.pasado { color: var(--faint); }
.calendario td.nd { color: var(--faint); }

.tipo-panel { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; background: var(--surface); }
.tipo-panel.inactivo { opacity: .6; }
.tipo-panel .cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
details summary { cursor: pointer; color: var(--gold-2); font-size: .88rem; font-weight: 600; margin: 8px 0; }
details[open] summary { margin-bottom: 14px; }

.validador { display: flex; gap: 10px; flex-wrap: wrap; }
.validador input { flex: 1; min-width: 180px; font-family: ui-monospace, Menlo, monospace; font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; }
.resultado-validar { margin-top: 12px; }

.oculto { display: none !important; }
.texto-centro { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.derecha { margin-left: auto; }
.cargando { opacity: .6; pointer-events: none; }

/* Contrato de condiciones dentro del panel */
.tarjeta-panel.legal h2 { font-size: 1.25rem; margin-top: 1.4em; }
.tarjeta-panel.legal p, .tarjeta-panel.legal li { color: #d9cec6; font-size: .92rem; }
