/*
Theme Name: CBTech Institucional
Theme URI: https://institutocbtech.com/instituto-cbtech/
Author: Instituto CBTech
Description: Tema institucional B2B sin Divi para formación corporativa y productos educativos digitales.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later

THESIS: documentar cómo CBTech convierte una necesidad corporativa en una solución educativa.
OWN-WORLD: bandas de tinta, papel y horizonte cobalto; un plano de trabajo legible, no un marketplace.
STORY: entender → explorar → solicitar un diagnóstico.
FIRST VIEWPORT: wordmark, cuatro destinos, respuesta directa, diagnóstico y acceso al campus.
FORM: página editorial B2B con proceso secuencial y enlaces documentales.
*/

:root {
  --cb-ink: #102a43;
  --cb-blue: #0b5fa5;
  --cb-blue-deep: #073b66;
  --cb-paper: #f5f7f8;
  --cb-white: #fff;
  --cb-line: #cbd5df;
  --cb-muted: #425466;
  --cb-green: #176b52;
  --cb-focus: #f2b84b;
  --cb-shadow: 0 14px 32px rgba(16, 42, 67, .12);
  --cb-ease-out: cubic-bezier(.16, 1, .3, 1);
  --cb-ease-standard: cubic-bezier(.2, .8, .2, 1);
  --cb-radius: 12px;
  --cb-measure: 72ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cb-ink);
  background: var(--cb-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.cbtech-site { padding-inline: clamp(1rem, 2.5vw, 1.5rem); }
img { max-width: 100%; height: auto; }
a { color: var(--cb-blue-deep); text-decoration-thickness: .1em; text-underline-offset: .18em; }
a:hover { color: var(--cb-blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cb-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; }

.cbtech-site-header { border-bottom: 1px solid var(--cb-line); background: var(--cb-white); color: var(--cb-ink) !important; display: block !important; opacity: 1 !important; visibility: visible !important; position: relative; z-index: 20; }
.cbtech-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; gap: 2rem; align-items: center; justify-content: space-between;
}
.cbtech-site-header *, .cbtech-site-header a { opacity: 1 !important; visibility: visible !important; }
.cbtech-brand { color: var(--cb-ink) !important; text-decoration: none; display: inline-flex; align-items: baseline; gap: .45rem; min-width: 0; }
.cbtech-brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; }
.cbtech-brand-tag { color: var(--cb-muted); font-size: .78rem; }
.cbtech-nav { display: flex; align-items: center; gap: 1.15rem; }
.cbtech-nav a { color: var(--cb-ink) !important; font-size: .92rem; font-weight: 650; text-decoration: none; }
.cbtech-nav a:hover { color: var(--cb-blue); }
.cbtech-nav-cta, .cbtech-nav .cbtech-nav-cta {
  background: var(--cb-blue); color: var(--cb-white) !important; padding: .62rem .9rem;
  border-radius: 8px; box-shadow: 0 5px 12px rgba(11, 95, 165, .16);
  transition: transform 180ms var(--cb-ease-out), box-shadow 180ms var(--cb-ease-out), background-color 180ms ease;
}
.cbtech-nav-cta:hover { background: var(--cb-blue-deep); transform: translateY(-2px); box-shadow: 0 9px 18px rgba(7, 59, 102, .22); }
.cbtech-nav-campus, .cbtech-nav .cbtech-nav-campus {
  background: var(--cb-focus); color: var(--cb-ink) !important; padding: .62rem .9rem;
  border: 1px solid #d99a22; border-radius: 8px; box-shadow: 0 5px 12px rgba(16, 42, 67, .12);
  white-space: nowrap; transition: transform 180ms var(--cb-ease-out), box-shadow 180ms var(--cb-ease-out), background-color 180ms ease;
}
.cbtech-nav-campus:hover { background: #ffd477; color: var(--cb-ink) !important; transform: translateY(-2px); box-shadow: 0 9px 18px rgba(16, 42, 67, .2); }
.cbtech-nav-cta:active, .cbtech-nav-campus:active { transform: translateY(0); }
.cbtech-nav > a:not(.cbtech-nav-cta):not(.cbtech-nav-campus) { transition: color 180ms ease, transform 180ms var(--cb-ease-out); }
.cbtech-nav > a:not(.cbtech-nav-cta):not(.cbtech-nav-campus):hover { transform: translateY(-1px); }
.cbtech-menu { display: none; }
.cbtech-menu summary { list-style: none; cursor: pointer; font-weight: 700; }
.cbtech-menu summary::-webkit-details-marker { display: none; }

.cbtech-shell { max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 1.25rem 5rem; }
.cbtech-page-entry { max-width: var(--cb-measure); margin: 0 auto; padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.page-id-145 .cbtech-page-entry, .page-id-1236 .cbtech-page-entry, .page-id-6 .cbtech-page-entry { max-width: none; padding-top: 0; }
.page-id-145 .cbtech-shell, .page-id-1236 .cbtech-shell, .page-id-6 .cbtech-shell { max-width: none; padding-left: 0; padding-right: 0; }
.cbtech-page-entry > h1, .cbtech-page-entry > .entry-header h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; max-width: 15ch; margin: 0 0 1.5rem; }
.cbtech-page-entry p, .cbtech-page-entry li { max-width: var(--cb-measure); }
.cbtech-page-entry h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.025em; margin: 3.5rem 0 .85rem; }
.cbtech-page-entry h3 { font-size: 1.25rem; line-height: 1.25; margin: 2rem 0 .5rem; }
.cbtech-page-entry table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; }
.cbtech-page-entry th, .cbtech-page-entry td { border-bottom: 1px solid var(--cb-line); padding: .75rem .6rem; text-align: left; vertical-align: top; }
.cbtech-page-entry th { background: var(--cb-paper); }
.cbtech-page-entry blockquote { border-top: 3px solid var(--cb-blue); margin: 2rem 0; padding: 1rem 0 0; color: var(--cb-muted); }
.cbtech-page-entry figure { margin: 2rem 0; }
.cbtech-page-entry figcaption { color: var(--cb-muted); font-size: .9rem; }
.cbtech-page-entry ul, .cbtech-page-entry ol { padding-left: 1.35rem; }

