/* =========================================================================
   AES — styles-v2.css
   Componentes nuevos del rediseño (v2): Membresías (pricing), Servicios
   (catálogo), Equipo y Empleo. Reutiliza los tokens de styles.css
   (--blue, --cyan, --ink, --rad-card, --ease…). Cargar DESPUÉS de styles.css.
   ========================================================================= */

/* ---- Utilidades ---- */
.grid-auto { display: grid; gap: 24px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* =========================================================================
   MEMBRESÍAS — toggle + tarjetas de plan
   ========================================================================= */
.plan-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; margin: 0 auto 44px; }
.plan-toggle button { border: none; background: none; font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.plan-toggle button.active { background: linear-gradient(115deg, var(--blue), var(--blue-2)); color: #fff; }
.plan-toggle .save { font-size: .78rem; font-weight: 700; color: var(--cyan); margin-left: 6px; }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-card); padding: 32px 28px; box-shadow: 0 24px 60px -40px rgba(8,10,22,.35); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 34px 74px -38px rgba(0,38,233,.4); }
.plan-card.featured { border-color: var(--blue); box-shadow: 0 30px 70px -34px rgba(0,38,233,.55); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: linear-gradient(115deg, var(--blue), var(--cyan)); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan-name { font-family: "Roboto",system-ui,sans-serif; font-weight: 600; font-size: 1.35rem; color: var(--ink); margin-bottom: 4px; }
.plan-for { font-size: .92rem; color: var(--muted); min-height: 42px; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan-price .amount { font-family: "Roboto",system-ui,sans-serif; font-weight: 700; font-size: 2.3rem; color: var(--ink); line-height: 1; }
.plan-price .per { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan-note { font-size: .82rem; color: var(--cyan); font-weight: 700; min-height: 20px; margin-bottom: 22px; }
.plan-incl { font-size: .82rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan-feats li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--text); line-height: 1.45; }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(25,227,200,.2), rgba(0,38,233,.12)); }
.plan-feats li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-card .btn { width: 100%; justify-content: center; }

/* =========================================================================
   COMPARATIVA (cinta de "todo incluido")
   ========================================================================= */
.allin { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--rad-card); padding: clamp(28px,4vw,44px); }
.allin h3 { color: var(--ink); margin-bottom: 20px; font-family: "Roboto",system-ui,sans-serif; font-weight: 600; font-size: 1.4rem; }
.allin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px 28px; }
.allin-grid span { position: relative; padding-left: 26px; font-size: .96rem; color: var(--text); }
.allin-grid span::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }

/* =========================================================================
   FAQ (acordeón)
   ========================================================================= */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-input); padding: 4px 22px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(0,38,233,.35); }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--text); font-size: .98rem; }

/* =========================================================================
   SERVICIOS — catálogo de tarjetas
   ========================================================================= */
.svc-group { margin-bottom: clamp(40px,5vw,64px); }
.svc-group > h3 { display: flex; align-items: center; gap: 12px; font-family: "Roboto",system-ui,sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--ink); margin-bottom: 24px; }
.svc-group > h3 span.tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: rgba(0,38,233,.08); padding: 5px 12px; border-radius: 999px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-card); padding: 26px 24px; box-shadow: 0 20px 50px -38px rgba(8,10,22,.3); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.svc-card:hover { transform: translateY(-5px); border-color: rgba(0,38,233,.3); box-shadow: 0 30px 64px -40px rgba(0,38,233,.4); }
.svc-card h4 { color: var(--ink); font-size: 1.12rem; margin-bottom: 8px; }
.svc-card p { font-size: .94rem; color: var(--muted); flex: 1; margin-bottom: 16px; line-height: 1.5; }
.svc-partner { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.svc-card .svc-link { font-weight: 600; color: var(--blue); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .3s var(--ease); }
.svc-card .svc-link:hover { gap: 12px; }
.svc-new { border: 1px dashed rgba(0,38,233,.35); background: linear-gradient(180deg, rgba(25,227,200,.05), rgba(0,38,233,.03)); }
.svc-soon { display: inline-block; align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6d00; background: rgba(255,196,0,.16); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }

/* =========================================================================
   EQUIPO
   ========================================================================= */
.team-grid { display: grid; gap: 22px; }
.team-lead { grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
.team-verticals { grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); }
.team-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-card); padding: 26px 24px; box-shadow: 0 20px 50px -40px rgba(8,10,22,.3); transition: transform .4s var(--ease), box-shadow .4s; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 30px 64px -40px rgba(0,38,233,.4); }
.team-av { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: "Roboto",system-ui,sans-serif; font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.team-card h4 { color: var(--ink); font-size: 1.15rem; margin-bottom: 3px; }
.team-role { font-size: .9rem; color: var(--muted); font-weight: 600; }
.team-vert { display: flex; align-items: center; gap: 14px; }
.team-vert .team-av { width: 46px; height: 46px; font-size: 1rem; margin-bottom: 0; flex: none; }
.team-vert h4 { font-size: 1rem; margin-bottom: 2px; }
.team-vert .team-role { font-size: .84rem; }

/* =========================================================================
   EMPLEO — portal / job board
   ========================================================================= */
.jobs-bar { display: flex; flex-wrap: wrap; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-card); padding: 16px; margin-bottom: 32px; box-shadow: 0 20px 50px -42px rgba(8,10,22,.3); }
.jobs-bar select, .jobs-bar input { font: inherit; font-size: .95rem; color: var(--ink); border: 1px solid var(--line); border-radius: var(--rad-input); padding: 12px 16px; background: #fff; flex: 1 1 160px; min-width: 140px; }
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-card); padding: 22px 26px; box-shadow: 0 18px 46px -40px rgba(8,10,22,.28); transition: transform .35s var(--ease), border-color .3s; }
.job-card:hover { transform: translateY(-3px); border-color: rgba(0,38,233,.3); }
.job-logo { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex: none; background: linear-gradient(135deg, var(--blue-2), var(--cyan)); }
.job-main { flex: 1 1 220px; }
.job-main h4 { color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.job-company { font-size: .9rem; color: var(--muted); font-weight: 600; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job-tags span { font-size: .78rem; font-weight: 600; color: var(--blue); background: rgba(0,38,233,.07); padding: 5px 11px; border-radius: 999px; }
.jobs-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; margin-top: 40px; }
.jobs-cta .box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--rad-card); padding: 32px 30px; }
.jobs-cta .box h3 { color: var(--ink); margin-bottom: 8px; font-size: 1.2rem; }
.jobs-cta .box p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }

