/* ==========================================================================
   TICSOP: hoja de estilos del tema
   --------------------------------------------------------------------------
   1. Variables (colores, tipografía, medidas)
   2. Tipografías y base
   3. Utilidades y botones
   4. Encabezado y navegación
   5. Elementor: base, botones, listas e iconos
   6. Elementor: secciones y componentes (clases tk-*)
   7. Blog, páginas de texto y 404
   8. Formulario y datos de contacto
   9. Pie de página y WhatsApp
   10. Movimiento y efectos
   --------------------------------------------------------------------------
   Todas las reglas llevan "body.ticsop" para imponerse a los estilos globales
   del kit de Elementor sin usar !important. Lo que se cambie en un elemento
   desde el editor de Elementor sigue teniendo prioridad sobre este archivo.
   ========================================================================== */

/* 1. Variables ============================================================ */

:root {
	/* Colores de marca */
	--tk-ink: #0b1a2c;        /* Azul tinta: encabezado, portadas, pie */
	--tk-ink-2: #13283f;      /* Azul tinta claro: superficies sobre tinta */
	--tk-cobalt: #1d4ed8;     /* Cobalto: enlaces e iconos */
	--tk-amber: #f5b700;      /* Ámbar señal: acción principal */
	--tk-amber-2: #ffcd38;    /* Ámbar al pasar el cursor */
	--tk-paper: #f3f5f7;      /* Blanco suave: fondo general */
	--tk-card: #fafbfc;       /* Superficie de tarjetas y campos */
	--tk-mist: #e8ecf1;       /* Bruma: fondo alterno */
	--tk-line: #d2d9e2;       /* Líneas divisorias */
	--tk-field: #7c8ca0;      /* Borde de campos de formulario */

	/* Colores de texto (cambian dentro de .tk-dark) */
	--tk-heading: var(--tk-ink);
	--tk-body: #44556a;
	--tk-link: var(--tk-cobalt);
	--tk-surface: var(--tk-card);
	--tk-rule: var(--tk-line);

	/* Tipografía */
	--tk-font-head: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
	--tk-font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	/* Medidas */
	--tk-max: 1180px;
	--tk-narrow: 760px;
	--tk-gutter: clamp(20px, 4vw, 40px);
	--tk-section: clamp(64px, 9vw, 128px);
	--tk-radius: 6px;
	--tk-radius-lg: 12px;
	--tk-header-h: 76px;
}

.tk-dark {
	--tk-heading: #ffffff;
	--tk-body: #b9c6d6;
	--tk-link: #ffffff;
	--tk-surface: var(--tk-ink-2);
	--tk-rule: rgba(255, 255, 255, 0.16);
}

/* 2. Tipografías y base =================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2");
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.ticsop {
	margin: 0;
	background: var(--tk-paper);
	color: var(--tk-body);
	font-family: var(--tk-font-body);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;

	/* Los colores y fuentes globales de Elementor apuntan a los del tema. */
	--e-global-color-primary: var(--tk-heading);
	--e-global-color-secondary: var(--tk-body);
	--e-global-color-text: var(--tk-body);
	--e-global-color-accent: var(--tk-amber);
	--e-global-typography-primary-font-family: "Archivo";
	--e-global-typography-primary-font-weight: 650;
	--e-global-typography-secondary-font-family: "Archivo";
	--e-global-typography-secondary-font-weight: 600;
	--e-global-typography-text-font-family: "IBM Plex Sans";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "IBM Plex Sans";
	--e-global-typography-accent-font-weight: 600;
}

body.ticsop .tk-dark {
	--e-global-color-primary: var(--tk-heading);
	--e-global-color-secondary: var(--tk-body);
	--e-global-color-text: var(--tk-body);
	color: var(--tk-body);
}

/* Elementor pinta cada widget con sus colores y fuentes globales, también dentro del
   editor. Por eso las variantes del tema se logran cambiando esas variables justo en
   el elemento que las usa: así el editor y el sitio publicado se ven igual. */
body.ticsop :is(.elementor-icon-box-icon, .elementor-icon-list-icon) {
	--e-global-color-primary: var(--tk-cobalt);
}

body.ticsop .tk-dark :is(.elementor-icon-box-icon, .elementor-icon-list-icon) {
	--e-global-color-primary: var(--tk-amber);
}

body.ticsop .elementor-widget-button:hover,
body.ticsop .elementor-widget-button:focus-within {
	--e-global-color-accent: var(--tk-amber-2);
}

body.ticsop :is(.tk-ghost, .tk-link),
body.ticsop :is(.tk-ghost, .tk-link):hover,
body.ticsop :is(.tk-ghost, .tk-link):focus-within {
	--e-global-color-accent: transparent;
}

body.ticsop img,
body.ticsop svg,
body.ticsop video {
	max-width: 100%;
	height: auto;
}

body.ticsop :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: var(--tk-heading);
	font-family: var(--tk-font-head);
	font-weight: 650;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

body.ticsop h1,
body.ticsop .elementor-widget-heading h1.elementor-heading-title {
	font-size: clamp(2.35rem, 5.4vw, 4.1rem);
	line-height: 1.04;
	letter-spacing: -0.028em;
}

