/* tuinterprete.com — preview. Paleta y tipografías aprobadas por Max, 6-sep-2026. */
:root {
  --royal: #093095;
  --midnight: #051B54;
  --lavender: #D1DAF3;
  --lavender-soft: #EDF1FB;
  --ghost: #F8F9FF;
  --charcoal: #373739;
  --muted: #5F6470;
  --line: #E1E6F3;
  --white: #FFFFFF;
  --shadow: 0 6px 24px rgba(9, 48, 149, 0.08), 0 1px 2px rgba(9, 48, 149, 0.04);
  --shadow-cta: 0 8px 20px rgba(9, 48, 149, 0.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--ghost); color: var(--charcoal);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--midnight); }
h1, h2, h3 { margin: 0; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; color: var(--midnight); letter-spacing: -0.02em; text-wrap: pretty; }
h1 { font-size: 2.25rem; line-height: 1.08; }
h2 { font-size: 1.5rem; line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.25; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
::selection { background: var(--lavender); color: var(--midnight); }
:focus-visible { outline: 3px solid rgba(9, 48, 149, 0.35); outline-offset: 2px; border-radius: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.tile { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: var(--lavender); color: var(--royal); }
.tile svg { width: 22px; height: 22px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 26px; border-radius: 16px; font-weight: 600; font-size: 1.03rem; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal); color: var(--white); box-shadow: var(--shadow-cta); }
.btn-primary:hover { color: var(--white); background: var(--midnight); }
.btn-ghost { background: var(--white); color: var(--royal); box-shadow: var(--shadow); }
.btn-ghost:hover { color: var(--midnight); }
.btn svg { width: 18px; height: 18px; }
.btn-round { width: 44px; height: 44px; padding: 0; border-radius: 999px; min-height: 0; }

/* Cabecera */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 8px; }
.top .logo { width: 128px; height: auto; }
.top nav { display: none; }
.top .acciones .tel-largo { display: none; }

/* Hero */
.hero { padding: 24px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--lavender); color: var(--midnight); font-size: 0.85rem; font-weight: 600; }
.chip svg { width: 14px; height: 14px; }
.hero h1 { margin-top: 14px; }
.hero .sub { margin-top: 12px; font-size: 1.05rem; }
.hero .acciones-hero { display: none; }

