/* Mac's Asados al Barril — reservas.html */

.res-hero {
  background: var(--color-black);
  background-image: linear-gradient(180deg, rgba(20,16,13,0.85), rgba(20,16,13,0.94)), url('../img/fondo.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: var(--space-9) 0 var(--space-8);
  text-align: center;
}
.res-hero .section-eyebrow { justify-content: center; }
.res-hero .section-eyebrow::before { display: none; }
.res-hero h1 { font-family: var(--font-script); font-weight: 400; font-size: var(--fs-3xl); margin-bottom: var(--space-3); text-transform: none; max-width: 44ch; margin-left: auto; margin-right: auto; }
.res-hero p { color: rgba(251, 243, 230, 0.78); max-width: 60ch; margin: 0 auto; }

.res-section { padding: var(--space-8) 0 var(--space-9); background: var(--color-cream); }

.res-layout {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .res-layout { grid-template-columns: 1.1fr 0.9fr; }
}

.res-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.res-card + .res-card { margin-top: var(--space-6); }

.res-card__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.res-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-black);
  font-family: var(--font-voice);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.res-card__subhead { font-size: var(--fs-base); font-family: var(--font-voice); font-weight: 700; margin-bottom: var(--space-3); }
.res-card__subhead:not(:first-child) { margin-top: var(--space-6); }

/* ---------- Sede ---------- */
.res-sede-hint { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--space-3); }

/* ---------- Calendario ---------- */
.res-calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.res-calendar-head__label { font-family: var(--font-display); font-size: var(--fs-lg); letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-text-dark); }
.res-calendar-head__nav { display: flex; gap: var(--space-2); }
.res-calendar-head__nav button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(122, 107, 91, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.res-calendar-head__nav button svg { width: 16px; height: 16px; }
.res-calendar-head__nav button:hover:not(:disabled) { border-color: var(--color-orange); color: var(--color-orange-deep); }
.res-calendar-head__nav button:disabled { opacity: 0.3; cursor: not-allowed; }

.res-calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: var(--space-2); }
.res-calendar__weekday { text-align: center; font-size: var(--fs-xs); font-weight: 700; color: var(--color-text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.res-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.res-calendar__cell {
  aspect-ratio: 1;
  min-height: 40px;
  border-radius: var(--radius-md);
  font-family: var(--font-voice);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text-dark);
  background: var(--color-cream-2);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.res-calendar__cell:not(:disabled):not(.res-calendar__cell--empty):hover { background: rgba(245, 166, 35, 0.18); }
.res-calendar__cell:disabled { color: var(--color-text-muted); opacity: 0.4; cursor: not-allowed; background: transparent; }
.res-calendar__cell.is-today { box-shadow: inset 0 0 0 1px var(--color-orange-deep); }
.res-calendar__cell.is-selected { background: var(--color-orange); color: var(--color-black); }
.res-calendar__cell--empty { background: transparent; pointer-events: none; }

/* ---------- Horas ---------- */
.res-time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
@media (min-width: 480px) { .res-time-grid { grid-template-columns: repeat(4, 1fr); } }
.res-time-btn {
  padding: 0.65em 0.5em;
  border: 1px solid rgba(122, 107, 91, 0.35);
  border-radius: var(--radius-md);
  font-family: var(--font-voice);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-text-dark);
  min-height: 44px;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.res-time-btn:hover:not(:disabled) { border-color: var(--color-orange); }
.res-time-btn.is-selected { background: var(--color-orange); border-color: var(--color-orange); color: var(--color-black); }
.res-time-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.res-time-empty { font-size: var(--fs-sm); color: var(--color-text-muted); padding-block: var(--space-4); }

/* ---------- Stepper de personas (input numérico entre dos botones) ---------- */
.res-stepper.stepper { padding: 0 2px; }
.res-stepper input {
  width: 3.5ch;
  text-align: center;
  font-family: var(--font-voice);
  font-size: var(--fs-md);
  font-weight: 700;
  background: none;
  border: none;
  color: var(--color-text-dark);
  font-variant-numeric: tabular-nums;
}
.res-stepper input:focus { outline: none; }

/* ---------- Errores ---------- */
.res-error { margin-top: var(--space-2); font-size: var(--fs-xs); color: var(--color-error); }
.has-error { border-color: var(--color-error) !important; }

/* ---------- Resumen (sticky en desktop) ---------- */
.res-summary-card { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
.res-summary__empty { font-size: var(--fs-sm); color: var(--color-text-muted); }
.res-summary__list { display: flex; flex-direction: column; gap: var(--space-3); }
.res-summary__row { display: flex; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px dashed rgba(122, 107, 91, 0.25); font-size: var(--fs-sm); }
.res-summary__row:last-child { border-bottom: none; padding-bottom: 0; }
.res-summary__row dt { color: var(--color-text-muted); margin: 0; }
.res-summary__row dd { font-weight: 700; text-align: right; margin: 0; }
.res-submit-wrap { margin-top: var(--space-6); }
.res-disclaimer { margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--color-text-muted); line-height: 1.5; text-align: center; }
