/* ==========================================================================
   plataforma/org-control.css — /organizers y /organizers/request-pilot
   (2-dic-2026, sencillo)

   Nil: «pon info más sencilla, mejor UX y front-end; ¿es necesaria tanta info?
   Hazlo demasiado intuitivo». Un objetivo (pedir un piloto) y tres bloques:
   hero con UNA captura, tres pasos con la línea de privacidad, y el piloto con
   el formulario en una tarjeta. Estilo limpio: blanco, General Sans, bordes de
   1 px, sombras suaves, azul para la acción; contenido ≤ 1080 px y textos
   ≤ 640 px; bloques separados 96–128 px; botones de 48 px; rejilla de 8 px.

   Va DESPUÉS de organizadores.css (.og-*) y del kit viva.css (de él solo se
   usan los botones y la aparición al bajar). Solo var(--pf-*). Prefijo .oc-.
   Vista: views/pages/organizers/login.ejs.
   ========================================================================== */

/* ---- La página --------------------------------------------------------------- */
.og2.oc, .oc-solo { background: var(--pf-blanco); color: var(--pf-texto); overflow-x: clip; }
.oc-wrap { width: 100%; max-width: calc(1080px + 2 * var(--pf-gutter)); margin: 0 auto; padding: 0 var(--pf-gutter); box-sizing: border-box; }
.oc-wrap--estrecho { max-width: calc(640px + 2 * var(--pf-gutter)); }
.og2.oc .og-sec.oc-sec { padding: clamp(96px, 10vw, 128px) 0; background: var(--pf-blanco); border: 0; }
.og2.oc .og-sec.oc-piloto { background: var(--pf-gris-fondo); }
html[data-plataforma] .oc svg.icon { color: inherit; border: 0; border-radius: 0; background: none; padding: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Botones: 48 px de alto, sin brillo ni sombra de color. */
.oc .vv-btn, .oc .vv-btn-borde { min-height: 48px; padding: 0 24px; border-radius: 10px; font-size: 16px; }
.oc .vv-btn { box-shadow: none; }
.oc .vv-btn::after { content: none; }
.oc .vv-btn:hover { background: var(--pf-azul-hover); border-color: var(--pf-azul-hover); box-shadow: none; transform: none; }
.oc .vv-btn-borde { background: var(--pf-blanco); backdrop-filter: none; }
.oc .vv-btn-borde:hover { transform: none; background: var(--pf-gris-fondo); border-color: var(--pf-linea-fuerte); }
.oc :focus-visible { outline: 2px solid var(--pf-azul); outline-offset: 2px; }

/* Titulares y frases. */
html[data-plataforma] .oc .oc-h1 { margin: 0 auto; max-width: 16ch; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
html[data-plataforma] .oc .oc-h2 { margin: 0; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; text-align: center; }
html[data-plataforma] .og2 .og-cierre.oc-piloto .oc-h2 { color: var(--pf-texto); }
html[data-plataforma]:lang(zh) .oc :is(.oc-h1, .oc-h2) { letter-spacing: 0; line-height: 1.2; }
html[data-plataforma] .oc .oc-sub { margin: 16px auto 0; max-width: 640px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--pf-texto-2); text-align: center; }

/* ---- 1. Hero --------------------------------------------------------------------- */
.og2 .og-hero.oc-hero { padding: clamp(64px, 8vw, 104px) 0 clamp(96px, 10vw, 128px); border: 0; background: var(--pf-blanco); overflow: visible; }
.oc-hero-txt { text-align: center; }
.oc-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.og2 .oc-cuenta { margin: 16px 0 0; font-size: var(--pf-fs-peque); text-align: center; }
.og2 .oc-cuenta a { color: var(--pf-texto-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pf-linea-fuerte); }
.og2 .oc-cuenta a:hover { color: var(--pf-azul); text-decoration-color: var(--pf-azul); }
.oc-marco { position: relative; margin: clamp(48px, 6vw, 72px) 0 0; border: var(--pf-borde); border-radius: 16px; background: var(--pf-blanco); overflow: hidden; box-shadow: 0 1px 2px rgb(var(--pf-texto-rgb) / 0.04), 0 24px 64px -32px rgb(var(--pf-texto-rgb) / 0.25); }
.oc-marco img { display: block; width: 100%; height: auto; }
.oc-pie { position: absolute; right: 12px; bottom: 12px; margin: 0; }

/* ---- 2. Cómo funciona -------------------------------------------------------------- */
.oc-pasos { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 800px) { .oc-pasos { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.oc-paso.og-paso { position: relative; display: grid; gap: 0; align-content: start; padding: 32px 24px 28px; border: var(--pf-borde); border-radius: 16px; background: var(--pf-blanco); }
.oc-paso-n { display: block; font-size: 56px; font-weight: var(--pf-peso-titulo); line-height: 1; letter-spacing: -0.04em; color: var(--pf-azul); }
.oc-paso .oc-ico { position: absolute; top: 32px; right: 24px; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--pf-azul-suave); color: var(--pf-azul); }
.oc-paso .oc-ico svg { width: 22px; height: 22px; }
html[data-plataforma] .oc .oc-paso h3 { margin: 24px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
html[data-plataforma] .oc .oc-paso p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--pf-texto-2); }
.og2 .og-sello.oc-privacidad { display: flex; align-items: center; justify-content: center; gap: 10px; width: auto; max-width: none; margin: 40px 0 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 16px; font-weight: var(--pf-peso-medio); line-height: 1.5; color: var(--pf-texto-2); text-align: center; }
.oc-privacidad svg { width: 20px; height: 20px; flex: none; color: var(--pf-azul); }

/* ---- 3. El piloto -------------------------------------------------------------------- */
.oc-alta { margin-top: 40px; border: var(--pf-borde); border-radius: 16px; background: var(--pf-blanco); box-shadow: 0 1px 2px rgb(var(--pf-texto-rgb) / 0.04), 0 16px 48px -28px rgb(var(--pf-texto-rgb) / 0.2); }
.og2 .oc-alta .og-form { padding: clamp(24px, 4vw, 32px); border-radius: 16px; background: transparent; }
.og2 .oc-alta .og-campo label { font-size: 14px; }
.og2 .oc-alta .og-campo input, .og2 .oc-alta .og-campo select { min-height: 48px; border-radius: 10px; border-color: var(--pf-linea-fuerte); }
.og2 .oc-alta .og-campo input:focus, .og2 .oc-alta .og-campo select:focus { outline: 0; border-color: var(--pf-azul); box-shadow: 0 0 0 3px rgb(var(--pf-azul-rgb) / 0.2); }
.og2 .oc-alta .oc-enviar { width: 100%; margin-top: 24px; }
html[data-plataforma] .oc p.oc-partner { margin: 24px 0 0; font-size: 15px; line-height: 1.5; color: var(--pf-texto-2); text-align: center; }
.oc .oc-partner-btn { font-weight: var(--pf-peso-medio); color: var(--pf-azul); text-decoration: none; white-space: nowrap; }
.oc .oc-partner-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- /organizers/request-pilot: con la cabecera común (2-dic-2026) ------------------- */
html body .pl-org-form.oc-solo-sec { padding: clamp(64px, 8vw, 104px) 0 clamp(96px, 10vw, 128px); background: var(--pf-blanco); }
.oc-solo .oc-solo-h1 { text-align: center; }
html body .pl-org .og-card.oc-solo-card { padding: clamp(24px, 4vw, 32px); }
.oc-solo .og-field :is(input, select, textarea) { min-height: 48px; border-radius: 10px; }
.oc-solo .og-field textarea { min-height: 72px; }
.oc-solo .og-submit.vv-btn { width: 100%; }
html[data-plataforma] .oc-solo .pl-org-otra { margin: 12px 0 0; text-align: center; font-size: 15px; color: var(--pf-texto-2); }

/* ---- Móvil: una columna, botones a todo el ancho -------------------------------------- */
@media (max-width: 599px) {
  .oc-acciones > * { width: 100%; }
  .oc-marco { border-radius: 12px; }
  .oc-paso-n { font-size: 48px; }
}

/* ---- Quietos: la aparición del kit ya se apaga con prefers-reduced-motion ------------- */
@media (prefers-reduced-motion: reduce) {
  .oc .vv-btn, .oc .vv-btn-borde { transition: none; }
}
