/* CB-H05-009-local-real-v1 */
#cbx-global-header{color:var(--cbx-ink);font:400 16px/1.65 Lato,Arial,sans-serif;}
#cbx-global-header *, .cbx-ui-scope *{box-sizing:border-box;}
#cbx-global-header svg, .cbx-ui-scope svg{display:block;}
.cbx-ui-scope{color:var(--cbx-ink);font:400 16px/1.65 Lato,Arial,sans-serif;}
#cbx-global-header, .cbx-ui-scope {
  --cbx-navy: #1b4f72;
  --cbx-blue: #2e86c1;
  --cbx-sky: #eaf5fb;
  --cbx-green: #79c142;
  --cbx-green-soft: #edf8e8;
  --cbx-orange: #f26722;
  --cbx-ink: #162b3a;
  --cbx-text: #486171;
  --cbx-line: #dceaf3;
  --cbx-soft: #f5f9fc;
  --cbx-white: #fff;
  --cbx-shadow: 0 18px 50px rgba(27, 79, 114, .14);
  --cbx-radius: 18px;
  --cbx-topbar-height: 34px;
  --cbx-header-height: 76px;
  --cbx-shell: 1200px;
}

html{scroll-padding-top:126px;}
body.cbx-menu-locked { overflow: hidden; }
.cbx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* FIX v1005 (1/3) — eje horizontal unico.
   El contenido del sitio usa .wrap { max-width:1200px; padding-inline:24px (20px <=640px) }.
   .cbx-shell tenia el mismo ancho pero SIN padding, por lo que el logo quedaba
   6px (375), 8px (768) y 24px (1440) a la izquierda del H1. Se replica .wrap. */
.cbx-shell { width: 100%; max-width: var(--cbx-shell); margin-inline: auto; padding-inline: 24px; }

