/* ============================================================================
 * curso-taller.css · Mecánica dental y Prótesis flexibles
 * Pensado para personas de 35 a 60 años: letra grande, bloques cortos,
 * botones grandes y una imagen o ícono que refuerza cada explicación.
 * Paleta acordada (negro, fucsia y azul). Todo queda dentro de .taller.
 * ========================================================================== */
.taller {
  --t-fondo: #05070b;
  --t-panel: #11141b;
  --t-panel-2: #171a22;
  --t-linea: #2a2f3a;
  --t-texto: #f7f8fb;
  --t-suave: #c9d0dc;
  --t-azul: #2f7cf6;
  --t-azul-2: #1f5fd6;
  --t-fucsia: #ff00a8;
  --t-fucsia-suave: rgba(255, 0, 168, .14);
  --t-ok: #35d07f;
  color: var(--t-texto);
  font-size: 19px;
  line-height: 1.55;
  padding-bottom: 8px;
}
.taller *, .taller *::before, .taller *::after { box-sizing: border-box; }
.taller p { margin: 0 0 14px; }
.taller b, .taller strong { color: #fff; }
.taller__ancho { width: min(760px, 100%); margin: 0 auto; padding: 0 18px; }

/* --- Hero ------------------------------------------------------------------ */
.taller-hero {
  padding: 26px 0 30px;
  background: radial-gradient(circle at 90% 0%, rgba(255, 0, 168, .20), transparent 42%),
    linear-gradient(160deg, #0c1017 0%, #05070b 60%, #14060f 100%);
  border-bottom: 1px solid #1d212a;
}
.taller-hero__entrada {
  display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--t-fucsia-suave); color: #ff7fd2; font-size: 16px; font-weight: 800; letter-spacing: .02em;
}
.taller-hero__titulo { margin: 0 0 12px; font-size: clamp(34px, 8.6vw, 58px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; }
.taller-hero__lema { display: block; margin-top: 10px; color: var(--t-fucsia); font-size: .62em; line-height: 1.15; }
.taller-hero__bajada { font-size: 20px; color: var(--t-suave); max-width: 40ch; }
.taller-datos { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; padding: 0; list-style: none; }
.taller-datos li {
  padding: 9px 14px; border-radius: 12px; background: var(--t-panel); border: 1px solid var(--t-linea);
  font-size: 17px; font-weight: 800; color: #fff;
}
.taller-datos li.es-precio { border-color: var(--t-fucsia); background: var(--t-fucsia-suave); }
.taller-hero__foto { margin: 22px 0 0; }

/* --- Botones ---------------------------------------------------------------- */
.taller-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 62px; padding: 14px 20px; border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(180deg, var(--t-azul), var(--t-azul-2)); color: #fff;
  font: inherit; font-size: 20px; font-weight: 900; letter-spacing: .01em; text-align: center; text-decoration: none;
  box-shadow: 0 10px 28px rgba(47, 124, 246, .32);
}
.taller-cta:hover { filter: brightness(1.08); }
.taller-cta:focus-visible, .taller-boton-suave:focus-visible, .taller-opcion:focus-visible, .taller-faq summary:focus-visible {
  outline: 3px solid #ffd43b; outline-offset: 3px;
}
.taller-cta__flecha { font-size: 22px; }
.taller-boton-suave {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 12px;
  padding: 12px 18px; border-radius: 14px; border: 1px solid #3a4150; background: transparent; color: #fff;
  font: inherit; font-size: 18px; font-weight: 800; text-decoration: none; cursor: pointer;
}
.taller-cierre-bloque { margin-top: 22px; }
.taller-cierre-bloque__nota { margin-top: 10px; text-align: center; color: var(--t-suave); font-size: 16px; }

/* --- Bloques (pasos del recorrido) --------------------------------------- */
.taller-paso { padding: 40px 0 34px; border-bottom: 1px solid #191d25; }
.taller-paso--tinte { background: linear-gradient(180deg, #0a0d13, #05070b); }
.taller-paso__entrada { margin: 0 0 8px; color: #ff7fd2; font-size: 16px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.taller-paso__titulo { margin: 0 0 14px; font-size: clamp(28px, 6.6vw, 40px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
.taller-paso__bajada { color: var(--t-suave); font-size: 20px; }
.taller-resalta { padding: 16px 18px; margin: 18px 0; border-radius: 16px; background: var(--t-panel); border: 1px solid var(--t-linea); border-left: 5px solid var(--t-fucsia); font-size: 19px; }
.taller-resalta--ok { border-left-color: var(--t-ok); }

/* --- Elecciones de un toque ---------------------------------------------- */
.taller-opciones { display: grid; gap: 10px; margin: 18px 0 8px; padding: 0; list-style: none; }
.taller-opcion {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px;
  border-radius: 16px; border: 2px solid var(--t-linea); background: var(--t-panel); color: #fff;
  font: inherit; font-size: 19px; font-weight: 700; text-align: left; cursor: pointer;
}
.taller-opcion__marca {
  flex: 0 0 32px; height: 32px; border-radius: 50%; border: 2px solid #4a5263;
  display: grid; place-items: center; font-size: 18px; font-weight: 900; color: #05070b;
}
.taller-opcion.esta-elegida { border-color: var(--t-fucsia); background: linear-gradient(110deg, rgba(47, 124, 246, .14), rgba(255, 0, 168, .14)); }
.taller-opcion.esta-elegida .taller-opcion__marca { background: var(--t-ok); border-color: var(--t-ok); }
.taller-respuesta { min-height: 30px; margin: 12px 0 0; font-size: 19px; font-weight: 800; color: #9cf0c3; }

/* --- Ganancia -------------------------------------------------------------- */
.taller-ganancia { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.taller-ganancia li { padding: 14px 16px; border-radius: 16px; background: var(--t-panel); border: 1px solid var(--t-linea); }
.taller-ganancia__etiqueta { display: block; color: var(--t-suave); font-size: 17px; }
.taller-ganancia__valor { display: block; font-size: 26px; font-weight: 900; color: #fff; }
.taller-ganancia li.es-material .taller-ganancia__valor { color: #ffd43b; }
.taller-ganancia li.es-cobro .taller-ganancia__valor { color: #7fb0ff; }
.taller-ganancia li.es-consultorio .taller-ganancia__valor { color: #ff7fd2; }
.taller-margen {
  margin: 18px 0; padding: 20px 18px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, rgba(53, 208, 127, .16), rgba(47, 124, 246, .14)); border: 2px solid var(--t-ok);
}
.taller-margen__titulo { margin: 0; font-size: 18px; color: var(--t-suave); }
.taller-margen__valor { margin: 4px 0 0; font-size: clamp(28px, 7vw, 40px); font-weight: 900; color: #fff; line-height: 1.15; }
.taller-calculadora { margin: 20px 0; padding: 18px; border-radius: 18px; background: var(--t-panel); border: 1px solid var(--t-linea); }
.taller-calculadora label { display: block; font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.taller-calculadora input[type=range] { width: 100%; height: 44px; accent-color: var(--t-fucsia); cursor: pointer; }
.taller-calculadora__cantidad { font-size: 22px; font-weight: 900; color: #ff7fd2; }
.taller-calculadora__resultado { margin: 10px 0 0; font-size: 21px; font-weight: 800; }
.taller-legal { font-size: 16px; color: #a9b2c1; line-height: 1.5; }

/* --- Técnica: ciclo de aprender haciendo ---------------------------------- */
.taller-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.taller-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(53, 208, 127, .12); border: 1px solid rgba(53, 208, 127, .5); font-size: 17px; font-weight: 800; }
.taller-ciclo { counter-reset: ciclo; display: grid; gap: 0; margin: 22px 0 6px; padding: 0; list-style: none; }
.taller-ciclo li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.taller-ciclo li:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 66px; bottom: -10px; width: 2px; background: linear-gradient(var(--t-fucsia), var(--t-azul)); }
.taller-ciclo__icono { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--t-panel-2); border: 2px solid var(--t-fucsia); }
.taller-ciclo__texto b { display: block; font-size: 20px; }
.taller-ciclo__texto span { color: var(--t-suave); font-size: 17px; }

/* --- Cómo se aprende: tarjetas -------------------------------------------- */
.taller-modos { display: grid; gap: 16px; margin-top: 22px; }
.taller-modo { padding: 20px 18px; border-radius: 20px; background: var(--t-panel); border: 2px solid var(--t-linea); transition: border-color .25s, box-shadow .25s; }
.taller-modo.esta-activo { border-color: var(--t-fucsia); box-shadow: 0 0 0 4px rgba(255, 0, 168, .18); }
.taller-modo__cabeza { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.taller-modo__icono { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: var(--t-panel-2); }
.taller-modo__titulo { margin: 0; font-size: 23px; line-height: 1.2; font-weight: 900; }
.taller-modo__sello { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 8px; background: rgba(53, 208, 127, .15); color: #9cf0c3; font-size: 15px; font-weight: 900; }
.taller-lista { margin: 10px 0 14px; padding: 0; list-style: none; }
.taller-lista li { position: relative; padding: 6px 0 6px 32px; font-size: 18px; }
.taller-lista li::before { content: "✓"; position: absolute; left: 0; top: 5px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--t-ok); color: #05070b; font-size: 14px; font-weight: 900; }
.taller-foto { margin: 14px 0 0; }
.taller-foto img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--t-linea); background: #0c1017; }
.taller-foto--recorte img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 18%; }
.taller-foto figcaption { margin-top: 8px; font-size: 16px; color: #a9b2c1; }
.taller-suma { margin: 24px 0 0; padding: 18px; border-radius: 18px; text-align: center; font-size: 20px; font-weight: 800; background: linear-gradient(110deg, rgba(47, 124, 246, .16), rgba(255, 0, 168, .16)); border: 1px solid #3a2a4a; }

/* Conversación de ejemplo (grupo de WhatsApp) */
.taller-chat { margin: 14px 0 4px; padding: 14px; border-radius: 16px; background: #0b141a; border: 1px solid #1f2c33; display: grid; gap: 8px; }
.taller-chat__msg { max-width: 86%; padding: 10px 12px; border-radius: 12px; font-size: 17px; line-height: 1.4; color: #e9edef; }
.taller-chat__msg small { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 800; color: #53bdeb; }
.taller-chat__msg--yo { justify-self: end; background: #005c4b; }
.taller-chat__msg--otro { justify-self: start; background: #202c33; }
.taller-chat__foto { display: grid; place-items: center; height: 70px; margin: 6px 0 2px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 15px; }

/* --- Precio ----------------------------------------------------------------- */
.taller-precios { display: grid; gap: 16px; margin-top: 20px; }
.taller-precio { padding: 22px 18px; border-radius: 20px; background: var(--t-panel); border: 2px solid var(--t-azul); }
.taller-precio--beneficio { border-color: var(--t-fucsia); background: linear-gradient(160deg, rgba(255, 0, 168, .10), #11141b 60%); }
.taller-precio__etiqueta { display: inline-block; margin: 0 0 10px; padding: 5px 10px; border-radius: 8px; background: var(--t-fucsia); color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.taller-precio__nombre { margin: 0 0 6px; font-size: 23px; font-weight: 900; }
.taller-precio__monto { margin: 0; font-size: clamp(38px, 10vw, 52px); font-weight: 900; line-height: 1.05; }
.taller-precio__monto small { font-size: 20px; font-weight: 800; color: var(--t-suave); }
.taller-precio__detalle { margin: 8px 0 16px; color: var(--t-suave); font-size: 18px; }

/* --- Qué pasa después ------------------------------------------------------ */
.taller-despues { counter-reset: despues; margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.taller-despues li { counter-increment: despues; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--t-panel); border: 1px solid var(--t-linea); font-size: 18px; }
.taller-despues li::before { content: counter(despues); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--t-azul); font-weight: 900; font-size: 20px; }

/* --- Preguntas frecuentes --------------------------------------------------- */
.taller-faq { display: grid; gap: 10px; margin-top: 18px; }
.taller-faq details { border-radius: 16px; background: var(--t-panel); border: 1px solid var(--t-linea); }
.taller-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 60px; padding: 14px 16px; font-size: 19px; font-weight: 800; }
.taller-faq summary::-webkit-details-marker { display: none; }
.taller-faq summary::after { content: "+"; flex: 0 0 auto; font-size: 28px; line-height: 1; color: #ff7fd2; }
.taller-faq details[open] summary::after { content: "–"; }
.taller-faq__respuesta { padding: 0 16px 16px; color: var(--t-suave); font-size: 18px; }
.taller-faq__respuesta a { color: #7fb0ff; font-weight: 800; }

/* --- Aviso de requisito (Prótesis) ------------------------------------------ */
.taller-requisito { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 212, 59, .10); border: 1px solid rgba(255, 212, 59, .45); font-size: 18px; }
.taller-requisito a { color: #ffd43b; font-weight: 900; }

/* --- Final ------------------------------------------------------------------- */
.taller-final { padding: 44px 0 36px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(255, 0, 168, .18), transparent 55%); }
.taller-final .taller-paso__titulo { margin-bottom: 10px; }
.taller-relacion { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--t-panel); border: 1px solid var(--t-linea); color: #fff; text-decoration: none; text-align: left; font-size: 18px; }
.taller-relacion b { display: block; font-size: 20px; }

@media (min-width: 900px) {
  .taller { font-size: 20px; }
  .taller-hero__rejilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
  .taller-hero .taller__ancho, .taller-paso--ancho .taller__ancho { width: min(1080px, 100%); }
  .taller-hero__foto { margin: 0; }
  .taller-cta { width: auto; min-width: 360px; }
  .taller-modos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .taller-precios { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .taller-modo { transition: none; } }

/* La barra global de inscripción con letra más grande en estas dos páginas. */
.pagina-taller .conversion-bar__primary { font-size: 16px; white-space: nowrap; letter-spacing: 0; }
.pagina-taller .conversion-bar__help { font-size: 15px; white-space: nowrap; }
.pagina-taller .conversion-bar { transition: opacity .2s, transform .2s, visibility .2s; }
.pagina-taller.taller-cta-a-la-vista .conversion-bar { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 16px); }
@media (max-width: 370px) { .pagina-taller .conversion-bar__primary { font-size: 15px; } }
