/* Página de reserva del huésped — multi-unidad */
.hero-booking { background: linear-gradient(180deg, #eef0e6, var(--arena)); padding: 40px 0 18px; }
.hero-booking .kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 800; color: var(--cipres); margin: 0 0 8px; }
.hero-booking h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hero-booking .lede { max-width: 640px; color: var(--text-soft); font-size: 1.05rem; }

.booking-wrap { padding: 26px 0 60px; }
.booking-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--granito); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }

/* Título de paso */
.step-title { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin: 0 0 16px; }
.step-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pino); color: #fff; font-family: var(--font-body);
  font-size: .82rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}

/* Paso 1 — unidades */
.units-section { margin-bottom: 26px; }
.units-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.unit-card {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--granito); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s, box-shadow .15s;
  display: flex; flex-direction: column; gap: 6px;
}
.unit-card:hover { transform: translateY(-2px); border-color: var(--cipres); }
.unit-card.on { border-color: var(--pino); box-shadow: 0 0 0 3px rgba(46, 83, 57, .14), var(--shadow); }
.u-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.u-head h3 { font-size: 1.02rem; margin: 0; }
.u-badge { flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.u-badge.sea { background: #Dfe6ea; color: #3a5568; }
.u-tag { margin: 0; font-size: .86rem; color: var(--text-soft); }
.u-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--text-soft); }
.u-min { color: var(--cipres); font-weight: 700; }
.u-price { margin-top: 4px; color: var(--noche); }
.u-price strong { font-family: var(--font-display); font-size: 1.3rem; }
.u-from, .u-night { font-size: .78rem; color: var(--text-soft); }
.u-extra { font-size: .74rem; color: var(--madera); font-weight: 700; }

/* Paso 2 — calendario */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { margin: 0; font-size: 1.05rem; text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--granito); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--pino); line-height: 1; }
.cal-nav:hover:not(:disabled) { background: var(--arena); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.calendars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.month h4 { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .98rem; text-transform: capitalize; margin: 0 0 8px; color: var(--noche); }
.dow, .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow span { text-align: center; font-size: .68rem; font-weight: 800; color: var(--text-soft); padding-bottom: 4px; }
.day { aspect-ratio: 1; border: 0; background: transparent; border-radius: 9px; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; color: var(--text); position: relative; }
.day.empty { visibility: hidden; }
.day.free:hover { background: #e2ebdf; }
.day.past, .day.busy { color: #b7b3a6; cursor: not-allowed; text-decoration: line-through; }
.day.busy { background: #efe7db; text-decoration: none; color: #b0a58e; }
/* Temporada alta / feriado: punto bajo el número */
.day.alta::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--madera);
}
.day.feriado::after { width: 5px; height: 5px; background: var(--warn); }
.day.sel-in, .day.sel-out { background: var(--pino); color: #fff; }
.day.sel-in::after, .day.sel-out::after, .day.in-range::after { background: rgba(255,255,255,.75); }
.day.in-range { background: #d8e6d5; border-radius: 0; }
.day.sel-in { border-radius: 9px 0 0 9px; }
.day.sel-out { border-radius: 0 9px 9px 0; }
.cal-legend { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--text-soft); }
.cal-legend .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.dot.free { background: #cfe0cb; } .dot.sel { background: var(--pino); } .dot.busy { background: #e0d4bf; }
.dot.alta { background: var(--madera); }

/* Paso 3 — panel de reserva */
.picked-unit { background: var(--arena); border: 1px solid var(--granito); border-radius: 10px; padding: 9px 12px; margin-bottom: 14px; font-size: .9rem; color: var(--noche); }
.book-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 16px; }
.datebox { background: var(--arena); border: 1px solid var(--granito); border-radius: 10px; padding: 10px 12px; }
.datebox .lbl { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); font-weight: 800; }
.datebox strong { font-size: .98rem; color: var(--noche); }
.book-dates .arrow { color: var(--cipres); font-weight: 800; }

.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .82rem; font-weight: 800; color: var(--text-soft); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--granito); border-radius: 10px;
  font: inherit; background: #fff; color: var(--text);
}
.field textarea { resize: vertical; }
.guest-hint { font-size: .76rem; color: var(--text-soft); margin: -6px 0 14px; }

.quote { background: var(--arena); border: 1px solid var(--granito); border-radius: 12px; padding: 14px 16px; margin: 6px 0 14px; }
.quote .row { display: flex; justify-content: space-between; font-size: .92rem; padding: 3px 0; color: var(--text-soft); }
.quote .row.total { border-top: 1px dashed var(--granito); margin-top: 8px; padding-top: 10px; font-size: 1.15rem; font-weight: 800; color: var(--noche); }
.q-note { font-size: .78rem; color: var(--madera); font-weight: 700; padding: 3px 0; }
.quote-msg { border-radius: 10px; padding: 11px 14px; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.quote-msg.bad { background: #F0D9D4; color: #8f3427; }
.quote-msg.warn { background: #F6E9CF; color: #8a5f18; }

/* Solicitud especial (bajo el mínimo de noches) */
.special-banner {
  background: #F6E9CF; border: 1px solid #e3cf9e; border-radius: 10px;
  padding: 11px 14px; margin-bottom: 14px; font-size: .85rem; color: #7a5414;
  display: flex; flex-direction: column; gap: 3px;
}
.special-banner strong { font-size: .9rem; color: #6a4810; }

.fineprint { font-size: .78rem; color: var(--text-soft); margin: 12px 0 0; }
.done { text-align: center; padding: 10px 4px; }
.done .big { font-size: 2rem; }
.done .code { display: inline-block; font-family: var(--font-display); font-size: 1.6rem; color: var(--pino); background: var(--arena); border: 1px dashed var(--pino); border-radius: 10px; padding: 6px 16px; margin: 10px 0; letter-spacing: .06em; }
.hidden { display: none; }

.foot { border-top: 1px solid var(--granito); padding: 20px 0; }
.foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; }

@media (max-width: 860px) {
  .booking-cols { grid-template-columns: 1fr; }
  .calendars { grid-template-columns: 1fr; }
  .month:nth-child(2) { display: none; }
}
