/* ==========================================================
   Propuesta 1 — "Conecta tus bolsas"
   Firma: el hero dibuja el producto como un flujo
   bolsas conectadas → tu copiloto → postulaciones enviadas.
   Usa los tokens de tema-propuesta-c.css.
   ========================================================== */
.p1-hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 88px; align-items: center; }
@media (min-width: 1100px) { .p1-hero { grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding-top: 48px; padding-bottom: 112px; } }
.p1-hero > * { min-width: 0; }
.p1-hero .c-h1 { font-size: 38px; }
@media (min-width: 768px) { .p1-hero .c-h1 { font-size: 56px; } }

/* ---- Hub: el flujo ---- */
.p1-hub { position: relative; margin: 0; display: grid; gap: 0; align-items: center;
  grid-template-columns: minmax(0, 0.9fr) 44px minmax(0, 0.85fr) 44px minmax(0, 1.4fr); }
.p1-hub__boards, .p1-hub__out { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.p1-hub__boards li { display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; padding: 10px 12px; }
.p1-logo { font-family: var(--font-titulo); font-weight: 700; font-size: 15px; color: #fff; }
.p1-logo--dark { color: var(--tinta); }
.p1-on, .p1-off { font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.p1-on { color: #8FE0B0; }
.p1-on--light { color: var(--exito); }
.p1-off { color: var(--texto-sobre-azul); }
.p1-on::before, .p1-off::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p1-off::before { background: transparent; border: 1.5px solid currentColor; }
.p1-hub__wires { width: 100%; height: 100%; overflow: visible; }
.p1-hub__wires path { fill: none; stroke: var(--amarillo); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 5 7; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .p1-hub__wires path { animation: p1-flow 1.6s linear infinite; }
  @keyframes p1-flow { to { stroke-dashoffset: -24; } }
}
.p1-hub__wires--in { height: 82%; }
.p1-hub__wires--out { height: 74%; }
.p1-hub__core { background: var(--amarillo); color: var(--azul-noche); border-radius: 22px; padding: 18px 14px; text-align: center; display: grid; justify-items: center; gap: 4px; box-shadow: var(--sombra-sobre-azul); }
.p1-core__mark { width: 44px; height: 44px; border-radius: 12px; background: var(--azul-noche); color: var(--amarillo); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-titulo); font-weight: 800; font-size: 22px; }
.p1-hub__core strong { font-family: var(--font-titulo); font-size: 17px; font-weight: 800; }
.p1-hub__core span { font-size: 12px; font-weight: 700; }
.p1-core__count { margin-top: 6px; background: rgba(14,42,92,0.1); border-radius: 999px; padding: 4px 10px; }
.p1-core__count b { font-family: var(--font-titulo); font-variant-numeric: tabular-nums; }
.p1-hub__out li { display: flex; align-items: center; gap: 10px; background: var(--superficie); color: var(--tinta); border-radius: 14px; padding: 10px 12px; box-shadow: var(--sombra-sobre-azul); min-width: 0; }
.p1-hub__out li > div { flex: 1; min-width: 0; }
.p1-hub__out strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
.p1-hub__out span { font-size: 12px; color: var(--texto-apagado); }
.p1-hub__out .c-avatar { width: 34px; height: 34px; font-size: 14px; }
.p1-hub__out .c-match { font-size: 17px; }
.p1-hub__tag { position: absolute; top: -34px; right: 0; font-size: 12px; font-weight: 800; color: var(--azul-noche); background: var(--superficie); padding: 4px 10px; border-radius: 999px; }

/* Hub en pantallas medianas y celular: flujo vertical */
@media (max-width: 1099px) {
  .p1-hub { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .p1-hub__wires { display: none; }
  .p1-hub__boards { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .p1-hub__core { position: relative; grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; }
  .p1-core__mark { grid-row: span 3; }
  .p1-core__count { grid-column: 2; justify-self: start; margin-top: 2px; }
  .p1-hub__core::before, .p1-hub__core::after { content: ""; position: absolute; left: 50%; width: 2px; height: 14px; background: var(--amarillo); }
  .p1-hub__core::before { top: -14px; }
  .p1-hub__core::after { bottom: -14px; }
  .p1-hub__tag { top: -12px; }
}

/* ---- Pasos con su pantalla ---- */
.p1-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .p1-steps { grid-template-columns: repeat(3, 1fr); } }
.p1-step { background: var(--superficie); border: 1px solid var(--linea); border-radius: 22px; padding: 20px 20px 26px; display: flex; flex-direction: column; gap: 8px; }
.p1-step__screen { background: var(--fondo); border-radius: 16px; padding: 18px; min-height: 150px; display: flex; align-items: center; margin-bottom: 10px; }
.p1-mini { width: 100%; background: var(--superficie); border: 1px solid var(--linea); border-radius: 14px; padding: 14px; display: grid; gap: 10px; box-shadow: var(--sombra-flotante); }
.p1-mini__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; min-width: 0; }
.p1-mini__row strong { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.p1-mini__meta { font-size: 13px; color: var(--texto-apagado); }
.p1-mini__switch { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; border-top: 1px solid var(--linea); padding-top: 10px; }
.p1-switch { width: 38px; height: 22px; border-radius: 999px; background: var(--borde-input); position: relative; flex: none; }
.p1-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.p1-switch.is-on { background: var(--exito); }
.p1-switch.is-on::after { left: 19px; }
.p1-ring { font-family: var(--font-titulo); font-weight: 800; font-size: 14px; color: var(--exito-oscuro); background: var(--exito-fondo); border: 3px solid var(--exito); border-radius: 50%; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.p1-mini .c-bar__track { margin-top: 0; }
.p1-step__n { font-size: 13px; font-weight: 800; color: var(--azul-acento); }
.p1-step h3 { font-family: var(--font-titulo); font-weight: 800; font-size: 22px; line-height: 1.2; }
.p1-step p { font-size: 15px; line-height: 1.55; color: var(--texto-sec); }

/* ---- Bolsas ---- */
.p1-checks { grid-template-columns: 1fr !important; margin-top: 24px; }

/* ---- Confianza ---- */
.p1-trust { display: grid; gap: 28px 32px; margin-bottom: 32px; }
@media (min-width: 700px) { .p1-trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .p1-trust { grid-template-columns: repeat(4, 1fr); } }
.p1-trust__item { display: grid; gap: 8px; align-content: start; }
.p1-trust__item .c-icon { width: 28px; height: 28px; color: var(--azul-acento); }
.p1-trust__item h3 { font-family: var(--font-titulo); font-weight: 800; font-size: 19px; }
.p1-trust__item p { font-size: 15px; line-height: 1.55; color: var(--texto-sec); }
.p1-black { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .p1-black { grid-template-columns: 1fr 1.4fr; gap: 40px; } }
