/* Colibrí · Sección Calculadoras laborales (v2) */
html body section#calculadoras.cbc-v2{
  --cbc-ink:#102A2B;--cbc-text:#4a6266;--cbc-teal:#00756F;--cbc-teal-d:#102A2B;--cbc-mint:#2BB5AC;
  --cbc-orange:#c65a12;--cbc-line:#d9e9e4;
  padding:80px 0!important;
  background:
    radial-gradient(900px 420px at 100% 0%, #dff6ef 0%, transparent 60%),
    linear-gradient(180deg,#f7fbf9 0%,#f3f8f6 100%)!important;
  border-top:1px solid var(--cbc-line)!important;
}
html body section#calculadoras.cbc-v2>.cb-calculators-wrap{
  display:grid!important;grid-template-columns:minmax(300px,380px) minmax(0,1fr)!important;
  gap:28px!important;align-items:start!important;max-width:1200px!important;
}

/* ---------- Panel izquierdo ---------- */
html body section#calculadoras.cbc-v2 .cbc-intro{
  position:relative;overflow:hidden;display:flex;flex-direction:column;
  padding:36px 32px!important;border-radius:24px;position:sticky!important;top:110px;min-height:560px;
  background:linear-gradient(155deg,#00756F 0%,var(--cbc-teal-d) 100%);
  box-shadow:0 24px 48px -24px #102A2B99;
}
html body section#calculadoras.cbc-v2 .cbc-intro::after{
  content:"";position:absolute;right:-90px;bottom:-90px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,#2BB5AC33 0%,transparent 70%);pointer-events:none;
}
html body section#calculadoras.cbc-v2 .cb-calculators-heading{max-width:none!important;margin:0 0 24px!important}
html body section#calculadoras.cbc-v2 .cb-calculators-heading>span{
  display:inline-block!important;padding:6px 10px!important;border-radius:999px;
  background:#ffffff14;border:1px solid #ffffff26;
  font-size:10.5px!important;letter-spacing:.12em!important;font-weight:800!important;
  color:#CDEDE9!important;-webkit-text-fill-color:#CDEDE9!important;
}
html body section#calculadoras.cbc-v2 .cb-calculators-heading h2{
  margin:16px 0 12px!important;font-size:clamp(30px,3vw,40px)!important;line-height:1.08!important;
  letter-spacing:-.03em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body section#calculadoras.cbc-v2 .cbc-intro p{
  color:#C5E8E4!important;-webkit-text-fill-color:#C5E8E4!important;font-size:15px!important;line-height:1.6!important;margin:0!important;
}
html body section#calculadoras.cbc-v2 .cbc-points{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:12px}
html body section#calculadoras.cbc-v2 .cbc-points li{
  display:flex;align-items:center;gap:10px;color:#fff;font-size:14.5px;font-weight:600;line-height:1.35;
}
html body section#calculadoras.cbc-v2 .cbc-points svg{
  flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:var(--cbc-mint);color:var(--cbc-teal-d);
}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin:auto 0 0!important;
}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom button{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;
  border:0!important;border-radius:14px!important;padding:14px 18px!important;
  background:var(--cbc-orange)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:15px!important;font-weight:800!important;cursor:pointer;
  box-shadow:0 10px 20px -10px #c65a12cc;transition:transform .15s,background .15s;
}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom button:hover{background:#ad4c0c!important;transform:translateY(-1px)}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom button span{transition:transform .15s}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom button:hover span{transform:translateX(3px)}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom p{
  font-size:12.5px!important;line-height:1.5!important;color:#9ED6D0!important;-webkit-text-fill-color:#9ED6D0!important;text-align:center;
}

