/* Camba Traveler · estilos */
:root {
  --verde: #0B6B3A;
  --verde-osc: #064E2B;
  --verde-suave: #F4F8F5;
  --verde-claro: #ECFDF5;
  --linea: #E3EAE5;
  --tinta: #111827;
  --texto: #374151;
  --gris: #4B5563;
  --fondo-app: #F3F4F6;
  --indigo: #312E81;
  --rojo: #991B1B;
  --rojo-suave: #FEE2E2;
  --ambar: #92400E;
  --ambar-suave: #FEF3C7;
  --cond: 'Barlow Condensed', system-ui, sans-serif;
  --base: 'Barlow', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--base); color: var(--tinta); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--verde); }
a:hover { color: var(--verde-osc); }
button, input, select { font: inherit; }
.cargando { padding: 40px; text-align: center; color: var(--gris); }
.oculto { display: none !important; }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Página principal ---------- */
.web-cab { border-bottom: 1px solid var(--linea); }
.web-cab .contenedor { min-height: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.marca { font-family: var(--cond); font-size: 28px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--verde); text-decoration: none; }
.web-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.web-nav a.texto { font-weight: 600; color: var(--texto); text-decoration: none; padding: 12px 0; }
.btn-borde { height: 44px; padding: 0 20px; border: 2px solid var(--verde); border-radius: 8px; display: inline-flex; align-items: center; font-weight: 700; color: var(--verde); text-decoration: none; background: #fff; cursor: pointer; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 80px; }
.hero-texto { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.volanta { font-family: var(--cond); font-size: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); }
.hero h1 { margin: 0; font-family: var(--cond); font-size: clamp(56px, 9vw, 88px); line-height: .9; font-weight: 800; text-transform: uppercase; }
.hero p { margin: 0; max-width: 34rem; font-size: 20px; line-height: 1.5; color: var(--texto); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 8px; }
.btn-verde { min-height: 56px; padding: 0 28px; border: none; border-radius: 8px; background: var(--verde); color: #fff; font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; cursor: pointer; }
.btn-verde:hover { background: var(--verde-osc); color: #fff; }
.btn-verde:disabled { opacity: .6; cursor: wait; }
.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.letrero { width: 100%; max-width: 420px; background: var(--verde); border-radius: 12px 12px 0 0; padding: 18px 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.letrero b { font-family: var(--cond); font-size: 40px; font-weight: 800; letter-spacing: .03em; color: #fff; text-transform: uppercase; line-height: 1; }
.letrero span { font-family: var(--cond); font-size: 18px; font-weight: 600; letter-spacing: .08em; color: #DCF2E3; text-transform: uppercase; }
.bandeja { width: 100%; max-width: 420px; background: var(--verde-suave); border: 1px solid var(--linea); border-top: none; border-radius: 0 0 12px 12px; padding: 28px 24px 32px; display: flex; justify-content: center; }
.ticket { width: 260px; background: #fff; padding: 18px 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.55; color: #000; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 6px 20px rgba(6, 78, 43, .12); }
.ticket .centro { text-align: center; font-weight: 700; }
.ticket .codigo { text-align: center; font-weight: 700; font-size: 18px; }
.ticket .fila { display: flex; justify-content: space-between; }
.ticket .corte { border-top: 1px dashed #000; }
.ticket .total { font-weight: 700; font-size: 15px; }
.banda { background: var(--verde-suave); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.seccion { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.seccion h2 { margin: 0; font-family: var(--cond); font-size: 48px; line-height: 1; font-weight: 800; text-transform: uppercase; }
.columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.punto { border-top: 3px solid var(--verde); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.punto .n { font-family: var(--cond); font-size: 22px; font-weight: 800; color: var(--verde); }
.punto .t { font-family: var(--cond); font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.punto .d { font-size: 17px; line-height: 1.5; color: var(--texto); }
.pasos { margin: 0; padding: 0; list-style: none; }
.pasos li { display: flex; gap: 16px; align-items: baseline; }
.pasos .n { font-family: var(--cond); font-size: 44px; font-weight: 800; color: var(--verde); line-height: 1; }
.pasos .d { font-size: 18px; line-height: 1.5; color: var(--texto); }
.contacto { background: var(--verde); color: #fff; }
.contacto .contenedor { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.contacto h2 { margin: 0; font-family: var(--cond); font-size: 48px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.contacto p { margin: 10px 0 0; font-size: 18px; line-height: 1.5; color: #E6F5EB; }
.btn-blanco { min-height: 56px; padding: 0 28px; border-radius: 8px; background: #fff; color: var(--verde); font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.web-pie .contenedor { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; color: var(--gris); }
.web-pie a { font-weight: 700; padding: 12px 0; }

/* ---------- Formularios ---------- */
.caja-form { max-width: 420px; margin: 48px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.caja-form h1 { margin: 0; font-family: var(--cond); font-size: 44px; font-weight: 800; text-transform: uppercase; }
.caja-form .sub { margin: 0 0 10px; color: var(--texto); font-size: 17px; }
label { font-size: 15px; font-weight: 700; color: var(--texto); }
.campo { height: 52px; width: 100%; border: 2px solid #D1D5DB; border-radius: 10px; padding: 0 14px; font-size: 17px; background: #fff; color: var(--tinta); }
.campo:focus { outline: 3px solid #A7F3D0; border-color: var(--verde); }
.ayuda { font-size: 14px; color: var(--gris); }
.error { margin: 4px 0; padding: 12px 14px; border-radius: 10px; background: var(--rojo-suave); color: var(--rojo); font-weight: 600; }
.ok { margin: 4px 0; padding: 12px 14px; border-radius: 10px; background: var(--verde-claro); color: #065F46; font-weight: 600; }

/* ---------- Panel (app) ---------- */
.app { min-height: 100vh; background: var(--fondo-app); }
.app-cab { color: #fff; }
.app-cab.super { background: var(--indigo); }
.app-cab .contenedor { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.app-cab .titulo { display: flex; flex-direction: column; }
.app-cab .titulo small { font-size: 13px; font-weight: 600; letter-spacing: .06em; opacity: .8; text-transform: uppercase; }
.app-cab .titulo b { font-family: var(--cond); font-size: 28px; font-weight: 800; text-transform: uppercase; }
.app-cab a, .app-cab button { color: #fff; background: transparent; border: 2px solid rgba(255,255,255,.5); border-radius: 8px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; cursor: pointer; }
.app-cuerpo { max-width: 760px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.tarjeta { background: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
a.tarjeta { color: var(--tinta); text-decoration: none; }
a.tarjeta:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.fila-sep { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.grande { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.suave { color: var(--gris); font-size: 14px; }
.cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid #E5E7EB; padding-top: 10px; }
.cifras b { display: block; font-size: 22px; }
.etiqueta { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.etiqueta.activo { background: #D1FAE5; color: #065F46; }
.etiqueta.prueba { background: var(--ambar-suave); color: var(--ambar); }
.etiqueta.suspendido { background: var(--rojo-suave); color: var(--rojo); }
.debe { color: var(--rojo); font-weight: 700; }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #D1D5DB; background: #fff; font-weight: 600; cursor: pointer; }
.chip.sel { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.btn-indigo { min-height: 52px; padding: 0 22px; border: none; border-radius: 10px; background: var(--indigo); color: #fff; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.btn-indigo:hover { color: #fff; background: #1E1B4B; }
.btn-indigo:disabled, .btn-gris:disabled { opacity: .6; cursor: wait; }
.btn-gris { min-height: 48px; padding: 0 18px; border: 2px solid #D1D5DB; border-radius: 10px; background: #fff; color: var(--tinta); font-weight: 700; cursor: pointer; }
.btn-peligro { min-height: 48px; padding: 0 18px; border: 2px solid #FCA5A5; border-radius: 10px; background: #fff; color: var(--rojo); font-weight: 700; cursor: pointer; }
.dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opcion { min-height: 52px; border-radius: 10px; border: 2px solid #D1D5DB; background: #fff; font-weight: 600; cursor: pointer; }
.opcion.sel { border-color: var(--indigo); background: #EEF2FF; color: var(--indigo); font-weight: 800; }
.lista-pagos .pago { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F3F4F6; }
.lista-pagos .pago:last-child { border-bottom: none; }
.volver { align-self: flex-start; font-weight: 700; padding: 10px 0; }
.direccion { color: var(--indigo); font-weight: 700; word-break: break-all; }
