/* ==========================================================================
   CódigoX Órbita — sistema visual "Órbita Técnica"
   Espacio Negro #050505 · Verde Señal #00F58A · Blanco Orbital #F4F4F0
   ========================================================================== */
:root {
	--cx-bg: #050505;
	--cx-bg-2: #080808;
	--cx-bg-3: #0A0A0A;
	--cx-line: #1C1C1A;
	--cx-line-2: #2A2A28;
	--cx-line-3: #3A3A38;
	--cx-green: #00F58A;
	--cx-white: #F4F4F0;
	--cx-text: #C9C9C4;
	--cx-muted: #8B8B86;
	--cx-dim: #5E5E5A;
	--cx-ghost: #2A2A28;
	--cx-sans: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--cx-mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
	--cx-radius: 2px;
	--cx-gutter: 80px;
	--cx-max: 1440px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cx-orbita { margin: 0; background: var(--cx-bg); color: var(--cx-white); font-family: var(--cx-mono); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--cx-green); text-decoration: none; transition: color .15s; }
a:hover { color: var(--cx-white); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--cx-green); color: var(--cx-bg); }
.cx-skip { position: absolute; left: -9999px; top: 0; background: var(--cx-green); color: var(--cx-bg); padding: 8px 12px; z-index: 100; }
.cx-skip:focus { left: 16px; top: 16px; }
.cx-container { max-width: var(--cx-max); margin: 0 auto; padding-left: var(--cx-gutter); padding-right: var(--cx-gutter); }
.cx-muted { font-size: 12px; letter-spacing: .12em; color: var(--cx-dim); text-transform: uppercase; }

/* Tipografía ---------------------------------------------------------- */
.cx-h1, .cx-h2, .cx-card__title, .cx-step__title, .cx-quote__name, .cx-project__title, .cx-post__title, .cx-featured__title, .cx-member__name, .cx-login__title, .cx-item__title, .cx-logo__word, .cx-prose h1, .cx-prose h2, .cx-prose h3, .cx-prose h4 { font-family: var(--cx-sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; color: var(--cx-white); }
.cx-h1 { margin: 0; font-size: var(--cx-h1, 84px); line-height: .95; text-wrap: balance; }
.cx-h2 { margin: 0; font-size: var(--cx-h2, 56px); line-height: .98; text-wrap: balance; }
.cx-h2--sm { --cx-h2: 48px; }
.cx-label { font-size: 12px; letter-spacing: .18em; color: var(--cx-green); text-transform: uppercase; }
.cx-lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--cx-text); max-width: 620px; }

/* Botones -------------------------------------------------------------- */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--cx-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 16px 24px; border-radius: var(--cx-radius); border: 1px solid transparent; line-height: 1; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.cx-btn--primary { background: var(--cx-green); color: var(--cx-bg); font-weight: 600; }
.cx-btn--primary:hover { background: var(--cx-white); color: var(--cx-bg); }
.cx-btn--ghost { color: var(--cx-white); border-color: var(--cx-line-3); background: transparent; }
.cx-btn--ghost:hover { border-color: var(--cx-green); color: var(--cx-green); }
.cx-btn--sm { padding: 12px 18px; font-size: 12px; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-muted); border: 1px solid var(--cx-line-2); padding: 5px 9px; border-radius: var(--cx-radius); }

/* Cabecera ------------------------------------------------------------- */
.cx-header { position: sticky; top: 0; z-index: 50; background: rgba(5,5,5,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cx-line); }
.cx-header__in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cx-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--cx-white); }
.cx-logo__word { font-size: 22px; letter-spacing: .04em; line-height: 1; }
.cx-logo__x { color: var(--cx-green); }
.cx-logo__tag { font-size: 8px; letter-spacing: .42em; color: var(--cx-green); line-height: 1; padding-left: 2px; }
.cx-logo__img { max-height: 40px; width: auto; }
.cx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; align-items: center; }
.cx-nav__list li { position: relative; }
.cx-nav__list a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-muted); display: flex; gap: 4px; padding: 8px 0; }
.cx-nav__list a:hover, .cx-nav__list .current-menu-item > a, .cx-nav__list .current-menu-ancestor > a, .cx-nav__list .current_page_parent > a { color: var(--cx-white); }
.cx-nav__list .current-menu-item > a::before, .cx-nav__list .current-menu-ancestor > a::before { content: '/'; color: var(--cx-green); }
.cx-nav__list .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -16px; min-width: 260px; background: var(--cx-bg-3); border: 1px solid var(--cx-line-2); display: none; flex-direction: column; gap: 0; }
.cx-nav__list .sub-menu a { padding: 10px 16px; letter-spacing: .08em; text-transform: none; font-size: 13px; }
.cx-nav__list li:hover > .sub-menu, .cx-nav__list li:focus-within > .sub-menu { display: flex; }
.cx-nav__actions { display: flex; gap: 12px; align-items: center; }
.cx-nav__actions--mobile { display: none; }
.cx-burger { display: none; background: none; border: 1px solid var(--cx-line-2); color: var(--cx-white); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--cx-radius); }
.cx-burger .cx-icon--close { display: none; }
.cx-nav-open .cx-burger .cx-icon--menu { display: none; }
.cx-nav-open .cx-burger .cx-icon--close { display: block; }