.cbx-topbar { position: fixed; inset: 0 0 auto; z-index: 10002; height: var(--cbx-topbar-height); border-bottom: 1px solid var(--cbx-line); background: #f7fbfd; color: #31546f; }
.cbx-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; font-weight: 700; }
.cbx-topbar a { text-decoration: none; }
.cbx-topbar__link, .cbx-topbar__phones, .cbx-topbar__phones a { display: flex; align-items: center; gap: 7px; }
.cbx-topbar__link svg, .cbx-topbar__phones svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbx-topbar__link span { padding: 1px 7px; border-radius: 999px; background: var(--cbx-green-soft); color: #347b31; font-size: 10px; }
.cbx-topbar__phones { gap: 15px; }
.cbx-topbar p { margin: 0; color: #617887; }

.cbx-header { position: fixed; inset: var(--cbx-topbar-height) 0 auto; z-index: 10001; height: var(--cbx-header-height); border-bottom: 1px solid var(--cbx-line); background: rgba(255,255,255,.98); box-shadow: 0 8px 28px rgba(27,79,114,.08); }
.cbx-header__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.cbx-logo { flex: 0 0 auto; }
.cbx-logo img { width: auto; height: 50px; }
.cbx-nav { flex: 1 1 auto; min-width: 0; }
.cbx-nav__list { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.cbx-nav__item { position: relative; list-style: none; }
.cbx-nav__link, .cbx-nav__trigger { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--cbx-navy); text-decoration: none; font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .18s ease, color .18s ease; }
.cbx-nav__trigger > svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.cbx-nav__trigger--online > svg:first-child { width: 16px; height: 16px; }
.cbx-nav__link:hover, .cbx-nav__trigger:hover, .cbx-nav__trigger[aria-expanded="true"] { background: var(--cbx-sky); color: var(--cbx-blue); }
.cbx-nav__trigger[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.cbx-nav__link:focus-visible, .cbx-nav__trigger:focus-visible, .cbx-mega a:focus-visible, .cbx-book:focus-visible, .cbx-mobile-toggle:focus-visible, .cbx-demo-button:focus-visible, .cbx-text-link:focus-visible { outline: 3px solid rgba(46,134,193,.35); outline-offset: 3px; }

.cbx-mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(1120px, calc(100vw - 40px)); padding: 24px; border: 1px solid var(--cbx-line); border-radius: 20px; background: var(--cbx-white); box-shadow: var(--cbx-shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -7px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.cbx-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.cbx-nav__item.is-open > .cbx-mega,
.cbx-nav__trigger[aria-expanded="true"] + .cbx-mega { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translate(-50%, 0) !important; transition: none; }
/* FIX v1005 (2/3) — el panel se alinea al mismo borde de contenido que .wrap.
   Antes: left basado en 100vw (incluye scrollbar) y sin sumar el padding del
   contenedor, con width 1120px heredado => 7,5px corrido a la izquierda y 72px
   corto por la derecha a 1440. Se usa % (para position:fixed resuelve contra el
   viewport SIN scrollbar) y se suma el padding-inline del shell. */
.cbx-mega--services { position: fixed; top: calc(var(--cbx-topbar-height) + var(--cbx-header-height) + 12px); left: max(24px, calc((100% - var(--cbx-shell)) / 2 + 24px)); width: min(calc(var(--cbx-shell) - 48px), calc(100% - 48px)); transform: translateY(-7px); }
.cbx-mega--services::before { height: 60px; }
.cbx-nav__item.is-open > .cbx-mega--services,
.cbx-nav__trigger[aria-expanded="true"] + .cbx-mega--services { transform: translateY(0) !important; }
.cbx-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cbx-mega section { min-width: 0; padding: 0 10px; }
.cbx-mega h2 { margin: 0 0 8px; color: var(--cbx-navy); font: 800 13px/1.3 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: .01em; }
.cbx-mega section > a { display: block; padding: 8px 9px; border-radius: 9px; color: #3d586a; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.25; }
.cbx-mega section > a:hover { background: var(--cbx-soft); color: var(--cbx-blue); }
.cbx-mega small { display: block; margin-top: 2px; color: #718694; font-size: 11px; font-weight: 400; }
.cbx-mega__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 8px 0; padding: 15px 12px 0; border-top: 1px solid var(--cbx-line); }
.cbx-mega__footer a { color: var(--cbx-blue); font: 800 13px/1.3 "Plus Jakarta Sans", Arial, sans-serif; text-decoration: none; }

.cbx-mega--online { left: 50%; width: min(760px, calc(100vw - 40px)); }
.cbx-online-intro { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #edf7fc, #f8fcf6); }
.cbx-online-intro .cbx-icon-box { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--cbx-white); color: var(--cbx-blue); box-shadow: 0 7px 18px rgba(27,79,114,.09); }
.cbx-online-intro svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbx-online-intro strong { display: block; color: var(--cbx-navy); font: 800 15px/1.3 "Plus Jakarta Sans", Arial, sans-serif; }
.cbx-online-intro p { margin: 3px 0 0; color: var(--cbx-text); font-size: 12px; line-height: 1.4; }
.cbx-online-intro > a { color: var(--cbx-blue); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.cbx-online-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cbx-online-links a { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 12px; color: var(--cbx-navy); text-decoration: none; font: 700 13px/1.3 "Plus Jakarta Sans", Arial, sans-serif; }
.cbx-online-links a:hover { background: var(--cbx-soft); color: var(--cbx-blue); }
.cbx-online-links svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbx-online-links span { min-width: 0; }
.cbx-online-links small { margin-top: 2px; }
.cbx-online-note { margin: 12px 8px 0; padding-top: 12px; border-top: 1px solid var(--cbx-line); color: #6b808e; font-size: 12px; }

.cbx-nav__item--compact .cbx-mega { left: 50%; width: 230px; padding: 8px; }
.cbx-mega--compact > a { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 10px; color: var(--cbx-navy); text-decoration: none; font-size: 13px; font-weight: 700; }
.cbx-mega--compact > a:hover { background: var(--cbx-soft); color: var(--cbx-blue); }
.cbx-mega--compact svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.cbx-book { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 11px; background: var(--cbx-orange); box-shadow: 0 10px 23px rgba(242,103,34,.22); color: var(--cbx-white); text-decoration: none; font: 800 13px/1 "Plus Jakarta Sans", Arial, sans-serif; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.cbx-book:hover { background: #d95c1f; transform: translateY(-1px); box-shadow: 0 12px 27px rgba(242,103,34,.29); }
.cbx-book svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbx-book--mobile, .cbx-mobile-toggle { display: none; }

.cbx-hero { padding: 82px 0 72px; background: radial-gradient(circle at 82% 20%, rgba(121,193,66,.12), transparent 25%), linear-gradient(145deg, #f9fcfe, #edf6fb); overflow: hidden; }
.cbx-hero__grid { display: block; }
.cbx-hero__copy { max-width: 880px; }
.cbx-eyebrow { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 11px; border: 1px solid #cfe4f1; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--cbx-blue); font: 800 12px/1.2 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.cbx-hero h1 { max-width: 680px; margin: 18px 0; color: var(--cbx-navy); font: 800 clamp(36px, 4.8vw, 60px)/1.06 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: -.035em; }
.cbx-hero__copy > p { max-width: 650px; margin: 0; color: var(--cbx-text); font-size: 18px; line-height: 1.7; }
.cbx-hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.cbx-demo-button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--cbx-navy); color: var(--cbx-white); font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 14px; font-weight: 800; cursor: pointer; }
.cbx-demo-button:hover { background: #123d59; }
.cbx-text-link { color: var(--cbx-blue); font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 14px; font-weight: 800; text-decoration: none; }
.cbx-chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; }
.cbx-chip-row li { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--cbx-line); border-radius: 999px; background: rgba(255,255,255,.86); color: #3e596a; font-size: 13px; font-weight: 700; }
.cbx-chip-row svg { width: 17px; height: 17px; fill: none; stroke: var(--cbx-blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.cbx-section { padding: 82px 0; }
.cbx-section--white { background: var(--cbx-white); }
.cbx-section--soft { background: var(--cbx-soft); }
.cbx-section__head { max-width: 760px; margin-bottom: 36px; }
.cbx-section__head h2, .cbx-final h2 { margin: 14px 0 12px; color: var(--cbx-navy); font: 800 clamp(28px, 3.4vw, 42px)/1.15 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: -.025em; }
.cbx-section__head p, .cbx-final p { margin: 0; color: var(--cbx-text); font-size: 17px; }
.cbx-icon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cbx-icon-grid article { min-width: 0; padding: 22px; border: 1px solid var(--cbx-line); border-radius: var(--cbx-radius); background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.cbx-icon-grid article:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(27,79,114,.09); }
.cbx-icon-grid article > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--cbx-sky); color: var(--cbx-blue); }
.cbx-icon-grid svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbx-icon-grid h3 { margin: 17px 0 4px; color: var(--cbx-navy); font: 800 16px/1.3 "Plus Jakarta Sans", Arial, sans-serif; }
.cbx-icon-grid p { margin: 0; color: var(--cbx-text); font-size: 14px; }
.cbx-size-test { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; padding: 17px 20px; border-radius: 15px; background: #f6fafc; color: var(--cbx-navy); }
.cbx-size-test strong { margin-right: auto; font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 13px; }
.cbx-size-test span { display: inline-flex; align-items: center; gap: 5px; color: #627987; font-size: 11px; }
.cbx-size-test svg { fill: none; stroke: var(--cbx-blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.size-16 { width: 16px; height: 16px; }.size-20 { width: 20px; height: 20px; }.size-24 { width: 24px; height: 24px; }.size-32 { width: 32px; height: 32px; }.size-48 { width: 48px; height: 48px; }

.cbx-demo-label { display: block; margin-bottom: 7px; color: #738795; font: 800 11px/1.2 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.cbx-brand-showcase { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: start; gap: 22px; }
.cbx-service-specimen, .cbx-coverage-specimen { position: relative; min-width: 0; overflow: hidden; border: 1px solid #d8e8f1; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(27,79,114,.08); }
.cbx-service-specimen::before, .cbx-coverage-specimen::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg,var(--cbx-blue) 0 55%,var(--cbx-green) 55% 82%,var(--cbx-orange) 82%); }
.cbx-service-specimen { padding: 29px 27px 27px; }
.cbx-specimen-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cbx-specimen-icon { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px 16px 16px 6px; background: linear-gradient(145deg,#e8f5fb,#eef8e9); color: var(--cbx-blue); }
.cbx-specimen-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cbx-specimen-head h3, .cbx-coverage-head h3 { margin: 0; color: var(--cbx-navy); font: 800 23px/1.2 "Plus Jakarta Sans",Arial,sans-serif; }
.cbx-brand-list { position: relative; display: grid; gap: 3px; margin: 0 0 24px; padding: 0; list-style: none; }
.cbx-brand-list::before { content: ""; position: absolute; top: 17px; bottom: 17px; left: 16px; width: 2px; border-radius: 2px; background: linear-gradient(var(--cbx-blue),var(--cbx-green) 72%,var(--cbx-orange)); opacity: .28; }
.cbx-brand-list li { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; padding: 10px 0; }
.cbx-brand-marker { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #d5e8f2; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 5px 14px rgba(27,79,114,.09); }
.cbx-brand-marker svg { width: 27px; height: 27px; }
.cbx-brand-list strong { display: block; margin-top: 1px; color: var(--cbx-navy); font: 800 14px/1.35 "Plus Jakarta Sans",Arial,sans-serif; }
.cbx-brand-list small { display: block; margin-top: 3px; color: var(--cbx-text); font-size: 13px; line-height: 1.4; }
.cbx-service-cta { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-radius: 13px 13px 13px 5px; background: linear-gradient(100deg,#dff5e7,#eaf7f0); color: var(--cbx-navy); text-decoration: none; font: 800 14px/1.2 "Plus Jakarta Sans",Arial,sans-serif; }
.cbx-service-cta span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--cbx-green); box-shadow: 0 4px 11px rgba(27,79,114,.08); }
.cbx-service-cta:focus-visible { outline: 3px solid rgba(46,134,193,.35); outline-offset: 3px; }

.cbx-coverage-specimen { padding: 29px 27px 25px; background: linear-gradient(145deg,#f9fcfe,#f2f8fb); }
.cbx-coverage-head { margin-bottom: 19px; }
.cbx-coverage-head p { margin: 9px 0 0; color: var(--cbx-text); font-size: 14px; line-height: 1.55; }
.cbx-ticket-stack { display: grid; gap: 13px; }
.cbx-coverage-ticket { --ticket-accent:var(--cbx-blue); position: relative; min-width: 0; display: grid; grid-template-columns: 64px minmax(0,1fr); border: 1px solid #d8e7f0; border-radius: 17px 17px 17px 6px; background: #fff; box-shadow: 0 9px 24px rgba(27,79,114,.07); }
.cbx-coverage-ticket::before, .cbx-coverage-ticket::after { content: ""; position: absolute; left: 56px; z-index: 2; width: 14px; height: 14px; border: 1px solid #d8e7f0; border-radius: 50%; background: #f5fafc; }
.cbx-coverage-ticket::before { top: -8px; }
.cbx-coverage-ticket::after { bottom: -8px; }
.cbx-coverage-ticket--green { --ticket-accent:#58ad3b; }
.cbx-coverage-ticket--blue { --ticket-accent:#2e86c1; }
.cbx-coverage-ticket--orange { --ticket-accent:#f26722; }
.cbx-ticket-stub { position: relative; display: grid; place-items: center; border-right: 1px dashed #c8dce8; }
.cbx-ticket-stub::before { content: ""; position: absolute; inset: 10px auto 10px 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--ticket-accent); }
.cbx-ticket-code { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #dceaf3; border-color: color-mix(in srgb,var(--ticket-accent) 38%,white); border-radius: 13px 13px 13px 5px; background: #f4f9fc; background: color-mix(in srgb,var(--ticket-accent) 10%,white); color: var(--ticket-accent); font: 800 15px/1 "Plus Jakarta Sans",Arial,sans-serif; }
.cbx-ticket-code::after { content: ""; position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--cbx-orange); }
.cbx-ticket-copy { min-width: 0; padding: 14px 16px; }
.cbx-ticket-copy > span { display: block; margin-bottom: 2px; color: var(--ticket-accent); font: 800 10px/1.2 "Plus Jakarta Sans",Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.cbx-ticket-copy strong { display: block; color: var(--cbx-navy); font: 800 14px/1.35 "Plus Jakarta Sans",Arial,sans-serif; }
.cbx-ticket-copy small { display: block; margin-top: 3px; color: var(--cbx-text); font-size: 12px; line-height: 1.4; }
.cbx-coverage-note { display: flex; align-items: center; gap: 8px; margin: 18px 2px 0; color: #607887; font-size: 12px; }
.cbx-coverage-note svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--cbx-blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.cbx-final { padding: 58px 0; background: #edf6fb; }
.cbx-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cbx-final__inner > div { max-width: 760px; }
.cbx-final h2 { font-size: clamp(26px, 3vw, 38px); }

@media (hover: hover) and (pointer: fine) {
  .cbx-nav__item--mega:hover > .cbx-mega,
  .cbx-nav__item--compact:hover > .cbx-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .cbx-nav__item--mega:hover > .cbx-mega--services { transform: translateY(0); }
}

@media (max-width: 1180px) and (min-width: 1100px) {
  .cbx-nav__link, .cbx-nav__trigger { padding-inline: 7px; font-size: 12px; }
  .cbx-book { padding-inline: 13px; font-size: 12px; }
  .cbx-logo img { height: 46px; }
}

@media (max-width: 1099px) {
  /* FIX v1005 (3/3) — se elimina ":root { --cbx-header-height: 70px }".
     Era codigo muerto: las variables se declaran en "#cbx-global-header,
     .cbx-ui-scope", asi que el valor cercano (76px) siempre ganaba sobre :root.
     El header renderiza 76px en todos los anchos y .cbx-nav / .cbx-mega--services
     ya calculan sus offsets con ese 76px, por lo que hoy son coherentes.
     Reactivar los 70px habria movido el header sin mover el logo (79,8px) y
     habria descuadrado los offsets. Si alguna vez se cambia la altura, hay que
     declararla en el scope de arriba, NO en :root. */
  .cbx-logo img { max-height: calc(var(--cbx-header-height) - 16px); }
  .cbx-topbar__phones a:not(:first-child), .cbx-topbar p { display: none; }
  .cbx-header__inner { justify-content: space-between; }
  .cbx-logo img { height: 46px; }
  .cbx-mobile-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--cbx-line); border-radius: 11px; background: var(--cbx-soft); color: var(--cbx-navy); cursor: pointer; }
  .cbx-mobile-toggle svg { grid-area: 1/1; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .16s ease, transform .16s ease; }
  .cbx-mobile-toggle .icon-close { opacity: 0; transform: rotate(-45deg); }
  .cbx-mobile-toggle[aria-expanded="true"] .icon-menu { opacity: 0; transform: rotate(45deg); }
  .cbx-mobile-toggle[aria-expanded="true"] .icon-close { opacity: 1; transform: rotate(0); }
  .cbx-book--desktop { display: none; }
  .cbx-nav { position: fixed; inset: calc(var(--cbx-topbar-height) + var(--cbx-header-height)) 0 0; display: block; padding: 12px 16px 28px; background: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .cbx-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .cbx-nav__list { display: block; max-width: 720px; margin-inline: auto; }
  .cbx-nav__item { border-bottom: 1px solid #e8f0f5; }
  .cbx-nav__link, .cbx-nav__trigger { width: 100%; min-height: 52px; justify-content: space-between; padding: 0 10px; border-radius: 8px; font-size: 15px; }
  .cbx-nav__trigger--online { justify-content: flex-start; }
  .cbx-nav__trigger--online > svg:last-child { margin-left: auto; }
  .cbx-mega, .cbx-mega--services, .cbx-mega--online, .cbx-nav__item--compact .cbx-mega { position: static; width: 100%; max-height: 0; padding: 0 8px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; overflow: hidden; transform: none; transition: max-height .24s ease, padding .24s ease; }
  .cbx-mega::before { display: none; }
  .cbx-nav__item.is-open > .cbx-mega,
  .cbx-nav__trigger[aria-expanded="true"] + .cbx-mega { max-height: 1500px; padding-top: 8px; padding-bottom: 14px; transform: none !important; }
  .cbx-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cbx-mega h2 { margin-top: 8px; }
  .cbx-mega__footer { flex-wrap: wrap; }
  .cbx-online-intro { grid-template-columns: auto 1fr; }
  .cbx-online-intro > a { grid-column: 2; justify-self: start; }
  .cbx-mega--compact > a { min-height: 48px; }
  .cbx-book--mobile { width: min(720px, 100%); min-height: 50px; display: flex; margin: 18px auto 0; }
  .cbx-book--mobile-top { margin: 0 auto 10px; }
  .cbx-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .cbx-topbar__phones { display: none; }
  .cbx-topbar__inner { justify-content: center; }
  .cbx-hero { padding: 54px 0 58px; }
  .cbx-hero__copy { max-width: 680px; }
  .cbx-section { padding: 62px 0; }
  .cbx-brand-showcase { grid-template-columns: 1fr; }
  .cbx-final__inner { align-items: flex-start; flex-direction: column; }
  .cbx-final .cbx-book { width: 100%; }
}

@media (max-width: 560px) {
  /* el gutter movil se controla en el bloque <=640px, para calzar con .wrap */
  .prototype-note { display: none; }
  .cbx-topbar__link { font-size: 11px; }
  .cbx-logo img { height: 42px; }
  .cbx-nav { padding-inline: 14px; }
  .cbx-mega__grid, .cbx-online-links { grid-template-columns: 1fr; }
  .cbx-mega section { padding-inline: 2px; }
  .cbx-mega__footer { align-items: flex-start; flex-direction: column; }
  .cbx-online-intro { grid-template-columns: auto 1fr; padding: 13px; }
  .cbx-online-intro > a { grid-column: 1 / -1; }
  .cbx-hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .cbx-hero__copy > p { font-size: 16px; }
  .cbx-hero__actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .cbx-demo-button { width: 100%; }
  .cbx-text-link { text-align: center; }
  .cbx-icon-grid { grid-template-columns: 1fr; }
  .cbx-icon-grid article { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; }
  .cbx-icon-grid article > span { grid-row: 1 / span 2; width: 48px; height: 48px; }
  .cbx-icon-grid h3 { margin: 1px 0 3px; }
  .cbx-size-test { gap: 12px; }
  .cbx-size-test strong { width: 100%; margin: 0; }
  .cbx-service-specimen, .cbx-coverage-specimen { padding: 25px 18px 20px; border-radius: 20px; }
  .cbx-brand-list li { gap: 10px; }
  .cbx-coverage-ticket { grid-template-columns: 56px minmax(0,1fr); }
  .cbx-coverage-ticket::before, .cbx-coverage-ticket::after { left: 48px; }
  .cbx-ticket-copy { padding: 13px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.no-js .cbx-nav__item:focus-within > .cbx-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

@media (max-width: 1099px) {
  .no-js .cbx-mobile-toggle { display: none; }
  .no-js .cbx-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .no-js .cbx-mega,
  .no-js .cbx-nav__item > .cbx-mega { max-height: none; padding-top: 8px; padding-bottom: 14px; }
}

/* FIX v1005 — gutter movil alineado con .wrap del contenido.
   .wrap usa padding-inline 24px sobre 640px y 20px en 640px o menos.
   Este bloque va al final para ganar por orden a las reglas base. */
@media (max-width: 640px) {
  .cbx-shell { padding-inline: 20px; }
}

/* ===== FIX v1006 - mega menu: interlineado, columnas e iconos ===== */

/* 1) INTERLINEADO. wpautop convierte los saltos de linea del markup en <br>
      reales entre cada enlace. Cada <br> generaba una caja de linea de 26px
      -16px por 1.65 heredado de #cbx-global-header-, asi que cada fila media 58px en vez de 32px. Se anulan y la columna pasa a flex, que ademas
      ignora los nodos de texto en blanco del markup indentado. */
.cbx-mega section br { display: none; }
.cbx-mega section { display: flex; flex-direction: column; gap: 1px; }
.cbx-mega section > a { padding: 7px 9px; }

/* 2) COLUMNAS. Se alinean arriba y el panel deja de crecer por el hueco fantasma. */
.cbx-mega__grid { align-items: start; column-gap: 14px; row-gap: 0; }

/* 3) ICONOS DE GRUPO. Se pintan por CSS con mask-image reutilizando los mismos
      trazos del sprite que ya vive en el header, para no tocar post_content
      ni duplicar SVG. El color sale de background-color, asi heredan la marca. */
.cbx-mega__grid h2 { display: flex; align-items: center; gap: 8px; }
.cbx-mega__grid h2::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px;
  background-color: var(--cbx-blue);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 18px 18px; mask-size: 18px 18px;
}
#group-psychology::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M8.2%2018.7c-2.3-1.3-3.7-3.8-3.5-6.4.2-3.8%203.3-6.8%207.1-6.8%203.9%200%207%203.1%207%207%200%202.2-1%204.2-2.7%205.5v2.3h-5.2v-3.8%27/%3E%3Cpath%20d=%27M9.2%2010.8c.8-.9%201.8-1.3%202.9-1.3%201.3%200%202.5.7%203.2%201.8M10.2%2013.5c.6.6%201.3.9%202.1.9.9%200%201.7-.4%202.3-1%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M8.2%2018.7c-2.3-1.3-3.7-3.8-3.5-6.4.2-3.8%203.3-6.8%207.1-6.8%203.9%200%207%203.1%207%207%200%202.2-1%204.2-2.7%205.5v2.3h-5.2v-3.8%27/%3E%3Cpath%20d=%27M9.2%2010.8c.8-.9%201.8-1.3%202.9-1.3%201.3%200%202.5.7%203.2%201.8M10.2%2013.5c.6.6%201.3.9%202.1.9.9%200%201.7-.4%202.3-1%27/%3E%3C/svg%3E"); }
#group-development::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27m3.5%207.4%208.5-3%208.5%203-8.5%203-8.5-3Z%27/%3E%3Cpath%20d=%27M6.5%209.2v5.1c0%201.7%202.5%203.1%205.5%203.1s5.5-1.4%205.5-3.1V9.2M20.5%207.4v6.2%27/%3E%3Ccircle%20cx=%2720.5%27%20cy=%2715.6%27%20r=%271%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27m3.5%207.4%208.5-3%208.5%203-8.5%203-8.5-3Z%27/%3E%3Cpath%20d=%27M6.5%209.2v5.1c0%201.7%202.5%203.1%205.5%203.1s5.5-1.4%205.5-3.1V9.2M20.5%207.4v6.2%27/%3E%3Ccircle%20cx=%2720.5%27%20cy=%2715.6%27%20r=%271%27/%3E%3C/svg%3E"); }
#group-mental::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%2021a8.5%208.5%200%201%200-8.5-8.5c0%202.7%201.2%205.1%203.1%206.6%27/%3E%3Cpath%20d=%27M12%207.2v10.6M8.3%2010.9h7.4M8.3%2014.4h7.4%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%2021a8.5%208.5%200%201%200-8.5-8.5c0%202.7%201.2%205.1%203.1%206.6%27/%3E%3Cpath%20d=%27M12%207.2v10.6M8.3%2010.9h7.4M8.3%2014.4h7.4%27/%3E%3C/svg%3E"); }
#group-programs::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%279%27%20cy=%278.2%27%20r=%273%27/%3E%3Ccircle%20cx=%2717.2%27%20cy=%279.4%27%20r=%272.3%27/%3E%3Cpath%20d=%27M3.7%2019c.4-3.2%202.4-5%205.3-5s4.9%201.8%205.3%205M14.4%2014.6c.8-.5%201.7-.8%202.8-.8%202.2%200%203.7%201.3%204.1%203.7%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%279%27%20cy=%278.2%27%20r=%273%27/%3E%3Ccircle%20cx=%2717.2%27%20cy=%279.4%27%20r=%272.3%27/%3E%3Cpath%20d=%27M3.7%2019c.4-3.2%202.4-5%205.3-5s4.9%201.8%205.3%205M14.4%2014.6c.8-.5%201.7-.8%202.8-.8%202.2%200%203.7%201.3%204.1%203.7%27/%3E%3C/svg%3E"); }

/* ===== FIX v1007 - alineacion interna del header ===== */

/* 1) wpautop inyecta 44 <br> en el markup del header (Divi guarda saltos de
      linea y WordPress los convierte al renderizar). Ninguno es semantico: se
      cuelan entre <img>, <a> y <svg>. Rompian dos cosas a la vez:
        - .cbx-logo medía 83,8px (dos <br> de 19px) dentro de un header de 76px,
          o sea el logo desbordaba y tapaba el borde inferior;
        - .cbx-nav medía 93,4px por un <br> de 19px colgando de la nav, asi que
          al centrarse verticalmente el menu quedaba 13,2px sobre el logo y el
          boton.
      v1006 ya ocultaba los <br> del panel .cbx-mega, pero el problema era de
      todo el header. Este scope los cubre todos. */
#cbx-global-header br { display: none; }
#cbx-global-header .cbx-logo { display: flex; align-items: center; }

/* 2) Centrado real del menu en escritorio.
      .cbx-header__inner era flex y .cbx-nav tomaba el espacio sobrante entre el
      logo (50px) y el boton Agendar (143px). Centrar la lista dentro de ese
      sobrante NO es centrarla en el header: el desvio era exactamente
      (143 - 50) / 2 = 46,5px hacia la izquierda.
      Con una grilla 1fr/auto/1fr las dos columnas laterales miden siempre lo
      mismo, asi que la del medio queda centrada sin importar cuanto crezcan el
      logo o el CTA. */
@media (min-width: 1100px) {
  .cbx-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .cbx-header__inner > .cbx-logo { justify-self: start; }
  .cbx-header__inner > .cbx-nav { justify-self: center; }
  .cbx-header__inner > .cbx-book--desktop { justify-self: end; }
}

/* ===== FIX v1008 - Divi pisaba el padding de la lista del menu ===== */

/* Divi aplica sus estilos de lista a CUALQUIER <ul> dentro del contenido, y el
   header global vive dentro de ese contenido. El .cbx-nav__list terminaba con
   "padding: 0 0 23px 16px" pese a que el plugin declara "padding: 0": las
   reglas de Divi ganan por especificidad (ver skill divi-wordpress-hardening,
   seccion 8). Efectos:
     - la <ul> medía 67px en vez de 44px, con los enlaces pegados arriba, asi
       que el menu quedaba 11,5px MAS ARRIBA que el logo y el boton;
     - el padding-left de 16px corria los enlaces 8px a la derecha del centro.
   Ojo: centrar la <ul> no arregla nada, porque el desfase esta DENTRO de su
   caja. Hay que medir el elemento visible (los <li>), no el contenedor.
   Se usa #cbx-global-header (un ID) para ganarle en especificidad a Divi. */
#cbx-global-header .cbx-nav__list,
#cbx-global-header ul,
#cbx-global-header ol { padding: 0 !important; margin: 0 !important; list-style: none !important; }

/* Mismo caso en los titulos de grupo del mega menu: Divi les mete
   "padding-bottom: 10px" sobre el "margin: 0 0 8px" que declara el plugin. */
#cbx-global-header .cbx-mega__grid h2 { padding: 0 !important; }


/* ===== FIX v1009 - marcador de marca en tarjetas de beneficio ===== */

/* Reemplaza el check generico por el marcador tricolor de Crecer Bien, SOLO en
   las tarjetas de beneficio (.ico), donde el icono se dibuja a 48px de caja y
   hay aire suficiente para que se lea el arco azul, el check verde y la hoja
   naranja.

   Por que solo aqui: se midieron los tamanos reales de cada contexto.
     .pill  -> 14px (101 casos)  el marcador se convierte en una mancha
     .pain  -> 16px  (48 casos)  idem
     .ico   -> 24px en caja 48   unico contexto con aire suficiente
   El propio plan CB-H05-009 §5.2 fija que el duotono solo funciona desde 32px.

   Se usa :has() porque de los 113 elementos .ico del sitio, 8 llevan iconos
   propios (telefono, WhatsApp, calendario) que NO deben tocarse. El selector
   ataca unicamente los que contienen el check generico. Verificado en vivo:
   en /contacto/ los 5 iconos propios quedan intactos y solo se reemplaza 1.

   Se pinta con background-image y no con mask-image porque el marcador es
   tricolor y una mascara es monocroma.

   Lleva !important porque las paginas declaran el fondo con un selector de ID
   (#cbsmh-res .ico), que gana por especificidad. */

.ico:has(> svg polyline[points="20 6 9 17 4 12"]) {
  background-color: #fff !important;
  border: 1px solid #d5e8f2 !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2028%2028%27%3E%3Cpath%20d=%27M22.5%2013.8a8.8%208.8%200%201%201-5.2-8%27%20fill=%27none%27%20stroke=%27%232e86c1%27%20stroke-width=%272.2%27%20stroke-linecap=%27round%27/%3E%3Cpath%20d=%27m9.2%2014%203.1%203.1%206.6-7%27%20fill=%27none%27%20stroke=%27%2358ad3b%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3Cpath%20d=%27M18.1%204.7c3-.9%205.1.1%206.1%202.8-2.8%201.2-5%20.3-6.1-2.8Z%27%20fill=%27%23f26722%27/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 28px 28px !important;
}
.ico:has(> svg polyline[points="20 6 9 17 4 12"]) > svg { display: none !important; }

/* ===== FIX v1010 - los componentes de marca como tarjeta, no a ancho completo ===== */

/* Los specimens se disenaron para una columna estrecha (en la lamina de revision
   iban a media pagina). Al insertarlos en una fila Divi de ancho completo se
   estiraban a 1424px -mas anchos incluso que el .wrap de 1180px de la propia
   pagina-, con todo el contenido pegado a la izquierda y un vacio enorme a la
   derecha. En movil ademas tocaban los bordes de la pantalla (x=0).
   Se les da ancho de tarjeta y se centran. */
#cbx-route-benefits-v1,
#cbx-coverage-tickets-v1 { padding-inline: 20px; }

#cbx-route-benefits-v1 .cbx-service-specimen,
#cbx-coverage-tickets-v1 .cbx-coverage-specimen {
  max-width: 680px;
  margin-inline: auto;
}