body.ticsop h2,
body.ticsop .elementor-widget-heading h2.elementor-heading-title {
	font-size: clamp(1.75rem, 3.3vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -0.022em;
}

body.ticsop h3,
body.ticsop .elementor-widget-heading h3.elementor-heading-title {
	font-size: 1.25rem;
	line-height: 1.25;
}

body.ticsop h4,
body.ticsop .elementor-widget-heading h4.elementor-heading-title {
	font-size: 1.0625rem;
	line-height: 1.3;
}

body.ticsop p {
	margin: 0 0 1em;
}

body.ticsop p:last-child {
	margin-bottom: 0;
}

body.ticsop a {
	color: var(--tk-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.ticsop :focus-visible {
	outline: 2px solid var(--tk-amber);
	outline-offset: 3px;
	border-radius: 2px;
}

body.ticsop ::selection {
	background: var(--tk-amber);
	color: var(--tk-ink);
}

body.ticsop [id] {
	scroll-margin-top: calc(var(--tk-header-h) + 24px);
}

/* 3. Utilidades y botones ================================================= */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.ticsop .tk-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--tk-amber);
	color: var(--tk-ink);
	font-weight: 600;
	border-radius: var(--tk-radius);
}

body.ticsop .tk-skip:focus {
	top: 12px;
}

.tk-container {
	width: 100%;
	max-width: calc(var(--tk-max) + 2 * var(--tk-gutter));
	margin-inline: auto;
	padding-inline: var(--tk-gutter);
}

.tk-container--narrow {
	max-width: calc(var(--tk-narrow) + 2 * var(--tk-gutter));
}

.tk-block {
	padding-block: clamp(48px, 7vw, 88px);
}

.tk-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

/* Botón del tema, botón de Elementor y botones de WordPress (buscar, comentar) comparten aspecto. */
body.ticsop .tk-btn,
body.ticsop .search-submit,
body.ticsop .comment-form .submit,
body.ticsop .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--tk-radius);
	background-color: var(--tk-amber);
	color: var(--tk-ink);
	fill: var(--tk-ink);
	font-family: var(--tk-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
		transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

body.ticsop .tk-btn:hover,
body.ticsop .tk-btn:focus-visible,
body.ticsop .search-submit:hover,
body.ticsop .comment-form .submit:hover,
body.ticsop .elementor-button:hover,
body.ticsop .elementor-button:focus-visible {
	background-color: var(--tk-amber-2);
	color: var(--tk-ink);
}

body.ticsop .elementor-widget-button .elementor-button,
body.ticsop .elementor-widget-button .elementor-button:hover,
body.ticsop .elementor-widget-button .elementor-button:focus-visible {
	background-color: var(--e-global-color-accent);
}

/* Variante secundaria: contorno. En Elementor, clase CSS "tk-ghost" en el botón. */
body.ticsop .tk-btn--ghost,
body.ticsop .tk-ghost .elementor-button {
	background: transparent;
	border-color: var(--tk-field);
	color: var(--tk-heading);
	fill: var(--tk-heading);
}

body.ticsop .tk-btn--ghost:hover,
body.ticsop .tk-btn--ghost:focus-visible,
body.ticsop .tk-ghost .elementor-button:hover,
body.ticsop .tk-ghost .elementor-button:focus-visible {
	background: transparent;
	border-color: var(--tk-heading);
	color: var(--tk-heading);
}

/* Variante enlace: clase CSS "tk-link" en el botón de Elementor. */
body.ticsop .tk-textlink,
body.ticsop .tk-link .elementor-button {
	display: inline;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--tk-link);
	fill: var(--tk-link);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--tk-amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

body.ticsop .tk-textlink:hover,
body.ticsop .tk-link .elementor-button:hover,
body.ticsop .tk-link .elementor-button:focus-visible {
	background: none;
	color: var(--tk-link);
	text-decoration-color: currentColor;
}

/* 4. Encabezado y navegación ============================================== */

body.ticsop .tk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--tk-ink);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	view-transition-name: tk-header;
}

body.ticsop .tk-header.is-scrolled {
	background: rgba(11, 26, 44, 0.93);
	border-bottom-color: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(14px) saturate(150%);
	backdrop-filter: blur(14px) saturate(150%);
}

body.ticsop.admin-bar .tk-header {
	top: 32px;
}

.tk-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--tk-header-h);
}

body.ticsop .tk-brand img,
body.ticsop .tk-footer__brand img {
	display: block;
	width: auto;
	max-width: 200px;
	height: auto;
	max-height: 44px;
}

body.ticsop .tk-brand__text {
	color: #ffffff;
	font-family: var(--tk-font-head);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.tk-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

body.ticsop .tk-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ticsop .tk-menu li {
	position: relative;
}

body.ticsop .tk-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--tk-radius);
	color: #d5deea;
	font-size: 0.9688rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

body.ticsop .tk-menu a:hover,
body.ticsop .tk-menu .current-menu-item > a,
body.ticsop .tk-menu .current_page_item > a,
body.ticsop .tk-menu .current-menu-ancestor > a,
body.ticsop .tk-menu .current_page_parent > a {
	color: #ffffff;
}

/* Submenús (un nivel) */
body.ticsop .tk-menu .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--tk-ink-2);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--tk-radius);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, visibility 0.15s;
}

body.ticsop .tk-menu li:hover > .sub-menu,
body.ticsop .tk-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

body.ticsop .tk-navtoggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--tk-radius);
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.tk-navtoggle__close,
.tk-navtoggle__open {
	display: flex;
}

.tk-navtoggle[aria-expanded="false"] .tk-navtoggle__close,
.tk-navtoggle[aria-expanded="true"] .tk-navtoggle__open {
	display: none;
}

@media (max-width: 1024px) {
	/* Sin JavaScript el menú queda desplegado bajo el logotipo; con JavaScript se pliega. */
	.tk-header__bar {
		flex-wrap: wrap;
	}

	.tk-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		width: 100%;
		padding-bottom: 20px;
	}

	body.ticsop .tk-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	body.ticsop .tk-menu a {
		padding: 14px 4px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 0;
		font-size: 1.0625rem;
	}

	body.ticsop .tk-menu .sub-menu {
		position: static;
		padding: 0 0 0 16px;
		border: 0;
		background: none;
		opacity: 1;
		visibility: visible;
	}

	.tk-js body.ticsop .tk-navtoggle {
		display: inline-flex;
	}

	.tk-js .tk-nav {
		display: none;
	}

	.tk-js.tk-nav-open .tk-nav {
		display: flex;
		max-height: calc(100vh - var(--tk-header-h));
		max-height: calc(100dvh - var(--tk-header-h));
		overflow-y: auto;
	}
}