/* Hero ----------------------------------------------------------------- */
.cx-hero { padding: 96px 0 104px; }
.cx-hero--tight { padding: 32px 0 64px; }
.cx-hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.cx-hero--single .cx-hero__grid { grid-template-columns: 1fr; }
.cx-hero--end .cx-hero__grid { align-items: end; grid-template-columns: 1.2fr 1fr; }
.cx-hero__main { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.cx-hero__main--narrow { max-width: 900px; }
.cx-hero__aside { min-width: 0; }
.cx-stats { display: flex; flex-wrap: wrap; gap: 40px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-dim); padding-top: 8px; }
.cx-stats b { color: var(--cx-green); font-weight: 500; }
.cx-crumbs { display: flex; gap: 8px; font-size: 12px; letter-spacing: .12em; color: var(--cx-dim); text-transform: uppercase; }
.cx-crumbs a { color: var(--cx-muted); }
.cx-crumbs span:last-child { color: var(--cx-white); }
.cx-crumbs--top { padding-top: 56px; }

/* Terminal ------------------------------------------------------------- */
.cx-term { width: 100%; background: var(--cx-bg-3); border: 1px solid #222220; border-radius: var(--cx-radius); font-size: 13px; line-height: 1.5; }
.cx-term__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid #222220; font-size: 11px; letter-spacing: .1em; color: var(--cx-dim); }
.cx-term__status { color: var(--cx-green); }
.cx-term__body { padding: 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.cx-term__line { display: flex; gap: 10px; }
.cx-term__p { color: var(--cx-green); flex: 0 0 auto; }
.cx-term__cmd { color: var(--cx-white); }
.cx-term__ok { color: var(--cx-muted); }
.cx-term__dim { color: var(--cx-dim); }
.cx-term__cursor { display: inline-block; width: 9px; height: 17px; background: var(--cx-green); animation: cx-blink 1.1s steps(1) infinite; }
@keyframes cx-blink { 50% { opacity: 0; } }

/* Secciones ------------------------------------------------------------ */
.cx-section { padding: 112px 0; border-top: 1px solid var(--cx-line); }
.cx-section--noborder { border-top: 0; }
.cx-section--tight { padding: 0 0 64px; }
.cx-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.cx-section__head--stack { flex-direction: column; align-items: flex-start; }
.cx-section__titles { display: flex; flex-direction: column; gap: 20px; }
.cx-section__text { margin: 0; font-size: 15px; color: var(--cx-muted); max-width: 400px; line-height: 1.7; }
.cx-section__head--stack .cx-section__text { max-width: 560px; }
.cx-grid { display: grid; grid-template-columns: repeat(var(--cx-cols, 4), minmax(0, 1fr)); gap: var(--cx-gap, 16px); }
.cx-split { display: grid; grid-template-columns: var(--cx-split, 1fr 1.4fr); gap: 80px; }
.cx-col { min-width: 0; }
.cx-col__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

/* Tarjetas ------------------------------------------------------------- */
.cx-card { display: flex; flex-direction: column; gap: 24px; padding: 32px 28px; border: 1px solid var(--cx-line); background: var(--cx-bg-2); border-radius: var(--cx-radius); min-height: 300px; transition: border-color .15s; }
.cx-card:hover { border-color: var(--cx-line-3); }
.cx-card--sm { gap: 8px; padding: 24px 20px; min-height: 0; }
.cx-card__top { display: flex; justify-content: space-between; align-items: center; }
.cx-card__num { font-size: 12px; color: var(--cx-dim); letter-spacing: .14em; }
.cx-card--sm .cx-card__num { font-size: 11px; }
.cx-card__title { margin: 0; font-size: 26px; line-height: 1.05; letter-spacing: -.01em; }
.cx-card--sm .cx-card__title { font-size: 17px; line-height: 1.1; }
.cx-card__text { flex-grow: 1; font-size: 14px; color: var(--cx-muted); }
.cx-card__text p { margin: 0; }
.cx-card--sm .cx-card__text { font-size: 13px; }
.cx-card__link { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* Proceso -------------------------------------------------------------- */
.cx-process { border-bottom: 1px solid var(--cx-line); }
.cx-step { display: grid; grid-template-columns: 120px 56px 1fr 2fr; gap: 24px; align-items: start; padding: 32px 0; border-top: 1px solid var(--cx-line); }
.cx-step__num { font-size: 13px; color: var(--cx-green); letter-spacing: .14em; }
.cx-step__title { margin: 0; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.cx-step__text { margin: 0; font-size: 15px; color: var(--cx-muted); }

/* Listas --------------------------------------------------------------- */
.cx-list { border-bottom: 1px solid var(--cx-line); }
.cx-item { display: grid; gap: 6px 16px; padding: 28px 0; border-top: 1px solid var(--cx-line); }
.cx-list--check .cx-item { grid-template-columns: 24px 1fr; grid-template-areas: 'c t' 'c x'; }
.cx-list--check .cx-item__check { grid-area: c; padding-top: 3px; }
.cx-list--check .cx-item__title { grid-area: t; }
.cx-list--check .cx-item__text { grid-area: x; }
.cx-list--num .cx-item { grid-template-columns: 64px 1fr 1.4fr; align-items: baseline; gap: 24px; }
.cx-item__num { font-size: 12px; color: var(--cx-green); letter-spacing: .14em; }
.cx-item__title { font-size: 20px; line-height: 1.1; letter-spacing: -.01em; }
.cx-list--num .cx-item__title { font-size: 22px; }
.cx-item__text { margin: 0; font-size: 14px; color: var(--cx-muted); }

/* Testimonios ---------------------------------------------------------- */
.cx-quote { display: flex; flex-direction: column; gap: 28px; padding: 36px 32px; border: 1px solid var(--cx-line); background: var(--cx-bg-2); border-radius: var(--cx-radius); }
.cx-quote__mark { font-family: var(--cx-sans); font-size: 44px; line-height: .6; color: var(--cx-green); font-weight: 700; }
.cx-quote__text { margin: 0; font-size: 15px; flex-grow: 1; }
.cx-quote__who { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid var(--cx-line); }
.cx-quote__name { font-size: 16px; }
.cx-quote__role { font-size: 12px; color: var(--cx-muted); letter-spacing: .08em; }

/* CTA ------------------------------------------------------------------ */
.cx-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; padding: 64px; border: 1px solid var(--cx-green); background: #070807; border-radius: var(--cx-radius); }
.cx-cta__main { display: flex; flex-direction: column; gap: 20px; }
.cx-cta__text { margin: 0; font-size: 16px; color: var(--cx-text); max-width: 560px; }
.cx-cta__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cx-cta__note { font-size: 12px; color: var(--cx-dim); letter-spacing: .08em; }

/* Equipo --------------------------------------------------------------- */
.cx-team { display: grid; grid-template-columns: repeat(var(--cx-cols, 3), minmax(0, 1fr)); gap: 24px; }
.cx-member { display: flex; flex-direction: column; gap: 16px; }
.cx-member__photo { aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-bg-3); }
.cx-member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .2s; }
.cx-member:hover .cx-member__photo img { filter: none; }
.cx-member__name { font-size: 18px; }
.cx-member__role { font-size: 12px; color: var(--cx-green); letter-spacing: .1em; text-transform: uppercase; }

/* Marcadores de imagen ------------------------------------------------- */
.cx-placeholder { width: 100%; height: 100%; min-height: 100%; background: var(--cx-bg-3); display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.cx-placeholder--square { aspect-ratio: 1 / 1; justify-content: flex-end; }
.cx-placeholder__meta { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; color: var(--cx-dim); }
.cx-placeholder__name { font-family: var(--cx-sans); font-size: 28px; font-weight: 700; color: var(--cx-ghost); text-transform: uppercase; line-height: 1; }
.cx-placeholder__name--xl { font-size: 64px; color: var(--cx-line); }
.cx-placeholder__ini { font-family: var(--cx-sans); font-size: 40px; font-weight: 700; color: var(--cx-ghost); line-height: 1; }

/* Portafolio ----------------------------------------------------------- */
.cx-filters { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; border-top: 1px solid var(--cx-line); margin-bottom: 24px; }
.cx-filters__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-filter { font-family: var(--cx-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-text); background: transparent; border: 1px solid var(--cx-line-2); padding: 10px 16px; border-radius: var(--cx-radius); cursor: pointer; }
.cx-filter:hover { border-color: var(--cx-green); color: var(--cx-green); }
.cx-filter.is-active { background: var(--cx-green); color: var(--cx-bg); border-color: var(--cx-green); font-weight: 600; }
.cx-filters__count { font-size: 12px; color: var(--cx-dim); letter-spacing: .12em; }
.cx-projects { display: grid; grid-template-columns: repeat(var(--cx-cols, 3), minmax(0, 1fr)); gap: 32px 24px; }
.cx-project { display: flex; flex-direction: column; gap: 16px; color: var(--cx-white); }
.cx-project[hidden] { display: none; }
.cx-project__thumb { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-bg-3); transition: border-color .15s; }
.cx-project:hover .cx-project__thumb { border-color: var(--cx-green); }
.cx-project__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cx-project__body { display: flex; flex-direction: column; gap: 10px; }
.cx-project__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cx-project__title { margin: 0; font-size: 20px; }
.cx-project__cat { font-size: 11px; color: var(--cx-green); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 13px; }
.cx-fact { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--cx-line); }
.cx-fact span { color: var(--cx-dim); letter-spacing: .12em; font-size: 11px; }
.cx-fact b { font-weight: 400; color: var(--cx-white); }
.cx-feat { display: flex; gap: 14px; padding: 28px 24px; border: 1px solid var(--cx-line); background: var(--cx-bg-2); font-family: var(--cx-sans); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.cx-feat .cx-icon { flex: 0 0 auto; margin-top: 3px; }
.cx-single__media { margin-top: 0; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); overflow: hidden; aspect-ratio: 16 / 7; background: var(--cx-bg-3); }
.cx-single__media img { width: 100%; height: 100%; object-fit: cover; }
.cx-single__media .cx-placeholder { padding: 24px; justify-content: flex-end; }
.cx-single__nav { display: flex; justify-content: space-between; gap: 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.cx-single__nav a:first-child:not(:last-child) { color: var(--cx-muted); }
.cx-single__nav--top { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--cx-line); }

/* Blog ----------------------------------------------------------------- */
.cx-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; border: 1px solid var(--cx-line); background: var(--cx-bg-2); border-radius: var(--cx-radius); color: var(--cx-white); overflow: hidden; transition: border-color .15s; }
.cx-featured:hover { border-color: var(--cx-line-3); }
.cx-featured__media { aspect-ratio: 16 / 10; border-right: 1px solid var(--cx-line); background: var(--cx-bg-3); }
.cx-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.cx-featured__media .cx-placeholder { padding: 20px; justify-content: flex-end; }
.cx-featured__media .cx-placeholder__name { font-size: 40px; color: var(--cx-line); }
.cx-featured__body { display: flex; flex-direction: column; gap: 20px; padding: 40px 40px 40px 0; justify-content: center; }
.cx-featured__tags { display: flex; gap: 16px; }
.cx-featured__title { margin: 0; font-size: 36px; line-height: 1.02; letter-spacing: -.01em; }
.cx-featured__excerpt { margin: 0; font-size: 14px; color: var(--cx-muted); }
.cx-posts__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cx-posts { border-bottom: 1px solid var(--cx-line); }
.cx-post { display: grid; grid-template-columns: 160px 1fr 1fr 40px; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--cx-line); color: var(--cx-white); }
.cx-post:hover .cx-post__title { color: var(--cx-green); }
.cx-post__cat { font-size: 11px; letter-spacing: .12em; color: var(--cx-green); text-transform: uppercase; }
.cx-post__title { margin: 0; font-size: 22px; line-height: 1.1; transition: color .15s; }
.cx-post__excerpt { margin: 0; font-size: 13px; color: var(--cx-muted); }
.cx-pagination { margin-top: 40px; }
.cx-pagination .nav-links { display: flex; gap: 8px; }
.cx-pagination .page-numbers { font-size: 12px; letter-spacing: .12em; color: var(--cx-text); border: 1px solid var(--cx-line-2); padding: 9px 14px; border-radius: var(--cx-radius); }
.cx-pagination .page-numbers.current { background: var(--cx-green); color: var(--cx-bg); border-color: var(--cx-green); font-weight: 600; }
.cx-pagination .screen-reader-text { position: absolute; left: -9999px; }

