/* Puente al portal de clientes (clientes.jemaic.com) desde Contenido y Corporativo. Toma --accent, --ink y --display de cada página. */
.portal-bridge { padding-block: clamp(64px, 9vw, 110px); }
.portal-bridge .pb-inner { width: min(1240px, calc(100% - 80px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pb-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .75rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.pb-kicker:before { content: ''; width: 26px; height: 2px; background: var(--accent); }
.portal-bridge h2, .conecta-band h2 { margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: .98; }
.portal-bridge h2 span, .conecta-band h2 span { color: var(--accent); }
.pb-copy > p:not(.pb-kicker) { max-width: 440px; margin: 0; color: var(--muted, #5a6361); line-height: 1.7; }
.pb-panel { padding: clamp(22px, 3vw, 34px); border: 1px solid #fff; border-radius: 26px; background: linear-gradient(140deg, #ffffffe6, #ffffffb3); box-shadow: 0 24px 60px #1b262a14, inset 0 1px 2px #fff; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.pb-question { margin: 0 0 14px; font-size: .875rem; font-weight: 650; }
.pb-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pb-formats button { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 13px 12px; border: 1px solid var(--line, #d8ddda); border-radius: 16px; background: #ffffffb3; color: var(--ink); text-align: left; font-size: .875rem; font-weight: 650; line-height: 1.3; transition: border-color .25s, background .25s, transform .25s; }
.pb-formats button small { font-size: .6875rem; font-weight: 500; color: var(--muted, #5a6361); }
.pb-formats button:hover { transform: translateY(-2px); border-color: var(--accent); }
.pb-formats button[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); box-shadow: inset 0 0 0 1px var(--accent); }
.pb-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.pb-path { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.pb-path:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #1b262a1f; }
.pb-path strong { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.pb-path span { font-size: 1rem; font-weight: 650; }
.pb-client { background: var(--ink); color: #fff; }
.pb-new { background: #187448; color: #fff; }
.pb-form-link { display: inline-block; margin-top: 16px; font-size: .8125rem; font-weight: 600; border-bottom: 1px solid currentColor; }
.pb-note { margin: 14px 0 0; font-size: .75rem; color: var(--muted, #5a6361); }
/* Jema Conecta: el video de 1 minuto (Livid) abierto junto al texto. 16:9 en la compu, 9:16 en celulares parados; la portada queda debajo hasta que carga. */
.conecta-band { padding-block: clamp(64px, 9vw, 110px) 0; }
.conecta-band .cb-inner { width: min(1240px, calc(100% - 80px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cb-copy > p:not(.pb-kicker) { max-width: 440px; margin: 0; color: var(--muted, #5a6361); line-height: 1.7; }
.cb-link { display: inline-flex; margin-top: 28px; min-width: min(100%, 300px); }
.cb-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #fff; border-radius: 26px; background: #0b1418; box-shadow: 0 24px 60px #1b262a24; }
.cb-video img, .cb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cb-video img { object-fit: cover; }
.cb-fallback { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: #fffffff0; color: var(--ink); font-size: .875rem; font-weight: 650; white-space: nowrap; box-shadow: 0 8px 24px #0003; }
@media (max-width: 900px) {
  .portal-bridge .pb-inner, .conecta-band .cb-inner { grid-template-columns: 1fr; width: min(640px, calc(100% - 40px)); }
  .pb-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) and (orientation: portrait) {
  .cb-video { aspect-ratio: 9 / 16; width: min(100%, 380px, calc(74svh * 9 / 16)); margin-inline: auto; }
}
@media (max-width: 480px) {
  .pb-paths { grid-template-columns: 1fr; }
  .cb-fallback { white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) { .pb-formats button, .pb-path { transition: none; } }