/* ---------- Tarjetas ---------- */
html body section#calculadoras.cbc-v2 .cbc-main{min-width:0;display:flex;flex-direction:column;gap:18px}
html body section#calculadoras.cbc-v2 .cb-calculator-choices{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;flex:1;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice{
  --c:#00756F;--c-soft:#E6F5F3;
  position:relative!important;display:grid!important;grid-template-columns:56px 1fr!important;
  grid-template-areas:"icon num" "icon tag" "title title" "desc desc" "cta cta"!important;
  column-gap:16px!important;row-gap:0!important;align-content:start!important;
  padding:26px!important;border-radius:20px!important;
  background:#fff!important;border:1px solid var(--cbc-line)!important;
  box-shadow:0 1px 2px #102A2B0a,0 8px 24px -16px #102A2B33!important;
  text-decoration:none!important;color:var(--cbc-ink)!important;overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice::before{
  content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--c);opacity:.9;
}
html body section#calculadoras.cbc-v2 .cbc-a{--c:#00756F;--c-soft:#E6F5F3}
html body section#calculadoras.cbc-v2 .cbc-b{--c:#d08a00;--c-soft:#fff3d9}
html body section#calculadoras.cbc-v2 .cbc-c{--c:#c65a12;--c-soft:#fde9dc}
html body section#calculadoras.cbc-v2 .cbc-d{--c:#2f6fb3;--c-soft:#e4effb}
html body section#calculadoras.cbc-v2 .cb-calc-choice:hover,
html body section#calculadoras.cbc-v2 .cb-calc-choice:focus-visible{
  transform:translateY(-4px)!important;border-color:var(--c)!important;
  box-shadow:0 20px 36px -20px #102A2B66!important;outline:none;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice[aria-current="true"]{
  border-color:var(--c)!important;box-shadow:0 0 0 3px var(--c-soft),0 20px 36px -20px #102A2B66!important;
}
html body section#calculadoras.cbc-v2 .cbc-icon{
  grid-area:icon;align-self:start;display:grid;place-items:center;width:56px;height:56px;border-radius:16px;
  background:var(--c-soft);color:var(--c);
}
html body section#calculadoras.cbc-v2 .cbc-icon svg{width:28px;height:28px}
html body section#calculadoras.cbc-v2 .cb-calc-choice>.cbc-num{
  grid-area:num;align-self:end;margin:0!important;padding:0!important;
  font-size:12px!important;font-weight:800!important;letter-spacing:.08em;
  color:#8aa3a6!important;-webkit-text-fill-color:#8aa3a6!important;
}
html body section#calculadoras.cbc-v2 .cbc-tag{
  grid-area:tag;justify-self:start;align-self:start;margin-top:4px;padding:3px 9px;border-radius:999px;
  background:var(--c-soft);color:var(--c);font-style:normal;font-size:11.5px;font-weight:800;letter-spacing:.02em;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice>strong{
  grid-area:title;margin:22px 0 6px!important;font-size:21px!important;line-height:1.25!important;letter-spacing:-.015em;
  color:var(--cbc-ink)!important;-webkit-text-fill-color:var(--cbc-ink)!important;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice>p{
  grid-area:desc;margin:0!important;font-size:14.5px!important;line-height:1.55!important;
  color:var(--cbc-text)!important;-webkit-text-fill-color:var(--cbc-text)!important;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice>b{
  grid-area:cta;display:inline-flex!important;align-items:center;gap:8px;justify-self:start;
  margin-top:20px!important;padding:10px 16px!important;border-radius:12px;
  background:var(--c-soft);color:var(--c)!important;-webkit-text-fill-color:var(--c)!important;
  font-size:14px!important;font-weight:800!important;transition:background .18s,color .18s;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice>b span{transition:transform .18s}
html body section#calculadoras.cbc-v2 .cb-calc-choice:hover>b,
html body section#calculadoras.cbc-v2 .cb-calc-choice[aria-current="true"]>b{
  background:var(--c);color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body section#calculadoras.cbc-v2 .cb-calc-choice:hover>b span{transform:translateX(4px)}

/* ---------- Formulario que aparece al elegir ---------- */
html body section#calculadoras.cbc-v2 .cb-public-calculator-form{
  margin:0!important;padding:28px!important;border-radius:20px!important;background:#fff!important;
  border:1px solid var(--cbc-line)!important;box-shadow:0 20px 40px -28px #102A2B66!important;
  animation:cbcIn .25s ease;
}
html body section#calculadoras.cbc-v2 .cb-public-calculator-form h3{
  font-size:22px!important;color:var(--cbc-ink)!important;-webkit-text-fill-color:var(--cbc-ink)!important;margin:0 0 6px!important;
}
html body section#calculadoras.cbc-v2 .cb-public-calculator-fields input,
html body section#calculadoras.cbc-v2 .cb-public-calculator-fields select{
  min-height:48px;border-radius:12px!important;border:1px solid #9ED6D0!important;padding:10px 14px!important;
  font-size:15px!important;background:#fbfdfc!important;color:var(--cbc-ink)!important;
}
html body section#calculadoras.cbc-v2 .cb-public-calculator-fields :is(input,select):focus{
  outline:none;border-color:var(--cbc-teal)!important;box-shadow:0 0 0 3px #2BB5AC33!important;background:#fff!important;
}
html body section#calculadoras.cbc-v2 .cb-public-calculate{
  min-height:50px;padding:14px 22px!important;border-radius:14px!important;background:var(--cbc-teal)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important;font-weight:800!important;border:0!important;cursor:pointer;
}
html body section#calculadoras.cbc-v2 .cb-public-calculate:hover{background:var(--cbc-teal-d)!important}
html body section#calculadoras.cbc-v2 .cb-public-calculator-result:not(:empty){
  margin-top:16px;padding:16px 18px;border-radius:14px;background:#e9f8f3;border:1px solid #b9e3d7;
}
@keyframes cbcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  html body section#calculadoras.cbc-v2 .cbc-intro{position:relative!important;top:auto;min-height:0}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom{margin-top:24px!important}
  html body section#calculadoras.cbc-v2>.cb-calculators-wrap{grid-template-columns:1fr!important}
  html body section#calculadoras.cbc-v2 .cbc-points{grid-template-columns:repeat(3,auto);justify-content:start;gap:12px 22px}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom{flex-direction:row!important;align-items:center!important}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom button{width:auto;flex:none}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom p{text-align:left}
}
@media (max-width:640px){
  html body section#calculadoras.cbc-v2{padding:48px 0!important}
  html body section#calculadoras.cbc-v2 .cbc-intro{padding:28px 22px!important;border-radius:20px}
  html body section#calculadoras.cbc-v2 .cbc-points{grid-template-columns:1fr}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom{flex-direction:column!important;align-items:stretch!important}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom button{width:100%}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom p{text-align:center}
  html body section#calculadoras.cbc-v2 .cb-calculator-choices{grid-template-columns:1fr!important;gap:14px!important}
  html body section#calculadoras.cbc-v2 .cb-calc-choice{padding:22px!important;grid-template-columns:48px 1fr!important;column-gap:14px!important}
  html body section#calculadoras.cbc-v2 .cbc-icon{width:48px;height:48px;border-radius:14px}
  html body section#calculadoras.cbc-v2 .cb-calc-choice>strong{margin-top:16px!important;font-size:19px!important}
  html body section#calculadoras.cbc-v2 .cb-public-calculator-form{padding:20px!important}
}
@media (prefers-reduced-motion:reduce){
  html body section#calculadoras.cbc-v2 *{transition:none!important;animation:none!important}
}