/* Contenido editorial -------------------------------------------------- */
.cx-prose { font-size: 16px; line-height: 1.8; color: var(--cx-text); }
.cx-prose--narrow { max-width: 820px; }
.cx-prose__lead { margin: 0; font-size: 16px; line-height: 1.7; color: var(--cx-text); }
.cx-prose h1, .cx-prose h2, .cx-prose h3, .cx-prose h4 { margin: 2em 0 .6em; line-height: 1.05; }
.cx-prose h2 { font-size: 34px; }
.cx-prose h3 { font-size: 24px; }
.cx-prose h4 { font-size: 18px; letter-spacing: 0; }
.cx-prose p { margin: 0 0 1.4em; }
.cx-prose ul, .cx-prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.cx-prose li { margin-bottom: .4em; }
.cx-prose li::marker { color: var(--cx-green); }
.cx-prose blockquote { margin: 2em 0; padding: 24px 28px; border-left: 2px solid var(--cx-green); background: var(--cx-bg-2); color: var(--cx-white); }
.cx-prose code, .cx-prose pre { background: var(--cx-bg-3); border: 1px solid var(--cx-line); font-family: var(--cx-mono); font-size: 14px; }
.cx-prose code { padding: 2px 6px; }
.cx-prose pre { padding: 20px; overflow-x: auto; }
.cx-prose img { border: 1px solid var(--cx-line); border-radius: var(--cx-radius); }
.cx-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cx-prose th, .cx-prose td { padding: 12px; border: 1px solid var(--cx-line); text-align: left; }
.cx-prose a { text-decoration: underline; text-underline-offset: 3px; }
.cx-prose .wp-block-buttons a, .cx-prose .wp-block-button__link { text-decoration: none; }