/* Institutional page: the centerpiece is a documented service contract, not a metric wall. */
.cbtech-institucional { --cb-hero-ink: #102a43; box-sizing: border-box; color: var(--cb-ink); line-height: 1.65; max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 1.25rem 4.5rem; overflow-x: hidden; }
.cbtech-institucional * { box-sizing: border-box; min-width: 0; }
.cbtech-institucional a { color: var(--cb-blue-deep); text-decoration-thickness: .1em; text-underline-offset: .18em; }
.cbtech-institucional a:hover { color: var(--cb-blue); }
.cbtech-institucional a:focus-visible, .cbtech-institucional summary:focus-visible { outline: 3px solid var(--cb-focus); outline-offset: 4px; }
.cbtech-hero { background: var(--cb-hero-ink); color: #fff; border-radius: 0 0 16px 16px; padding: clamp(2.5rem, 7vw, 6.5rem) clamp(1.4rem, 5vw, 5.5rem); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; position: relative; overflow: hidden; min-width: 0; width: 100%; }
.cbtech-hero > div, .cbtech-hero > aside { min-width: 0; max-width: 100%; width: 100%; position: relative; z-index: 1; }
.cbtech-hero:after { content: ""; position: absolute; right: -6rem; top: -7rem; width: 22rem; height: 22rem; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(255,255,255,.05), 0 0 0 5rem rgba(255,255,255,.035); pointer-events: none; }
.cbtech-hero .cbtech-kicker { color: #9ed0ef; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; margin: 0 0 1.1rem; }
.cbtech-hero h1 { color: #fff !important; font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; margin: 0 0 1.35rem; white-space: normal; overflow-wrap: anywhere; }
.cbtech-hero .cbtech-lead { color: #e3edf5 !important; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.5; max-width: 61ch; width: 100%; margin: 0; white-space: normal !important; overflow-wrap: anywhere !important; word-break: normal !important; }
.cbtech-hero-aside { border-top: 1px solid rgba(255,255,255,.35); padding-top: 1rem; max-width: 24rem !important; }
.cbtech-hero-aside .cbtech-hero-media { margin-top: 1.25rem; }
.cbtech-hero-aside .cbtech-hero-media figcaption { color: #c9dceb; }
.cbtech-hero-aside strong { display: block; font-size: 1.1rem; margin-bottom: .35rem; color: #fff !important; }
.cbtech-hero-aside p { font-size: .96rem; color: #c9dceb !important; margin: 0; white-space: normal; overflow-wrap: anywhere; }
.cbtech-institucional .cbtech-section { padding: clamp(3rem, 7vw, 6.5rem) 0 0; }
.cbtech-institucional .cbtech-section-header { max-width: 48rem; margin-bottom: 2.4rem; }
.cbtech-institucional .cbtech-section-header h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .85rem; color: var(--cb-ink); }
.cbtech-institucional .cbtech-section-header p { font-size: 1.1rem; color: var(--cb-muted); margin: 0; max-width: 68ch; }
.cbtech-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .65fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.cbtech-intro p { font-size: 1.08rem; max-width: 68ch; }
.cbtech-institucional .cbtech-note { background: var(--cb-paper); border-top: 4px solid var(--cb-blue); padding: 1.5rem 1.55rem; }
.cbtech-institucional .cbtech-note strong { display: block; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .65rem; color: var(--cb-blue-deep); }
.cbtech-institucional .cbtech-note p { font-size: 1rem; margin: 0; color: var(--cb-ink); }
.cbtech-solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cbtech-solution { padding: 1.6rem 1.25rem 1.8rem 0; border-right: 1px solid var(--cb-line); }
.cbtech-solution + .cbtech-solution { padding-left: 1.25rem; }
.cbtech-solution:last-child { border-right: 0; padding-right: 0; }
.cbtech-solution .cbtech-label { font-size: .75rem; font-weight: 800; color: var(--cb-green); letter-spacing: .06em; text-transform: uppercase; }
.cbtech-solution h3 { font-size: 1.35rem; line-height: 1.2; margin: .4rem 0 .75rem; color: var(--cb-ink); }
.cbtech-solution p { margin: 0; color: var(--cb-muted); }
.cbtech-process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); padding-left: 0; list-style: none; }
.cbtech-step { padding: 1.4rem 1rem 1.5rem 0; position: relative; }
.cbtech-step + .cbtech-step { padding-left: 1rem; border-left: 1px solid var(--cb-line); }
.cbtech-step-number { font-size: .8rem; font-weight: 800; color: var(--cb-blue); letter-spacing: .08em; }
.cbtech-step h3 { font-size: 1.05rem; line-height: 1.25; margin: .75rem 0 .5rem; }
.cbtech-step p { font-size: .94rem; color: var(--cb-muted); margin: 0; }
.cbtech-audience { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.cbtech-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cb-line); }
.cbtech-list li { padding: 1rem 0; border-bottom: 1px solid var(--cb-line); font-size: 1.03rem; }
.cbtech-list strong { display: block; margin-bottom: .2rem; }
.cbtech-callout { background: #eaf3f8; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 4px solid var(--cb-blue); }
.cbtech-callout h2 { margin-top: 0; }
.cbtech-callout p { max-width: 66ch; margin-bottom: .9rem; }
.cbtech-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--cb-line); }
.cbtech-links a { display: block; padding: 1.1rem 2rem 1.1rem 0; border-bottom: 1px solid var(--cb-line); font-weight: 700; text-decoration: none; position: relative; }
.cbtech-links a:after { content: "↗"; position: absolute; right: .2rem; color: var(--cb-blue); }
.cbtech-faq { border-top: 1px solid var(--cb-line); }
.cbtech-faq details { border-bottom: 1px solid var(--cb-line); padding: 1rem 0; }
.cbtech-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding-right: 2rem; }
.cbtech-faq details p { max-width: 70ch; color: var(--cb-muted); margin: .7rem 0 .1rem; }
.cbtech-final { margin-top: clamp(3rem, 7vw, 6rem); background: var(--cb-blue-deep); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: flex; justify-content: space-between; gap: 2rem; align-items: center; border-radius: 1rem; }
.cbtech-final h2 { color: #fff; margin: 0 0 .65rem; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; }
.cbtech-final p { margin: 0; color: #d9e8f2; max-width: 55ch; }

.cbtech-post { max-width: var(--cb-measure); margin: 0 auto; padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.cbtech-post h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; max-width: 16ch; margin: 0 0 .8rem; }
.cbtech-post-meta { color: var(--cb-muted); font-size: .9rem; margin-bottom: 2rem; }
.cbtech-post-content > p:first-child { font-size: 1.18rem; }
.cbtech-archive { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.cbtech-archive h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.035em; line-height: 1.05; }
.cbtech-archive-item { border-top: 1px solid var(--cb-line); padding: 1.4rem 0 1.8rem; }
.cbtech-archive-item h2 { margin: 0 0 .35rem; font-size: 1.45rem; line-height: 1.2; }
.cbtech-archive-item p { color: var(--cb-muted); margin: 0; max-width: 70ch; }

.cbtech-home { padding-bottom: 4rem; }
.cbtech-home-hero {
  color: var(--cb-white); background: var(--cb-ink); padding: clamp(3.5rem, 8vw, 7.5rem) clamp(1.35rem, 7vw, 7rem);
  margin: 0 calc(50% - 50vw); padding-left: max(1.35rem, calc((100vw - 1180px) / 2 + 1.25rem));
  padding-right: max(1.35rem, calc((100vw - 1180px) / 2 + 1.25rem)); position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.cbtech-home-hero:after { content: ""; position: absolute; right: -5rem; top: -8rem; width: 24rem; height: 24rem; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(255,255,255,.06), 0 0 0 5rem rgba(255,255,255,.035); }
.cbtech-kicker { color: #9ed0ef; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.cbtech-home-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.04em; max-width: 12ch; margin: 0 0 1.3rem; position: relative; z-index: 1; }
.cbtech-home-hero p { color: #e3edf5; font-size: clamp(1.08rem, 1.7vw, 1.35rem); max-width: 60ch; margin: 0; position: relative; z-index: 1; }
.cbtech-home-hero > .cbtech-kicker,
.cbtech-home-hero > h1,
.cbtech-home-hero > h1 + p,
.cbtech-home-hero > .cbtech-actions { grid-column: 1; }
.cbtech-hero-media { margin: 0; position: relative; z-index: 1; }
.cbtech-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 42px rgba(0, 0, 0, .24); }
.cbtech-hero-media figcaption { color: var(--cb-muted); font-size: .82rem; line-height: 1.4; margin-top: .6rem; }
.cbtech-home-hero > .cbtech-hero-media { grid-column: 2; grid-row: 1 / 5; align-self: center; }
.cbtech-home-hero > .cbtech-hero-media figcaption { color: #c9dceb; }
.cbtech-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; position: relative; z-index: 1; }
.cbtech-button { display: inline-block; background: #fff; color: var(--cb-blue-deep) !important; font-weight: 750; text-decoration: none !important; border-radius: 8px; padding: .85rem 1.15rem; box-shadow: var(--cb-shadow); transition: transform 180ms var(--cb-ease-out), box-shadow 180ms var(--cb-ease-out), background-color 180ms ease; }
.cbtech-button:hover { background: #e9f3fa; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(16, 42, 67, .2); }
.cbtech-button:active { transform: translateY(0); }
.cbtech-button-secondary { color: #fff !important; font-weight: 700; text-decoration: none !important; border-bottom: 1px solid rgba(255,255,255,.7); padding: .55rem .1rem; transition: color 180ms ease, border-color 180ms ease, transform 180ms var(--cb-ease-out); display: inline-block; }
.cbtech-button-secondary:hover { color: #c9e8fa !important; border-color: #c9e8fa; transform: translateX(3px); }
.cbtech-home-section { padding: clamp(3rem, 7vw, 6.5rem) 0 0; }
.cbtech-home-section h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .8rem; }
.cbtech-home-section > p { color: var(--cb-muted); font-size: 1.08rem; max-width: 68ch; }
.cbtech-home-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.cbtech-note { background: var(--cb-paper); border-top: 4px solid var(--cb-blue); padding: 1.5rem; }
.cbtech-note strong { display: block; color: var(--cb-blue-deep); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .55rem; }
.cbtech-note p { margin: 0; }
.cbtech-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cbtech-service { padding: 1.5rem 1.25rem 1.7rem 0; border-right: 1px solid var(--cb-line); }
.cbtech-service + .cbtech-service { padding-left: 1.25rem; }
.cbtech-service:last-child { border-right: 0; padding-right: 0; }
.cbtech-service h3 { margin: .4rem 0 .65rem; font-size: 1.3rem; line-height: 1.2; }
.cbtech-service p { color: var(--cb-muted); margin: 0; }
.cbtech-home-cta { margin-top: clamp(3rem, 7vw, 6rem); background: var(--cb-blue-deep); color: #fff; padding: clamp(2rem, 5vw, 4rem); border-radius: 12px; display: flex; gap: 2rem; justify-content: space-between; align-items: center; }
.cbtech-home-cta h2 { color: #fff; margin: 0 0 .6rem; }
.cbtech-home-cta p { color: #d9e8f2; margin: 0; }

/* Motion system: an authored horizon arrival on the home surface, plus quiet
   continuity and feedback states on internal reading surfaces. Content stays
   rendered in its resting state if motion is unavailable or disabled. */
@keyframes cbtech-header-arrive {
  from { transform: translateY(-10px); }
  to { transform: translateY(0); }
}
@keyframes cbtech-horizon-arrive {
  from { transform: translateY(16px); filter: blur(2px); }
  to { transform: translateY(0); filter: blur(0); }
}
@keyframes cbtech-horizon-drift {
  0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
  50% { transform: rotate(4deg) translate3d(-8px, 6px, 0); }
}
@keyframes cbtech-surface-arrive {
  from { transform: translateY(10px); filter: blur(1px); }
  to { transform: translateY(0); filter: blur(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .cbtech-site-header { animation: cbtech-header-arrive 520ms var(--cb-ease-out) both; }
  .cbtech-home-hero { animation: cbtech-horizon-arrive 720ms var(--cb-ease-out) both; }
  .cbtech-home-hero:after { animation: cbtech-horizon-drift 18s ease-in-out infinite; transform-origin: center; }
  .cbtech-home-hero > .cbtech-kicker { animation: cbtech-horizon-arrive 560ms var(--cb-ease-out) 80ms both; }
  .cbtech-home-hero > h1 { animation: cbtech-horizon-arrive 650ms var(--cb-ease-out) 150ms both; }
  .cbtech-home-hero > h1 + p { animation: cbtech-horizon-arrive 650ms var(--cb-ease-out) 220ms both; }
  .cbtech-home-hero > .cbtech-actions { animation: cbtech-horizon-arrive 650ms var(--cb-ease-out) 300ms both; }
  .cbtech-institucional .cbtech-hero { animation: cbtech-horizon-arrive 700ms var(--cb-ease-out) both; }
  .cbtech-institucional .cbtech-hero > div { animation: cbtech-horizon-arrive 620ms var(--cb-ease-out) 100ms both; }
  .cbtech-institucional .cbtech-hero > aside { animation: cbtech-horizon-arrive 620ms var(--cb-ease-out) 220ms both; }
  .cbtech-contact-hero { animation: cbtech-horizon-arrive 700ms var(--cb-ease-out) both; }
  .cbtech-post, .cbtech-page-entry, .cbtech-archive { animation: cbtech-surface-arrive 560ms var(--cb-ease-out) 70ms both; }
  .cbtech-service { transition: transform 220ms var(--cb-ease-out), background-color 220ms ease, border-color 220ms ease; }
  .cbtech-service:hover { background: #f7fafc; border-color: #9eb8ca; transform: translateY(-4px); }
  .cbtech-solution { transition: transform 220ms var(--cb-ease-out), background-color 220ms ease; }
  .cbtech-solution:hover { background: #f7fafc; transform: translateY(-3px); }
}

.cbtech-contact { padding-bottom: 4rem; }
.cbtech-contact-hero { background: var(--cb-ink); color: #fff; margin: 0 calc(50% - 50vw); padding: clamp(3rem, 7vw, 6rem) max(1.25rem, calc((100vw - 1180px) / 2 + 1.25rem)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.cbtech-contact-hero > .cbtech-kicker,
.cbtech-contact-hero > h1,
.cbtech-contact-hero > h1 + p { grid-column: 1; }
.cbtech-contact-hero > .cbtech-hero-media { grid-column: 2; grid-row: 1 / 4; }
.cbtech-contact-hero .cbtech-hero-media figcaption { color: #c9dceb; }
.cbtech-contact-hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 1rem; }
.cbtech-contact-hero p { color: #e3edf5; max-width: 62ch; font-size: 1.12rem; }
.cbtech-b2b-form { max-width: 720px; margin: 3rem auto 0; }
.cbtech-b2b-form p { margin: 0 0 1rem; }
.cbtech-b2b-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.cbtech-b2b-form input:not([type="checkbox"]), .cbtech-b2b-form select, .cbtech-b2b-form textarea { display: block; width: 100%; min-height: 46px; border: 1px solid var(--cb-line); border-radius: 8px; padding: .7rem .8rem; color: var(--cb-ink); background: #fff; font: inherit; }
.cbtech-b2b-form textarea { min-height: 150px; resize: vertical; }
.cbtech-b2b-form input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin-right: .45rem; vertical-align: -.15rem; accent-color: var(--cb-blue); }
.cbtech-b2b-form button { border: 0; border-radius: 8px; background: var(--cb-blue); color: #fff; font: inherit; font-weight: 750; padding: .85rem 1.2rem; cursor: pointer; }
.cbtech-b2b-form button:hover { background: var(--cb-blue-deep); }
.cbtech-form-success, .cbtech-form-error { padding: .9rem 1rem; border-radius: 8px; }
.cbtech-form-success { color: #0d513e; background: #e9f5ef; border: 1px solid #a9d5c2; }
.cbtech-form-error { color: #7a1d16; background: #fff0ee; border: 1px solid #edb9b2; }

.cbtech-site-footer { background: var(--cb-ink); color: #d9e8f2; padding: 3.5rem 1.25rem 2rem; margin-inline: calc(-1 * clamp(1rem, 2.5vw, 1.5rem)); }
.cbtech-footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(12rem, .8fr); gap: 3rem; }
.cbtech-footer-title { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 .6rem; }
.cbtech-site-footer p { max-width: 55ch; margin: 0; }
.cbtech-site-footer a { color: #fff; }
.cbtech-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.cbtech-footer-meta { border-top: 1px solid rgba(255,255,255,.2); max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1rem; font-size: .85rem; color: #afc7d7; }

@media (max-width: 800px) {
  .cbtech-header-inner { gap: 1rem; }
  .cbtech-nav { display: none; }
  .cbtech-menu { display: block; position: relative; }
  .cbtech-menu[open] .cbtech-nav { display: grid; position: absolute; right: 0; top: 2.3rem; z-index: 10; min-width: 16rem; padding: 1rem; gap: .8rem; background: #fff; border: 1px solid var(--cb-line); box-shadow: var(--cb-shadow); }
  .cbtech-menu[open] .cbtech-nav a { padding: .35rem 0; }
  .cbtech-home-split { grid-template-columns: 1fr; }
  .cbtech-home-hero { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .cbtech-home-hero > .cbtech-hero-media { grid-column: 1; grid-row: auto; margin-top: .5rem; }
  .cbtech-service-grid { grid-template-columns: 1fr; }
  .cbtech-service, .cbtech-service + .cbtech-service { padding: 1.3rem 0; border-right: 0; border-bottom: 1px solid var(--cb-line); }
  .cbtech-service:last-child { border-bottom: 0; }
  .cbtech-home-cta { display: block; }
  .cbtech-home-cta .cbtech-button { margin-top: 1.25rem; }
  .cbtech-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cbtech-hero, .cbtech-intro, .cbtech-audience { grid-template-columns: minmax(0, 1fr); }
  .cbtech-hero h1 { max-width: 17ch; }
  .cbtech-hero-aside { max-width: none !important; }
  .cbtech-contact-hero { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .cbtech-contact-hero > .cbtech-hero-media { grid-column: 1; grid-row: auto; }
  .cbtech-solution-grid { grid-template-columns: minmax(0, 1fr); }
  .cbtech-solution, .cbtech-solution + .cbtech-solution { padding: 1.35rem 0; border-right: 0; border-bottom: 1px solid var(--cb-line); }
  .cbtech-solution:last-child { border-bottom: 0; }
  .cbtech-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbtech-step, .cbtech-step + .cbtech-step { padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--cb-line); }
  .cbtech-step:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--cb-line); }
  .cbtech-step:last-child { grid-column: 1 / -1; }
  .cbtech-links { grid-template-columns: minmax(0, 1fr); }
  .cbtech-final { display: block; }
  .cbtech-final .cbtech-button { margin-top: 1.3rem; }
  .cbtech-institucional .cbtech-hero h1 { font-size: clamp(2rem, 9vw, 3rem); max-width: 100%; width: 100%; word-break: break-word; }
  .cbtech-institucional .cbtech-hero .cbtech-lead { max-width: 100%; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