/* ---- Teaser de planes en la home ---- */
.plan-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-top: 12px; }
.plan-teaser a { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-card); padding: 22px 20px; transition: transform .35s var(--ease), border-color .3s; }
.plan-teaser a:hover { transform: translateY(-4px); border-color: rgba(0,38,233,.3); }
.plan-teaser .pt-name { font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; }
.plan-teaser .pt-price { color: var(--blue); font-weight: 700; font-size: .92rem; }

@media (max-width: 600px) {
  .job-card { align-items: flex-start; }
  .plan-toggle { width: 100%; justify-content: center; }
}

/* ============================================================
   WIZARD DE ALTA MULTI-ETAPA (unete.html · inversor-registro.html)
   Móvil primero. Barra de progreso + pasos + nav inyectada por wizard.js
   ============================================================ */
.opt { font-weight: 400; color: var(--ink-3, #888); }

.wizard-progress { margin-bottom: 26px; }
.wz-track { height: 6px; background: var(--line, #e6e8f0); border-radius: 999px; overflow: hidden; }
.wz-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 999px; transition: width .45s var(--ease, ease); }
.wz-dots { display: flex; justify-content: space-between; margin-top: 12px; gap: 4px; }
.wz-dot { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; min-width: 0; text-align: center; }
.wz-dot b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--line, #e6e8f0); color: var(--ink-2, #666); font-size: .82rem; font-weight: 700; transition: all .3s var(--ease, ease); }
.wz-dot em { font-style: normal; font-size: .72rem; color: var(--ink-3, #999); line-height: 1.15; }
.wz-dot.is-current b { background: linear-gradient(115deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 6px 16px -6px rgba(0,38,233,.6); }
.wz-dot.is-current em { color: var(--blue); font-weight: 600; }
.wz-dot.is-done b { background: var(--cyan); color: #06263a; }

.wizard-step { display: none; animation: wzIn .35s var(--ease, ease); }
.wizard-step.is-active { display: block; }
@keyframes wzIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wz-title { font-size: 1.35rem; font-weight: 800; margin: 0 0 6px; color: var(--ink, #0a0c1a); }
.wz-help { font-size: .92rem; color: var(--ink-2, #555); margin: 0 0 18px; }

.wizard-nav { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.wizard-nav .wz-next { margin-left: auto; }
.wz-msg { margin: 0; font-weight: 600; font-size: .9rem; }
.wz-msg.is-err { color: #c0392b; }

/* Tarjetas de tipo de socio (etapa 5) — clases propias para no heredar de .plan-card de membresías */
.wz-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.wz-plan { position: relative; display: block; cursor: pointer; }
.wz-plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wz-plan-body { display: block; border: 1.5px solid var(--line, #e6e8f0); border-radius: 14px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s, background .2s; height: 100%; }
.wz-plan-body b { display: block; font-size: 1.02rem; color: var(--ink, #0a0c1a); }
.wz-plan-body em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .04em; }
.wz-plan-body small { display: block; margin-top: 6px; font-size: .82rem; color: var(--ink-2, #666); line-height: 1.3; }
.wz-plan input:checked + .wz-plan-body { border-color: var(--blue); background: rgba(3,31,255,.03); box-shadow: 0 10px 26px -18px rgba(0,38,233,.6); }
.wz-plan input:focus-visible + .wz-plan-body { outline: 2px solid var(--blue); outline-offset: 2px; }
.period-toggle { display: flex; align-items: center; gap: 16px; margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--ink-2, #555); }

/* Pantalla final */
.wizard-done { text-align: center; padding: 20px 0; animation: wzIn .4s var(--ease, ease); }
.wz-done-badge { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(115deg, var(--blue), var(--cyan)); color: #fff; }
.wz-done-badge svg { width: 30px; height: 30px; }
.wizard-done h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; }
.wizard-done p { color: var(--ink-2, #555); margin: 0 auto 20px; max-width: 440px; }
.wz-done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .wz-dot em { display: none; }           /* en móvil, solo los números */
  .wizard-nav .wz-back { order: 2; }
  .wizard-nav .wz-next { order: 1; width: 100%; }
  .wizard-nav .wz-msg { order: 3; width: 100%; }
}