/* Login ---------------------------------------------------------------- */
.cx-login { display: flex; flex-direction: column; gap: 24px; max-width: 440px; }
.cx-login__title { margin: 0; font-size: 36px; line-height: 1; }
.cx-login__text { margin: 0; font-size: 13px; color: var(--cx-muted); }
.cx-login__error { margin: 0; font-size: 12px; color: #FF6B6B; letter-spacing: .06em; }
.cx-login__foot { margin: 0; font-size: 12px; color: var(--cx-dim); }
.cx-login form { display: flex; flex-direction: column; gap: 16px; }
.cx-login form p { margin: 0; }
.cx-login label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--cx-muted); text-transform: uppercase; }
.cx-login input[type="text"], .cx-login input[type="password"], .cx-search input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--cx-line-2); background: var(--cx-bg-3); color: var(--cx-white); font-family: var(--cx-mono); font-size: 14px; border-radius: var(--cx-radius); outline: none; }
.cx-login input:focus, .cx-search input:focus { border-color: var(--cx-green); }
.cx-login .login-remember label { flex-direction: row; align-items: center; text-transform: none; letter-spacing: 0; font-size: 12px; }
.cx-login input[type="checkbox"] { appearance: none; width: 14px; height: 14px; border: 1px solid var(--cx-line-3); margin: 0; }
.cx-login input[type="checkbox"]:checked { background: var(--cx-green); border-color: var(--cx-green); }
.cx-login input[type="submit"] { width: 100%; height: 52px; font-family: var(--cx-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-bg); background: var(--cx-green); border: 0; border-radius: var(--cx-radius); font-weight: 600; cursor: pointer; }
.cx-login input[type="submit"]:hover { background: var(--cx-white); }
.cx-search { display: flex; gap: 8px; }