@media (max-width: 782px) {
	body.ticsop.admin-bar .tk-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.ticsop.admin-bar .tk-header {
		top: 0;
	}
}

/* 5. Elementor: base, botones, listas e iconos ============================ */

body.ticsop .e-con {
	--container-max-width: var(--tk-max);
}

body.ticsop .elementor-widget-heading .elementor-heading-title {
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-primary-font-family), var(--tk-font-head);
	font-weight: var(--e-global-typography-primary-font-weight);
}

body.ticsop .elementor-widget-text-editor {
	color: var(--e-global-color-text);
	font-family: var(--tk-font-body);
	font-weight: 400;
	max-width: 68ch;
}

/* Texto de entrada: clase CSS "tk-lead" en el editor de texto. */
body.ticsop .tk-lead {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.55;
	max-width: 58ch;
}

/* Caja de icono */
body.ticsop .elementor-widget-icon-box .elementor-icon-box-wrapper {
	display: block;
	text-align: left;
}

body.ticsop .elementor-widget-icon-box .elementor-icon-box-icon {
	margin: 0 0 22px;
}

body.ticsop .elementor-widget-icon-box .elementor-icon {
	display: inline-flex;
	color: var(--e-global-color-primary);
	fill: var(--e-global-color-primary);
	font-size: 26px;
}



body.ticsop .elementor-widget-icon-box .elementor-icon svg {
	width: 1em;
	height: 1em;
}

body.ticsop .elementor-widget-icon-box .elementor-icon-box-title {
	margin: 0 0 8px;
	color: var(--e-global-color-primary);
	font-family: var(--tk-font-head);
	font-weight: 650;
}

body.ticsop .elementor-widget-icon-box .elementor-icon-box-title a {
	color: inherit;
	text-decoration: none;
}

body.ticsop .elementor-widget-icon-box .elementor-icon-box-description {
	margin: 0;
	color: var(--e-global-color-text);
	font-family: var(--tk-font-body);
	font-size: 0.9688rem;
	font-weight: 400;
	line-height: 1.55;
}

/* Lista de iconos */
body.ticsop .elementor-widget-icon-list .elementor-icon-list-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ticsop .elementor-widget-icon-list .elementor-icon-list-item {
	align-items: flex-start;
	padding: 7px 0;
	font-family: var(--tk-font-body);
	font-weight: 400;
}

body.ticsop .elementor-widget-icon-list .elementor-icon-list-item > a {
	align-items: flex-start;
	text-decoration: none;
}

body.ticsop .elementor-widget-icon-list .elementor-icon-list-icon {
	padding-top: 0.28em;
}

body.ticsop .elementor-widget-icon-list .elementor-icon-list-icon i,
body.ticsop .elementor-widget-icon-list .elementor-icon-list-icon svg {
	width: 1em;
	color: var(--e-global-color-primary);
	fill: var(--e-global-color-primary);
	font-size: 0.9em;
}

body.ticsop .elementor-widget-icon-list .elementor-icon-list-text {
	padding-inline-start: 12px;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-text-font-family), var(--tk-font-body);
	font-weight: var(--e-global-typography-text-font-weight);
}

/* 6. Elementor: secciones y componentes =================================== */

/* Sección estándar: clase "tk-section" en el contenedor exterior. */
body.ticsop .tk-section {
	--padding-top: var(--tk-section);
	--padding-bottom: var(--tk-section);
	--padding-left: var(--tk-gutter);
	--padding-right: var(--tk-gutter);
	--row-gap: clamp(36px, 5vw, 56px);
	--column-gap: clamp(32px, 5vw, 72px);
}

body.ticsop .tk-section--mist {
	background: var(--tk-mist);
}

body.ticsop .tk-section--flush {
	--padding-top: 0px;
}

/* Contenedor sin relleno (para shortcodes que traen su propia sección). */
body.ticsop .tk-bare {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 0px;
}

/* Bloques interiores: sin relleno propio. */
body.ticsop :is(.tk-head, .tk-stack, .tk-actions, .tk-split, .tk-cells, .tk-steps, .tk-acronym, .tk-hero__copy, .tk-services-list) {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
}

/* Encabezado de sección: título + texto. */
body.ticsop .tk-head {
	--row-gap: 16px;
	max-width: 760px;
}

body.ticsop .tk-stack {
	--row-gap: 20px;
}

/* Fila de botones. */
body.ticsop .tk-actions {
	--row-gap: 12px;
	--column-gap: 12px;
	--flex-wrap: wrap;
	--container-widget-width: auto;
	flex-wrap: wrap;
	align-items: center;
}

body.ticsop .tk-actions > .elementor-widget {
	width: auto;
	max-width: 100%;
}

/* Un shortcode sin salida (por ejemplo, WhatsApp sin número) no ocupa lugar. */
body.ticsop .elementor-widget-shortcode:has(> .elementor-shortcode:empty),
body.ticsop .elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode:empty) {
	display: none;
}

/* Fondo tinta para portadas y franjas. */
body.ticsop .e-con.tk-dark,
body.ticsop .tk-pagehead,
body.ticsop .tk-404 {
	background-color: var(--tk-ink);
	background-image:
		radial-gradient(1100px 520px at 88% -12%, rgba(35, 86, 224, 0.5), transparent 68%),
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: auto, 56px 56px, 56px 56px;
	background-position: 0 0;
}

/* Portada de Inicio */
body.ticsop .tk-hero {
	--padding-top: clamp(56px, 8vw, 112px);
	--padding-bottom: clamp(56px, 8vw, 112px);
	--padding-left: var(--tk-gutter);
	--padding-right: var(--tk-gutter);
	--column-gap: clamp(32px, 5vw, 72px);
	--row-gap: 48px;
	--align-items: center;
}

body.ticsop .tk-hero__copy {
	--row-gap: 26px;
}

body.ticsop :is(.tk-hero, .tk-pagehero) .tk-lead {
	--e-global-color-text: #cfd9e6;
}

