/* 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; }
}