/* Pie ------------------------------------------------------------------ */
.cx-footer { border-top: 1px solid var(--cx-line); padding: 56px 0 32px; }
.cx-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.cx-footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cx-footer__brand p { margin: 0; font-size: 13px; color: var(--cx-muted); max-width: 260px; }
.cx-footer__col { display: flex; flex-direction: column; gap: 10px; }
.cx-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cx-footer__list a { font-size: 13px; color: var(--cx-text); }
.cx-footer__list a:hover { color: var(--cx-green); }
.cx-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--cx-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: .1em; color: var(--cx-dim); }
.cx-footer__legal { display: flex; gap: 24px; }
.cx-footer__legal a { color: var(--cx-dim); }
.cx-assistant { position: fixed; left: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; background: #0B0B0A; border: 1px solid var(--cx-line-2); padding: 12px 16px; border-radius: var(--cx-radius); color: var(--cx-white); }
.cx-assistant:hover { border-color: var(--cx-green); color: var(--cx-white); }
.cx-assistant__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cx-green); }
.cx-assistant__label { font-size: 12px; letter-spacing: .1em; }
.cx-assistant__text { font-size: 12px; color: var(--cx-muted); }

/* WordPress: admin bar y alineaciones ----------------------------------- */
.admin-bar .cx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cx-header { top: 46px; } }
.alignwide { max-width: var(--cx-max); }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
	:root { --cx-gutter: 40px; }
	.cx-h1 { font-size: min(var(--cx-h1, 84px), 64px); }
	.cx-h2 { font-size: min(var(--cx-h2, 56px), 44px); }
	.cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-projects, .cx-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-step { grid-template-columns: 100px 40px 1fr 1.6fr; }
	.cx-cta { grid-template-columns: 1fr; padding: 48px; }
}
@media (max-width: 960px) {
	.cx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.cx-nav { position: fixed; inset: 72px 0 0 0; background: var(--cx-bg); padding: 24px var(--cx-gutter); display: none; flex-direction: column; gap: 24px; overflow-y: auto; z-index: 49; }
	.admin-bar .cx-nav { top: 118px; }
	.cx-nav-open .cx-nav { display: flex; }
	.cx-nav__list a { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--cx-line); }
	.cx-nav__list .sub-menu { position: static; display: none; border: 0; background: transparent; padding: 0 0 0 16px; }
	.cx-nav__list li.is-open > .sub-menu { display: flex; }
	.cx-nav__actions .cx-btn { display: none; }
	.cx-nav__actions--mobile { display: flex; }
	.cx-nav__actions--mobile .cx-btn { display: inline-flex; flex: 1; }
	.cx-burger { display: flex; }
	.cx-hero { padding: 56px 0 64px; }
	.cx-hero__grid, .cx-hero--end .cx-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.cx-section { padding: 72px 0; }
	.cx-section__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
	.cx-split { grid-template-columns: 1fr; gap: 40px; }
	.cx-featured { grid-template-columns: 1fr; gap: 0; }
	.cx-featured__media { border-right: 0; border-bottom: 1px solid var(--cx-line); }
	.cx-featured__body { padding: 28px; }
	.cx-post { grid-template-columns: 1fr; gap: 8px; }
	.cx-post__arrow { display: none; }
	.cx-step { grid-template-columns: 80px 1fr; grid-template-rows: auto auto; }
	.cx-step__icon { display: none; }
	.cx-step__text { grid-column: 2; }
	.cx-list--num .cx-item { grid-template-columns: 48px 1fr; }
	.cx-list--num .cx-item__text { grid-column: 2; }
	.cx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	:root { --cx-gutter: 20px; }
	.cx-h1 { font-size: min(var(--cx-h1, 84px), 44px); }
	.cx-h2 { font-size: min(var(--cx-h2, 56px), 34px); }
	.cx-lead { font-size: 15px; }
	.cx-grid, .cx-projects, .cx-team { grid-template-columns: 1fr; }
	.cx-card { min-height: 0; padding: 24px 20px; }
	.cx-actions .cx-btn { width: 100%; }
	.cx-stats { gap: 16px; }
	.cx-cta { padding: 28px 20px; gap: 24px; }
	.cx-filters { flex-direction: column; align-items: flex-start; }
	.cx-footer__grid { grid-template-columns: 1fr; }
	.cx-assistant__text { display: none; }
	.cx-single__media { aspect-ratio: 4 / 3; }
	.cx-placeholder__name--xl { font-size: 32px; }
	.cx-crumbs--top { padding-top: 32px; }
}

/* ==========================================================================
   Blindaje frente al kit global de Elementor (.elementor-kit-N h1 / a / img / button…)
   Misma regla, más especificidad, para páginas construidas con Elementor.
   ========================================================================== */