/* Panel con las áreas de servicio */
body.ticsop .tk-panel {
	--padding-top: 26px;
	--padding-bottom: 14px;
	--padding-left: 26px;
	--padding-right: 26px;
	--row-gap: 10px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--tk-radius-lg);
	background-color: rgba(11, 26, 44, 0.62);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

body.ticsop .tk-panel .elementor-widget-heading {
	--e-global-color-primary: var(--tk-body);
	--e-global-typography-primary-font-family: "IBM Plex Sans";
	--e-global-typography-primary-font-weight: 500;
}

body.ticsop .tk-panel :is(h2, h3, h4, div, p).elementor-heading-title {
	font-size: 0.9375rem;
	letter-spacing: 0;
}

body.ticsop .tk-panel .elementor-widget-icon-list {
	--e-global-color-secondary: #ffffff;
	--e-global-typography-text-font-family: "Archivo";
	--e-global-typography-text-font-weight: 550;
}

body.ticsop .tk-panel .elementor-icon-list-item > a:hover,
body.ticsop .tk-panel .elementor-icon-list-item > a:focus-visible {
	--e-global-color-secondary: var(--tk-amber);
}

body.ticsop .tk-panel .elementor-icon-list-item {
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.ticsop .tk-panel .elementor-icon-list-item > a {
	width: 100%;
	padding: 13px 0;
	align-items: center;
}

body.ticsop .tk-panel .elementor-icon-list-icon {
	padding-top: 0;
}

body.ticsop .tk-panel .elementor-icon-list-text {
	font-size: 1.0625rem;
	transition: color 0.15s ease;
}

/* Portada de páginas interiores */
body.ticsop .tk-pagehero {
	--padding-top: clamp(56px, 8vw, 104px);
	--padding-bottom: clamp(56px, 8vw, 104px);
	--padding-left: var(--tk-gutter);
	--padding-right: var(--tk-gutter);
	--row-gap: 22px;
}

body.ticsop .tk-pagehero .elementor-widget-heading {
	max-width: 20ch;
}

/* Rejilla de celdas: tarjetas que comparten bordes. Clase "tk-cells". */
body.ticsop .tk-cells {
	--row-gap: 0px;
	--column-gap: 0px;
	--gap: 0px;
	gap: 0;
	border-top: 1px solid var(--tk-rule);
	border-left: 1px solid var(--tk-rule);
	border-radius: var(--tk-radius-lg);
	overflow: hidden;
}

body.ticsop .tk-cells > .elementor-element {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 12px;
	position: relative;
	padding: clamp(22px, 2.6vw, 32px);
	border-right: 1px solid var(--tk-rule);
	border-bottom: 1px solid var(--tk-rule);
	background: var(--tk-surface);
	transition: background-color 0.2s ease;
}

body.ticsop .tk-cells > .elementor-element::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--tk-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

body.ticsop .tk-cells > .elementor-element:hover::after,
body.ticsop .tk-cells > .elementor-element:focus-within::after {
	transform: scaleX(1);
}

body.ticsop .tk-section--mist .tk-cells > .elementor-element {
	background: var(--tk-card);
}

/* El título enlazado cubre toda la celda. */
body.ticsop .tk-cells .elementor-icon-box-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Dos columnas: texto + apoyo. Clase "tk-split". */
body.ticsop .tk-split {
	--column-gap: clamp(32px, 6vw, 88px);
	--row-gap: 36px;
}

body.ticsop .tk-split > .e-con {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 20px;
}

/* Ficha de servicio (página Servicios). Clase "tk-service". */
body.ticsop .tk-service {
	--padding-top: clamp(36px, 5vw, 56px);
	--padding-bottom: clamp(36px, 5vw, 56px);
	--padding-left: 0px;
	--padding-right: 0px;
	--column-gap: clamp(32px, 6vw, 88px);
	--row-gap: 24px;
	border-top: 1px solid var(--tk-rule);
}

body.ticsop .tk-service:first-child {
	border-top: 0;
}

body.ticsop .tk-service > .e-con {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 14px;
}

body.ticsop .tk-service .elementor-icon-box-title {
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

body.ticsop .tk-service .elementor-icon-box-description {
	font-size: 1.0625rem;
}

body.ticsop .tk-services-list {
	--row-gap: 0px;
}

/* Pasos numerados. Clase "tk-steps" en la rejilla y "tk-num" en el número. */
body.ticsop .tk-steps {
	--row-gap: 32px;
	--column-gap: 32px;
}

body.ticsop .tk-steps > .e-con {
	--padding-top: 20px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 10px;
	border-top: 2px solid var(--tk-rule);
}

body.ticsop .tk-num {
	--e-global-color-primary: var(--tk-cobalt);
	--e-global-typography-primary-font-family: "IBM Plex Sans";
	--e-global-typography-primary-font-weight: 600;
}

body.ticsop .tk-dark .tk-num {
	--e-global-color-primary: var(--tk-amber);
}

body.ticsop .tk-num .elementor-heading-title {
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

/* Acrónimo (página Nosotros). Clase "tk-acronym" en la cuadrícula, "tk-letter" en la
   letra y "tk-word" en la palabra. El conector (e, en, y, de) va dentro de <span>. */
body.ticsop .tk-acronym {
	--row-gap: 28px;
	--column-gap: clamp(16px, 2.4vw, 32px);
}

body.ticsop .tk-acronym > .e-con {
	--padding-top: 22px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 10px;
	border-top: 1px solid var(--tk-rule);
	transition: opacity 0.35s ease;
}

/* Línea ámbar que se dibuja sobre cada letra. */
body.ticsop .tk-acronym > .e-con::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 2px;
	background: var(--tk-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ticsop .tk-letter {
	--e-global-color-primary: var(--tk-heading);
	--e-global-typography-primary-font-weight: 700;
	overflow: hidden;
}

body.ticsop .tk-word {
	--e-global-typography-primary-font-weight: 600;
}

body.ticsop .tk-letter .elementor-heading-title {
	font-size: clamp(3.2rem, 6.4vw, 5.6rem);
	line-height: 0.95;
	letter-spacing: -0.04em;
	transition: color 0.3s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ticsop .tk-word :is(h2, h3, h4, div, p).elementor-heading-title {
	font-size: clamp(1rem, 1.25vw, 1.1875rem);
	letter-spacing: -0.005em;
	transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ticsop .tk-word .elementor-heading-title span {
	color: var(--tk-body);
	font-weight: 400;
}

body.ticsop .tk-acronym__phrase {
	max-width: none;
}

/* Al pasar el cursor: la letra activa toma el ámbar, se dibuja su línea y las demás se atenúan. */
@media (hover: hover) and (pointer: fine) {
	body.ticsop .tk-acronym:hover > .e-con:not(:hover) {
		opacity: 0.32;
	}

	body.ticsop .tk-acronym > .e-con:hover {
		--e-global-color-primary: var(--tk-amber);
	}

	body.ticsop .tk-acronym > .e-con:hover .tk-letter {
		--e-global-color-primary: var(--tk-amber);
	}

	body.ticsop .tk-acronym > .e-con:hover .tk-word {
		--e-global-color-primary: var(--tk-heading);
	}

	body.ticsop .tk-acronym > .e-con:hover::after {
		transform: scaleX(1);
	}
}

/* Franja de llamada a la acción. Clase "tk-cta". */
body.ticsop .tk-cta {
	--padding-top: clamp(56px, 7vw, 88px);
	--padding-bottom: clamp(56px, 7vw, 88px);
	--padding-left: var(--tk-gutter);
	--padding-right: var(--tk-gutter);
	--column-gap: 48px;
	--row-gap: 28px;
	--align-items: center;
	--justify-content: space-between;
}

body.ticsop .tk-cta > .e-con-inner > .e-con,
body.ticsop .tk-cta > .e-con {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--row-gap: 14px;
}

body.ticsop .tk-cta .tk-actions {
	--width: auto;
	margin-inline-start: auto;
	flex: none;
}

/* 7. Blog, páginas de texto y 404 ========================================= */

body.ticsop .tk-pagehead {
	padding-block: clamp(48px, 7vw, 92px);
}

body.ticsop .tk-pagehead h1 {
	max-width: 22ch;
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

body.ticsop .tk-pagehead p {
	max-width: 58ch;
	margin: 18px 0 0;
	color: #cfd9e6;
	font-size: 1.125rem;
}

body.ticsop .tk-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0 0 12px;
	color: var(--tk-body);
	font-size: 0.875rem;
}

body.ticsop .tk-post__meta a {
	color: inherit;
}

body.ticsop .tk-pagehead .tk-post__meta {
	margin: 0 0 16px;
}

.tk-postgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

body.ticsop .tk-post {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tk-line);
	border-radius: var(--tk-radius-lg);
	background: var(--tk-card);
	overflow: hidden;
	position: relative;
}

body.ticsop .tk-post:hover,
body.ticsop .tk-post:focus-within {
	border-color: var(--tk-ink);
}

body.ticsop .tk-post__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.tk-post__body {
	padding: 24px;
}

body.ticsop .tk-post__title {
	margin: 0 0 10px;
	font-size: 1.1875rem;
	line-height: 1.3;
}

body.ticsop .tk-post__title a {
	color: var(--tk-heading);
	text-decoration: none;
}

body.ticsop .tk-post__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

body.ticsop .tk-post__excerpt {
	margin: 0;
	font-size: 0.9688rem;
}

body.ticsop .tk-latest {
	padding-block: var(--tk-section);
	background: var(--tk-mist);
}

.tk-latest__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 36px;
}

body.ticsop .navigation.pagination {
	margin-top: 48px;
}

body.ticsop .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.ticsop .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tk-line);
	border-radius: var(--tk-radius);
	color: var(--tk-heading);
	font-weight: 500;
	text-decoration: none;
}

body.ticsop .page-numbers.current {
	border-color: var(--tk-ink);
	background: var(--tk-ink);
	color: #ffffff;
}

body.ticsop .tk-empty {
	max-width: 560px;
}

body.ticsop .tk-empty p {
	margin: 12px 0 24px;
}

/* Texto largo (entradas y páginas sin Elementor) */
body.ticsop .tk-prose {
	color: #2c3e53;
	font-size: 1.125rem;
	line-height: 1.7;
}

body.ticsop .tk-prose > * + * {
	margin-top: 1.1em;
}

body.ticsop .tk-prose :is(h2, h3, h4) {
	margin-top: 1.8em;
}

body.ticsop .tk-prose h2 {
	font-size: 1.75rem;
}

body.ticsop .tk-prose :is(ul, ol) {
	padding-left: 1.3em;
}

body.ticsop .tk-prose li + li {
	margin-top: 0.4em;
}

body.ticsop .tk-prose blockquote {
	margin-inline: 0;
	padding-left: 20px;
	border-left: 3px solid var(--tk-amber);
	color: var(--tk-ink);
}

body.ticsop .tk-prose :is(pre, code) {
	font-size: 0.9em;
	background: var(--tk-mist);
	border-radius: 4px;
}

body.ticsop .tk-prose code {
	padding: 0.1em 0.35em;
}

body.ticsop .tk-prose pre {
	padding: 16px;
	overflow-x: auto;
}

body.ticsop .tk-prose table {
	width: 100%;
	border-collapse: collapse;
}

body.ticsop .tk-prose :is(th, td) {
	padding: 10px 12px;
	border: 1px solid var(--tk-line);
	text-align: left;
}

body.ticsop .tk-article__media {
	margin: 0 0 40px;
}

body.ticsop .tk-article__media img {
	display: block;
	width: 100%;
	border-radius: var(--tk-radius-lg);
}

body.ticsop .post-navigation {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--tk-line);
}

body.ticsop .post-navigation .nav-links {
	justify-content: space-between;
	gap: 24px;
}

body.ticsop .post-navigation a {
	display: block;
	max-width: 320px;
	color: var(--tk-heading);
	font-family: var(--tk-font-head);
	font-weight: 600;
	text-decoration: none;
}

body.ticsop .post-navigation a span {
	display: block;
	margin-bottom: 4px;
	color: var(--tk-body);
	font-family: var(--tk-font-body);
	font-size: 0.875rem;
	font-weight: 400;
}

body.ticsop .comments-area {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--tk-line);
}

