/* ============================================================================
   CERTICAR Córdoba — Turnero / Reserva (V2 Oscuro) · estilos de página
   Recreación fiel de src/turnero.jsx (desktop) + src/turnero-mobile.jsx (mobile).
   El chrome compartido (botones, photo, wa-float) vive en site.css; los tokens
   en styles.css. Esta página usa un header propio del turnero (no el de la home).
   Carga: styles.css → site.css → reservar.css.
   Desktop = base · mobile = overrides en @media (max-width: 860px).
   ========================================================================== */

.turnero-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #06080c;
  color: #fff;
}

/* Subtle gold glow top-right (del JSX) */
.turnero-page::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,196,96,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ============================ HEADER DEL TURNERO ============================ */
.turnero-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6,8,12,0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.turnero-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  text-decoration: none;
}
.turnero-header__brand:hover { text-decoration: none; }
.turnero-header__brand-text {
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.turnero-header__brand-k {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.turnero-header__brand-t { font-size: 14px; color: #fff; font-weight: 600; }

/* Progress steps (desktop) */
.steps {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 720px;
}
.steps__item { display: flex; align-items: center; gap: 10px; }
.steps__num {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.steps__num svg { display: none; }
.steps__label {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.steps__line {
  flex: 0 1 64px; height: 1px;
  margin: 0 16px;
  background: rgba(255,255,255,0.12);
}
/* Estado activo (cyan = funcional NO: el indicador del paso usa dorado de marca segun el JSX) */
.steps__item.is-active .steps__num {
  border-color: var(--brand);
  color: var(--brand);
}
.steps__item.is-active .steps__label { color: #fff; }
/* Estado completado */
.steps__item.is-done .steps__num {
  background: var(--brand);
  border-color: var(--brand);
  color: #1a1206;
}
.steps__item.is-done .steps__num .steps__num-digit { display: none; }
.steps__item.is-done .steps__num svg { display: block; }
.steps__item.is-done .steps__label { color: rgba(255,255,255,0.6); }
.steps__line.is-done { background: var(--brand); }

.turnero-header__close {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.turnero-header__close:hover { background: rgba(255,255,255,0.04); text-decoration: none; }

/* Header mobile (oculto en desktop) */
.turnero-header-mobile { display: none; }

/* ============================ MAIN / GRID ============================ */
.turnero-main {
  flex: 1;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Cada paso ocupa la misma celda izquierda; oculto por defecto salvo activo */
.step-panel { display: none; }
.step-panel.is-active { display: block; }

.step-head { margin-bottom: 36px; }
.step-head--tight { margin-bottom: 32px; }
.step-head__kicker { color: var(--brand); }
.step-head h1 {
  font-size: 44px; font-weight: 800; letter-spacing: -0.025em;
  margin: 12px 0 10px; color: #fff; line-height: 1.1;
}
.step-head h1 .accent { color: var(--brand); }
.step-head p {
  font-size: 16px; color: rgba(255,255,255,0.6);
  margin: 0; line-height: 1.5;
}

.step-form { display: flex; flex-direction: column; gap: 22px; }
.field-grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.field-grid-2--email { grid-template-columns: 1.3fr 1fr; }

/* ============================ FIELDS (dark) ============================ */
.tf { display: flex; flex-direction: column; gap: 8px; }
.tf__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.tf__label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.tf__optional { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 500; }
.tf__hint { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ----- Validación: feedback neutro (sin colores de semáforo, por regla de marca) ----- */
.field-error {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.78);
}
.field-error svg { flex-shrink: 0; color: rgba(255,255,255,0.6); }
.tinput.has-error { border-color: rgba(255,255,255,0.45); box-shadow: 0 0 0 3px rgba(255,255,255,0.06); }
.chips.has-error, .radios.has-error {
  outline: 1px dashed rgba(255,255,255,0.30); outline-offset: 6px; border-radius: 12px;
}

/* Input dark con icono y sufijo */
.tinput {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  transition: border-color 150ms, box-shadow 150ms;
  overflow: hidden;
}
.tinput:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.12);
}
.tinput__icon { padding-left: 14px; color: rgba(255,255,255,0.45); display: flex; }
.tinput input {
  flex: 1;
  background: transparent; border: none; outline: none;
  padding: 14px 16px;
  font-size: 15px; font-weight: 500;
  color: #fff; font-family: inherit;
  min-width: 0;
}
.tinput input::placeholder { color: rgba(255,255,255,0.4); }
.tinput__suffix {
  padding-right: 14px; color: rgba(255,255,255,0.45);
  font-size: 13px; font-weight: 500;
}
.tinput__suffix--ok { color: var(--green); display: inline-flex; align-items: center; gap: 4px; }

/* Select dark (display estático) */
.tselect {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  transition: all 150ms;
  cursor: pointer;
}
.tselect:hover, .tselect:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(232,196,96,0.12);
}
.tselect__icon { padding-left: 14px; color: rgba(255,255,255,0.45); display: flex; }
.tselect__value {
  flex: 1; padding: 14px 16px;
  font-size: 15px; font-weight: 500; color: #fff;
  text-align: left;
}
.tselect__chev { padding-right: 14px; color: rgba(255,255,255,0.45); display: flex; }
/* Select nativo real (dropdown del navegador) */
.tselect__select {
  flex: 1; min-width: 0;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: transparent; border: none; outline: none;
  padding: 14px 16px;
  font-size: 15px; font-weight: 500; color: #fff; font-family: inherit;
  cursor: pointer;
}
.tselect__select option { color: #0f1720; }   /* menú del SO: texto oscuro sobre blanco */
.tselect__icon, .tselect__chev { pointer-events: none; }
.tselect:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(232,196,96,0.12); }
/* Campo "otra marca" (se revela al tocar "Buscar otra") */
.tinput[hidden] { display: none; }
.chip--more.is-active { border-style: solid; }

/* ============================ MARCA CHIPS ============================ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  font-family: inherit;
}
/* chip activo = cyan funcional */
.chip.is-active {
  background: var(--gold-a10);
  border-color: rgba(232,196,96,0.42);
  color: var(--brand);
}
.chip--more {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============================ RADIO CARDS ============================ */
.radios { display: flex; gap: 10px; }
.radio-card {
  flex: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  cursor: pointer; text-align: left;
  transition: all 150ms;
  font-family: inherit;
}
/* radio seleccionado = dorado (fiel al mockup: "tu elección" = primario de marca) */
.radio-card.is-selected {
  background: rgba(232,196,96,0.08);
  border-color: rgba(232,196,96,0.42);
}
.radio-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.radio-card.is-selected .radio-card__icon {
  background: rgba(232,196,96,0.16);
  color: var(--brand);
}
.radio-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.radio-card__title { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.25; }
.radio-card__hint { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.5); margin-top: 3px; line-height: 1.3; }
.radio-card__dot {
  width: 20px; height: 20px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.radio-card.is-selected .radio-card__dot {
  border-color: var(--brand);
  background: var(--brand);
}
.radio-card__dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 999px;
  background: var(--ink-on-gold); display: none;
}
.radio-card.is-selected .radio-card__dot::after { display: block; }

/* ============================ MINI MAPA ============================ */
.map-preview {
  margin-top: 12px;
  height: 140px; border-radius: 12px;
  background: linear-gradient(135deg, #0a1620 0%, #122a3a 100%);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.map-preview__grid { position: absolute; inset: 0; opacity: 0.18; }
.map-preview__pin {
  position: relative; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--brand); color: #1a1206;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(232,196,96,0.5);
}

/* ============================ PRIVACY NOTE ============================ */
.privacy-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.privacy-note__icon { color: rgba(255,255,255,0.5); margin-top: 2px; display: flex; }
.privacy-note__t { font-size: 13px; font-weight: 600; color: #fff; }
.privacy-note__s { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 3px; line-height: 1.5; }

/* ============================ STEP 3 — CALENDARIO ============================ */
.step3-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start;
}
.calendar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 24px;
}
.calendar__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}
.calendar__nav {
  width: 32px; height: 32px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
}
.calendar__nav:hover { background: rgba(255,255,255,0.08); }
.calendar__nav--prev svg { transform: rotate(180deg); }
.calendar__nav:disabled, .calendar__nav.is-disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.calendar__title { display: flex; align-items: baseline; gap: 8px; }
.calendar__month { font-size: 18px; font-weight: 700; color: #fff; }
.calendar__year { font-size: 14px; color: rgba(255,255,255,0.5); }
.calendar__weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px;
}
.calendar__weekday {
  text-align: center; font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.4); letter-spacing: 0.08em; padding: 6px 0;
}
.calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar__day {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.25);
  cursor: not-allowed;
  font-family: inherit;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.calendar__day.is-empty { border: none; background: none; cursor: default; }
.calendar__day.is-today { color: var(--primary); }
.calendar__day.is-available {
  border-color: var(--cyan-a22);
  background: var(--cyan-a06);
  color: #fff;
  cursor: pointer;
}
.calendar__day.is-available::after {
  content: ''; position: absolute; bottom: 6px;
  width: 4px; height: 4px; border-radius: 999px; background: var(--primary);
}
.calendar__day.is-selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #1a1206;
  cursor: pointer;
}
.calendar__day.is-selected::after { display: none; }
.calendar__day.is-full { background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.28); cursor: not-allowed; }
.calendar__legend {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: flex; gap: 18px; font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500;
  flex-wrap: wrap;
}
.calendar__legend-item { display: flex; align-items: center; gap: 6px; }
.calendar__legend-dot { width: 8px; height: 8px; border-radius: 999px; }
.calendar__legend-dot--av { background: rgba(34,211,238,0.6); }
.calendar__legend-dot--sel { background: var(--brand); }
.calendar__legend-dot--full { background: rgba(255,255,255,0.18); }

/* Día seleccionado + slots */
.slots-col { display: flex; flex-direction: column; gap: 16px; }
.day-pill {
  padding: 14px 18px;
  background: rgba(232,196,96,0.06);
  border: 1px solid var(--gold-a32);
  border-radius: 14px;
}
.day-pill__k {
  font-size: 11px; color: var(--brand); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.day-pill__t { font-size: 22px; font-weight: 700; color: #fff; margin-top: 4px; }
.day-pill__s { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.slot-group__title {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
/* slot seleccionado = cyan funcional */
.slot.is-selected {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink-on-gold);
  box-shadow: 0 6px 16px rgba(232,196,96,0.32);
}
.slot.is-taken {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.28);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Nota cyan (info funcional) */
.info-note {
  padding: 14px 16px;
  background: var(--cyan-a06);
  border: 1px solid rgba(34,211,238,0.18);
  border-radius: 10px;
  font-size: 12px; color: rgba(255,255,255,0.75);
  line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
.info-note__icon { color: var(--primary); flex-shrink: 0; margin-top: 1px; display: flex; }
.info-note--slots { margin-top: 4px; }

/* ============================ STEP 4 — PAGO ============================ */
.order-review {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
}
.order-review__head {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
}
.order-review__title {
  font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.order-review__edit {
  background: transparent; border: none;
  color: var(--primary); font-size: 13px; font-weight: 600;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.order-review__edit:hover { text-decoration: underline; }
.order-review__grid {
  padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.order-row { display: flex; gap: 14px; padding: 8px 0; }
.order-row__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.order-row__l {
  font-size: 11px; color: rgba(255,255,255,0.45); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.order-row__v { font-size: 15px; font-weight: 600; color: #fff; margin-top: 2px; }
.order-row__sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.pay-heading {
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600; margin-bottom: 14px;
}
.pay-section { margin-top: 32px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-method {
  text-align: left;
  padding: 22px 24px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  font-family: inherit;
  position: relative;
}
/* método seleccionado = cyan funcional */
.pay-method.is-selected {
  background: linear-gradient(180deg, rgba(34,211,238,0.08), rgba(34,211,238,0.02));
  border-color: var(--cyan-a32);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.08);
}
.pay-method__radio {
  position: absolute; top: 14px; right: 14px;
  width: 22px; height: 22px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.pay-method__radio svg { display: none; }
.pay-method.is-selected .pay-method__radio {
  background: var(--primary); color: #062a32; border-color: var(--primary);
}
.pay-method.is-selected .pay-method__radio svg { display: block; }
.pay-method__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pay-method__logo {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay-method__logo--mp { background: #009ee3; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.pay-method__logo--tr {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.10);
}
.pay-method__name { font-size: 17px; font-weight: 700; color: #fff; }
.pay-method__tag { font-size: 12px; font-weight: 600; margin-top: 1px; }
.pay-method__tag--mp { color: var(--primary); }
.pay-method__tag--tr { color: rgba(255,255,255,0.5); }
.pay-method__body { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.pay-method__foot {
  margin-top: 14px; padding-top: 14px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
}
.pay-method__foot--mp {
  border-top: 1px solid rgba(34,211,238,0.18);
  color: rgba(255,255,255,0.55);
}
.pay-method__foot--tr {
  border-top: 1px solid var(--hairline);
  color: var(--yellowD);
}

/* T&C checkbox */
.tc {
  margin-top: 28px;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  cursor: pointer;
}
.tc__box {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: #1a1206;
}
.tc__box svg { display: block; }
.tc.is-unchecked .tc__box { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); }
.tc.is-unchecked .tc__box svg { display: none; }
.tc__text { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.55; }
.tc__text a { color: var(--primary); }

/* ============================ SUMMARY CARD (aside) ============================ */
.turnero-aside { position: relative; }
.summary {
  background: linear-gradient(180deg, rgba(232,196,96,0.04) 0%, transparent 100%), var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.summary__seal {
  position: absolute; top: -32px; right: -32px;
  opacity: 0.10; width: 180px; height: 180px; pointer-events: none;
}
.summary__inner { position: relative; }
.summary__k {
  font-size: 11px; color: var(--brand); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.summary__t {
  font-size: 22px; font-weight: 700; color: #fff;
  margin-top: 6px; letter-spacing: -0.01em;
}
.summary__rows { margin-top: 22px; display: flex; flex-direction: column; }
.summary__row {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.summary__row:first-child { border-top: 1px solid var(--hairline); }
.summary__row-l { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.summary__row-v {
  font-size: 13px; font-weight: 600; text-align: right; color: #fff;
}
.summary__row-v.is-pending { color: rgba(255,255,255,0.3); font-style: italic; }
.summary__price { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.summary__price-row { display: flex; justify-content: space-between; font-size: 13px; }
.summary__price-row span:first-child { color: rgba(255,255,255,0.55); }
.summary__price-row .cc-mono { color: #fff; font-weight: 600; }
.summary__price-row .is-default { color: rgba(255,255,255,0.4); }
.summary__total {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px dashed var(--gold-a32);
  display: flex; justify-content: space-between; align-items: baseline;
}
.summary__total-l {
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.summary__total-v {
  font-size: 32px; font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.summary__guard {
  margin-top: 22px; padding: 12px 14px;
  background: var(--cyan-a06);
  border: 1px solid rgba(34,211,238,0.18);
  border-radius: 10px;
  font-size: 12px; color: rgba(255,255,255,0.75);
  line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
.summary__guard-icon { color: var(--primary); flex-shrink: 0; margin-top: 1px; display: flex; }
.summary__guard strong { color: #fff; font-weight: 600; }

/* ============================ FOOTER NAV (sticky) ============================ */
.turnero-footer {
  position: sticky; bottom: 0; z-index: 15;
  background: rgba(6,8,12,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--hairline);
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.turnero-footer--pay { border-top-color: var(--gold-a32); background: rgba(6,8,12,0.94); }

/* WhatsApp flotante: por encima del footer sticky para no tapar el botón Continuar/Pagar */
.cc-wa-float { bottom: 104px; }
.turnero-page.is-success ~ .cc-wa-float { bottom: 24px; }   /* en éxito no hay footer */
@media (max-width: 860px) { .cc-wa-float { bottom: 142px; } }
.turnero-footer__left { display: flex; align-items: center; gap: 14px; }
.btn-back {
  background: transparent; border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.btn-back:hover { background: rgba(255,255,255,0.04); }
.btn-back svg { transform: rotate(180deg); }
.turnero-footer__note { font-size: 12px; color: rgba(255,255,255,0.45); font-weight: 500; }

.btn-continue {
  background: var(--brand);
  color: #1a1206;
  font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  border: none; font-family: inherit;
  box-shadow: 0 8px 24px rgba(232,196,96,0.28);
}
.btn-continue:hover { background: var(--brandHover); }

/* CTA grande de pago */
.btn-pay {
  background: var(--brand);
  color: #1a1206;
  font-weight: 800; font-size: 16px;
  padding: 16px 28px; border-radius: 14px;
  display: inline-flex; align-items: center; gap: 16px;
  border: none; font-family: inherit;
  box-shadow: 0 12px 36px rgba(232,196,96,0.32);
}
.btn-pay:hover { background: var(--brandHover); }
.btn-pay__main { display: inline-flex; align-items: center; gap: 10px; }
.btn-pay__sep { height: 24px; width: 1px; background: rgba(26,18,6,0.30); }
.btn-pay__price { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

/* La barra de footer de pago no se muestra en pasos 1-3 y viceversa */
.turnero-footer[data-when] { display: none; }
.turnero-footer[data-when].is-active { display: flex; }

/* ============================ ÉXITO ============================ */
.turnero-success {
  display: none;
  min-height: 100vh;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #0a1814 0%, #06080c 60%);
  color: #fff;
}
.turnero-success.is-active { display: flex; }
.turnero-success__glow-green {
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(14,159,110,0.20), transparent 60%);
  pointer-events: none;
}
.turnero-success__glow-gold {
  position: absolute; bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,196,96,0.14), transparent 60%);
  pointer-events: none;
}
.turnero-success__header {
  padding: 24px 40px; display: flex; justify-content: center;
  position: relative; z-index: 2;
}
.turnero-success__main {
  flex: 1; padding: 40px;
  display: flex; flex-direction: column; align-items: center;
  max-width: 760px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.success-check {
  width: 96px; height: 96px; border-radius: 999px;
  background: rgba(14,159,110,0.16);
  border: 2px solid rgba(14,159,110,0.50);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 60px rgba(14,159,110,0.32);
  animation: ccPulse 3s ease-in-out infinite;
}
.success-kicker { color: var(--green); margin-top: 28px; }
.turnero-success__main h1 {
  font-size: 60px; font-weight: 800; letter-spacing: -0.03em;
  text-align: center; margin: 14px 0 16px; color: #fff; line-height: 1.05;
}
.turnero-success__main h1 .accent { color: var(--brand); }
.success-lead {
  font-size: 17px; color: rgba(255,255,255,0.65);
  max-width: 560px; text-align: center; margin: 0; line-height: 1.5;
}
.success-lead strong { color: #fff; font-weight: 600; }

.res-card {
  margin-top: 40px; width: 100%;
  background: var(--surface);
  border: 1px solid var(--gold-a28);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.res-card__strip {
  background: linear-gradient(90deg, transparent, rgba(232,196,96,0.32), transparent);
  height: 2px;
}
.res-card__head {
  padding: 28px 32px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px dashed var(--hairline);
  gap: 16px; flex-wrap: wrap;
}
.res-card__k {
  font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.res-card__code {
  font-size: 28px; font-weight: 800; color: var(--brand);
  letter-spacing: -0.02em; margin-top: 4px;
}
.res-card__paid-wrap { text-align: right; }
.res-card__paid { font-size: 24px; font-weight: 700; color: #fff; margin-top: 4px; }
.res-card__paid-ok { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 2px; }
.res-card__grid { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.res-card__cell-l {
  font-size: 11px; color: rgba(255,255,255,0.45); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.res-card__cell-v { font-size: 16px; font-weight: 600; color: #fff; margin-top: 4px; }

.next-steps {
  margin-top: 32px; width: 100%;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}
.next-steps__k {
  font-size: 11px; color: var(--primary); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.next-steps__list { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.next-step { display: flex; align-items: flex-start; gap: 14px; }
.next-step__num {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--cyan-a10);
  border: 1px solid var(--cyan-a32);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-family: var(--font-mono);
  flex-shrink: 0;
}
.next-step__t { font-size: 14px; font-weight: 600; color: #fff; }
.next-step__s { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.success-actions {
  margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.success-actions .btn-share {
  background: var(--wa); color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 14px 22px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  border: none; font-family: inherit; text-decoration: none;
}
.success-actions .btn-share:hover { background: #1eb958; text-decoration: none; }
.success-actions .btn-dl {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 600; font-size: 14px;
  padding: 14px 22px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit;
}
.success-actions .btn-dl:hover { background: rgba(255,255,255,0.04); }
.success-actions .btn-home {
  background: transparent; color: rgba(255,255,255,0.65);
  border: none; font-weight: 500; font-size: 14px;
  padding: 14px 16px; font-family: inherit; text-decoration: none;
}
.success-actions .btn-home:hover { color: #fff; text-decoration: none; }

/* Cuando estamos en éxito, ocultamos la shell del flujo */
.turnero-page.is-success > .turnero-header,
.turnero-page.is-success > .turnero-main,
.turnero-page.is-success > .turnero-footer { display: none; }

/* ============================================================================
   RESPONSIVE — mobile (≤ 860px) · refleja turnero-mobile.jsx
   ========================================================================== */
@media (max-width: 860px) {
  /* Header: ocultar el desktop, mostrar el compacto mobile */
  .turnero-header { display: none; }
  .turnero-header-mobile {
    display: block;
    position: sticky; top: 0; z-index: 20;
    background: rgba(6,8,12,0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    padding: 14px 16px 12px;
  }
  .turnero-header-mobile__row {
    display: flex; align-items: center; justify-content: space-between;
  }
  .mh-left { display: flex; align-items: center; gap: 10px; }
  .mh-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
  }
  .mh-btn--back svg { transform: rotate(180deg); }
  .mh-pill {
    font-size: 12px; font-weight: 700; color: var(--brand);
    font-family: var(--font-mono); letter-spacing: 0.02em;
    padding: 6px 12px;
    background: var(--gold-a10);
    border: 1px solid var(--gold-a32);
    border-radius: 999px;
  }
  .mh-pill span { color: rgba(255,255,255,0.4); }
  .mh-dots { display: flex; gap: 6px; margin-top: 12px; }
  .mh-dot {
    flex: 1; height: 4px; border-radius: 999px;
    background: rgba(255,255,255,0.10);
    transition: background 200ms;
  }
  .mh-dot.is-done { background: var(--brand); }

  /* Main: una sola columna; el aside (summary) se oculta — su info va en la bottom bar */
  .turnero-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 18px 28px;
  }
  .turnero-aside { display: none; }

  .step-head, .step-head--tight { margin-bottom: 24px; }
  .step-head h1 { font-size: 32px; margin: 8px 0 8px; line-height: 1.08; }
  .step-head p { font-size: 14px; }
  .step-head__kicker { font-size: 10px; }

  .step-form { gap: 20px; }
  .field-grid-2, .field-grid-2--email { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Chips y radios apilados en mobile (radio = columna) */
  .radios { flex-direction: column; gap: 8px; }
  .radio-card { padding: 14px 16px; }
  .radio-card__icon { width: 32px; height: 32px; border-radius: 8px; }

  /* Step 3: calendario y slots apilados */
  .step3-grid { grid-template-columns: 1fr; gap: 18px; }
  .calendar { padding: 14px; border-radius: 14px; }
  .calendar__legend { display: none; }
  .day-pill { margin-top: 0; }

  /* Step 4: review y métodos en columna */
  .order-review__grid { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .pay-methods { grid-template-columns: 1fr; gap: 10px; }
  .pay-section { margin-top: 24px; }

  /* Footer del flujo: se transforma en bottom bar con chip de resumen + CTA full */
  .turnero-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .turnero-footer__left { display: none; }
  .mobile-summary-chip {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: transparent; border: none;
    border-bottom: 1px solid var(--hairline);
    font-family: inherit;
  }
  .mobile-summary-chip__left { display: flex; align-items: center; gap: 10px; }
  .mobile-summary-chip__icon { color: rgba(255,255,255,0.5); display: flex; }
  .mobile-summary-chip__t { font-size: 13px; font-weight: 600; color: #fff; }
  .mobile-summary-chip__badge {
    font-size: 11px; color: rgba(255,255,255,0.45);
    padding: 2px 8px; border-radius: 999px;
    background: rgba(255,255,255,0.04);
  }
  .mobile-summary-chip__right { display: flex; align-items: center; gap: 8px; }
  .mobile-summary-chip__total {
    font-size: 18px; font-weight: 800;
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
  }
  .mobile-summary-chip__chev { color: rgba(255,255,255,0.5); display: flex; }

  .mobile-cta-wrap { padding: 12px 16px 18px; }
  .btn-continue, .btn-pay {
    width: 100%;
    justify-content: center;
  }
  .btn-pay {
    font-size: 15px; gap: 12px; padding: 16px 20px;
  }
  .btn-pay__sep { height: 18px; }
  .btn-pay__price { font-size: 16px; }

  /* Desktop-only footer pieces ocultas; mobile pieces visibles solo en mobile */
  .turnero-footer .btn-back { display: none; }

  /* Éxito mobile */
  .turnero-success__header { padding: 20px 16px 12px; }
  .turnero-success__main { padding: 20px 18px 28px; }
  .success-check { width: 78px; height: 78px; }
  .success-check svg { width: 38px; height: 38px; }
  .success-kicker { margin-top: 22px; font-size: 11px; }
  .turnero-success__main h1 { font-size: 38px; margin: 12px 0 14px; }
  .success-lead { font-size: 14px; }
  .res-card { margin-top: 28px; border-radius: 18px; }
  .res-card__head { padding: 18px 18px 14px; }
  .res-card__code { font-size: 20px; }
  .res-card__paid { font-size: 18px; }
  .res-card__grid { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  /* En mobile el JSX muestra las celdas como filas label/valor */
  .res-card__cell { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .res-card__cell-v { margin-top: 0; font-size: 13px; text-align: right; }
  .next-steps { margin-top: 20px; padding: 18px; border-radius: 14px; }
  .success-actions {
    margin-top: 22px; width: 100%;
    flex-direction: column; flex-wrap: nowrap;
  }
  .success-actions .btn-share,
  .success-actions .btn-dl,
  .success-actions .btn-home { width: 100%; justify-content: center; }
}

/* El chip de resumen es mobile-only (desktop tiene el summary card aside).
   El wrap del botón de acción (Continuar / Pagar) SÍ se muestra en desktop,
   a la derecha del footer (justify-content: space-between). */
.mobile-summary-chip { display: none; }
@media (max-width: 860px) {
  .mobile-summary-chip { display: flex; }
  .mobile-cta-wrap { display: block; }
}