/* Tarjeta de reserva */
.reserva-card { margin-top: 22px; padding: 18px 16px 16px; }
.reserva-card .titulo { font-weight: 600; }
.opciones { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.opcion { display: flex; align-items: center; gap: 13px; padding: 12px 12px 12px 10px; border-radius: 16px; background: var(--ghost); color: var(--charcoal); transition: background .15s ease; }
.opcion:hover { background: var(--lavender-soft); color: var(--charcoal); }
.opcion .texto { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.opcion .nombre { font-weight: 600; color: var(--midnight); }
.opcion .precio { font-weight: 700; color: var(--royal); }
.opcion .chev { width: 18px; height: 18px; color: #9AA5C2; flex-shrink: 0; }

/* Datos */
.datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.dato { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px; text-align: center; }
.dato b { font-size: 1.15rem; color: var(--midnight); letter-spacing: -0.02em; }
.dato span { font-size: 0.8rem; color: var(--muted); }

/* Secciones */
.seccion { padding: 32px 0 0; }
.seccion h2 { margin-bottom: 14px; }
.lista-card { padding: 6px 16px; }
.paso { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.paso:last-child { border-bottom: 0; }
.paso .texto { display: flex; flex-direction: column; gap: 3px; }
.paso .nombre { font-weight: 600; color: var(--midnight); }
.oficinas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.oficina { padding: 16px 14px; }
.oficina .tile { width: 40px; height: 40px; border-radius: 12px; }
.oficina .texto { display: flex; flex-direction: column; gap: 3px; }
.oficina .nombre { margin-top: 12px; font-weight: 600; color: var(--midnight); }
.col-resenas { padding-top: 32px; }
.resenas { display: flex; flex-direction: column; gap: 10px; }
.resena { padding: 16px; }
.resena .cab { display: flex; align-items: center; gap: 11px; }
.avatar { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; background: var(--lavender); color: var(--royal); font-weight: 700; font-size: 0.9rem; }
.estrellas { width: 66px; height: 12px; color: var(--royal); }
.resena p { margin-top: 12px; }
.enlace { display: inline-flex; margin-top: 14px; font-weight: 600; }
.faq { padding: 4px 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; color: var(--midnight); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex-shrink: 0; color: #9AA5C2; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); color: var(--royal); }
.faq .resp { padding: 0 0 16px; color: var(--muted); }

/* Pie */
.pie { padding: 34px 0 110px; }
.pie .logo { height: 22px; width: auto; }
.pie .contacto { margin-top: 14px; color: var(--muted); font-size: 0.93rem; line-height: 1.7; }
.pie .legal { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.pie .legal a { color: var(--muted); font-size: 0.9rem; }

/* Barra inferior fija (solo móvil) */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; gap: 10px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: rgba(248, 249, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.barra .btn-ghost { width: 132px; }
.barra .btn-primary { flex-grow: 1; }

/* Reserva */
.volver { display: flex; align-items: center; gap: 12px; padding: 16px 0 8px; }
.volver h1 { font-size: 1.5rem; }
.grupo { margin-top: 22px; }
.grupo .rotulo { font-weight: 600; color: var(--midnight); }
.grupo .rotulo-fila { display: flex; align-items: center; justify-content: space-between; }
.grupo .rotulo-fila .mes { font-weight: 500; color: var(--royal); font-size: 0.93rem; }
.sel { display: flex; align-items: center; gap: 13px; padding: 12px 14px 12px 12px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); cursor: pointer; border: 0; width: 100%; text-align: left; font: inherit; color: var(--charcoal); transition: box-shadow .15s ease; }
.sel .nombre { flex-grow: 1; font-weight: 600; color: var(--midnight); }
.sel .precio { color: var(--muted); }
.sel .marca { width: 22px; height: 22px; border-radius: 999px; border: 2px solid #D5DEEA; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sel .marca svg { display: none; width: 13px; height: 13px; }
.sel[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--royal), var(--shadow); }
.sel[aria-pressed="true"] .tile { background: var(--royal); color: var(--white); }
.sel[aria-pressed="true"] .precio { color: var(--royal); font-weight: 600; }
.sel[aria-pressed="true"] .marca { background: var(--royal); border-color: var(--royal); color: var(--white); }
.sel[aria-pressed="true"] .marca svg { display: block; }
.lista-sel { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sel-of { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.sel-of .nombre { flex-grow: 0; }
.sel-of[aria-pressed="true"] .nombre { color: var(--royal); }
.dias { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.dias::-webkit-scrollbar { display: none; }
.dia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 52px; height: 66px; border-radius: 16px; background: var(--white); box-shadow: 0 2px 10px rgba(9,48,149,0.06); border: 0; font: inherit; cursor: pointer; color: var(--midnight); }
.dia b { font-size: 1.05rem; }
.dia span { font-size: 0.75rem; color: var(--muted); }
.dia[aria-pressed="true"] { background: var(--royal); color: var(--white); }
.dia[aria-pressed="true"] span { color: var(--lavender); }
.dia:disabled { opacity: 0.45; cursor: default; }
.horas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.hora { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; background: var(--white); box-shadow: 0 2px 10px rgba(9,48,149,0.06); border: 0; font: inherit; font-weight: 500; font-size: 0.95rem; cursor: pointer; color: var(--charcoal); }
.hora[aria-pressed="true"] { background: var(--royal); color: var(--white); font-weight: 600; }
.hora:disabled { opacity: 0.45; cursor: default; }
.barra-pago { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: rgba(248, 249, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.barra-pago .total { display: flex; flex-direction: column; gap: 1px; }
.barra-pago .total b { font-size: 1.4rem; color: var(--midnight); letter-spacing: -0.03em; line-height: 1.1; }
.barra-pago .total span { font-size: 0.8rem; color: var(--muted); }
.barra-pago .btn-primary { flex-grow: 1; }
.pagina-reserva { padding-bottom: 110px; }

/* Confirmación */
.confirmacion { display: flex; flex-direction: column; align-items: center; padding: 34px 0 0; text-align: center; }
.check-anillo { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 999px; background: var(--lavender); }
.check { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 999px; background: var(--royal); box-shadow: var(--shadow-cta); color: var(--white); }
.check svg { width: 30px; height: 30px; }
.confirmacion h1 { margin-top: 20px; font-size: 1.9rem; }
.confirmacion .fecha { margin-top: 8px; }
.resumen { margin-top: 26px; padding: 4px 18px; }
.resumen .fila { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.resumen .fila:last-child { border-bottom: 0; }
.resumen .k { color: var(--muted); font-size: 0.9rem; }
.resumen .v { font-weight: 600; color: var(--midnight); }
.resumen .interprete { display: flex; align-items: center; gap: 12px; padding: 15px 0; }
.resumen .interprete .texto { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.acciones-conf { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.acciones-conf .btn { width: 100%; }

/* Escritorio */
@media (min-width: 900px) {
  h1 { font-size: 3.6rem; line-height: 1.04; }
  h2 { font-size: 2rem; }
  .top { padding-top: 26px; padding-bottom: 10px; }
  .top .logo { width: 168px; }
  .top nav { display: flex; align-items: center; gap: 30px; }
  .top nav a { color: var(--charcoal); font-weight: 500; }
  .top nav a:hover { color: var(--royal); }
  .top .acciones { display: flex; align-items: center; gap: 10px; }
  .top .acciones .tel-corto { display: none; }
  .top .acciones .tel-largo { display: inline-flex; min-height: 50px; border-radius: 999px; padding: 0 20px; }
  .top .acciones .btn-primary { min-height: 50px; border-radius: 999px; padding: 0 24px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; padding: 70px 0 60px; }
  .hero .sub { font-size: 1.2rem; max-width: 520px; margin-top: 22px; }
  .hero h1 { margin-top: 22px; }
  .hero .acciones-hero { display: flex; gap: 12px; margin-top: 32px; }
  .hero .acciones-hero .btn { border-radius: 999px; min-height: 56px; padding: 0 30px; }
  .reserva-card { margin-top: 0; padding: 26px 22px 22px; border-radius: 22px; }
  .reserva-card .titulo { font-size: 1.125rem; }
  .opcion { padding: 14px 16px 14px 12px; border-radius: 18px; }
  .tile { width: 48px; height: 48px; border-radius: 15px; }
  .tile svg { width: 24px; height: 24px; }
  .datos { display: none; }
  .seccion { padding: 64px 0 0; }
  .seccion h2 { margin-bottom: 22px; }
  .pasos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pasos-grid .paso { flex-direction: column; gap: 18px; padding: 24px; border-bottom: 0; }
  .pasos-grid .paso .nombre { font-size: 1.25rem; font-family: 'Poppins', sans-serif; letter-spacing: -0.02em; }
  .dos-col { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
  .col-resenas { padding-top: 0; }
  .oficinas { grid-template-columns: 1fr; gap: 12px; }
  .oficina { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
  .oficina .tile { width: 48px; height: 48px; border-radius: 15px; }
  .oficina .nombre { margin-top: 0; font-size: 1.125rem; }
  .oficina .texto { display: flex; flex-direction: column; gap: 3px; }
  .resenas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .resena { padding: 20px; }
  .faq { padding: 6px 28px; }
  .faq summary { padding: 22px 0; font-size: 1.125rem; }
  .faq .resp { max-width: 760px; padding-bottom: 22px; }
  .pie { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-top: 64px; padding: 30px 0 60px; border-top: 1px solid var(--line); }
  .pie .legal { margin-top: 4px; gap: 24px; }
  .barra, .barra-pago { display: none; }
  .pagina-reserva { padding-bottom: 60px; }
  .reserva-col { max-width: 560px; }
  .pago-escritorio { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
  .pago-escritorio .btn { min-width: 260px; }
  .confirmacion-col { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 899px) {
  .pago-escritorio { display: none; }
}

/* Reserva por pasos (app) */
.app { min-height: 100dvh; display: flex; flex-direction: column; background: var(--ghost); }
.app-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.app-titulo { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-titulo h1 { font-size: 1.15rem; line-height: 1.2; }
.progreso { height: 4px; margin: 0 16px; border-radius: 99px; background: var(--lavender); overflow: hidden; }
.progreso span { display: block; height: 100%; border-radius: 99px; background: var(--royal); transition: width .3s ease; }
.app-cuerpo { flex-grow: 1; padding: 20px 16px 120px; }
.paso-app > .muted { margin-bottom: 16px; }
.sel-texto { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.sel .sel-texto .nombre { flex-grow: 0; }
.campo-etq { display: block; font-size: 0.9rem; font-weight: 600; color: var(--midnight); margin-bottom: 8px; }
.campo { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #FFFFFF; font: inherit; font-size: 1rem; color: var(--charcoal); }
.campo:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(9,48,149,0.12); }
select.campo { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.rotulo-fila { display: flex; align-items: center; justify-content: space-between; }
.aviso-ok { color: #1F7A3E; margin: 8px 0 10px; }
.aviso-amarillo { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #FFF7E6; color: #7A4B00; }
.aviso-amarillo a { color: #7A4B00; font-weight: 600; text-decoration: underline; }
.horas-app { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.horas-app::-webkit-scrollbar { display: none; }
.hora-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 76px; height: 60px; border: 0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 2px 10px rgba(9,48,149,0.06); font: inherit; cursor: pointer; color: var(--midnight); }
.hora-chip b { font-size: 0.95rem; }
.hora-chip span { font-size: 0.7rem; color: var(--muted); }
.hora-chip[aria-pressed="true"] { background: var(--royal); color: #FFFFFF; }
.hora-chip[aria-pressed="true"] span { color: var(--lavender); }
.minutos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.minuto { min-height: 46px; border: 0; border-radius: 12px; background: #FFFFFF; box-shadow: 0 2px 10px rgba(9,48,149,0.06); font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; color: var(--midnight); }
.minuto[aria-pressed="true"] { background: var(--royal); color: #FFFFFF; }
.resumen .fila dt, .resumen .fila dd { margin: 0; }
.resumen .fila dd { text-align: right; }
.total-linea { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 0 4px; font-weight: 600; color: var(--midnight); }
.total-linea b { font-size: 1.4rem; letter-spacing: -0.03em; }
.app-pie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(248,249,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.app-pie .total { display: flex; flex-direction: column; gap: 1px; }
.app-pie .total b { font-size: 1.4rem; color: var(--midnight); letter-spacing: -0.03em; line-height: 1.1; }
.app-pie .total span { font-size: 0.8rem; color: var(--muted); }
.app-pie .btn-primary { flex-grow: 1; }
@media (min-width: 900px) {
  .app { max-width: 640px; margin: 0 auto; min-height: auto; }
  .app-top { padding-top: 28px; }
  .app-cuerpo { padding-bottom: 40px; }
  .app-pie { position: sticky; max-width: 640px; margin: 0 auto; }
  .minutos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Calendario propio de la reserva: solo los días con horarios libres se pueden tocar. */
.cal-app { padding: 14px; border-radius: 20px; background: #FFFFFF; box-shadow: var(--shadow); }
.cal-cab { display: flex; align-items: center; justify-content: space-between; }
.cal-cab b { font-weight: 600; color: var(--midnight); text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border: 0; border-radius: 999px; background: var(--ghost); color: var(--royal); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cal-nav svg { width: 9px; height: 14px; }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-sem, .cal-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-sem { margin: 12px 0 6px; font-size: 0.75rem; color: var(--muted); }
.cal-dias > span, .cal-dia { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 12px; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.cal-dias > span { color: #B9C0D3; }
.cal-dia { border: 0; background: var(--lavender-soft); color: var(--midnight); font: inherit; font-weight: 600; cursor: pointer; transition: background .15s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
.cal-dia:active { transform: scale(0.95); }
.cal-dia[aria-pressed="true"] { background: var(--royal); color: #FFFFFF; }
/* Retomar una reserva a medias */
.retomar { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(5, 27, 84, 0.45); }
.retomar-card { width: 100%; max-width: 440px; padding: 24px 20px; display: grid; gap: 10px; }
.retomar-card h2 { margin: 0; font-size: 1.35rem; color: var(--midnight); }
.retomar-card p { margin: 0; color: var(--muted); }
.retomar-card ul { list-style: none; margin: 4px 0 8px; padding: 14px 16px; border-radius: 14px; background: var(--lavender-soft); display: grid; gap: 6px; color: var(--midnight); }
.retomar-card .btn { width: 100%; }
@media (min-width: 700px) { .retomar { align-items: center; } }
.cal-dias.cargando > span:not(:empty) { background: var(--lavender-soft); color: transparent; animation: rv-pulso 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cal-dias.cargando > span { animation: none; } }
#elige-dia, #horas-cargando { margin-top: 10px; }
/* horas: en escritorio se reparten en filas, sin desplazamiento lateral */
@media (min-width: 900px) { .horas-app { flex-wrap: wrap; overflow: visible; } }

/* Paso 1 de la reserva como en el video y en "Nuestros servicios": filas ligeras
   con el formulario de cada entrevista; la hoja se llena de azul al elegirla. */
.lista-tipos { gap: 0; border-top: 1px solid var(--line); }
.lista-tipos .sel { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; text-align: left; }
.lista-tipos .sel:hover { background: none; }
.lista-tipos .sel-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lista-tipos .nombre { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--midnight); }
.lista-tipos .precio { font-size: 1.1rem; font-weight: 700; color: var(--royal); }
.lista-tipos .sel[aria-pressed="true"] .formulario { background: var(--royal); box-shadow: none; }
.lista-tipos .sel[aria-pressed="true"] .formulario::before { background: #3D63C9; }
.lista-tipos .sel[aria-pressed="true"] .formulario i { background: rgba(255,255,255,0.3); }
.lista-tipos .sel[aria-pressed="true"] .formulario b { color: #FFFFFF; }
.lista-tipos .sel:active .formulario { transform: scale(0.96); }
.lista-tipos .formulario { transition: background .2s ease, transform .15s ease; }

/* Paso 2 como en el video: días en chips y horas en una rejilla limpia. */
.dias-app { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.dia-app { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 76px; padding: 0; border: 0; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--midnight); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s ease, transform .15s ease; }
.dia-app:active { transform: scale(0.96); }
.dia-app span { font-size: 0.72rem; color: var(--muted); }
.dia-app b { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.dia-app[aria-pressed="true"] { background: var(--royal); box-shadow: none; color: #FFFFFF; }
.dia-app[aria-pressed="true"] span { color: rgba(255,255,255,0.75); }
.dia-mas { gap: 4px; }
.dia-mas svg { width: 18px; height: 18px; color: var(--royal); }
.dia-mas span { font-size: 0.66rem; font-weight: 600; color: var(--royal); text-align: center; line-height: 1.15; }
.dia-mas[aria-expanded="true"] { background: var(--lavender-soft); }
.dia-app.sombra { background: var(--lavender-soft); box-shadow: none; animation: rv-pulso 1.2s ease-in-out infinite; }
@keyframes rv-pulso { 50% { opacity: 0.5; } }
.cal-app { margin-top: 12px; }
.hora-etq { margin: 26px 0 12px; font-weight: 600; color: var(--midnight); }
.horas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hora-app { height: 48px; border: 0; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--midnight); font: inherit; font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s ease, transform .15s ease; }
.hora-app:active { transform: scale(0.96); }
.hora-app[aria-pressed="true"] { background: var(--royal); box-shadow: none; color: #FFFFFF; }
@media (min-width: 900px) { .horas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .dia-app.sombra { animation: none; } }
.hora-app.sombra { display: block; background: var(--lavender-soft); box-shadow: none; animation: rv-pulso 1.2s ease-in-out infinite; }

/* Cabecera de la reserva: volver, barra de avance y llamar en una fila; el
   título del paso va debajo, grande. Sin "Paso N de 5". */
.app-top .progreso { flex: 1; margin: 0 6px; }
.paso-titulo { margin: 0; padding: 18px 16px 4px; font-size: 1.85rem; line-height: 1.1; letter-spacing: -0.03em; color: var(--midnight); text-wrap: balance; }
@media (min-width: 900px) { .paso-titulo { font-size: 2.4rem; padding-top: 26px; } }
/* título del paso: más chico y centrado (Max) */
.paso-titulo { font-size: 1.5rem; text-align: center; }
@media (min-width: 900px) { .paso-titulo { font-size: 1.9rem; } }

/* Confirmación: check verde (icono check de Lucide) que entra con un rebote suave,
   el trazo se dibuja y una onda se expande una vez. */
.check-anillo { position: relative; background: #DCF5E7; }
.check { background: #16A34A; box-shadow: 0 10px 24px -8px rgba(22,163,74,0.55); }
.check svg { width: 32px; height: 32px; stroke-width: 2.6; }
.check svg path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.check-anillo::after { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 2px rgba(22,163,74,0.35); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .check-anillo { animation: chk-anillo .5s cubic-bezier(.2,.8,.2,1.2) .1s both; }
  .check { animation: chk-pop .55s cubic-bezier(.2,.8,.25,1.35) .25s both; }
  .check svg path { animation: chk-trazo .4s cubic-bezier(.65,0,.35,1) .55s both; }
  .check-anillo::after { animation: chk-onda .9s ease-out .7s both; }
  .confirmacion h1, .confirmacion .fecha { animation: chk-sube .5s cubic-bezier(.2,.7,.2,1) .5s both; }
}
@keyframes chk-anillo { from { transform: scale(0.6); opacity: 0; } }
@keyframes chk-pop { from { transform: scale(0.3); opacity: 0; } }
@keyframes chk-trazo { from { stroke-dashoffset: 1; } }
@keyframes chk-onda { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes chk-sube { from { opacity: 0; transform: translateY(8px); } }

/* Mensaje de texto que llega, como en el video */
.sms { position: fixed; z-index: 40; left: 12px; right: 12px; top: calc(10px + env(safe-area-inset-top, 0px)); max-width: 420px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; background: rgba(255,255,255,0.97); box-shadow: 0 18px 40px -14px rgba(5,27,84,0.35), 0 0 0 1px var(--line); transform: translateY(-140%); transition: transform .5s cubic-bezier(.2,.8,.2,1.1); }
.sms.entra { transform: none; }
.sms-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; }
.sms-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sms-t b { font-size: 0.85rem; color: var(--midnight); }
.sms-t span { font-size: 0.9rem; color: var(--charcoal); }
.sms-hora { align-self: flex-start; font-size: 0.75rem; color: var(--muted); }
.hora-etq { scroll-margin-top: 16px; }
.hora-app.vacia { display: block; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); opacity: 0.6; }

/* Horas → minutos: la hora tocada se marca y debajo de su fila se abre una
   franja con sus minutos. Al elegir uno, el botón muestra la hora exacta. */
.hora-app.abierta { background: var(--lavender-soft); box-shadow: inset 0 0 0 1.5px var(--royal); color: var(--royal); }
.min-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; border-radius: 16px; background: var(--lavender-soft); animation: min-abre .25s cubic-bezier(.2,.7,.2,1); }
@keyframes min-abre { from { opacity: 0; transform: translateY(-4px); } }
.min-app { height: 40px; border: 0; border-radius: 11px; background: #FFFFFF; color: var(--midnight); font: inherit; font-weight: 600; font-size: 0.9rem; font-variant-numeric: tabular-nums; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .12s ease; }
.min-app:active { transform: scale(0.95); }
.min-app[aria-pressed="true"] { background: var(--royal); color: #FFFFFF; }
@media (min-width: 900px) { .min-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .min-panel { animation: none; } }

/* Campo que necesita atención: sin rojo; borde azul y un halo lavanda que late una vez. */
.campo:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(9,48,149,0.10); }
.campo.atencion { border-color: var(--royal); animation: atencion 1.2s ease-out; }
@keyframes atencion { 0% { box-shadow: 0 0 0 0 rgba(9,48,149,0.28); } 35% { box-shadow: 0 0 0 7px rgba(9,48,149,0.14); } 100% { box-shadow: 0 0 0 4px rgba(9,48,149,0.10); } }
@media (prefers-reduced-motion: reduce) { .campo.atencion { animation: none; box-shadow: 0 0 0 4px rgba(9,48,149,0.14); } }

/* Páginas legales (términos, privacidad): copiadas de migrative.us/interpretes */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 80px; }
.legal h1 { font-size: 2rem; margin: 10px 0 6px; }
.legal h1 + p { color: var(--muted); font-style: italic; margin-bottom: 18px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--charcoal); margin: 0 0 12px; line-height: 1.65; }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Aceptación de términos y aviso de mensajes en la reserva */
.acepta { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 16px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.acepta input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--royal); }
.acepta span { font-size: 0.9rem; line-height: 1.45; color: var(--midnight); }
.acepta a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.acepta.atencion { box-shadow: inset 0 0 0 1.5px var(--royal); animation: atencion 1.2s ease-out; }
.aviso-sms { margin: 8px 2px 0; font-size: 0.78rem; line-height: 1.45; color: var(--muted); }
.aviso-sms a { color: inherit; text-decoration: underline; }
.leg-en { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.leg-en-titulo { font-size: 1.5rem; margin: 0 0 6px; }
.leg-en-titulo + p { color: var(--muted); font-style: italic; margin-bottom: 18px; }
.btn.cargando { pointer-events: none; }
.btn.cargando::before { content: ""; width: 18px; height: 18px; border-radius: 999px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #FFFFFF; animation: gira-pre .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .btn.cargando::before { animation-duration: 2.4s; } }
/* Reserva que llega del SMS de Angie: mientras se trae lo de la llamada */
.cargando-pre { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 90px 20px; color: var(--midnight); font-weight: 600; }
.cargando-pre .giro { position: relative; width: 84px; height: 84px; }
.cargando-pre .giro img { position: absolute; inset: 18px; width: 48px; height: 48px; }
.cargando-pre .giro::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 3px solid var(--lavender); border-top-color: var(--royal); animation: gira-pre .9s linear infinite; }
@keyframes gira-pre { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cargando-pre .giro::after { animation-duration: 3s; } }

/* Banner de las guías (18-oct-2026): franja arriba del header; la entrevista va rotando. */
.aviso-guias { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px 48px 8px 16px; position: relative; background: var(--midnight); color: #FFFFFF; font-size: .875rem; line-height: 1.35; animation: aviso-baja .3s cubic-bezier(.2,.8,.2,1); }
.aviso-guias[hidden] { display: none; }
.aviso-guias a { color: #FFFFFF; display: inline-flex; align-items: center; gap: 9px; }
.aviso-guias a:hover { color: #FFFFFF; }
.aviso-guias .ic { width: 17px; height: 17px; flex-shrink: 0; color: #7FB8FF; }
.aviso-guias .largo { display: none; }
.aviso-guias .corto { font-size: .8125rem; white-space: nowrap; }
.aviso-guias .rot { display: inline-block; font-weight: 600; transition: opacity .25s ease, transform .25s ease; }
.aviso-guias .rot.sale { opacity: 0; transform: translateY(-6px); }
.aviso-guias .ver { display: none; color: #7FB8FF; font-weight: 600; margin-left: 6px; }
.aviso-guias .cerrar { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; }
.aviso-guias .cerrar:hover { color: #FFFFFF; background: rgba(255,255,255,.1); }
.aviso-guias .cerrar svg { width: 16px; height: 16px; }
@keyframes aviso-baja { from { transform: translateY(-100%); } to { transform: none; } }
@media (min-width: 700px) {
  .aviso-guias .corto { display: none; }
  .aviso-guias .largo { display: inline; }
  .aviso-guias .ver { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .aviso-guias { animation: none; }
  .aviso-guias .rot { transition: none; }
}

/* Reservar, paso de oficina: "Otra ciudad" (18-oct-2026). */
.sel-otra { margin-top: 8px; }
.sel-otra .tile { background: var(--lavender-soft); }
.sel-otra[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--royal), var(--shadow); }
.otra-ciudad { margin-top: 10px; padding: 16px; scroll-margin-bottom: 130px; display: flex; flex-direction: column; gap: 6px; animation: otra-entra .25s cubic-bezier(.2,.8,.2,1); }
@keyframes otra-entra { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.otra-ciudad[hidden] { display: none; }
.otra-ciudad p b { color: var(--midnight); }
.otra-ciudad .btn { margin-top: 8px; align-self: flex-start; min-height: 48px; }
@media (prefers-reduced-motion: reduce) { .otra-ciudad { animation: none; } }
.app-pie .btn-primary.apagado { background: #C5CEE4; color: #FFFFFF; box-shadow: none; cursor: default; }

/* Reservar: Continuar apagado mientras el paso no está completo o sus datos cargan (22-oct-2026). */
.app-pie .btn-primary:disabled:not(.cargando) { background: #C5CEE4; color: #FFFFFF; box-shadow: none; cursor: not-allowed; transform: none; }
.app-pie .btn-primary:disabled:not(.cargando):hover { background: #C5CEE4; }
.campo.campo-malo { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(9,48,149,0.10); }
.campo-error { margin: 6px 2px 0; font-size: 0.82rem; line-height: 1.4; font-weight: 500; color: var(--royal); }
.campo-error[hidden] { display: none; }
