/* S1 · Shell v2: base de componentes (botón, kicker, cabecera de sección, marca, header, footer, chip, buscador) y
   utilidades de motion (reveal, hover de tarjeta, marquee). Fuente: biblioteca Pencil cmp/* (gp-smart-growth.pen).
   Las clases antiguas gp-header y gp-footer de components.css NO colisionan: los componentes nuevos usan prefijo .cmp-.
   Sin hex propios salvo el logo (SVG de marca). Medidas = Pencil a 1440 / 390; entre medias, fluido (1100 / 781 / 700). */

:root {
  --cmp-sheet: var(--wp--custom--gp--surface-sheet);
  --cmp-sheet-2: var(--wp--custom--gp--surface-sheet-2);
  --cmp-sheet-3: var(--wp--custom--gp--surface-sheet-3);
  --cmp-paper: var(--wp--custom--gp--surface-paper);
  --cmp-paper-2: var(--wp--custom--gp--surface-paper-2);
  --cmp-field: var(--wp--custom--gp--surface-field);
  --cmp-text: var(--wp--custom--gp--text-body);
  --cmp-muted: var(--wp--custom--gp--text-muted);
  --cmp-on-sheet: var(--wp--custom--gp--text-on-sheet);
  --cmp-on-sheet-muted: var(--wp--custom--gp--text-muted-on-sheet);
  --cmp-on-sheet-soft: var(--wp--custom--gp--text-muted-on-sheet-soft);
  --cmp-nav: var(--wp--custom--gp--text-nav-on-sheet);
  --cmp-route: var(--wp--custom--gp--accent-route);
  --cmp-route-hover: var(--wp--custom--gp--accent-route-hover);
  --cmp-route-deep: var(--wp--custom--gp--accent-route-deep);
  --cmp-route-ink: var(--wp--custom--gp--accent-route-ink);
  --cmp-marker: var(--wp--custom--gp--accent-marker);
  --cmp-marker-deep: var(--wp--custom--gp--accent-marker-deep);
  --cmp-line: var(--wp--custom--gp--line-hairline);
  --cmp-line-strong: var(--wp--custom--gp--line-hairline-strong);
  --cmp-line-field: var(--wp--custom--gp--line-field);
  --cmp-line-sheet: var(--wp--custom--gp--line-hairline-on-sheet);
  --cmp-line-sheet-strong: var(--wp--custom--gp--line-hairline-on-sheet-strong);
  --cmp-danger: var(--wp--custom--gp--state-danger);
  --cmp-focus: var(--wp--custom--gp--state-focus-on-paper);
  --cmp-focus-sheet: var(--wp--custom--gp--state-focus-on-sheet);
  --cmp-ease: var(--wp--custom--gp--easing-enter);
  --cmp-font-display: var(--wp--custom--gp--font-display);
  --cmp-font-body: var(--wp--custom--gp--font-body);
  --cmp-font-mono: var(--wp--custom--gp--font-mono);
  /* contenedor de página de Pencil: 1312 de contenido + gutter fluido (64 en 1440, 24 en 390) */
  --cmp-wrap-max: calc(1312px + 2 * var(--gp-gutter-px, 64px));
}

/* ───────── utilidades ───────── */
.gp-icon { display: block; flex: none; }
/* theme.css fija p{max-width:66ch}: dentro de los componentes la medida la decide el contenedor (especificidad 0,0,1; gana el orden) */
:where([class*="cmp-"]) p { max-width: none; }
.cmp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* foco sobre fondo tinta: lima (gp-state-focus-on-sheet) en cualquier componente oscuro */
.cmp-dark :where(a, button, input, select, textarea):focus-visible { outline-color: var(--cmp-focus-sheet); }
/* el logo y los textos de los componentes no heredan el interlineado 1.65 del body */
[class^="cmp-"], [class*=" cmp-"] { line-height: normal; }

/* ───────── Botón (cmp/Boton/*) ───────── */
.cmp-boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px;
  font: 600 15px/18px var(--cmp-font-body); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.cmp-boton__etiqueta { display: block; }