body.ticsop .comments-area :is(ol, ul) {
	padding: 0;
	list-style: none;
}

body.ticsop .comments-area .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--tk-line);
}

body.ticsop .comment-form {
	display: grid;
	gap: 16px;
	max-width: 640px;
}

body.ticsop .comment-form p {
	margin: 0;
}

body.ticsop .comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--tk-heading);
	font-size: 0.9375rem;
	font-weight: 600;
}

body.ticsop .comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

body.ticsop .comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

body.ticsop .comment-reply-title {
	font-size: 1.5rem;
}

/* Buscador */
body.ticsop .search-form {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

body.ticsop .search-form label {
	flex: 1;
}

/* 404 */
body.ticsop .tk-404 {
	padding-block: clamp(72px, 12vw, 160px);
}

body.ticsop .tk-404__code {
	margin: 0 0 8px;
	color: var(--tk-amber);
	font-family: var(--tk-font-head);
	font-size: clamp(4.5rem, 16vw, 11rem);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
}

body.ticsop .tk-404 h1 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
}

body.ticsop .tk-404 p {
	max-width: 52ch;
	margin: 16px 0 28px;
}

body.ticsop .tk-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

body.ticsop .tk-404__links a {
	font-weight: 600;
	text-decoration-color: var(--tk-amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

/* 8. Formulario y datos de contacto ======================================= */

body.ticsop .tk-form {
	display: grid;
	gap: 18px;
}

.tk-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

body.ticsop .tk-field {
	margin: 0;
}

body.ticsop .tk-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--tk-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
}

body.ticsop :is(.tk-field, .search-form, .comment-form) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], select, textarea) {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--tk-field);
	border-radius: var(--tk-radius);
	background: var(--tk-card);
	color: var(--tk-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.ticsop .tk-field textarea {
	min-height: 150px;
	resize: vertical;
}

body.ticsop :is(.tk-field, .search-form, .comment-form) :is(input, select, textarea):focus {
	border-color: var(--tk-cobalt);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.22);
	outline: none;
}