/* ===== v3 · Versión delgada ===== */
html body section#calculadoras.cbc-v2{padding:44px 0!important}
html body section#calculadoras.cbc-v2>.cb-calculators-wrap{grid-template-columns:300px minmax(0,1fr)!important;gap:20px!important;align-items:stretch!important}
html body section#calculadoras.cbc-v2 .cbc-intro{
  position:relative!important;top:auto!important;min-height:0!important;padding:22px 22px!important;border-radius:20px!important;
}
html body section#calculadoras.cbc-v2 .cb-calculators-heading{margin:0 0 12px!important}
html body section#calculadoras.cbc-v2 .cb-calculators-heading>span{font-size:9.5px!important;padding:4px 9px!important}
html body section#calculadoras.cbc-v2 .cb-calculators-heading h2{font-size:26px!important;margin:10px 0 6px!important}
html body section#calculadoras.cbc-v2 .cbc-intro p{font-size:13px!important;line-height:1.45!important}
html body section#calculadoras.cbc-v2 .cbc-points{gap:6px!important;margin:0 0 14px!important}
html body section#calculadoras.cbc-v2 .cbc-points li{font-size:12.5px!important}
html body section#calculadoras.cbc-v2 .cbc-points svg{width:18px!important;height:18px!important;padding:3px!important}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom{gap:6px!important;margin-top:auto!important}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom button{min-height:42px!important;padding:10px 14px!important;font-size:13.5px!important;border-radius:12px!important}
html body section#calculadoras.cbc-v2 .cb-calculators-bottom p{font-size:11px!important;line-height:1.35!important}