.cmp-boton__icono { display: flex; transition: transform 180ms ease; }
.cmp-boton:hover .cmp-boton__icono, .cmp-boton:focus-visible .cmp-boton__icono { transform: translateX(4px); }
.cmp-boton-primario { background: var(--cmp-route); border-color: var(--cmp-route); color: var(--cmp-route-ink); }
.cmp-boton-primario:hover, .cmp-boton-primario:focus-visible { background: var(--cmp-route-hover); border-color: var(--cmp-route-hover); color: var(--cmp-route-ink); }
.cmp-boton-secundario-oscuro { background: transparent; border-color: var(--cmp-line-sheet-strong); color: var(--cmp-on-sheet); }
.cmp-boton-secundario-oscuro:hover, .cmp-boton-secundario-oscuro:focus-visible { border-color: var(--cmp-on-sheet); color: var(--cmp-on-sheet); }
.cmp-boton-secundario-claro { background: transparent; border-color: var(--cmp-line-field); color: var(--cmp-sheet); }
.cmp-boton-secundario-claro:hover, .cmp-boton-secundario-claro:focus-visible { border-color: var(--cmp-sheet); color: var(--cmp-sheet); }
.cmp-boton-enlace { white-space: normal; text-align: left; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--cmp-route-deep); }
.cmp-boton-enlace:hover, .cmp-boton-enlace:focus-visible { color: var(--cmp-route-deep); text-decoration: underline; text-underline-offset: 4px; }
.cmp-boton-primario-ancho, .cmp-boton-secundario-oscuro-ancho, .cmp-boton.cmp-boton-ancho { width: 100%; }
.cmp-boton.is-disabled, .cmp-boton:disabled { opacity: .7; cursor: not-allowed; pointer-events: none; }
/* estados de botón de formulario (reposo · enviando · éxito): iconos y etiqueta los cambia 20-forms.js */
.cmp-boton__icono--cargando, .cmp-boton__icono--ok { display: none; }
.cmp-boton.is-loading { background: var(--cmp-route-hover); border-color: var(--cmp-route-hover); cursor: progress; }
.cmp-boton.is-loading .cmp-boton__icono--reposo, .cmp-boton.is-success .cmp-boton__icono--reposo { display: none; }
.cmp-boton.is-loading .cmp-boton__icono--cargando { display: flex; animation: cmp-giro 1s linear infinite; }
.cmp-boton.is-success { background: var(--cmp-marker); border-color: var(--cmp-marker); }
.cmp-boton.is-success .cmp-boton__icono--ok { display: flex; }
.cmp-boton.is-loading:hover .cmp-boton__icono, .cmp-boton.is-success:hover .cmp-boton__icono { transform: none; }
@keyframes cmp-giro { to { transform: rotate(360deg); } }

/* ───────── Kicker (cmp/Kicker, cmp/Kicker/Oscuro) ───────── */
.cmp-kicker { display: inline-flex; align-items: center; gap: 12px; }
.cmp-kicker__marcador { width: 8px; height: 8px; flex: none; background: var(--cmp-marker-deep); }
.cmp-kicker__rotulo { font: 500 11px/13px var(--cmp-font-mono); letter-spacing: 1.1px; color: var(--cmp-route-deep); }
.cmp-kicker-oscuro .cmp-kicker__marcador { background: var(--cmp-marker); }
.cmp-kicker-oscuro .cmp-kicker__rotulo { color: var(--cmp-marker); }
.cmp-dark .cmp-kicker .cmp-kicker__marcador { background: var(--cmp-marker); }
.cmp-dark .cmp-kicker .cmp-kicker__rotulo { color: var(--cmp-marker); }

/* ───────── Cabecera de sección (cmp/Cabecera-seccion/*) ───────── */
.cmp-cabecera { display: flex; flex-direction: column; gap: var(--gp-stack-lede, 32px); max-width: var(--cmp-cab-w, 640px); }
.cmp-cabecera__texto { display: flex; flex-direction: column; gap: var(--gp-stack-title, 20px); }
.cmp-cabecera__titulo { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gp-stack-kicker, 16px); }
.cmp-cabecera__h { margin: 0; font: 600 var(--gp-fs-display-2, 44px)/1.1 var(--cmp-font-display); letter-spacing: -.8px; color: var(--cmp-sheet); }
.cmp-cabecera__lede { margin: 0; font: 400 var(--gp-fs-lede, 20px)/1.58 var(--cmp-font-body); color: var(--cmp-muted); }
.cmp-cabecera-oscuro .cmp-cabecera__h { color: var(--cmp-on-sheet); }
.cmp-cabecera-oscuro .cmp-cabecera__lede { color: var(--cmp-on-sheet-muted); }
.cmp-cabecera__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cmp-m-solo { display: none; }
@media (max-width: 700px) {
  .cmp-d-solo { display: none; }
  .cmp-m-solo { display: inline; }
  .cmp-cabecera__acciones { flex-direction: column; align-items: stretch; gap: 12px; }
  .cmp-cabecera__acciones .cmp-boton { width: 100%; }
}