body.ticsop .tk-field [aria-invalid="true"] {
	border-color: #b42318;
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.16);
}

body.ticsop .tk-field--check {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
}

body.ticsop .tk-field--check input {
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--tk-cobalt);
}

body.ticsop .tk-field--check label {
	margin: 0;
	color: var(--tk-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.5;
}

/* Campo trampa contra robots: fuera de la vista y del teclado. */
.tk-field--trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

body.ticsop .tk-form__actions {
	margin: 4px 0 0;
}

body.ticsop .tk-form.is-sending .tk-btn {
	opacity: 0.6;
	cursor: progress;
}

body.ticsop .tk-form__status {
	scroll-margin-top: calc(var(--tk-header-h) + 24px);
	padding: 14px 16px;
	border-radius: var(--tk-radius);
	font-weight: 500;
}

body.ticsop .tk-form__status:empty {
	display: none;
}

body.ticsop .tk-form__status.is-ok {
	background: #e6f4ea;
	color: #14532d;
}

body.ticsop .tk-form__status.is-error {
	background: #fdecea;
	color: #7a1c13;
}

/* Lista de datos de contacto */
body.ticsop .tk-contactlist {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ticsop .tk-contactlist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

body.ticsop .tk-contactlist .tk-icon {
	margin-top: 3px;
	color: var(--tk-cobalt);
}

body.ticsop .tk-dark .tk-contactlist .tk-icon {
	color: var(--tk-amber);
}

body.ticsop .tk-contactlist__label {
	display: block;
	color: var(--tk-body);
	font-size: 0.8438rem;
}

body.ticsop .tk-contactlist a,
body.ticsop .tk-contactlist span span:not(.tk-contactlist__label) {
	color: var(--tk-heading);
	font-weight: 500;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.ticsop .tk-contactlist a:hover {
	text-decoration: underline;
}

body.ticsop .tk-contactlist--large {
	gap: 0;
}

body.ticsop .tk-contactlist--large li {
	padding: 18px 0;
	border-bottom: 1px solid var(--tk-rule);
}

body.ticsop .tk-contactlist--large li:first-child {
	border-top: 1px solid var(--tk-rule);
}

body.ticsop .tk-contactlist--large :is(a, span span:not(.tk-contactlist__label)) {
	font-size: 1.125rem;
}

body.ticsop .tk-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

body.ticsop .tk-social a {
	font-weight: 500;
}

body.ticsop .tk-adminnote {
	margin-top: 20px;
	padding: 10px 12px;
	border: 1px dashed var(--tk-field);
	border-radius: var(--tk-radius);
	font-size: 0.875rem;
}

/* 9. Pie de página y WhatsApp ============================================= */

body.ticsop .tk-footer {
	background: var(--tk-ink);
	color: var(--tk-body);
	font-size: 0.9688rem;
}

.tk-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 1.1fr 1.3fr;
	gap: 48px;
	padding-block: clamp(56px, 7vw, 88px) 48px;
}

body.ticsop .tk-footer__brand p {
	max-width: 34ch;
	margin: 20px 0 0;
}

body.ticsop .tk-footer h2 {
	margin: 0 0 18px;
	font-family: var(--tk-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #ffffff;
}

body.ticsop .tk-footer__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ticsop .tk-footer__list a {
	color: var(--tk-body);
	text-decoration: none;
}

body.ticsop .tk-footer__list a:hover {
	color: #ffffff;
	text-decoration: underline;
}

body.ticsop .tk-footer .tk-contactlist {
	margin-bottom: 20px;
}

.tk-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.875rem;
	color: var(--tk-body);
}

body.ticsop .tk-footer__legal p {
	margin: 0;
}

body.ticsop .tk-footer__legal a {
	color: var(--tk-body);
}

body.ticsop .tk-wa {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: var(--tk-ink);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(11, 26, 44, 0.28);
}

body.ticsop .tk-wa .tk-icon {
	color: var(--tk-amber);
}

/* Adaptación a pantallas ================================================== */

@media (max-width: 1024px) {
	body.ticsop .tk-cta .tk-actions {
		margin-inline-start: 0;
	}

	.tk-postgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tk-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	body.ticsop {
		font-size: 1rem;
	}

	.tk-postgrid,
	.tk-form__row,
	.tk-footer__grid {
		grid-template-columns: 1fr;
	}

	.tk-footer__grid {
		gap: 36px;
	}

	body.ticsop .tk-wa span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	body.ticsop .tk-wa {
		width: 52px;
		height: 52px;
		padding: 0;
		justify-content: center;
	}
}

/* 10. Movimiento y efectos ================================================ */

/* Fondo animado de las portadas (lo dibuja main.js en un <canvas>). */
body.ticsop :is(.tk-pagehead, .tk-404) {
	position: relative;
	overflow: hidden;
}

body.ticsop .tk-backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

body.ticsop .e-con.tk-dark > .e-con-inner,
body.ticsop :is(.tk-pagehead, .tk-404) > .tk-container {
	position: relative;
	z-index: 1;
}

/* Barra de progreso de lectura en el borde inferior del encabezado. */
body.ticsop .tk-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--tk-amber);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
}