/* Tarjetas en una sola fila */
html body section#calculadoras.cbc-v2 .cbc-main{gap:14px!important}
html body section#calculadoras.cbc-v2 .cb-calculator-choices{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice{
  grid-template-columns:40px 1fr!important;column-gap:10px!important;padding:16px!important;border-radius:16px!important;
}
html body section#calculadoras.cbc-v2 .cbc-icon{width:40px!important;height:40px!important;border-radius:12px!important}
html body section#calculadoras.cbc-v2 .cbc-icon svg{width:21px!important;height:21px!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice>.cbc-num{font-size:10.5px!important}
html body section#calculadoras.cbc-v2 .cbc-tag{font-size:10.5px!important;padding:2px 7px!important;margin-top:2px!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice>strong{margin:12px 0 4px!important;font-size:17px!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice>p{font-size:12.5px!important;line-height:1.45!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice>b{margin-top:12px!important;padding:7px 12px!important;font-size:12.5px!important;border-radius:10px!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice:hover{transform:translateY(-3px)!important}

@media (max-width:1200px){
  html body section#calculadoras.cbc-v2 .cb-calculator-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:1000px){
  html body section#calculadoras.cbc-v2>.cb-calculators-wrap{grid-template-columns:1fr!important}
  html body section#calculadoras.cbc-v2 .cbc-points{grid-template-columns:repeat(3,auto)!important}
}
@media (max-width:640px){
  html body section#calculadoras.cbc-v2{padding:32px 0!important}
  html body section#calculadoras.cbc-v2 .cbc-points{grid-template-columns:1fr!important}
  html body section#calculadoras.cbc-v2 .cb-calculator-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body section#calculadoras.cbc-v2 .cb-calc-choice{grid-template-columns:1fr!important;padding:14px!important}
  html body section#calculadoras.cbc-v2 .cb-calc-choice>.cbc-num,html body section#calculadoras.cbc-v2 .cbc-tag{display:none!important}
  html body section#calculadoras.cbc-v2 .cbc-icon{grid-area:icon}
  html body section#calculadoras.cbc-v2 .cb-calc-choice>strong{margin-top:10px!important;font-size:16px!important}
}
html body section#calculadoras.cbc-v2 .cb-calc-choice{grid-template-rows:auto auto auto 1fr auto!important;align-content:stretch!important}
html body section#calculadoras.cbc-v2 .cb-calc-choice>b{align-self:end!important}
html body section#calculadoras.cbc-v2 .cbc-intro{padding:20px 22px!important}
html body section#calculadoras.cbc-v2 .cb-calculators-heading h2{font-size:24px!important}
@media (min-width:1001px){
  html body section#calculadoras.cbc-v2 .cbc-points{grid-template-columns:1fr!important}
}
@media (min-width:1001px){
  html body section#calculadoras.cbc-v2 .cbc-points{display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;margin:0 0 14px!important}
  html body section#calculadoras.cbc-v2 .cbc-points li{font-size:11.5px!important;gap:5px!important}
  html body section#calculadoras.cbc-v2 .cbc-points svg{width:15px!important;height:15px!important;padding:2.5px!important}
  html body section#calculadoras.cbc-v2 .cb-calculators-bottom p{display:none!important}
  html body section#calculadoras.cbc-v2 .cb-calculators-heading h2{margin:8px 0 4px!important}
  html body section#calculadoras.cbc-v2 .cbc-intro p{font-size:12.5px!important}
  html body section#calculadoras.cbc-v2 .cbc-main::after{
    content:"Los resultados son orientativos; revisa las condiciones de cada cálculo.";
    display:block;font-size:11.5px;color:#3E5B5D;margin-top:-4px;
  }
  html body section#calculadoras.cbc-v2 .cbc-main:has(.cb-public-calculator-form:not([hidden]))::after{order:3}
}
@media (min-width:1001px){
  html body section#calculadoras.cbc-v2 .cbc-intro{align-self:start!important;position:sticky!important;top:100px!important}
}