/* ───────── Marca (cmp/Marca) ───────── */
.cmp-marca { display: inline-flex; align-items: center; gap: 12px; color: var(--cmp-on-sheet); text-decoration: none; flex: none; }
.cmp-marca__grafica { display: block; width: 38px; height: 38px; flex: none; }
.cmp-marca__palabra { display: flex; flex-direction: column; gap: 4px; }
.cmp-marca__nombre { font: 600 15px/19px var(--cmp-font-display); letter-spacing: 1.1px; color: var(--cmp-on-sheet); }
.cmp-marca__sector { font: 500 11px/13px var(--cmp-font-mono); letter-spacing: 2.5px; color: var(--cmp-on-sheet-soft); }

/* ───────── Header (cmp/Header/Desktop + Movil) ───────── */
header.wp-block-template-part { position: sticky; top: 0; z-index: 999; }
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.cmp-header { position: relative; background: #0b1f3a; color: var(--cmp-on-sheet); box-shadow: inset 0 -1px 0 var(--cmp-line-sheet); }
.cmp-header__inner { box-sizing: border-box; width: 100%; max-width: var(--cmp-wrap-max); height: 74px; margin: 0 auto; padding: 0 var(--gp-gutter-px, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cmp-header__nav { align-self: stretch; display: flex; }
.cmp-header__lista { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.cmp-header__item { position: relative; display: flex; align-items: center; height: 100%; margin: 0; }
.cmp-header__enlace { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--cmp-nav); font: 500 15px/18px var(--cmp-font-body); text-decoration: none; cursor: pointer; transition: color 160ms ease; }
.cmp-header__enlace:hover, .cmp-header__enlace:focus-visible, .cmp-header__enlace.is-active { color: var(--cmp-on-sheet); }
.cmp-header__enlace.is-active { font-weight: 600; }
/* Entrada de menú todavía sin página (Recursos): mismo aspecto, sin cursor de enlace */
.cmp-header__enlace:not([href]):not(button) { cursor: default; }
.cmp-header__sub-boton .gp-icon { transition: transform 160ms ease; }
.cmp-header__item--sub.is-open .cmp-header__sub-boton .gp-icon { transform: rotate(180deg); }
.cmp-header__sub { display: none; position: absolute; top: 100%; left: -16px; z-index: 5; min-width: 340px; margin: 0; padding: 8px; list-style: none; background: var(--cmp-sheet-3); border: 1px solid var(--cmp-line-sheet-strong); border-radius: 6px; box-shadow: var(--wp--custom--gp--shadow-dropdown); }
.cmp-header__item--sub.is-open .cmp-header__sub { display: block; }
.cmp-header__sub li { margin: 0; }
.cmp-header__sub-enlace { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 2px; color: var(--cmp-on-sheet); text-decoration: none; transition: background-color 160ms ease; }
.cmp-header__sub-enlace:hover, .cmp-header__sub-enlace:focus-visible { background: var(--cmp-line-sheet); }
.cmp-header__sub-titulo { font: 600 15px/18px var(--cmp-font-body); }
.cmp-header__sub-desc { font: 400 13px/20px var(--cmp-font-body); color: var(--cmp-on-sheet-muted); }
.cmp-header__acciones { display: flex; align-items: center; gap: 16px; flex: none; }
.cmp-header__icono-boton { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--cmp-line-sheet-strong); border-radius: 2px; background: transparent; color: var(--cmp-on-sheet); cursor: pointer; transition: border-color 160ms ease; }
.cmp-header__icono-boton:hover, .cmp-header__icono-boton[aria-expanded="true"] { border-color: var(--cmp-on-sheet); }
.cmp-header__menu { display: none; }
.cmp-header__menu-cerrar { display: none; }
.cmp-header__menu[aria-expanded="true"] .cmp-header__menu-abrir { display: none; }
.cmp-header__menu[aria-expanded="true"] .cmp-header__menu-cerrar { display: flex; }
.cmp-header__menu-abrir { display: flex; }
.cmp-header__item--cta { display: none; }
.cmp-header__panel-buscar { position: absolute; left: 0; right: 0; top: 100%; z-index: 4; background: #0b1f3a; border-bottom: 1px solid var(--cmp-line-sheet); box-shadow: var(--wp--custom--gp--shadow-dropdown); }
.cmp-header__panel-inner { box-sizing: border-box; max-width: var(--cmp-wrap-max); margin: 0 auto; padding: 16px var(--gp-gutter-px, 64px) 24px; }
.cmp-header__panel-inner .cmp-buscador { max-width: 640px; }

/* menú móvil a pantalla completa (≤1100: el nav de escritorio ya no cabe) */
@media (max-width: 1100px) {
  .cmp-header__cta { display: none; }
  .cmp-header__menu { display: inline-flex; }
  .cmp-header__acciones { gap: 8px; }
  .cmp-header__nav { display: none; }
  .cmp-header.is-menu-open .cmp-header__nav { display: block; position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; top: var(--cmp-header-bottom, 74px); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 8px var(--gp-gutter-px, 24px) calc(32px + env(safe-area-inset-bottom)); background: #0b1f3a; }
  .cmp-header__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .cmp-header__item { display: block; height: auto; border-bottom: 1px solid var(--cmp-line-sheet); }
  .cmp-header__enlace { width: 100%; min-height: 60px; justify-content: space-between; color: var(--cmp-on-sheet); font: 600 var(--gp-fs-display-3, 22px)/1.15 var(--cmp-font-display); }
  .cmp-header__enlace.is-active::before { content: ""; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--cmp-marker); }
  .cmp-header__enlace.is-active { justify-content: flex-start; }
  .cmp-header__sub-boton.is-active { justify-content: space-between; }
  .cmp-header__sub-boton.is-active::before { display: none; }
  .cmp-header__sub-boton > span { margin-right: auto; }
  .cmp-header__sub { position: static; min-width: 0; padding: 0 0 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .cmp-header__sub-enlace { padding: 12px 0 12px 16px; border-left: 1px solid var(--cmp-line-sheet-strong); border-radius: 0; }
  .cmp-header__item--cta { display: block; margin-top: 24px; border: 0; }
  .cmp-header.is-menu-open .cmp-header__panel-buscar { display: none; }
}
html.cmp-menu-open { overflow: hidden; }
@media (max-width: 560px) {
  .cmp-header__inner { gap: 8px; }
  .cmp-marca { min-width: 0; }
}
/* ≤359: la marca (220px) + 2 botones de 44 no caben en 320 → marca compacta y gutter 16 (390+ no se toca) */
@media (max-width: 359px) {
  .cmp-header__inner { padding-inline: 16px; }
  .cmp-header__inner .cmp-marca { gap: 8px; }
  .cmp-header__inner .cmp-marca__nombre { font-size: 12px; letter-spacing: .5px; }
  .cmp-header__inner .cmp-marca__sector { letter-spacing: 1.5px; }
}

/* ───────── Buscador (cmp/Buscador) ───────── */
.cmp-buscador { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; margin: 0; padding: 0 16px; background: var(--cmp-field); border: 1px solid var(--cmp-line-field); border-radius: 2px; color: var(--cmp-muted); transition: border-color 160ms ease, box-shadow 160ms ease; }
.cmp-buscador:focus-within { border-color: var(--cmp-focus); box-shadow: inset 0 0 0 1px var(--cmp-focus); }
.cmp-dark .cmp-buscador:focus-within { border-color: var(--cmp-focus-sheet); box-shadow: inset 0 0 0 1px var(--cmp-focus-sheet); }
.cmp-buscador__icono { display: flex; }
.cmp-buscador__input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; color: var(--cmp-text); font: 400 15px/18px var(--cmp-font-body); -webkit-appearance: none; appearance: none; }
.cmp-buscador__input::placeholder { color: var(--cmp-muted); opacity: 1; }
.cmp-buscador__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cmp-buscador--lg { height: 56px; }
.cmp-buscador--lg .cmp-buscador__input { font-size: var(--gp-fs-body, 17px); }
@media (max-width: 700px) { .cmp-buscador--lg { height: 52px; } }

/* ───────── Chip de categoría (cmp/Chip/Categoria, -activo) ───────── */
.cmp-chip-categoria { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid var(--cmp-line-strong); border-radius: 999px; background: transparent; color: var(--cmp-text); font: 500 13px/16px var(--cmp-font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.cmp-chip-categoria:hover { background: var(--cmp-paper-2); color: var(--cmp-text); }
.cmp-chip-categoria__marcador { width: 8px; height: 8px; border-radius: 50%; background: var(--cmp-marker); }
.cmp-chip-categoria.is-active { background: var(--cmp-sheet); border-color: var(--cmp-sheet); color: var(--cmp-on-sheet); font-weight: 600; }
.cmp-chip-categoria.is-active:hover { background: var(--cmp-sheet); color: var(--cmp-on-sheet); }

/* ───────── Footer (cmp/Footer/Desktop + Movil) ───────── */
.cmp-footer { background: #0b1f3a; color: var(--cmp-on-sheet); }
.cmp-footer__inner { box-sizing: border-box; display: flex; flex-direction: column; gap: 32px; max-width: var(--cmp-wrap-max); margin: 0 auto; padding: 56px var(--gp-gutter-px, 64px) 24px; }
.cmp-footer__columnas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.cmp-footer__marca { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cmp-footer__descripcion { margin: 0; font: 400 15px/24px var(--cmp-font-body); color: var(--cmp-on-sheet-muted); }
.cmp-footer__redes { display: flex; gap: 8px; }
.cmp-footer__red { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--cmp-line-sheet-strong); border-radius: 2px; color: var(--cmp-on-sheet); transition: border-color 160ms ease; }
.cmp-footer__red:hover { border-color: var(--cmp-on-sheet); }
.cmp-footer__correo { margin: 0; font: 400 15px/18px var(--cmp-font-body); color: var(--cmp-nav); }
.cmp-footer__ejemplo { margin: 0; font: 500 11px/13px var(--cmp-font-mono); letter-spacing: .8px; color: var(--cmp-marker); }
.cmp-footer__col { display: flex; flex-direction: column; gap: 6px; }
/* Reparto equilibrado en escritorio: marca a la izquierda, Empresa centrada, Legal pegada al borde derecho */
.cmp-footer__col:not(.cmp-footer__col--legal) { align-items: center; }
.cmp-footer__col--legal { align-items: flex-end; }
.cmp-footer__encabezado { margin: 0; font: 500 11px/13px var(--cmp-font-mono); letter-spacing: 1.1px; color: var(--cmp-on-sheet-soft); }
.cmp-footer__lista { display: flex; flex-direction: column; margin: 0 0 -6px; padding: 0; list-style: none; }
.cmp-footer__lista li { margin: 0; }
/* hit area de 30px (+6 arriba/abajo) con el mismo ritmo visual que Pencil (texto 18 + gap 12) */
.cmp-footer__enlace { display: block; padding: 6px 0; color: var(--cmp-nav); font: 400 15px/18px var(--cmp-font-body); text-decoration: none; transition: color 160ms ease; }
.cmp-footer__enlace:hover, .cmp-footer__enlace:focus-visible { color: var(--cmp-on-sheet); }
/* Ítem del pie cuya página aún no existe: mismo ritmo, atenuado y sin aspecto de enlace */
.cmp-footer__enlace:not([href]) { color: var(--cmp-on-sheet-soft); cursor: default; }
.cmp-footer__pie { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--cmp-line-sheet); }
.cmp-footer__aviso { margin: 0; font: 400 13px/20px var(--cmp-font-body); color: var(--cmp-on-sheet-muted); }
.cmp-footer__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cmp-footer__copy, .cmp-footer__legal-inferior { margin: 0; font: 500 11px/13px var(--cmp-font-mono); letter-spacing: .8px; color: var(--cmp-on-sheet-soft); text-transform: uppercase; }
.cmp-footer__legal-inferior a { color: inherit; text-decoration: none; }
.cmp-footer__legal-inferior a:hover, .cmp-footer__legal-inferior a:focus-visible { color: var(--cmp-on-sheet); }
@media (max-width: 1100px) {
  .cmp-footer__columnas { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cmp-footer__marca { grid-column: span 6; order: 1; }
  .cmp-footer__col { grid-column: span 3; order: 3; }
  .cmp-footer__col:not(.cmp-footer__col--legal), .cmp-footer__col--legal { align-items: flex-start; }
}
@media (max-width: 700px) {
  .cmp-footer__inner { padding-top: 56px; }
  .cmp-footer__columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .cmp-footer__marca { grid-column: span 2; }
  .cmp-footer__col { grid-column: span 1; }
  .cmp-footer__col--legal { display: none; }
  .cmp-footer__barra { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .cmp-footer__legal-inferior { font: 400 13px/20px var(--cmp-font-body); letter-spacing: 0; text-transform: none; color: var(--cmp-nav); }
}

/* ───────── Motion (notas de motion de Pencil) ─────────
   Reveal: translateY 28px + opacity, 600ms ease-enter, stagger 90ms (lo calcula 30-motion.js). Solo se oculta con JS (html.gp-js);
   sin JS o con prefers-reduced-motion queda el estado final. Atributos: [data-reveal] (elemento) y [data-reveal-stagger] (sus hijos directos). */
[data-reveal], [data-reveal-stagger] > *, [data-hover-lift] {
  transition-property: opacity, transform, translate, box-shadow;
  transition-duration: var(--gp-duration-reveal, 600ms), var(--gp-duration-reveal, 600ms), var(--gp-duration-hover, 400ms), var(--gp-duration-hover, 400ms);
  transition-timing-function: var(--cmp-ease);
  transition-delay: var(--gp-reveal-delay, 0ms), var(--gp-reveal-delay, 0ms), 0ms, 0ms;
}
html.gp-js [data-reveal]:not(.is-revealed), html.gp-js [data-reveal-stagger] > *:not(.is-revealed) { opacity: 0; transform: translateY(var(--gp-reveal-distance, 28px)); }
/* red de seguridad: si 30-motion.js no llega a arrancar (no pone gp-reveal-ok), a los 3 s todo se muestra */
html.gp-js:not(.gp-reveal-ok) [data-reveal]:not(.is-revealed), html.gp-js:not(.gp-reveal-ok) [data-reveal-stagger] > *:not(.is-revealed) { animation: gp-reveal-failsafe 0s linear 3s forwards; }
@keyframes gp-reveal-failsafe { to { opacity: 1; transform: none; } }
/* hover de tarjeta: lift -4px y zoom de imagen 1.05 (400ms). [data-hover-lift] en la tarjeta; [data-hover-zoom] en el contenedor de imagen. */
[data-hover-lift]:hover, [data-hover-lift]:focus-within { translate: 0 var(--gp-hover-lift, -4px); }
[data-hover-zoom] { overflow: hidden; }
[data-hover-zoom] > img, [data-hover-zoom] > picture img { transition: transform var(--gp-duration-zoom, 400ms) var(--cmp-ease); }
[data-hover-lift]:hover [data-hover-zoom] > img, [data-hover-lift]:focus-within [data-hover-zoom] > img, [data-hover-zoom]:hover > img { transform: scale(var(--gp-image-zoom, 1.05)); }
/* marquee lento y pausable: 30-motion.js envuelve los hijos de [data-marquee] en .gp-marquee__track y duplica el contenido */
[data-marquee] { overflow: hidden; }
.gp-marquee__track { display: flex; width: max-content; animation: gp-marquee var(--gp-marquee-duration, 40s) linear infinite; }
@keyframes gp-marquee { to { transform: translateX(-50%); } }
[data-marquee]:hover .gp-marquee__track, [data-marquee]:focus-within .gp-marquee__track, [data-marquee].is-paused .gp-marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > *, [data-hover-lift] { opacity: 1 !important; transform: none !important; translate: none !important; transition: none !important; animation: none !important; }
  [data-hover-zoom] > img, [data-hover-zoom] > picture img { transform: none !important; transition: none !important; }
  .gp-marquee__track { animation: none; transform: none; }
  .cmp-boton, .cmp-boton__icono { transition: none; }
  .cmp-boton:hover .cmp-boton__icono, .cmp-boton:focus-visible .cmp-boton__icono { transform: none; }
  .cmp-boton.is-loading .cmp-boton__icono--cargando { animation: none; }
}

@supports (line-height: round(1.5em, 1px)) {
  .cmp-cabecera__h { line-height: round(1.1em, 1px); }
  .cmp-cabecera__lede { line-height: round(1.58em, 1px); }
}

/* footer móvil (Pencil: sin correo/ejemplo; título de newsletter 17/20) */
@media (max-width: 700px) {
  .cmp-footer__correo, .cmp-footer__ejemplo { display: none; }
  .cmp-footer .cmp-newsletter-compacto__titulo { font-size: 17px; line-height: 20px; }
}

/* theme.css equilibra los titulares (text-wrap: balance); Pencil no: los de los componentes S1 envuelven normal */
.cmp-cabecera__h, .cmp-cta-banda__h, .cmp-cta-en-articulo__h, .cmp-cta-lateral__h, .cmp-newsletter-banda__h, .cmp-newsletter-lateral__h, .cmp-newsletter-compacto__titulo, .cmp-lead-magnet-tarjeta__h, .cmp-cta-lead-magnet-en-articulo__h, .cmp-formulario-auditoria__h, .cmp-form__exito-titulo { text-wrap: wrap; }