/* Subrayado que crece bajo los enlaces del menú (escritorio). */
@media (min-width: 1025px) {
	body.ticsop .tk-menu > li > a::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 4px;
		height: 2px;
		background: var(--tk-amber);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	body.ticsop .tk-menu > li > a:hover::after,
	body.ticsop .tk-menu > li > a:focus-visible::after,
	body.ticsop .tk-menu > :is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_parent) > a::after {
		transform: scaleX(1);
	}
}

/* Botones: se elevan al pasar el cursor y se hunden al pulsar. */
body.ticsop :is(.tk-btn, .search-submit, .elementor-button):hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -14px rgba(245, 183, 0, 0.75);
}

body.ticsop :is(.tk-btn, .search-submit, .elementor-button):active {
	transform: translateY(0) scale(0.98);
	box-shadow: none;
}

body.ticsop :is(.tk-btn--ghost, .tk-ghost .elementor-button):hover {
	box-shadow: none;
}

body.ticsop :is(.tk-textlink, .tk-link .elementor-button):hover {
	transform: none;
	box-shadow: none;
}

/* Tarjetas: una luz sigue al cursor y el icono se eleva. */
body.ticsop .tk-cells > .elementor-element::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(29, 78, 216, 0.1), transparent 70%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

body.ticsop .tk-dark .tk-cells > .elementor-element::before {
	background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 165, 255, 0.16), transparent 70%);
}

body.ticsop .tk-cells > .elementor-element:hover::before {
	opacity: 1;
}

body.ticsop .elementor-widget-icon-box .elementor-icon {
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ticsop :is(.tk-cells > .elementor-element, .tk-service):hover .elementor-icon {
	transform: translateY(-4px) scale(1.12);
}

/* Ficha de servicio: el título se desplaza y la lista se ilumina. */
body.ticsop .tk-service .elementor-icon-box-title,
body.ticsop .tk-service .elementor-icon-list-item {
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ticsop .tk-service:hover .elementor-icon-box-title {
	transform: translateX(8px);
}

/* Panel de la portada: borde con un destello que lo recorre e inclinación hacia el cursor. */
@property --tk-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

body.ticsop .tk-panel {
	background-image: radial-gradient(320px circle at var(--mx, 70%) var(--my, 0%), rgba(120, 165, 255, 0.16), transparent 70%);
}

.tk-fx body.ticsop .tk-panel::after {
	content: "";
	position: absolute;
	inset: -1px;
	padding: 1px;
	border-radius: inherit;
	background: conic-gradient(from var(--tk-angle), transparent 0 76%, var(--tk-amber) 92%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	animation: tk-beam 7s linear infinite;
	pointer-events: none;
}

.tk-fx body.ticsop .tk-panel.is-in:not([data-tk-reveal]) {
	transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.25s ease-out;
}

body.ticsop .tk-panel .elementor-icon-list-text {
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.15s ease;
}

body.ticsop .tk-panel .elementor-icon-list-item > a:hover .elementor-icon-list-text {
	transform: translateX(6px);
}

/* Franja de llamada a la acción: luz que sigue al cursor. */
body.ticsop .tk-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 165, 255, 0.2), transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

body.ticsop .tk-cta:hover::after {
	opacity: 1;
}

/* Tarjetas del blog. */
body.ticsop .tk-post {
	transition: border-color 0.2s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}

body.ticsop .tk-post:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 40px -28px rgba(11, 26, 44, 0.45);
}

body.ticsop .tk-post__media {
	display: block;
	overflow: hidden;
}

body.ticsop .tk-post__media img {
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ticsop .tk-post:hover .tk-post__media img {
	transform: scale(1.05);
}

/* Cinta de servicios bajo la portada. Clases "tk-marquee-band" (contenedor)
   y "tk-marquee" (lista de iconos). Sin JavaScript queda como lista fija. */
body.ticsop .e-con.tk-marquee-band {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	background-color: var(--tk-ink);
	background-image: none;
	border-top: 1px solid var(--tk-rule);
	overflow: hidden;
}

body.ticsop .tk-marquee {
	--e-global-color-secondary: rgba(255, 255, 255, 0.6);
	--e-global-typography-text-font-family: "Archivo";
	--e-global-typography-text-font-weight: 500;
	width: 100%;
}

body.ticsop .tk-marquee .elementor-icon-list-items {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	padding: 20px var(--tk-gutter);
}

body.ticsop .tk-marquee .elementor-icon-list-item {
	align-items: center;
	margin: 0;
	padding: 0;
}

body.ticsop .tk-marquee .elementor-icon-list-item > a {
	align-items: center;
}

body.ticsop .tk-marquee .elementor-icon-list-item > a:hover {
	--e-global-color-secondary: #ffffff;
}

body.ticsop .tk-marquee .elementor-icon-list-icon {
	padding: 0 22px;
}

body.ticsop .tk-marquee .elementor-icon-list-icon :is(i, svg) {
	font-size: 0.4em;
}

body.ticsop .tk-marquee .elementor-icon-list-text {
	padding: 0;
	font-size: clamp(1.05rem, 1.9vw, 1.45rem);
	letter-spacing: -0.01em;
	white-space: nowrap;
	transition: color 0.2s ease;
}

body.ticsop .tk-marquee__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

body.ticsop .tk-marquee__track {
	display: flex;
	width: max-content;
	animation: tk-marquee 46s linear infinite;
}

body.ticsop .tk-marquee__track:hover {
	animation-play-state: paused;
}

body.ticsop .tk-marquee__track .elementor-icon-list-items {
	flex-wrap: nowrap;
	padding-inline: 0;
}

/* Nombre de la marca en gran formato al final del pie. */
body.ticsop .tk-footer {
	overflow: hidden;
}

body.ticsop .tk-footer__mark {
	margin: 12px 0 -0.14em;
	overflow: hidden;
	color: transparent;
	font-family: var(--tk-font-head);
	font-size: clamp(4.5rem, 21vw, 19rem);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.04em;
	text-align: center;
	white-space: nowrap;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
	-webkit-user-select: none;
	user-select: none;
}

/* Aparición al desplazarse. main.js marca cada bloque con data-tk-reveal y añade
   "is-in" cuando entra en pantalla; --i escalona los bloques hermanos. */
html.tk-ready body.ticsop [data-tk-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i, 0) * 70ms);
}

