/* Página de turnos para clientes */

.hero { max-width: 1120px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.hero-top { display: flex; justify-content: flex-end; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.hero-logo { width: 340px; max-width: 100%; height: auto; display: block; }
.hero-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-copy h1 { margin: 0; font-size: 56px; line-height: 1.05; color: var(--accent); }
.hero-lead { margin: 0; max-width: 520px; font-size: 18px; color: var(--soft); }
.hero-info { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }

.form-wrap { max-width: 1120px; margin: 0 auto; padding: 16px 24px 80px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.pasos { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.paso { display: flex; flex-direction: column; gap: 20px; }
.paso-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.paso-num { font-family: 'Rye', serif; font-size: 28px; color: var(--accent); }
.paso-head h2 { margin: 0; font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }

.barberos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.barbero { padding: 20px; border-radius: 14px; display: flex; flex-direction: column; gap: 14px; min-height: 44px; }
.barbero .avatar { width: 72px; height: 72px; font-size: 30px; }
.barbero-txt { display: flex; flex-direction: column; gap: 2px; }
.barbero-nombre { font-weight: 700; font-size: 20px; }
.sub { font-size: 14px; opacity: 0.85; }

.servicios { display: flex; flex-direction: column; gap: 10px; }
.servicio { padding: 16px 20px; border-radius: 12px; display: flex; align-items: center; gap: 16px; min-height: 56px; }
.servicio-txt { flex: 1 1 auto; display: flex; flex-direction: column; }
.servicio-nombre { font-weight: 700; font-size: 18px; }
.servicio-precio { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: 18px; }

.dia { width: 84px; padding: 12px 8px; gap: 2px; }
.dia .dow { font-size: 14px; }
.dia .num { font-size: 28px; line-height: 1.1; }
.dia .mes { font-size: 13px; }

.aviso { margin: 0; padding: 16px 20px; border-radius: 12px; border: 1px dashed var(--border); color: var(--muted); }
.slots-box { display: flex; flex-direction: column; gap: 10px; }
.slots-cap { font-size: 14px; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: 10px; border: 2px solid var(--border); background: transparent; color: var(--text); font-weight: 600; font-size: 16px; }
.slot[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-fg); border-color: var(--sel-bg); }
.slot:disabled { background: var(--taken-bg); color: var(--taken-fg); border-color: var(--taken-bg); text-decoration: line-through; }
.leyenda { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.leyenda span { display: flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; }
.sw.libre { border: 2px solid var(--border); }
.sw.ocupado { background: var(--taken-bg); }

.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.datos label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--soft); }
.ln-in { min-height: 48px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--border); background: var(--card); color: var(--text); font: inherit; font-size: 16px; font-weight: 400; }

.resumen { flex: 1 1 300px; min-width: 0; padding: 28px; border-radius: 18px; background: var(--sel-bg); color: var(--sel-fg); display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.resumen h2 { margin: 0; font-size: 28px; }
.resumen dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.resumen dl > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--sel-line); padding-bottom: 10px; }
.resumen dl > div.total { border-bottom: 0; padding-bottom: 0; font-size: 20px; font-weight: 700; }
.resumen dt { font-weight: 600; }
.resumen dd { margin: 0; text-align: right; }
.cta { min-height: 56px; border-radius: 12px; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.cta.off { background: var(--sel-line); color: var(--sel-muted); }
a.cta, a.cta:hover { background: var(--sel-fg); color: var(--sel-bg); }
.ayuda { margin: 0; font-size: 14px; color: var(--sel-muted); }

.done-wrap { max-width: 640px; margin: 0 auto; padding: 24px 24px 96px; }
.done { padding: 40px 32px; border-radius: 20px; background: var(--sel-bg); color: var(--sel-fg); display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; }
.done h2 { margin: 0; font-size: 40px; line-height: 1.1; }
.done p { margin: 0; font-size: 18px; }
.done p.chico { font-size: 16px; }
.done p.mini { font-size: 14px; color: var(--sel-muted); }
.done a, .done a:hover { display: inline-flex; align-items: center; min-height: 44px; color: var(--sel-fg); font-weight: 600; }
.otro { min-height: 48px; padding: 0 28px; border-radius: 12px; border: 2px solid currentColor; background: transparent; color: var(--sel-fg); font-weight: 700; font-size: 16px; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer-in { max-width: 1120px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 640px) {
  .hero-copy h1 { font-size: 42px; }
  .resumen { position: static; }
}
