/* Pielé Skin Studio · banda Delicate Blue (Pantone 12-4202) con destellos arriba; una columna angosta como ficha de cabina; reserva en una hoja que sube */
:root {
  --bg: #F5F9FB; --surface: #FFFFFF; --ink: #1D2A36; --muted: #5B6C7B; --line: #DBE6EE;
  --brand: #C7DFEC; --brand-deep: #A9CBDF; --spark: #FFFFFF;
  --accent: #35587A; --accent-ink: #FFFFFF; --accent-soft: #E3EFF6;
  --ok: #3F6E55; --ok-soft: #E2F0E7; --warn: #8E5F1A; --warn-soft: #F6ECDB; --danger: #A3423A; --danger-soft: #F8E5E2;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0F171E; --surface: #17222C; --ink: #E9F2F8; --muted: #A3B6C5; --line: #283846;
  --brand: #1E3446; --brand-deep: #2A475E; --spark: #DCEEF8;
  --accent: #C7DFEC; --accent-ink: #12202B; --accent-soft: #213344;
  --ok: #9CC9AE; --ok-soft: #1B2D23; --warn: #E6B26E; --warn-soft: #3A2C18; --danger: #EC9086; --danger-soft: #3B1F1C;
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #0F171E; --surface: #17222C; --ink: #E9F2F8; --muted: #A3B6C5; --line: #283846;
  --brand: #1E3446; --brand-deep: #2A475E; --spark: #DCEEF8;
  --accent: #C7DFEC; --accent-ink: #12202B; --accent-soft: #213344;
  --ok: #9CC9AE; --ok-soft: #1B2D23; --warn: #E6B26E; --warn-soft: #3A2C18; --danger: #EC9086; --danger-soft: #3B1F1C;
  color-scheme: dark }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