body.cx-orbita .cx-h1, body.cx-orbita .cx-h2, body.cx-orbita .cx-card__title, body.cx-orbita .cx-step__title, body.cx-orbita .cx-quote__name, body.cx-orbita .cx-project__title, body.cx-orbita .cx-post__title, body.cx-orbita .cx-featured__title, body.cx-orbita .cx-member__name, body.cx-orbita .cx-login__title, body.cx-orbita .cx-item__title, body.cx-orbita .cx-logo__word { font-family: var(--cx-sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; color: var(--cx-white); line-height: 1; }
body.cx-orbita .cx-h1 { font-size: var(--cx-h1, 84px); line-height: .95; }
body.cx-orbita .cx-h2 { font-size: var(--cx-h2, 56px); line-height: .98; }
body.cx-orbita .cx-card__title { font-size: 26px; line-height: 1.05; }
body.cx-orbita .cx-card--sm .cx-card__title { font-size: 17px; line-height: 1.1; }
body.cx-orbita .cx-step__title { font-size: 30px; }
body.cx-orbita .cx-project__title { font-size: 20px; }
body.cx-orbita .cx-post__title { font-size: 22px; line-height: 1.1; }
body.cx-orbita .cx-featured__title { font-size: 36px; line-height: 1.02; }
body.cx-orbita .cx-member__name { font-size: 18px; }
body.cx-orbita .cx-quote__name { font-size: 16px; }
body.cx-orbita .cx-item__title { font-size: 20px; line-height: 1.1; }
body.cx-orbita .cx-list--num .cx-item__title { font-size: 22px; }
body.cx-orbita .cx-login__title { font-size: 36px; }
body.cx-orbita .cx-logo__word { font-size: 22px; letter-spacing: .04em; }
body.cx-orbita .cx-header a, body.cx-orbita .cx-footer a, body.cx-orbita .cx-nav__list a { color: var(--cx-muted); }
body.cx-orbita .cx-header a:hover, body.cx-orbita .cx-footer a:hover, body.cx-orbita .cx-nav__list a:hover, body.cx-orbita .cx-nav__list .current-menu-item > a, body.cx-orbita .cx-nav__list .current-menu-ancestor > a { color: var(--cx-white); }
body.cx-orbita .cx-logo, body.cx-orbita .cx-logo:hover, body.cx-orbita .cx-project, body.cx-orbita .cx-post, body.cx-orbita .cx-featured { color: var(--cx-white); }
body.cx-orbita .cx-footer__list a { color: var(--cx-text); }
body.cx-orbita .cx-label, body.cx-orbita .cx-card__link, body.cx-orbita .cx-link, body.cx-orbita .cx-post__cat, body.cx-orbita .cx-project__cat { color: var(--cx-green); }
body.cx-orbita .cx-btn--primary, body.cx-orbita .cx-btn--primary:hover { color: var(--cx-bg); }
body.cx-orbita .cx-btn--ghost { color: var(--cx-white); }
body.cx-orbita .cx-btn--ghost:hover { color: var(--cx-green); }
body.cx-orbita .cx-btn, body.cx-orbita .cx-filter, body.cx-orbita .cx-login input[type="submit"], body.cx-orbita .cx-search button { font-family: var(--cx-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
body.cx-orbita .cx-filter { font-size: 12px; }
body.cx-orbita .cx-btn--sm { font-size: 12px; }
body.cx-orbita .cx-btn--primary, body.cx-orbita .cx-login input[type="submit"] { background: var(--cx-green); border-color: var(--cx-green); }
body.cx-orbita .cx-btn--primary:hover, body.cx-orbita .cx-login input[type="submit"]:hover { background: var(--cx-white); border-color: var(--cx-white); }
body.cx-orbita .cx-btn--ghost { background: transparent; border-color: var(--cx-line-3); }
body.cx-orbita .cx-burger { background: none; }
body.cx-orbita img, body.cx-orbita .cx-project__thumb img, body.cx-orbita .cx-member__photo img, body.cx-orbita .cx-single__media img, body.cx-orbita .cx-featured__media img { border-radius: 0; }
body.cx-orbita .cx-prose img { border-radius: var(--cx-radius); }
body.cx-orbita .cx-login input[type="text"], body.cx-orbita .cx-login input[type="password"], body.cx-orbita .cx-search input { font-family: var(--cx-mono); font-size: 14px; color: var(--cx-white); background: var(--cx-bg-3); border: 1px solid var(--cx-line-2); border-radius: var(--cx-radius); }
body.cx-orbita p, body.cx-orbita .cx-section__text, body.cx-orbita .cx-lead { font-family: var(--cx-mono); }

/* Un <br> o <p> vacío colado por el editor nunca debe ocupar una celda. */
.cx-grid > br, .cx-team > br, .cx-projects > br, .cx-process > br, .cx-list > br, .cx-split > br, .cx-hero__aside > br, .cx-hero__main > br, .cx-container > br, .cx-section > br,
.cx-grid > p:empty, .cx-team > p:empty, .cx-projects > p:empty, .cx-process > p:empty, .cx-list > p:empty, .cx-split > p:empty, .cx-hero__aside > p:empty, .cx-container > p:empty { display: none; }

/* ==========================================================================
   Móvil y tablet — va al final para ganar a las reglas de blindaje de arriba.
   ========================================================================== */
@media (max-width: 1200px) {
	body.cx-orbita .cx-h1 { font-size: min(var(--cx-h1, 84px), 64px); }
	body.cx-orbita .cx-h2 { font-size: min(var(--cx-h2, 56px), 44px); }
}
@media (max-width: 960px) {
	body.cx-orbita .cx-h1 { font-size: min(var(--cx-h1, 84px), 52px); line-height: 1; }
	body.cx-orbita .cx-h2 { font-size: min(var(--cx-h2, 56px), 38px); line-height: 1.02; }
	body.cx-orbita .cx-card__title { font-size: 22px; }
	body.cx-orbita .cx-step__title { font-size: 24px; }
	body.cx-orbita .cx-featured__title { font-size: 28px; }
	body.cx-orbita .cx-lead { font-size: 16px; }
	body.cx-orbita .cx-section__text { font-size: 14px; }
	body.cx-orbita .cx-hero { padding: 48px 0 56px; }
	body.cx-orbita .cx-section { padding: 64px 0; }
	body.cx-orbita .cx-cta { padding: 40px 32px; }
	body.cx-orbita .cx-cta .cx-h2 { font-size: 30px; }
}
@media (max-width: 600px) {
	:root { --cx-gutter: 16px; }
	body.cx-orbita { font-size: 14px; }
	body.cx-orbita .cx-h1 { font-size: clamp(28px, 8.4vw, 36px); line-height: 1.02; letter-spacing: -.02em; }
	body.cx-orbita .cx-h2 { font-size: clamp(22px, 6.8vw, 28px); line-height: 1.05; }
	body.cx-orbita .cx-h2--sm, body.cx-orbita .cx-cta .cx-h2 { font-size: 24px; }
	body.cx-orbita .cx-label { font-size: 11px; letter-spacing: .14em; }
	body.cx-orbita .cx-lead { font-size: 14px; line-height: 1.55; }
	body.cx-orbita .cx-section__text { font-size: 13px; line-height: 1.6; }
	body.cx-orbita .cx-hero { padding: 36px 0 44px; }
	body.cx-orbita .cx-hero--tight { padding: 16px 0 32px; }
	body.cx-orbita .cx-hero__main { gap: 20px; }
	body.cx-orbita .cx-hero__grid { gap: 28px; }
	body.cx-orbita .cx-section { padding: 48px 0; }
	body.cx-orbita .cx-section__head { margin-bottom: 24px; gap: 12px; }
	body.cx-orbita .cx-section__titles { gap: 12px; }
	body.cx-orbita .cx-stats { gap: 10px 20px; font-size: 11px; }
	body.cx-orbita .cx-actions { gap: 10px; }
	body.cx-orbita .cx-actions .cx-btn { width: 100%; }
	body.cx-orbita .cx-btn { padding: 14px 18px; font-size: 12px; min-height: 46px; }
	body.cx-orbita .cx-btn--sm { padding: 11px 14px; font-size: 11px; min-height: 40px; }
	body.cx-orbita .cx-header__in { height: 60px; }
	body.cx-orbita .cx-nav { top: 60px; padding: 16px var(--cx-gutter) 32px; }
	body.cx-orbita .cx-nav__list a { font-size: 14px; padding: 12px 0; }
	body.cx-orbita .cx-nav__actions--mobile { flex-direction: column; margin-top: 8px; }
	body.cx-orbita .cx-burger { width: 40px; height: 40px; }
	body.cx-orbita .cx-logo__word { font-size: 18px; }
	body.cx-orbita .cx-logo__tag { font-size: 7px; }
	body.cx-orbita .cx-term { font-size: 12px; }
	body.cx-orbita .cx-term__body { padding: 14px 12px; gap: 6px; }
	body.cx-orbita .cx-term__bar { padding: 8px 12px; font-size: 10px; }
	body.cx-orbita .cx-grid { gap: 10px; }
	body.cx-orbita .cx-grid:has(.cx-card--sm) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.cx-orbita .cx-card { padding: 20px 16px; gap: 14px; min-height: 0; }
	body.cx-orbita .cx-card--sm { padding: 14px 12px; gap: 6px; }
	body.cx-orbita .cx-card__title { font-size: 19px; }
	body.cx-orbita .cx-card--sm .cx-card__title { font-size: 14px; }
	body.cx-orbita .cx-card__text { font-size: 13px; }
	body.cx-orbita .cx-card--sm .cx-card__text { font-size: 12px; }
	body.cx-orbita .cx-card__num { font-size: 11px; }
	body.cx-orbita .cx-step { grid-template-columns: 56px 1fr; gap: 6px 12px; padding: 20px 0; }
	body.cx-orbita .cx-step__num { font-size: 11px; padding-top: 4px; }
	body.cx-orbita .cx-step__title { font-size: 19px; }
	body.cx-orbita .cx-step__text { font-size: 13px; }
	body.cx-orbita .cx-item { padding: 18px 0; gap: 4px 12px; }
	body.cx-orbita .cx-item__title, body.cx-orbita .cx-list--num .cx-item__title { font-size: 17px; }
	body.cx-orbita .cx-item__text { font-size: 13px; }
	body.cx-orbita .cx-list--num .cx-item { grid-template-columns: 36px 1fr; }
	body.cx-orbita .cx-quote { padding: 24px 20px; gap: 18px; }
	body.cx-orbita .cx-quote__mark { font-size: 36px; }
	body.cx-orbita .cx-quote__text { font-size: 14px; }
	body.cx-orbita .cx-quote__name { font-size: 15px; }
	body.cx-orbita .cx-cta { padding: 28px 20px; gap: 20px; }
	body.cx-orbita .cx-cta__text { font-size: 14px; }
	body.cx-orbita .cx-cta__side .cx-btn { width: 100%; }
	body.cx-orbita .cx-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	body.cx-orbita .cx-member__name { font-size: 14px; }
	body.cx-orbita .cx-member__role { font-size: 10px; }
	body.cx-orbita .cx-placeholder__ini { font-size: 28px; }
	body.cx-orbita .cx-placeholder__name { font-size: 20px; }
	body.cx-orbita .cx-placeholder__name--xl { font-size: 28px; }
	body.cx-orbita .cx-filters { padding: 20px 0; gap: 12px; margin-bottom: 16px; }
	body.cx-orbita .cx-filter { padding: 9px 12px; font-size: 11px; }
	body.cx-orbita .cx-projects { gap: 24px; }
	body.cx-orbita .cx-project__title { font-size: 18px; }
	body.cx-orbita .cx-project__cat { font-size: 10px; }
	body.cx-orbita .cx-facts { gap: 12px; }
	body.cx-orbita .cx-feat { font-size: 16px; padding: 18px 16px; }
	body.cx-orbita .cx-featured__body { padding: 20px 16px 24px; gap: 12px; }
	body.cx-orbita .cx-featured__title { font-size: 22px; }
	body.cx-orbita .cx-featured__excerpt { font-size: 13px; }
	body.cx-orbita .cx-post { padding: 20px 0; }
	body.cx-orbita .cx-post__title { font-size: 18px; }
	body.cx-orbita .cx-post__excerpt { font-size: 13px; }
	body.cx-orbita .cx-prose { font-size: 15px; line-height: 1.75; }
	body.cx-orbita .cx-prose h2 { font-size: 24px; }
	body.cx-orbita .cx-prose h3 { font-size: 19px; }
	body.cx-orbita .cx-single__nav { flex-direction: column; gap: 12px; }
	body.cx-orbita .cx-crumbs { font-size: 11px; }
	body.cx-orbita .cx-login__title { font-size: 28px; }
	body.cx-orbita .cx-footer { padding: 40px 0 24px; }
	body.cx-orbita .cx-footer__grid { gap: 28px; }
	body.cx-orbita .cx-footer__bottom { margin-top: 32px; font-size: 10px; flex-direction: column; }
	body.cx-orbita .cx-assistant { left: 12px; bottom: 12px; padding: 10px 12px; }
}
@media (max-width: 380px) {
	body.cx-orbita .cx-h1 { font-size: 26px; }
	body.cx-orbita .cx-grid:has(.cx-card--sm) { grid-template-columns: 1fr; }
	body.cx-orbita .cx-team { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Menú móvil — corrección: el backdrop-filter de la cabecera convertía a la
   cabecera en contenedor del menú fijo y lo recortaba a 60 px de alto.
   ========================================================================== */
@media (max-width: 960px) {
	body.cx-orbita .cx-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cx-bg); }
	body.cx-orbita .cx-nav { position: fixed; top: 72px; right: 0; bottom: 0; left: 0; height: auto; width: auto; max-height: none; background: var(--cx-bg); padding: 16px var(--cx-gutter) 40px; display: none; flex-direction: column; gap: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 49; border-top: 1px solid var(--cx-line); }
	body.cx-orbita.cx-nav-open .cx-nav { display: flex; }
	body.cx-orbita.cx-nav-open { overflow: hidden; }
	body.cx-orbita .cx-nav__list { display: flex; flex-direction: column; gap: 0; width: 100%; }
	body.cx-orbita .cx-nav__list li { width: 100%; }
	body.cx-orbita .cx-nav__list a { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 12px 0; font-size: 15px; letter-spacing: .12em; color: var(--cx-text); border-bottom: 1px solid var(--cx-line); }
	body.cx-orbita .cx-nav__list .menu-item-has-children > a::after { content: '+'; color: var(--cx-green); font-size: 16px; }
	body.cx-orbita .cx-nav__list .menu-item-has-children.is-open > a::after { content: '–'; }
	body.cx-orbita .cx-nav__list .sub-menu { position: static; display: none; min-width: 0; border: 0; background: transparent; padding: 0 0 8px 16px; flex-direction: column; }
	body.cx-orbita .cx-nav__list li.is-open > .sub-menu { display: flex; }
	body.cx-orbita .cx-nav__list li:hover > .sub-menu, body.cx-orbita .cx-nav__list li:focus-within > .sub-menu { display: none; }
	body.cx-orbita .cx-nav__list li.is-open:hover > .sub-menu, body.cx-orbita .cx-nav__list li.is-open:focus-within > .sub-menu { display: flex; }
	body.cx-orbita .cx-nav__list .sub-menu a { font-size: 14px; text-transform: none; letter-spacing: .04em; min-height: 44px; padding: 10px 0; color: var(--cx-muted); }
	body.cx-orbita .cx-nav__list .sub-menu li:last-child a { border-bottom: 0; }
	body.cx-orbita .cx-nav__actions--mobile { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
	body.cx-orbita .cx-nav__actions--mobile .cx-btn { display: inline-flex; width: 100%; }
	body.cx-orbita .cx-nav__actions > .cx-btn { display: none; }
	body.cx-orbita .cx-burger { display: inline-flex; }
	body.cx-orbita.admin-bar .cx-nav { top: 118px; }
}
@media (max-width: 782px) {
	body.cx-orbita.admin-bar .cx-nav { top: 106px; }
}
@media (max-width: 600px) {
	body.cx-orbita .cx-nav { top: 60px; }
	body.cx-orbita.admin-bar .cx-nav { top: 106px; }
}
