/* Reserva del Camino Inca (class-terra-incatrail-booking.php) · marca: navy #0b1f33, azul #2e47ab, naranja #f7931e */
.tqib { --navy: #0b1f33; --blue: #2e47ab; --orange: #f7931e; --line: #e3e8f2; --soft: #f6f8fc; --muted: #64748b; --ok: #15a24a;
  font-family: 'Montserrat', system-ui, sans-serif; color: var(--navy); background: var(--soft); }
.tqib *, .tqib *::before, .tqib *::after { box-sizing: border-box; }
.tqib-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.tqib .material-symbols-rounded { font-size: 18px; vertical-align: -4px; }

/* Hero */
.tqib-hero { background: linear-gradient(135deg, var(--navy) 0%, #13305a 55%, var(--blue) 100%); color: #fff; padding: 52px 0 46px; }
.tqib-kicker { margin: 0 0 10px; color: var(--orange); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.tqib-h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; margin: 0 0 14px; max-width: 820px; color: #fff; text-align: left; }
.tqib-lead { font-size: 17px; line-height: 1.6; max-width: 720px; margin: 0 0 22px; color: #dbe5ff; }
.tqib-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: #e8eeff; }
.tqib-badges .material-symbols-rounded { color: var(--orange); margin-right: 6px; }

/* Rejilla */
.tqib-main { padding: 32px 0 56px; }
.tqib-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.tqib-steps { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tqib-step { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; }
.tqib-step legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.tqib-step legend + * { clear: both; }
.tqib-step legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; flex: none; }
.tqib-note { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Rutas */
.tqib-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tqib-route { position: relative; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s; background: #fff; }
.tqib-route:hover { border-color: #b8c4e6; }
.tqib-route.is-on { border-color: var(--blue); box-shadow: 0 6px 20px rgba(46, 71, 171, .14); }
.tqib-route input { position: absolute; opacity: 0; pointer-events: none; }
.tqib-route__body { display: flex; flex-direction: column; gap: 3px; }
.tqib-route__name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; }
.tqib-route__meta { font-size: 13px; font-weight: 600; color: var(--blue); }
.tqib-route__desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.tqib-route__desc a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.tqib-route__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; border-top: 1px dashed var(--line); padding-top: 8px; }
.tqib-route__price b { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; }
.tqib-route__price small { font-size: 12.5px; color: var(--muted); }
.tqib-route__price .tqib-route__next { width: 100%; color: var(--orange); font-weight: 700; }

/* Calendario dentro del paso */
.tqib-cal .tic { margin: 0; box-shadow: none; }

/* Viajeros y extras */
.tqib-pax { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tqib-pax .tqib-note { margin: 0; flex: 1 1 260px; }
.tqib-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; flex: none; }
.tqib-stepper button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--blue); cursor: pointer; font-family: inherit; }
.tqib-stepper button:disabled { color: #c3cad8; cursor: default; }
.tqib-stepper output { min-width: 36px; text-align: center; font-weight: 700; font-size: 17px; }
.tqib-stepper--sm button { width: 36px; height: 36px; font-size: 19px; }
.tqib-extras { display: flex; flex-direction: column; }
.tqib-extra { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.tqib-extra:first-child { border-top: 0; }
.tqib-extra[hidden] { display: none; }
.tqib-extra__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tqib-extra__txt b { font-size: 15px; }
.tqib-extra__txt small { font-size: 13px; color: var(--muted); }
.tqib-extra.is-on .tqib-extra__txt b { color: var(--blue); }

/* Términos */
.tqib-terms { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 14px; line-height: 1.5; color: #334155; }
.tqib-terms__full { margin: 0 0 14px; font-size: 14px; }
.tqib-terms__full a { color: var(--blue); font-weight: 700; }
.tqib-accept { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.tqib-accept input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }

/* Resumen */
.tqib-summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(11, 31, 51, .08); }
.tqib-summary h2 { font-family: 'Poppins', sans-serif; font-size: 19px !important; font-weight: 700; margin: 0 0 12px !important; text-align: left; color: var(--navy); }
.tqib-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 12px; font-size: 14px; }
.tqib-summary dt { color: var(--muted); }
.tqib-summary dd { margin: 0; font-weight: 600; text-align: right; }
.tqib-lines { border-top: 1px solid var(--line); padding-top: 10px; }
.tqib-lines p, .tqib-total, .tqib-now, .tqib-bal { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 7px; font-size: 14px; }
.tqib-lines p span { color: #334155; }
.tqib-lines p.is-extra span { color: var(--muted); }
.tqib-total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 16px; }
.tqib-total b { font-family: 'Poppins', sans-serif; font-size: 20px; }
.tqib-now b { color: var(--ok); font-size: 16px; }
.tqib-bal b { color: #d9932b; }
.tqib-bal[hidden] { display: none; }
.tqib-error { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff6e8; color: #8a5300; font-size: 13.5px; line-height: 1.45; }
.tqib-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; border: 0; border-radius: 999px; padding: 14px 18px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; font-family: inherit; text-align: center; transition: transform .15s, background .2s; }
.tqib-btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(247, 147, 30, .35); }
.tqib-btn--primary:hover { color: #fff; transform: translateY(-1px); }
.tqib-btn--primary.is-off { background: #f3c48a; box-shadow: none; cursor: not-allowed; transform: none; }
.tqib-btn--wa { background: #fff; color: #128c4a; border: 1px solid #bfe7cf; }
.tqib-btn--wa.is-strong { background: #25d366; color: #fff; border-color: #25d366; }
.tqib-btn--wa:hover { color: #0b6b37; }
.tqib-btn--wa.is-strong:hover { color: #fff; }
.tqib-secure { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

@media (max-width: 980px) {
  .tqib-grid { grid-template-columns: minmax(0, 1fr); }
  .tqib-summary { position: static; }
}
@media (max-width: 600px) {
  .tqib-hero { padding: 36px 0 32px; }
  .tqib-routes { grid-template-columns: minmax(0, 1fr); }
  .tqib-step { padding: 16px 14px; border-radius: 14px; }
  .tqib-step legend { font-size: 17px; }
}