.wrap { max-width: 640px; margin: 0 auto; padding-block: 0 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.prueba { background: var(--warn-soft); color: var(--warn); font-size: 13px; padding: 8px 12px; border-radius: 10px; margin-top: 12px; }

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--brand) 0%, var(--brand-deep) 100%); }
.portada .wrap.portada-in { position: relative; z-index: 1; padding-block: 44px 30px; display: grid; gap: 14px; }
canvas.estrellas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--spark); }
.marca { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(56px, 16vw, 84px); line-height: .9; letter-spacing: -.01em;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.marca-sub { font-family: var(--body); font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.lema { font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.35; max-width: 28ch; margin: 0; }
.espacio { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.lugar { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; }
.pilares { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pilares li { font-size: 13px; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 62%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.portada .nota { color: var(--ink); opacity: .8; }
.serv-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.despig { margin-top: 28px; padding: 22px 20px; border-radius: var(--r); border: 1px solid var(--brand-deep); background: var(--surface); display: grid; gap: 10px; justify-items: start; }
.despig h2 { font-size: 24px; line-height: 1.2; }
.despig p { margin: 0; font-size: 15px; }
.acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; }
.btn.sec { background: transparent; color: var(--accent); }
.btn.plano { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn.peligro { border-color: var(--danger); background: var(--danger); color: var(--surface); }
.btn.wa { background: #1F8F4E; border-color: #1F8F4E; color: #FFFFFF; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.ancho { width: 100%; }

/* ---------- Tratamientos ---------- */
.cat { display: grid; gap: 12px; padding-block: 22px 6px; }
.cat-tit { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 600; }
.serv { display: grid; grid-template-columns: 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 10px 10px 16px; overflow: hidden; }
.serv-info { padding-inline: 6px; }
.foto { width: 100%; aspect-ratio: 16 / 11; max-width: 100%; border-radius: var(--r); overflow: hidden; background: var(--accent-soft); position: relative; }
.foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.foto .ph { background: radial-gradient(circle at 25% 20%, var(--surface) 0, transparent 55%), linear-gradient(160deg, var(--brand), var(--brand-deep)) !important; font-size: 56px !important; }
.serv-info h3 { font-size: 22px !important; }
@media (min-width: 560px) { .serv { grid-template-columns: 220px 1fr; padding: 12px; } .foto { aspect-ratio: 4 / 5; } .serv-info { padding-inline: 0; } }
.foto .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 34px; color: var(--accent);
  background: radial-gradient(circle at 30% 25%, var(--surface) 0, transparent 60%), var(--accent-soft); }
.serv-info { min-width: 0; display: grid; gap: 6px; align-content: start; }
.serv-info h3 { font-size: 19px; line-height: 1.2; }
.serv-info p { margin: 0; color: var(--muted); font-size: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-variant-numeric: tabular-nums; }
.precio b { font-size: 17px; font-weight: 600; }
.precio span { font-size: 13px; color: var(--muted); }
.serv .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

.extras-lista { display: grid; gap: 8px; }
.extra-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.extra-item div { min-width: 0; }
.extra-item p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.extra-item b { white-space: nowrap; font-variant-numeric: tabular-nums; }

.leyenda { position: relative; overflow: hidden; margin-top: 30px; padding: 22px 20px; border-radius: var(--r); background: linear-gradient(165deg, var(--brand), var(--brand-deep)); display: grid; gap: 10px; }
.leyenda > *:not(canvas) { position: relative; }
.leyenda h2 { font-size: 24px; }
.leyenda p { margin: 0; font-size: 15px; }
.firma { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--accent); }

.pie { margin-top: 28px; display: grid; gap: 10px; justify-items: start; color: var(--muted); font-size: 14px; }

/* ---------- Hoja de reserva ---------- */
.hoja { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); animation: sube .28s ease-out; }
@keyframes sube { from { transform: translateY(24px); } to { transform: none; } }
.hoja-cab { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); min-height: 56px;
  padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
.hoja-cab h2 { flex: 1; min-width: 0; font-size: 18px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icono { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink); }
.icono:hover { background: var(--accent-soft); }
.hoja-cuerpo { flex: 1; overflow-y: auto; }
.hoja-cuerpo .wrap { padding-block: 20px 40px; display: grid; gap: 18px; }
.pasos { display: flex; gap: 6px; }
.pasos i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.pasos i.on { background: var(--accent); }

.resumen { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 4px; }
.resumen .t { font-family: var(--display); font-size: 19px; line-height: 1.25; }
.resumen .s { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }

.opcion { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.opcion input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.opcion div { flex: 1; min-width: 0; }
.opcion p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.opcion b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.nota { font-size: 13px; color: var(--muted); margin: 0; }

/* calendario */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.cal-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-cab b { font-family: var(--display); font-weight: 500; font-size: 19px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.cal-grid .dn { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 0; }
.dia { aspect-ratio: 1; max-width: 100%; border-radius: 50%; border: 0; background: transparent; font-size: 15px; color: var(--muted); opacity: .45; display: grid; place-items: center; }
.dia.libre { opacity: 1; color: var(--ink); background: var(--ok-soft); cursor: pointer; font-weight: 600; }
.dia.libre:hover { outline: 1px solid var(--ok); }
.dia.completo { opacity: .8; text-decoration: line-through; }
.dia.sel { background: var(--accent); color: var(--accent-ink); }
.cal-ley { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.cal-ley span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: var(--line); }
.cal-ley .l::before { background: var(--ok-soft); outline: 1px solid var(--ok); }

.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.hora { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.hora:hover { border-color: var(--accent); }
.hora small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }

/* formularios */
.campo { display: grid; gap: 6px; }
.campo label { font-size: 14px; font-weight: 600; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; }
.campo input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.error { background: var(--danger-soft); color: var(--danger); padding: 10px 14px; border-radius: 12px; font-size: 14px; }

.sena { border: 1px solid var(--accent); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; background: var(--surface); }
.sena h3 { font-size: 21px; }
.sena p { margin: 0; font-size: 15px; }
.monto { font-family: var(--display); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.alias { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); flex-wrap: wrap; }
.alias > div { min-width: 0; }
.alias code { font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: .02em; word-break: break-all; font-variant-numeric: tabular-nums; }
.alias .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }

.exito { text-align: center; display: grid; gap: 8px; justify-items: center; padding-top: 8px; }
.exito .sello { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 30px; }
.exito h3 { font-size: 26px; }

.archivo { display: grid; gap: 8px; }
.archivo input[type=file] { font-size: 14px; max-width: 100%; }
.estado-ok { color: var(--ok); font-weight: 600; font-size: 14px; }

.cargando { display: grid; place-items: center; padding: 40px 0; color: var(--muted); gap: 10px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

.turno-c { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 10px; }
.confirmar { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--danger-soft); }
.confirmar p { margin: 0; color: var(--danger); font-size: 14px; font-weight: 600; }
.fila { display: flex; gap: 8px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .hoja, .spin { animation: none; } }

/* ---------- Panel ---------- */
.panel-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 24px 14px; }
.panel-cab p { margin: 4px 0 0; }
.btn.chico { min-height: 36px; padding: 0 14px; font-size: 13px; }
.resumen-p { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.resumen-p div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; }
.resumen-p b { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.resumen-p span { font-size: 12px; color: var(--muted); }
.filtros { display: flex; gap: 6px; overflow-x: auto; padding-block: 16px 4px; }
.filtros button { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.filtros button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dia-g { display: grid; gap: 10px; padding-top: 20px; }
.dia-g h2 { font-size: 20px; }
.dia-g h2 .nota { font-family: var(--body); font-size: 13px; }
.tc { display: grid; grid-template-columns: 58px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.tc-cancel { opacity: .65; }
.tc-hora { display: grid; align-content: start; font-variant-numeric: tabular-nums; }
.tc-hora b { font-size: 17px; }
.tc-hora span { font-size: 13px; color: var(--muted); }
.tc-info { min-width: 0; display: grid; gap: 6px; }
.tc-nombre { font-weight: 600; font-size: 16px; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.c-mal { background: var(--danger-soft); color: var(--danger); }
.c-aviso { background: var(--warn-soft); color: var(--warn); }
.c-bien { background: var(--ok-soft); color: var(--ok); }
.cel { font-size: 14px; font-variant-numeric: tabular-nums; }
.bloq { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.enlace { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Movimiento en los tratamientos ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.cats { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; margin-inline: -16px; padding-block: 10px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s; }
.cats.pegada { border-bottom-color: var(--line); }
.cats-in { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-inline: 16px; }
.cats-in::-webkit-scrollbar { display: none; }
.cats a { position: relative; z-index: 1; white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; transition: color .25s; }
.cats a.on { color: var(--accent-ink); }
.cats-ind { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; background: var(--accent);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1); }

.serv { position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.serv:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--accent) 55%, transparent); border-color: var(--brand-deep); }
.serv:active { transform: scale(.99); }
.foto::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(160px circle at var(--mx, 30%) var(--my, 20%), color-mix(in srgb, var(--spark) 70%, transparent), transparent 60%);
  opacity: 0; transition: opacity .3s; }
.serv:hover .foto::after { opacity: 1; }
.foto .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--spark) 75%, transparent) 50%, transparent 70%);
  transform: translateX(-120%); animation: brillo 5.5s ease-in-out infinite; }
.serv:nth-child(3n) .foto .ph::after { animation-delay: 1.8s; }
.serv:nth-child(3n+1) .foto .ph::after { animation-delay: 3.6s; }
@keyframes brillo { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.foto img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.serv:hover .foto img { transform: scale(1.06); }

.desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.serv.abierta .desc { -webkit-line-clamp: unset; display: block; }
.mas { justify-self: start; background: none; border: 0; padding: 0; color: var(--accent); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.con-revela .revela { transform: translateY(18px); opacity: .35; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s ease, box-shadow .25s ease, border-color .25s ease; }
.con-revela .revela.visto { transform: none; opacity: 1; }
.con-revela .revela.visto:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .foto .ph::after { animation: none; display: none; }
  .serv, .cats-ind, .foto img { transition: none; }
  .serv:hover { transform: none; }
}

/* ---------- Antes y después ---------- */
.foto.comp { aspect-ratio: 3 / 2; touch-action: pan-y; }
@media (min-width: 560px) { .foto.comp { aspect-ratio: 3 / 2 !important; } }
.foto.comp img { position: absolute; inset: 0; object-position: center; }
.comp-antes { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.comp-linea { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #FFFFFF; box-shadow: 0 0 10px rgba(0,0,0,.25); pointer-events: none; z-index: 2; }
.comp-mango { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%;
  background: #FFFFFF; color: #35587A; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: -1px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.et { position: absolute; bottom: 10px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.88); color: #1D2A36; pointer-events: none; }
.et-a { left: 10px; } .et-d { right: 10px; }
.comp-rango { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.comp-rango:focus-visible + * , .comp:focus-within .comp-mango { outline: 2px solid var(--accent); outline-offset: 2px; }
.serv:hover .foto.comp img { transform: none; }

/* ---------- Zona de tratamientos en modo noche ---------- */
.noche {
  --bg: #121A22; --surface: #1A2530; --ink: #E8F1F7; --muted: #A5B7C5; --line: #2A3846;
  --accent: #C7DFEC; --accent-ink: #12202B; --accent-soft: #223445;
  --brand: #1E3446; --brand-deep: #2A475E; --spark: #DCEEF8;
  --glow: rgba(199, 223, 236, .55);
  background: var(--bg); color: var(--ink); color-scheme: dark;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.noche .noche-in { padding-block: 6px 40px; }
.noche .serv { transition: transform .25s ease, box-shadow .35s ease, border-color .35s ease; }
.noche .serv:hover, .noche .serv:focus-within, .noche .serv.activa {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 28px -2px var(--glow), 0 18px 40px -24px var(--glow);
}
.noche .serv.activa { transform: translateY(-2px); }
.noche .extra-item { background: var(--surface); }
.extra-foto .meta { color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .noche .serv.activa { transform: none; } }

/* ---------- Políticas ---------- */
.politicas { margin-top: 30px; display: grid; gap: 12px; }
.politicas h2 { font-size: 28px; line-height: 1.15; }
.politicas > p { margin: 0; font-size: 15px; }
.pol-esencial { background: var(--surface); border: 1px solid var(--brand-deep); border-radius: var(--r); padding: 16px 18px; }
.pol-esencial h3 { font-size: 20px; margin-bottom: 6px; }
.pol-esencial ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.pol-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pol-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; }
.pol-item summary::-webkit-details-marker { display: none; }
.pol-item summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.pol-item[open] summary::after { transform: rotate(45deg); }
.pol-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--accent-soft); color: var(--accent); font-variant-numeric: tabular-nums; }
.pol-txt { padding: 0 16px 14px 54px; font-size: 15px; display: grid; gap: 8px; }
.pol-txt p { margin: 0; }
.pol-txt ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.politicas.en-hoja { margin-top: 0; }
.pie a { color: var(--accent); }
@media (max-width: 420px) { .pol-txt { padding-left: 16px; } }

/* ---------- Reprogramar, ficha y consulta ---------- */
.serv-nota { margin: 0; font-size: 12px; }
.confirmar.suave { background: var(--accent-soft); }
.confirmar.suave p { color: var(--ink); font-weight: 500; }
.cambio { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.cambio span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 52px; flex-shrink: 0; }
.ficha-cta { border: 1px dashed var(--brand-deep); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; background: var(--surface); }
.ficha-cta h3 { font-size: 20px; }
.ficha-cta p { margin: 0; }
.campo textarea { min-height: 72px; resize: vertical; }
.multi { border: 0; padding: 0; margin: 0; }
.multi legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-op { position: relative; cursor: pointer; }
.chip-op input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-op span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.chip-op input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip-op input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dia.proximamente { opacity: .3; }
.ficha-adm summary { cursor: pointer; font-size: 14px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ficha-adm dl { margin: 8px 0 0; display: grid; gap: 2px 0; font-size: 14px; }
.ficha-adm dt { color: var(--muted); font-size: 12px; margin-top: 6px; }
.ficha-adm dd { margin: 0; }

/* ---------- Fichas ---------- */
.ficha-form { display: grid; gap: 18px; }
.ficha-intro { margin: 0; font-size: 14px; color: var(--muted); }
.info-sub { margin: 6px 0 -6px; font-family: var(--display); font-size: 19px; }
.req { color: var(--danger); }
.ficha-nav { justify-content: space-between; }
.ficha-nav .btn { flex: 1 1 140px; }
.firma-box { border: 1.5px dashed var(--brand-deep); border-radius: 12px; background: #FFFFFF; touch-action: none; overflow: hidden; }
.firma-box canvas { display: block; width: 100%; height: 170px; cursor: crosshair; }
.campo .enlace { justify-self: start; font-size: 13px; }
.tabla { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.tabla legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.tabla-filas { display: grid; gap: 10px; }
.tabla-fila { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tabla-fila.vencido { border-color: var(--danger); background: var(--danger-soft); }
.tf-campo { display: grid; gap: 3px; min-width: 0; }
.tf-campo label { font-size: 11px; color: var(--muted); font-weight: 600; }
.tf-campo input, .tf-campo select { min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; width: 100%; min-width: 0; }
.tf-pie { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tf-aviso { color: var(--danger); font-weight: 700; font-size: 13px; }
.ver-sec { display: grid; gap: 4px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.ver-sec h4 { font-family: var(--display); font-weight: 500; font-size: 18px; margin: 0; }
.ver-sec dl { margin: 0; display: grid; gap: 2px; }
.ver-sec dt { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ver-sec dd { margin: 0; font-size: 15px; }
.tabla-scroll { overflow-x: auto; }
.tabla-scroll table { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.tabla-scroll th, .tabla-scroll td { border: 1px solid var(--line); padding: 4px 8px; text-align: left; white-space: nowrap; }
.tabla-scroll th { background: var(--accent-soft); }

/* ---------- Sesión en el panel ---------- */
.ses-cab h3 { font-size: 26px; }
.ses-cab p { margin: 2px 0 0; }
.alerta { border-radius: 12px; padding: 12px 14px; background: var(--warn-soft); color: var(--ink); display: grid; gap: 6px; font-size: 14px; margin-top: 10px; }
.alerta p { margin: 0; }
.alerta.ok { background: var(--ok-soft); }
.ses-tabs { position: sticky; top: 0; z-index: 2; background: var(--bg); }
.ses-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 12px 0; }
.ses-tools .nota { margin: 0; }
.sec-ses { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 0 14px; margin-top: 10px; }
.sec-ses > summary { cursor: pointer; padding: 14px 0; font-family: var(--display); font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sec-ses > summary::-webkit-details-marker { display: none; }
.sec-ses > summary::after { content: "+"; color: var(--accent); font-family: var(--body); }
.sec-ses[open] > summary::after { content: "–"; }
.sec-ses > .ficha-form, .sec-ses > p, .sec-ses > .firma-ind, .sec-ses > .ver-sec, .sec-ses > button { margin-bottom: 14px; }
.barra-guardar { position: sticky; bottom: 0; z-index: 2; margin-top: 16px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.firma-ind { border: 1px dashed var(--brand-deep); border-radius: 12px; padding: 12px; display: grid; gap: 8px; background: var(--bg); }
.firma-ind.ok { border-style: solid; background: var(--ok-soft); }
.firma-img img { max-width: 100%; border-radius: 8px; background: #FFFFFF; margin-top: 6px; }
.foto-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.fotos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.foto-item { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.foto-img { aspect-ratio: 3 / 4; max-width: 100%; background: var(--accent-soft); display: grid; place-items: center; }
.foto-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-item figcaption { padding: 8px 10px; font-size: 12px; }
.hoja-cuerpo .wrap > * { min-width: 0; }

/* ---------- Promo ---------- */
.promo-tag { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; justify-self: start; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; }
.promo-tag b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.precio .tachado { color: var(--muted); font-size: 14px; text-decoration: line-through; }
.precio .precio-promo { font-size: 21px; }

/* ---- Elegir sede en la portada ---- */
.sedes-portada { display: grid; gap: 10px; margin: 4px 0 2px; }
.sedes-portada h2 { font-family: var(--display); font-weight: 500; font-size: 22px; margin: 0; }
.sedes-opc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sede-btn { text-align: left; display: grid; gap: 3px; padding: 14px; border-radius: var(--r); cursor: pointer; font: inherit; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.sede-btn b { font-size: 17px; }
.sede-btn span { font-size: 13px; opacity: .8; line-height: 1.35; }
.sede-btn .ok { font-size: 12px; font-weight: 700; color: var(--accent); opacity: 1; letter-spacing: .04em; }
.sede-btn[aria-pressed="true"] { border: 2px solid var(--accent); background: var(--accent-soft); padding: 13px; }
@media (max-width: 360px) { .sedes-opc { grid-template-columns: 1fr; } }

/* Dirección del turno en la confirmación */
.lugar{margin:18px 0;padding:16px 18px;border-radius:18px;background:var(--accent-soft);border:1px solid var(--line);text-align:left}
.lugar h3{margin:0 0 6px;font-size:1.05rem}
.lugar-sede{margin:0 0 2px;font-weight:600}
.lugar-dir{margin:0 0 12px;font-size:1.05rem}
.lugar .btn{margin-top:4px}