html.tk-ready body.ticsop [data-tk-reveal].is-in,
html.tk-ready body.ticsop [data-tk-reveal="words"] {
	opacity: 1;
	transform: none;
}

/* Títulos palabra por palabra. */
body.ticsop .tk-w {
	display: inline-block;
	overflow: hidden;
	margin-bottom: -0.16em;
	padding-bottom: 0.16em;
	vertical-align: top;
}

body.ticsop .tk-w > span {
	display: inline-block;
	transform: translateY(112%);
	transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i, 0) * 70ms + var(--w, 0) * 38ms);
}

body.ticsop .is-in .tk-w > span,
body.ticsop .tk-words.is-in .tk-w > span {
	transform: none;
}

/* Acrónimo: cada letra sube desde una máscara, una tras otra; después aparece su palabra
   y la línea ámbar recorre la celda una vez. */
html.tk-ready body.ticsop .tk-acronym > [data-tk-reveal] {
	opacity: 1;
	transform: none;
}

html.tk-ready body.ticsop .tk-acronym > .e-con:not(.is-in) .tk-letter .elementor-heading-title {
	transform: translateY(105%);
}

html.tk-ready body.ticsop .tk-acronym > .e-con:not(.is-in) .tk-word .elementor-heading-title {
	opacity: 0;
	transform: translateY(10px);
}

html.tk-ready body.ticsop .tk-acronym > [data-tk-reveal] .tk-letter .elementor-heading-title {
	transition-delay: calc(var(--i, 0) * 110ms);
}

html.tk-ready body.ticsop .tk-acronym > [data-tk-reveal] .tk-word .elementor-heading-title {
	transition-delay: calc(var(--i, 0) * 110ms + 380ms);
}

html.tk-ready body.ticsop .tk-acronym > [data-tk-reveal].is-in::after {
	animation: tk-sweep 1.3s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--i, 0) * 110ms + 250ms) both;
}

/* Pasos: la línea superior se dibuja de izquierda a derecha. */
html.tk-ready body.ticsop .tk-steps > .e-con::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -2px;
	height: 2px;
	background: var(--tk-heading);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i, 0) * 140ms + 200ms);
}

html.tk-ready body.ticsop .tk-steps > .e-con.is-in::after {
	transform: scaleX(1);
}

/* Mientras main.js arranca, la portada espera oculta para no parpadear.
   Si el script no llegara a cargar, se muestra sola a los 3 segundos. */
html.tk-fx:not(.tk-ready) body.ticsop :is(.tk-hero__copy > .elementor-element, .tk-hero .tk-panel, .tk-pagehero > .e-con-inner > .elementor-element, .tk-pagehead .tk-container > *) {
	opacity: 0;
	animation: tk-failsafe 0.4s 3s forwards;
}

@keyframes tk-failsafe {
	to {
		opacity: 1;
	}
}

@keyframes tk-sweep {
	0% {
		transform: scaleX(0);
		transform-origin: left;
	}

	50% {
		transform: scaleX(1);
		transform-origin: left;
	}

	50.01% {
		transform: scaleX(1);
		transform-origin: right;
	}

	100% {
		transform: scaleX(0);
		transform-origin: right;
	}
}

@keyframes tk-beam {
	to {
		--tk-angle: 360deg;
	}
}

@keyframes tk-marquee {
	to {
		transform: translateX(-50%);
	}
}

/* Transición suave entre páginas (navegadores compatibles). */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-old(root) {
		animation: 0.22s ease both tk-page-out;
	}

	::view-transition-new(root) {
		animation: 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both tk-page-in;
	}
}

@keyframes tk-page-out {
	to {
		opacity: 0;
	}
}

@keyframes tk-page-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

/* Quien pide reducir el movimiento ve el sitio sin animaciones. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	body.ticsop *,
	body.ticsop *::before,
	body.ticsop *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
