/* ============================================================ */
/* SECUENCIA DE BIENVENIDA · Club VIP Zoorigen                   */
/* Pantallas de assets/js/club-onboarding.js. Usan el tema        */
/* --zoo-* del área de miembros (claro y oscuro) y los tres       */
/* colores del logo: naranja #C75402, azul #037BC9, verde #95A303 */
/* ============================================================ */

.zob,
.zob-tour,
.zob-repetir {
  --zob-naranja: #C75402;
  --zob-naranja-fuerte: #AE4800;
  --zob-azul: #037BC9;
  --zob-verde: #95A303;
  --zob-fondo: var(--zoo-bg-card, #171B20);
  --zob-fondo-suave: rgba(127, 140, 130, .14);
  --zob-texto: var(--zoo-text, #fff);
  --zob-suave: var(--zoo-text-muted, rgba(255, 255, 255, .72));
  --zob-borde: var(--zoo-border-strong, color-mix(in srgb, var(--zoo-acc-txt, #6FBF73) 35%, transparent));
  --zob-acento: #FF9D52;
  --zob-azul-texto: #66BDF3;
  --zob-verde-texto: #BCCF2C;
  --zob-error: #FF8A80;
  --zob-velo: rgba(10, 12, 14, .82);
  --zob-sombra: 0 30px 90px rgba(0, 0, 0, .6);
  --zob-foco: #66BDF3;
}
[data-theme="light"] .zob,
[data-theme="light"] .zob-tour,
[data-theme="light"] .zob-repetir {
  --zob-acento: #B04800;
  --zob-azul-texto: #025E9A;
  --zob-verde-texto: #667000;
  --zob-error: #B3261E;
  --zob-velo: rgba(22, 22, 22, .62);
  --zob-sombra: 0 30px 80px rgba(25, 25, 25, .3);
  --zob-foco: #025E9A;
}

.zob, .zob *, .zob-tour, .zob-tour * { box-sizing: border-box; }
html.zob-lock, html.zob-tour-abierto { overflow: hidden; }

.zob-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ───────────── Base de las tarjetas ───────────── */
.zob {
  position: fixed; inset: 0; z-index: 100500;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  font-family: var(--zoo-font-body);
  color: var(--zob-texto);
  animation: zobAparece .3s ease;
}
.zob--saliendo { animation: zobDesaparece .22s ease forwards; pointer-events: none; }
.zob__fondo { position: absolute; inset: 0; background: var(--zob-velo); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.zob__caja {
  position: relative; width: 100%; max-width: 460px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--zob-fondo); color: var(--zob-texto);
  border: 1px solid var(--zob-borde); border-radius: 22px;
  padding: 36px 30px 26px; text-align: center;
  box-shadow: var(--zob-sombra);
  animation: zobEntra .5s cubic-bezier(.22, 1.15, .36, 1);
}
/* Tira superior en verde de marca (sólido) */
.zob-tarjeta__caja::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--zoo-solid, #1F5F3A);
}

.zob__icono {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px;
  display: grid; place-items: center;
  color: var(--zob-acento); background: color-mix(in srgb, var(--zob-naranja) 15%, transparent);
}
.zob__icono svg { width: 34px; height: 34px; }
.zob__icono--azul { color: var(--zob-azul-texto); background: color-mix(in srgb, var(--zob-azul) 16%, transparent); }
.zob__icono--verde { color: var(--zob-verde-texto); background: color-mix(in srgb, var(--zob-verde) 20%, transparent); }
.zob__icono--grande { width: 84px; height: 84px; border-radius: 26px; }
.zob__icono--grande svg { width: 42px; height: 42px; }

.zob__kicker {
  margin: 0 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--zob-acento);
}
.zob__titulo {
  margin: 0 0 10px; font-family: var(--zoo-font-display);
  font-size: 1.5rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: var(--zob-texto);
}
.zob__titulo em { font-style: normal; color: var(--zob-acento); }
.zob__texto { margin: 0 auto 20px; max-width: 400px; font-size: .96rem; line-height: 1.6; color: var(--zob-suave); }
.zob__nota {
  margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; text-align: left;
  font-size: .88rem; line-height: 1.55; color: var(--zob-suave);
  background: var(--zob-fondo-suave); border-left: 4px solid var(--zob-verde);
}
.zob__pie { margin: 14px 0 0; font-size: .8rem; line-height: 1.5; color: var(--zob-suave); }

.zob__cerrar {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--zob-suave); background: var(--zob-fondo-suave); border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s;
}
.zob__cerrar:hover { color: var(--zob-texto); background: color-mix(in srgb, var(--zob-fondo-suave) 70%, var(--zob-texto) 14%); }

/* ───────────── Botones ───────────── */
.zob-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--zoo-font-display); font-size: .94rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.zob-btn:active { transform: scale(.98); }
.zob-btn:disabled { opacity: .65; cursor: progress; }
.zob-btn--ancho { width: 100%; }
.zob-btn--primario {
  color: var(--zoo-accent-ink, #1F1D17); background: var(--zoo-amber, #E8A317);
}
.zob-btn--primario:hover:not(:disabled) { background: var(--zoo-amber-hover, #F4B942); transform: translateY(-1px); }
.zob-btn--suave { color: var(--zob-suave); background: transparent; border-color: var(--zob-borde); font-weight: 500; }
.zob-btn--suave:hover { color: var(--zob-texto); background: var(--zob-fondo-suave); }
.zob-btn--texto { color: var(--zob-suave); background: transparent; min-height: 40px; padding: 8px 6px; font-weight: 500; font-size: .88rem; }
.zob-btn--texto:hover { color: var(--zob-texto); text-decoration: underline; }
.zob-btn:focus-visible, .zob__cerrar:focus-visible, .zob-splash__dot:focus-visible,
.zob-campo:focus-visible, .zob-tour__boton:focus-visible, .zob-tour__omitir:focus-visible, .zob-repetir:focus-visible {
  outline: 3px solid var(--zob-foco); outline-offset: 2px;
}

/* ───────────── Bienvenida (diapositivas) ───────────── */
.zob-splash__caja { max-width: 560px; padding: 44px 34px 24px; }
.zob-splash__barra { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--zob-fondo-suave); overflow: hidden; border-radius: 22px 22px 0 0; }
.zob-splash__avance {
  display: block; height: 100%; width: 0;
  background: var(--zoo-fill, #6FBF73); transition: width .5s cubic-bezier(.4, 0, .2, 1);
}
.zob-splash__escena { position: relative; z-index: 1; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.zob-splash__slide { width: 100%; animation: zobSlide .45s cubic-bezier(.22, 1, .36, 1); }
.zob-splash__logo {
  width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; display: block;
  border: 3px solid color-mix(in srgb, var(--zob-naranja) 55%, transparent);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--zob-naranja) 30%, transparent);
}
.zob-splash__titulo { font-size: 1.75rem; }
.zob-splash__slide .zob__icono { width: 84px; height: 84px; border-radius: 26px; margin-bottom: 20px; animation: zobPop .5s cubic-bezier(.22, 1.4, .36, 1); }
.zob-splash__slide .zob__icono svg { width: 42px; height: 42px; }
.zob-splash__nav { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.zob-splash__puntos { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; }
.zob-splash__dot {
  position: relative; width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--zob-texto) 24%, transparent); transition: width .25s ease, background .25s ease;
}
.zob-splash__dot::after { content: ''; position: absolute; inset: -10px -4px; }
.zob-splash__dot.is-on { width: 26px; background: var(--zob-naranja); }
.zob-splash .zob-btn--primario { flex-shrink: 0; min-width: 132px; }

.zob-splash__confeti { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.zob-splash__bit {
  position: absolute; top: -16px; left: var(--x); width: 9px; height: 15px; border-radius: 2px;
  background: var(--c); opacity: 0;
  animation: zobCae var(--t) cubic-bezier(.3, .55, .45, 1) var(--d) forwards;
}

/* ───────────── Nombre del certificado ───────────── */
.zob-nombre__form { display: block; }
.zob-campo {
  width: 100%; padding: 14px 16px; border-radius: 12px; text-align: center;
  font: inherit; font-size: 1rem; color: var(--zob-texto);
  background: var(--zoo-bg-card-2, var(--zob-fondo-suave)); border: 1.5px solid var(--zob-borde);
  transition: border-color .15s, box-shadow .15s;
}
.zob-campo::placeholder { color: color-mix(in srgb, var(--zob-suave) 70%, transparent); }
.zob-campo:focus { border-color: var(--zob-azul); box-shadow: 0 0 0 3px color-mix(in srgb, var(--zob-azul) 25%, transparent); }
.zob-campo[aria-invalid="true"] { border-color: var(--zob-error); }
.zob-nombre__ayuda { min-height: 22px; margin: 8px 0 10px; font-size: .84rem; line-height: 1.4; color: var(--zob-suave); }
.zob-nombre__ayuda.is-error { color: var(--zob-error); font-weight: 600; }
.zob-nombre__form .zob-btn + .zob-btn { margin-top: 10px; }

/* ───────────── Prueba gratuita ───────────── */
.zob-prueba .zob__caja { max-width: 470px; }
.zob-prueba--retorno .zob__caja { max-width: 520px; padding-top: 44px; }
.zob-prueba--retorno .zob__titulo { font-size: 1.8rem; }
.zob-prueba__brillo {
  position: absolute; left: 50%; top: -60px; width: 320px; height: 220px; transform: translateX(-50%); pointer-events: none;
  background: none;
}
.zob-prueba__pasos { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; text-align: left; }
.zob-prueba__pasos li {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px;
  font-size: .93rem; line-height: 1.5; color: var(--zob-suave); background: var(--zob-fondo-suave);
}
.zob-prueba__num {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: #fff; background: var(--zob-naranja);
}
.zob-prueba__acciones { display: grid; gap: 10px; position: relative; z-index: 1; }
.zob-prueba .zob__icono, .zob-prueba .zob__titulo, .zob-prueba .zob__texto { position: relative; z-index: 1; }

/* ───────────── Aviso breve ───────────── */
.zob.zob-toast {
  inset: auto auto 24px 50%; width: auto; max-width: calc(100vw - 32px); padding: 12px 18px; transform: translateX(-50%);
  display: block; border-radius: 12px; font-size: .9rem; font-weight: 600;
  background: var(--zob-fondo); color: var(--zob-texto); border: 1px solid var(--zob-borde); box-shadow: var(--zob-sombra);
  z-index: 100600; animation: zobToast .3s ease;
}

/* ───────────── Botón para repetir la guía ───────────── */
.zob-repetir {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--zoo-text, #fff); background: var(--zoo-bg-card, #171B20); border: 1px solid var(--zoo-border-strong, #3A424C);
  cursor: pointer; transition: border-color .15s, color .15s;
}
.zob-repetir:hover { border-color: var(--zob-naranja); color: var(--zob-acento); }

/* ───────────── Recorrido con foco ───────────── */
.zob-tour { position: fixed; inset: 0; z-index: 2147482000; pointer-events: none; font-family: var(--zoo-font-body); color: var(--zob-texto); }
.zob-tour[aria-hidden="true"] { display: none; }
.zob-tour__sombra { position: fixed; background: var(--zob-velo); pointer-events: auto; transition: all .22s ease; }
.zob-tour__sombra[data-sombra="arriba"] { right: 0; }
.zob-tour__sombra[data-sombra="derecha"] { right: 0; }
.zob-tour__sombra[data-sombra="abajo"] { right: 0; bottom: 0; }
.zob-tour__hueco {
  position: fixed; pointer-events: none; transition: all .22s ease; border-radius: 14px;
  border: 2px solid var(--zob-naranja);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--zob-naranja) 24%, transparent), 0 0 30px color-mix(in srgb, var(--zob-naranja) 45%, transparent);
}
.zob-tour__guardia { position: fixed; background: transparent; pointer-events: auto; cursor: default; transition: all .22s ease; }
.zob-tour__dialogo {
  position: fixed; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  overflow: auto; padding: 20px; outline: none; pointer-events: auto; overscroll-behavior: contain;
  background: var(--zob-fondo); border: 1px solid var(--zob-borde); border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45); transition: left .22s ease, top .22s ease;
}
.zob-tour__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.zob-tour__marca { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zob-acento); }
.zob-tour__punto { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--zob-naranja); box-shadow: 0 0 12px color-mix(in srgb, var(--zob-naranja) 65%, transparent); }
.zob-tour__omitir { padding: 6px 8px; border: 0; border-radius: 8px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--zob-suave); background: transparent; cursor: pointer; }
.zob-tour__omitir:hover { color: var(--zob-texto); background: var(--zob-fondo-suave); }
.zob-tour__progreso { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.zob-tour__pista { flex: 1; height: 5px; overflow: hidden; border-radius: 99px; background: var(--zob-fondo-suave); }
.zob-tour__barra { height: 100%; width: 0; border-radius: inherit; background: var(--zoo-fill, #6FBF73); transition: width .22s ease; }
.zob-tour__cuenta { font-size: .75rem; font-weight: 700; white-space: nowrap; color: var(--zob-suave); }
.zob-tour__titulo { margin: 0 0 8px; font-family: var(--zoo-font-display); font-size: 1.2rem; line-height: 1.25; font-weight: 700; color: var(--zob-texto); }
.zob-tour__texto { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--zob-suave); }
.zob-tour__acciones { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.zob-tour__boton { min-height: 42px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--zob-borde); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.zob-tour__boton:active { transform: scale(.97); }
.zob-tour__boton--atras { margin-right: auto; color: var(--zob-suave); background: transparent; }
.zob-tour__boton--atras[disabled] { visibility: hidden; }
.zob-tour__boton--sig { color: var(--zoo-accent-ink, #1F1D17); background: var(--zoo-amber, #E8A317); border-color: transparent; }
.zob-tour__boton--sig:hover { background: var(--zoo-amber-hover, #F4B942); }

/* ───────────── Animaciones ───────────── */
@keyframes zobAparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes zobDesaparece { from { opacity: 1; } to { opacity: 0; } }
@keyframes zobEntra { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes zobSlide { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes zobPop { from { opacity: 0; transform: scale(.5) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes zobToast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes zobCae {
  0% { opacity: 0; transform: translateY(0) rotate(0); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translateY(440px) translateX(30px) rotate(var(--r)); }
}

/* ───────────── Celulares ───────────── */
@media (max-width: 500px) {
  .zob-repetir { width: 38px; height: 38px; border-radius: 10px; }
}
@media (max-width: 480px) {
  .zob { padding: 12px; }
  .zob__caja { padding: 30px 20px 22px; border-radius: 18px; max-height: calc(100dvh - 24px); }
  .zob__titulo { font-size: 1.3rem; }
  .zob__texto { font-size: .92rem; }
  .zob-splash__caja { padding: 38px 20px 20px; }
  .zob-splash__titulo { font-size: 1.45rem; }
  .zob-splash__escena { min-height: 250px; }
  .zob-splash__nav { flex-wrap: wrap; gap: 8px; }
  .zob-splash__puntos { order: 1; flex-basis: 100%; }
  .zob-splash__nav .zob-btn--texto { order: 2; }
  .zob-splash .zob-btn--primario { order: 3; margin-left: auto; }
  .zob-prueba--retorno .zob__titulo { font-size: 1.5rem; }
  .zob-tour__dialogo { width: calc(100vw - 24px); padding: 16px; border-radius: 16px; }
  .zob-tour__titulo { font-size: 1.1rem; }
  .zob-tour__texto { font-size: .88rem; }
}
@media (max-height: 560px) {
  .zob-splash__escena { min-height: 200px; }
  .zob__icono, .zob-splash__logo { margin-bottom: 10px; }
}

/* ───────────── Menos movimiento ───────────── */
@media (prefers-reduced-motion: reduce) {
  .zob, .zob *, .zob-tour, .zob-tour * { animation: none !important; transition: none !important; }
  .zob-splash__confeti { display: none; }
}

/* ───────────── Bienvenida de miembro (club.js) y aviso de webinar: íconos legibles en ambos temas ───────────── */
.zoo-welcome-badge .zi { color: #1F1D17; }
.zoo-welcome-sparkle { color: var(--zoo-amber, #E8A317); }
.zoo-welcome-plan-icon { color: var(--zoo-amber, #E8A317); }
.zoo-welcome-benefit span { color: var(--zoo-fill, #6FBF73); }
.zoo-welcome-confetti .zi { color: var(--zoo-amber, #E8A317); }
.zoo-welcome-backdrop { background: rgba(10, 12, 14, 0.9); }

/* Día: la bienvenida de miembro es una tarjeta blanca; los textos que eran blancos pasan a tinta oscura (antes no se leían). */
[data-theme="light"] .zoo-welcome-title { color: #1F2933; }
[data-theme="light"] .zoo-welcome-title span { background: none; -webkit-text-fill-color: #8A5A00; color: #8A5A00; }
[data-theme="light"] .zoo-welcome-benefit strong { color: #1F2933; }
[data-theme="light"] .zoo-welcome-benefit small, [data-theme="light"] .zoo-welcome-desc, [data-theme="light"] .zoo-welcome-plan-sub { color: #4b5550; }
[data-theme="light"] .zoo-welcome-desc strong, [data-theme="light"] .zoo-welcome-footer a { color: var(--zoo-acc-txt, #1F5F3A); }
[data-theme="light"] .zoo-welcome-plan-label { color: #7A5200; }
[data-theme="light"] .zoo-welcome-plan-icon { color: #8A5A00; }
[data-theme="light"] .zoo-welcome-sparkle { color: #B27A06; }
[data-theme="light"] .zoo-welcome-benefit span { color: var(--zoo-acc-txt, #1F5F3A); }
[data-theme="light"] .zoo-welcome-close { color: #4b5550; background: #EFEBE2; }

/* ───────────── Completa tu perfil profesional (reemplaza la ventana del nombre) ───────────── */
.zob-perfil .zpf-caja {
  max-width: 640px; padding: 0; text-align: left; display: flex; flex-direction: column; overflow: hidden;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
}
.zob-perfil .zpf-caja::before { display: none; }
.zpf-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.zpf-portada {
  position: relative; padding: clamp(28px, 6vw, 46px) clamp(16px, 4.5vw, 26px) clamp(40px, 8vw, 56px);
  color: #fff; background: var(--zoo-solid, #1F5F3A);
}
.zpf-kick { display: block; margin: 0 0 8px; color: #D9E8A8; font: 700 .75rem/1.2 var(--zoo-font-body); letter-spacing: .18em; text-transform: uppercase; }
.zpf-portada h2 { margin: 0 0 8px; max-width: 84%; color: #fff; font: 800 clamp(1.2rem, 1rem + 1.4vw, 1.55rem)/1.15 var(--zoo-font-display); letter-spacing: -.01em; }
.zpf-portada p { margin: 0; max-width: 88%; color: #E6F2E9; font-size: clamp(.84rem, .8rem + .2vw, .92rem); line-height: 1.5; }
.zpf-cerrar { top: 10px; right: 10px; color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.zpf-cerrar:hover { color: #fff; background: rgba(255, 255, 255, .28); }
.zpf-fila {
  --zpf-av: clamp(64px, 16vw, 88px);
  position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: end;
  padding: 0 clamp(16px, 4.5vw, 26px);
}
.zpf-avatar { width: var(--zpf-av); height: var(--zpf-av); margin-top: calc(var(--zpf-av) / -2); border-radius: 50%; padding: 3px; background: var(--zoo-amber, #E8A317); }
.zpf-foto {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  border: 3px solid var(--zob-fondo); background: var(--zoo-solid, #1F5F3A); color: #fff;
  font: 800 clamp(1.3rem, 5vw, 1.7rem)/1 var(--zoo-font-display); letter-spacing: .02em;
}
.zpf-avance { padding-bottom: 6px; }
.zpf-avance__f { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: .8rem; font-weight: 700; color: var(--zob-suave); }
.zpf-avance__f b { color: var(--zoo-acc-txt, #2A7A4E); }
.zpf-barra { height: 8px; border-radius: 99px; overflow: hidden; background: var(--zob-fondo-suave); }
.zpf-barra i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--zoo-fill, #2A7A4E); transition: width .3s ease; }
.zpf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px clamp(16px, 4.5vw, 26px) 12px; }
.zpf-campo { min-width: 0; }
.zpf-campo--completo { grid-column: 1 / -1; }
.zpf-campo label { display: flex; align-items: center; gap: 6px; margin: 0 0 5px; font-size: .8125rem; font-weight: 700; color: var(--zob-texto); }
.zpf-campo label svg { flex: none; color: var(--zob-suave); }
.zpf-input {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 11px; font: inherit; font-size: .95rem;
  color: var(--zob-texto); background: var(--zoo-bg-card-2, var(--zob-fondo-suave)); border: 1.5px solid var(--zob-borde);
  transition: border-color .15s, box-shadow .15s;
}
.zpf-input::placeholder { color: color-mix(in srgb, var(--zob-suave) 70%, transparent); }
.zpf-input:focus { outline: none; border-color: var(--zob-azul); box-shadow: 0 0 0 3px color-mix(in srgb, var(--zob-azul) 25%, transparent); }
.zpf-input.is-lleno { border-color: color-mix(in srgb, var(--zob-verde) 70%, var(--zob-borde)); }
.zpf-input[aria-invalid="true"] { border-color: var(--zob-error); }
.zpf-ayuda { display: flex; gap: 7px; align-items: flex-start; margin-top: 7px; padding: 8px 10px; border-radius: 10px; font-size: .78rem; line-height: 1.4; font-weight: 600; color: var(--zoo-acc-txt, #2A7A4E); background: var(--zob-fondo-suave); }
.zpf-ayuda svg { flex: none; margin-top: 1px; }
.zpf-pie { flex: none; display: grid; gap: 8px; padding: 12px clamp(16px, 4.5vw, 26px) clamp(12px, 3vw, 18px); border-top: 1px solid var(--zob-borde); background: var(--zob-fondo); }
.zpf-hint { min-height: 16px; margin: 0; font-size: .8rem; line-height: 1.4; text-align: center; color: var(--zob-suave); }
.zpf-hint.is-error { color: var(--zob-error); font-weight: 600; }
.zpf-nota { display: flex; gap: 7px; align-items: center; justify-content: center; margin: 0; font-size: .75rem; line-height: 1.4; text-align: center; color: var(--zob-suave); }
.zpf-nota svg { flex: none; color: var(--zoo-acc-txt, #2A7A4E); }
.zpf-input:focus-visible, .zpf-cerrar:focus-visible { outline: 3px solid var(--zob-foco); outline-offset: 2px; }
.zpf-avance { padding-bottom: 4px; }
@media (max-width: 480px) {
  .zpf-form { gap: 8px 10px; padding-top: 12px; }
  .zpf-portada h2, .zpf-portada p { max-width: 100%; }
  .zpf-portada h2 { padding-right: 38px; }
  .zpf-portada p { font-size: .82rem; }
  .zpf-campo label { font-size: .78rem; }
  .zpf-input { padding: 9px 10px; font-size: .9rem; }
  .zpf-ayuda { font-size: .75rem; padding: 6px 9px; }
}
@media (max-width: 340px) {
  .zpf-form { grid-template-columns: minmax(0, 1fr); }
}

/* ───────────── Prueba gratuita con abanico ───────────── */
.zob-prueba .zob__caja { padding: clamp(24px, 6vw, 36px) clamp(16px, 5vw, 30px) clamp(16px, 4vw, 24px); }
.zob-prueba .zpg-art { margin-top: 4px; }
.zob__texto--aparte { margin-top: -8px; }
.zob-prueba__acciones .zob-btn--texto { min-height: 40px; }

@media (max-width: 480px) {
  .zob-prueba__pasos { gap: 6px; margin-bottom: 14px; }
  .zob-prueba__pasos li { padding: 9px 11px; font-size: .86rem; gap: 10px; }
  .zob-prueba__num { width: 22px; height: 22px; font-size: .75rem; }
}

/* Celular: iconos y relleno de las tarjetas de bienvenida bajan con el ancho */
@media (max-width: 480px) {
  .zob__icono { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 10px; }
  .zob__icono svg { width: 28px; height: 28px; }
  .zob__icono--grande { width: 64px; height: 64px; border-radius: 20px; }
  .zob__icono--grande svg { width: 32px; height: 32px; }
  .zob__texto { margin-bottom: 14px; }
  .zob-splash__escena { min-height: clamp(190px, 38vh, 250px); }
  .zob-splash__logo { width: 64px; height: 64px; }
  .zob-tour__dialogo { padding: 14px; }
}
@media (max-width: 360px) {
  .zob__caja { padding: 24px 14px 16px; }
  .zob__titulo { font-size: 1.15rem; }
}

/* Perfil profesional: en celular el texto de la portada se quita (el título basta) y todo se aprieta un poco */
@media (max-width: 480px) {
  .zpf-portada { padding: 22px 16px 34px; }
  .zpf-portada p { display: none; }
  .zpf-portada h2 { font-size: 1.15rem; }
  .zpf-kick { margin-bottom: 4px; }
  .zpf-fila { --zpf-av: 58px; }
  .zpf-form { padding-bottom: 6px; }
  .zpf-pie { padding-top: 10px; gap: 6px; }
}
@media (max-width: 360px) {
  .zob-prueba .zob__texto { font-size: .86rem; margin-bottom: 10px; }
  .zob-prueba .zob__kicker { margin-bottom: 4px; }
  .zob-prueba__acciones { gap: 4px; }
}
