/* El configurador de INVEXUS en invisual.es/congresos (7 nov 2026).
   Es el de invexus.es (public/assets/css/venta.css) sin tocar sus reglas: tipo → asistentes → módulos
   como tarjetas que se marcan, con los «aparte» en su bloque y el total pegado abajo en el móvil.
   Las variables viven en el propio bloque para no chocar con las de la página. */
[data-ivx="calc"] {
    --noche: #0b2545; --noche-3: #134074;
    --rosa: #fb4d80; --rosa-vivo: #f2386f; --rosa-osc: #c42d63; --rosa-suave: #fff0f5;
    --azul-suave: #eef3fa; --tinta: #0b2545; --texto: #3a4658; --suave: #5b6777;
    --fondo-2: #f5f7fb; --linea: #e3e8f0; --titulo: inherit; --radio: 16px;
    text-align: left; margin-top: 40px;
}
[data-ivx="calc"] * { box-sizing: border-box; }
[data-ivx="calc"] h3, .oscuro [data-ivx="calc"] h3 { margin: 0; font-family: inherit; color: var(--tinta); letter-spacing: 0; text-transform: none; line-height: 1.3; }
.oscuro [data-ivx="calc"] .v-calc-izq p, .oscuro [data-ivx="calc"] .v-calc-res p { color: var(--suave); }
.oscuro [data-ivx="calc"] .v-res-tit { color: var(--tinta); }
[data-ivx="calc"] p { margin: 0; }
[data-ivx="calc"] svg { display: inline-block; }
.v-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 13px 24px; border-radius: 10px; border: 2px solid transparent; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.v-btn:hover { transform: translateY(-1px); }
.v-btn:focus-visible { outline: 3px solid color-mix(in srgb, #fb4d80 55%, transparent); outline-offset: 3px; }
.v-btn-rosa { background: #c42d63; color: #fff; }
.v-btn-rosa:hover { background: #a82452; box-shadow: 0 10px 24px -12px rgba(251, 77, 128, .8); }
.v-btn-bloque { width: 100%; }
.v-calc-izq { background: #fff; color: var(--texto); border-radius: 20px; padding: 8px 28px; }
.v-calc-bloque { padding: 24px 0; }
.v-calc-bloque + .v-calc-bloque { border-top: 1px solid var(--linea); }
.v-calc-bloque h3 { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; }
.v-calc-bloque h3 b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--rosa); color: #fff; font-size: .9rem; }
.v-calc-nota { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--suave); }
.v-calc-nota svg { flex: none; width: 18px; height: 18px; color: var(--rosa-osc); }
.v-todo { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: var(--azul-suave);
    box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.v-todo input, .v-mc input { position: absolute; opacity: 0; pointer-events: none; }
.v-todo-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--noche); color: #fff; }
.v-todo-ic svg { width: 22px; height: 22px; }
.v-todo-txt { flex: 1; min-width: 0; }
.v-todo-txt strong { display: block; color: var(--tinta); font-size: 1.02rem; }
.v-todo-txt small { display: block; font-size: .86rem; color: var(--suave); }
.v-todo-ok, .v-mc-ok { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; color: transparent; box-shadow: inset 0 0 0 1.5px #cfd7e2; transition: background .15s, color .15s, box-shadow .15s; }
.v-todo-ok svg, .v-mc-ok svg { width: 14px; height: 14px; }
.v-todo:hover { box-shadow: inset 0 0 0 1.5px #cfd7e2; }
.v-todo:has(input:checked) { background: var(--noche); }
.v-todo:has(input:checked) strong { color: #fff; }
.v-todo:has(input:checked) small { color: #c9d4e3; }
.v-todo:has(input:checked) .v-todo-ic { background: var(--rosa); }
.v-todo:has(input:checked) .v-todo-ok, .v-mc:has(input:checked) .v-mc-ok { background: var(--rosa); color: #fff; box-shadow: none; }
.v-todo:has(input:focus-visible), .v-mc:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--rosa) 55%, transparent); outline-offset: 2px; }
.v-mcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.v-mc { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 3px; padding: 16px; border-radius: 14px; cursor: pointer; background: #fff;
    box-shadow: inset 0 0 0 1.5px #e3e8f0; transition: box-shadow .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.v-mc[hidden] { display: none; }
.v-mc:hover { box-shadow: inset 0 0 0 1.5px #cbd4e0; transform: translateY(-2px); }
.v-mc-cab { display: contents; }
.v-mc-ic { grid-column: 1; grid-row: 1 / 4; align-self: start; }
.v-mc-ok { grid-column: 3; grid-row: 1; }
.v-mc-n { grid-column: 2; grid-row: 1; align-self: center; }
.v-mc-t { grid-column: 2 / 4; grid-row: 2; }
.v-mc-pie { grid-column: 2 / 4; grid-row: 3; }
.v-mc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--azul-suave); color: var(--noche); transition: background .2s, color .2s; }
.v-mc-ic svg { width: 21px; height: 21px; }
.v-mc-n { font-weight: 800; font-size: .95rem; line-height: 1.3; color: var(--tinta); }
.v-mc-t { flex: 1; font-size: .82rem; line-height: 1.45; color: var(--suave); }
.v-mc-pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.v-mc-p { font-weight: 800; font-size: 1rem; color: var(--noche); font-variant-numeric: tabular-nums; }
.v-mc-reco { display: none; padding: 2px 7px; border-radius: 6px; background: var(--rosa-suave); color: var(--rosa-osc); font-style: normal; font-size: .7rem; font-weight: 700; }
[data-ivx="calc"][data-tipo="cientifico"] .v-mc[data-reco~="cientifico"] .v-mc-reco, [data-ivx="calc"][data-tipo="medico"] .v-mc[data-reco~="medico"] .v-mc-reco, [data-ivx="calc"][data-tipo="profesional"] .v-mc[data-reco~="profesional"] .v-mc-reco, [data-ivx="calc"][data-tipo="institucional"] .v-mc[data-reco~="institucional"] .v-mc-reco, [data-ivx="calc"][data-tipo="jornadas"] .v-mc[data-reco~="jornadas"] .v-mc-reco { display: inline-block; }
.v-mc:has(input:checked) { background: var(--rosa-suave); box-shadow: inset 0 0 0 2px var(--rosa); }
.v-mc:has(input:checked) .v-mc-ic { background: var(--rosa); color: #fff; }
.v-mc:has(input:checked) .v-mc-p { color: var(--rosa-osc); }
.v-mc:has(input:checked) .v-mc-reco { background: #fff; }
.v-calc-aparte { margin-top: 22px; padding: 18px; border-radius: 16px; background: var(--fondo-2); }
.v-calc-aparte-t { font-size: .86rem; line-height: 1.5; color: var(--suave); }
.v-calc-aparte-t span { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-weight: 800; font-size: .95rem; color: var(--tinta); }
.v-calc-aparte-t svg { width: 24px; height: 24px; padding: 5px; border-radius: 7px; background: var(--noche); color: #fff; }
.v-calc-aparte .v-mcs { margin-top: 12px; }
.v-mc-aparte:has(input:checked) { background: var(--azul-suave); box-shadow: inset 0 0 0 2px var(--noche-3); }
.v-mc-aparte:has(input:checked) .v-mc-ic, .v-mc-aparte:has(input:checked) .v-mc-ok { background: var(--noche-3); color: #fff; }
.v-mc-aparte:has(input:checked) .v-mc-p { color: var(--noche-3); }
@media (prefers-reduced-motion: reduce) {
    .v-mc, .v-todo { transition: none; }
    .v-mc:hover { transform: none; }
}
.v-calc-mini { display: none; }
.v-res-cab { padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.v-res-tipo { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border-radius: 9px; background: var(--rosa-suave); color: var(--rosa-osc); font-size: .82rem; font-weight: 700; }
.v-res-tipo svg { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--rosa); color: #fff; }
.v-res-cab .v-res-tit { margin-top: 10px; }
.v-calc-res li.es-vacio { color: var(--suave); font-style: italic; }
.v-calc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 40px; align-items: start; }
.v-calc-izq { display: flex; flex-direction: column; gap: 22px; }
.v-asis { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.v-asis input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; cursor: pointer;
    background: linear-gradient(90deg, var(--rosa) 0 var(--lleno, 20%), #dfe5ee var(--lleno, 20%) 100%); }
.v-asis input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--rosa); box-shadow: 0 2px 6px rgba(11, 37, 69, .25); }
.v-asis input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--rosa); }
.v-asis input[type=range]:focus-visible { outline: 3px solid color-mix(in srgb, var(--rosa) 45%, transparent); outline-offset: 6px; }
.v-asis output { min-width: 64px; text-align: center; font-family: var(--titulo); font-weight: 800; font-size: 1.5rem; color: var(--noche); font-variant-numeric: tabular-nums; }
.v-tramos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.v-tramo { padding: 12px; border-radius: 10px; border: 1.5px solid var(--linea); display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background .2s; }
.v-tramo span { font-size: .8rem; color: var(--suave); }
.v-tramo b { color: var(--tinta); font-variant-numeric: tabular-nums; }
.v-tramo.activo { border-color: var(--rosa); background: var(--rosa-suave); }
.v-tramo.activo b { color: var(--rosa-osc); }
.v-calc-res { position: sticky; top: 132px; background: #fff; color: var(--texto); border-radius: var(--radio); padding: 24px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }
.v-res-tit { font-family: var(--titulo); font-weight: 700; color: var(--tinta); font-size: 1.1rem; }
.v-calc-res ul { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v-calc-res li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.v-calc-res li b { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--tinta); }
.v-calc-res li.es-desc b { color: var(--rosa-osc); }
.v-calc-res li.es-base { font-weight: 700; color: var(--tinta); }
.v-res-tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--linea); }
.v-res-tot span { font-weight: 700; color: var(--tinta); }
.v-res-tot b { font-family: var(--titulo); font-size: 2rem; color: var(--noche); font-variant-numeric: tabular-nums; }
.v-res-iva { margin: 2px 0 18px; font-size: .8rem; color: var(--suave); text-align: right; }
.v-calc-res .v-btn { font-size: 1.17rem; }
.v-res-pdf { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--noche); text-decoration: none; }
.v-res-pdf svg { width: 18px; height: 18px; }
.v-res-pdf:hover { color: var(--rosa-osc); }
.v-calc-tipos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.v-calc-tipos a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; background: var(--fondo-2); color: var(--tinta); text-decoration: none; font-size: .86rem; font-weight: 700; text-align: center;
    box-shadow: inset 0 0 0 1.5px transparent; transition: background .15s, box-shadow .15s, color .15s; }
.v-calc-tipos a svg { width: 22px; height: 22px; color: var(--suave); }
.v-calc-tipos a:hover { box-shadow: inset 0 0 0 1.5px var(--linea); }
.v-calc-tipos a[aria-current] { background: var(--rosa-suave); color: var(--rosa-osc); box-shadow: inset 0 0 0 1.5px var(--rosa); }
.v-calc-tipos a[aria-current] svg { color: var(--rosa-osc); }
.v-calc-tipos a:focus-visible { outline: 3px solid color-mix(in srgb, var(--rosa) 55%, transparent); outline-offset: 2px; }
.v-calc-nota { margin-top: 12px; font-size: .88rem; color: var(--suave); }
@media (max-width: 1020px) {
    .v-calc { grid-template-columns: 1fr; }
    .v-calc-res { position: static; }
    .v-calc-mini { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 0 -8px 16px; padding: 12px 16px; border-radius: 14px;
        background: var(--noche); color: #c9d4e3; box-shadow: 0 16px 34px -14px rgba(7, 24, 46, .7); }
    .v-calc-mini span { font-weight: 700; }
    .v-calc-mini b { flex: 1; color: #fff; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
    .v-calc-mini a { padding: 8px 12px; border-radius: 9px; background: var(--rosa); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; }
}
@media (max-width: 680px) {
    .v-calc-mods { grid-template-columns: 1fr; }
    .v-tramos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v-calc-tipos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v-calc-izq { padding: 4px 18px; }
    .v-mcs { grid-template-columns: 1fr; gap: 10px; }
    .v-mc { padding: 14px; column-gap: 12px; }
}

/* Las fichas de «Módulos que se añaden»: para qué tipos se recomienda cada uno. */
[data-ivx="modulos"] .ficha .reco { margin-top: 4px; font-size: .78rem; font-weight: 700; color: #c42d63; }
[data-ivx="modulos"] .ficha .ic { margin-bottom: 14px; }

/* Niveles de facturación (17 nov 2026): «Próximamente» en rosa y «Recomendado» en azul, rectangulares, sin pills ni grises. */
.v-prox { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--rosa-suave, #fff0f5); border: 1px solid var(--rosa-borde, #ffd3e1); color: var(--rosa-osc, #c42d63); font-style: normal; font-size: .7rem; font-weight: 700; line-height: 1.35; vertical-align: 2px; white-space: nowrap; }
.v-recom { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--azul-suave, #eef3fa); border: 1px solid #c9d8ee; color: var(--noche, #0b2545); font-style: normal; font-size: .7rem; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.v-mc-n .v-prox { margin-left: 4px; }
.v-mc:has(input:checked) .v-recom { background: #fff; }
.ficha .h4 .v-prox, .ficha .h4 .v-recom { margin-left: 4px; vertical-align: 3px; }
