/* ==========================================================================
   Itacom: estilos complementarios a theme.json  (Propuesta 2: negro / rojo / blanco)
   Regla: colores, tipografías y espaciados desde presets (var(--wp--preset--...)).
   Fotos: assets/img/*.webp (ver assets/img/README.md).

   Sistema (v0.11, revisión con taste-skill):
   - DOS MODOS: CLARO por defecto y OSCURO con el botón del header (inc/modo.php).
     theme.json tiene los colores del modo claro; abajo, :root[data-theme="dark"] los redefine.
     Los nombres de los presets son semánticos: base = texto, contrast / contrast-2 = fondos de
     sección (alternados), surface / contrast-3 = tarjetas, muted = texto secundario,
     accent = texto rojo (cumple AA en cada modo), on-primary = blanco fijo sobre rojo.
   - MODO CLARO = COMBINACIÓN ORIGINAL (Propuesta 2 / mockup): estas zonas son SIEMPRE OSCURAS
     (en los dos modos): header, footer, hero, pilar Tecnología, soluciones, servicios, panel
     "Cómo trabajamos", AnalyTICs, servicios gestionados, banner del legado, contacto y modal.
     Las demás secciones son claras en modo claro. La tarjeta del formulario es clara en modo claro
     (como en el diseño original), dentro de la sección oscura de contacto.
     Para cambiar una sección de grupo: sumar o quitar su selector en la lista "Zonas siempre oscuras".
   - Nunca usar #fff / rgba(255,…) para texto fuera de esas zonas: usar los presets.
   - UN SOLO ACENTO: rojo. El rojo de marca (primary) va en botones, líneas y puntos.
   - RADIOS: botones y píldoras = pill; tarjetas, paneles y fotos = card (12px);
     campos, íconos y logos = control (8px); secciones de ancho completo = rectas.
   - FOTOS: se muestran en escala de grises (background-blend-mode: luminosity) para que ningún
     azul o color de la foto compita con el rojo. Para dejar una foto en color: clase is-foto-color.
   ========================================================================== */

:root {
	--itacom-red: var(--wp--preset--color--primary);
	/* Copia de la paleta clara (Apariencia → Editor → Estilos) para la tarjeta del formulario. */
	--itacom-claro-base: var(--wp--preset--color--base);
	--itacom-claro-surface: var(--wp--preset--color--surface);
	--itacom-claro-border: var(--wp--preset--color--border);
	--itacom-claro-muted: var(--wp--preset--color--muted);
	--itacom-claro-contrast: var(--wp--preset--color--contrast);
	--itacom-claro-contrast-2: var(--wp--preset--color--contrast-2);
	--itacom-claro-contrast-3: var(--wp--preset--color--contrast-3);
	--itacom-claro-accent: var(--wp--preset--color--accent);
	/* Negro fijo (no cambia con el modo): texto del botón blanco "Claro". */
	--itacom-ink: #0A0A0C;
}

/* ---------- Modo oscuro + zonas siempre oscuras ----------
   Mismos nombres de presets, valores oscuros. */
:root[data-theme="dark"],
.wp-site-blocks > header,
.wp-site-blocks > footer,
.itacom-hero,
.itacom-pilar--tecnologia,
.itacom-soluciones,
.itacom-sol,
.itacom-servicios,
.itacom-cc__panel,
.itacom-analytics,
.itacom-care,
.itacom-legado,
.itacom-contacto,
.itacom-modal,
.itacom-post__ph {
	/* Editables en Apariencia → Ajustes de Itacom → Colores del modo oscuro (inc/ajustes.php). */
	--wp--preset--color--base: #FFFFFF;
	--wp--preset--color--surface: var(--itacom-osc-tarjeta, #17171C);
	--wp--preset--color--border: var(--itacom-osc-borde, #2A2B31);
	--wp--preset--color--muted: var(--itacom-osc-texto-2, #A3A5AE);
	--wp--preset--color--contrast: var(--itacom-osc-fondo, #0A0A0C);
	--wp--preset--color--contrast-2: var(--itacom-osc-fondo-2, #111115);
	--wp--preset--color--contrast-3: var(--itacom-osc-tarjeta-2, #1E1F24);
	--wp--preset--color--accent: var(--itacom-osc-rojo, #FF4A4F);
	--wp--preset--shadow--soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
	color-scheme: dark;
}
/* Tarjeta del formulario: clara en modo claro aunque esté dentro de la sección oscura de contacto.
   (Mismos valores que la paleta de theme.json.) */
:root:not([data-theme="dark"]) .itacom-form-card {
	/* Paleta clara de Estilos (copiada en :root antes de que las zonas oscuras la redefinan). */
	--wp--preset--color--base: var(--itacom-claro-base);
	--wp--preset--color--surface: var(--itacom-claro-surface);
	--wp--preset--color--border: var(--itacom-claro-border);
	--wp--preset--color--muted: var(--itacom-claro-muted);
	--wp--preset--color--contrast: var(--itacom-claro-contrast);
	--wp--preset--color--contrast-2: var(--itacom-claro-contrast-2);
	--wp--preset--color--contrast-3: var(--itacom-claro-contrast-3);
	--wp--preset--color--accent: var(--itacom-claro-accent);
	color-scheme: light;
}
/* Derivados: se declaran en cada zona para que tomen el "base" de esa zona. */
:root,
:root[data-theme="dark"],
.wp-site-blocks > header,
.wp-site-blocks > footer,
.itacom-hero,
.itacom-pilar--tecnologia,
.itacom-soluciones,
.itacom-sol,
.itacom-servicios,
.itacom-cc__panel,
.itacom-analytics,
.itacom-care,
.itacom-legado,
.itacom-contacto,
.itacom-modal,
.itacom-post__ph,
.itacom-form-card {
	--itacom-black: var(--wp--preset--color--contrast);
	--itacom-line-dark: color-mix(in srgb, var(--wp--preset--color--base) 11%, transparent);
	--itacom-text-dark-muted: color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent);
}

/* Modo oscuro: línea fina entre secciones (varias quedan con el mismo tono de negro). */
:root[data-theme="dark"] .itacom-seccion + .itacom-seccion > .alignfull:not(.itacom-legado) { border-top: 1px solid var(--itacom-line-dark); }

/* Cambio de modo: transición breve de colores (inc/modo.php agrega la clase durante 400 ms). */
html.itacom-cambiando-modo *,
html.itacom-cambiando-modo *::before,
html.itacom-cambiando-modo *::after {
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease !important;
}

/* Botón de modo claro / oscuro (header) */
.itacom-modo {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--itacom-line-dark);
	background: transparent;
	color: var(--wp--preset--color--base);
	cursor: pointer;
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.itacom-modo:hover { border-color: var(--itacom-red); background: color-mix(in srgb, var(--wp--preset--color--primary) 15%, transparent); }
.itacom-modo:active { transform: scale(0.94); }
.itacom-modo:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.itacom-modo svg { width: 20px; height: 20px; }
.itacom-modo__sol { display: none; }
:root[data-theme="dark"] .itacom-modo__luna { display: none; }
:root[data-theme="dark"] .itacom-modo__sol { display: block; }
.itacom-modo:hover svg { transform: rotate(-15deg); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }

html {
	color-scheme: light;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--wp--custom--header-height) + 12px);
}
body {
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Sin espacio entre secciones de la home y el footer */
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks > main,
.wp-site-blocks > .itacom-main { margin-block-start: 0; }
/* La landing vive en el contenido de la página Inicio: sin espacio entre secciones */
.itacom-main .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }

/* "base" es el color de TEXTO: una sección con fondo "base" quedaría invertida. Se usa el fondo
   del modo actual (protege secciones creadas con versiones anteriores del tema). */
.itacom-seccion > .alignfull.has-base-background-color { background-color: var(--wp--preset--color--contrast) !important; }

/* Grillas que no deben dejar columnas vacías */
.itacom-planes,
.itacom-metricas,
.itacom-quotes,
.itacom-pasos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important; }
.itacom-planes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)) !important; }
/* Canales del contact center: 5 tarjetas sin huecos (2 anchas arriba + 3 abajo). */
.itacom-canales { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.itacom-canales > * { grid-column: span 2; }
/* Con exactamente 5 tarjetas, las dos primeras ocupan media fila cada una. */
.itacom-canales > :first-child:nth-last-child(5),
.itacom-canales > :first-child:nth-last-child(5) + * { grid-column: span 3; }
@media (max-width: 1023px) {
	.itacom-canales { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.itacom-canales > *,
	.itacom-canales > :first-child:nth-last-child(5),
	.itacom-canales > :first-child:nth-last-child(5) + * { grid-column: auto; }
	.itacom-canales > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.itacom-canales { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- Utilidades ---------- */
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.itacom-dot { color: var(--itacom-red); }
.itacom-light { font-weight: 400; }
.itacom-muted { color: var(--wp--preset--color--muted); }
.has-contrast-background-color .itacom-muted,
.has-contrast-2-background-color .itacom-muted,
.has-contrast-background-color.itacom-muted { color: var(--itacom-text-dark-muted); }
.itacom-lead { max-width: 38em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.has-text-align-center.itacom-lead { margin-left: auto; margin-right: auto; }
.has-contrast-background-color .itacom-lead,
.has-contrast-2-background-color .itacom-lead { color: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent); }

.itacom-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin-bottom: 0;
}
.itacom-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}
.has-text-align-center.itacom-eyebrow { display: flex; justify-content: center; }

.itacom-link-arrow a {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}
.itacom-link-arrow a:hover { color: var(--wp--preset--color--accent); text-decoration: none; }

.itacom-section__head { margin-bottom: var(--wp--preset--spacing--60); }
.itacom-section__head h2 { margin-top: var(--wp--preset--spacing--20); }
.itacom-section__bar { margin-bottom: var(--wp--preset--spacing--50); gap: var(--wp--preset--spacing--30); }
.itacom-section__bar h2 { margin: 0; }

/* ---------- Botones ---------- */
.wp-element-button {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-button:not(.is-style-outline):not(.is-style-light):not(.is-style-video) > .wp-element-button:hover {
	transform: translateY(-1px);
	box-shadow: var(--wp--preset--shadow--glow);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: currentColor;
	border: 1px solid currentColor;
	padding-top: calc(0.85rem - 1px);
	padding-bottom: calc(0.85rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--itacom-red);
	color: var(--wp--preset--color--accent);
	background: transparent;
}
.has-contrast-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.has-contrast-2-background-color .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 30%, transparent);
	color: var(--wp--preset--color--base);
}
.has-contrast-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--itacom-red);
	color: var(--wp--preset--color--base);
	background: rgba(227, 33, 43, 0.12);
}
.wp-block-button.is-style-light > .wp-block-button__link {
	background: var(--wp--preset--color--on-primary);
	color: var(--itacom-ink);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.wp-block-button.is-style-light > .wp-block-button__link:hover { color: var(--itacom-red); }
.wp-block-button.is-style-video > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: transparent;
	color: inherit;
	padding-left: 0;
}
.wp-block-button.is-style-video > .wp-block-button__link::before {
	content: "";
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 20px no-repeat;
	flex: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.wp-block-button.is-style-video > .wp-block-button__link:hover::before { background-color: var(--itacom-red); border-color: var(--itacom-red); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: var(--itacom-black);
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}
/* Hasta 600 px la barra de administración se desplaza con la página: el header va pegado arriba. */
@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}
.itacom-header { border-bottom: 1px solid var(--itacom-line-dark); }
.itacom-header__inner { min-height: var(--wp--custom--header-height); gap: var(--wp--preset--spacing--40); }
.itacom-header__actions { gap: var(--wp--preset--spacing--40); }

/* Marca: si hay logo cargado se oculta el título de texto */
.itacom-brand { gap: 0; }
.itacom-brand .wp-block-site-logo + .wp-block-site-title { display: none; }
/* Logo oficial (assets/img/italogo.webp, se inyecta desde functions.php) */
.itacom-logo { line-height: 0; }
.itacom-logo a { display: inline-block; }
.itacom-logo img {
	display: block;
	width: auto;
	height: 50px;
	transition: height 0.35s ease, transform 0.35s ease;
}
.itacom-logo a:hover img { transform: scale(1.04); }
.wp-site-blocks > header.is-scrolled .itacom-logo img { height: 42px; }
.itacom-footer .itacom-logo img { height: 72px; }
@media (max-width: 700px) {
	.itacom-logo img { height: 42px; }
}
.itacom-brand .wp-block-site-title {
	font-size: 1.75rem;
	text-transform: lowercase;
	letter-spacing: -0.04em;
}
/* Aproximación al logotipo: "ita" en rojo, "com" en blanco (reemplazar por el logo SVG) */
.itacom-brand .wp-block-site-title a {
	background: linear-gradient(90deg, var(--itacom-red) 0 41%, #fff 41% 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.itacom-nav { font-size: 0.875rem; gap: 1.6rem; }
.itacom-nav .wp-block-navigation-item__content { color: rgba(255, 255, 255, 0.85); }
.itacom-nav .wp-block-navigation-item__content:hover { color: #fff; text-decoration: none; }
.itacom-nav .wp-block-navigation-item__content::after {
	content: "";
	display: block;
	height: 2px;
	margin-top: 4px;
	background: var(--itacom-red);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.itacom-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }

.itacom-search .wp-block-search__label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.itacom-search .wp-block-search__button {
	background: transparent;
	color: #fff;
	border: 0;
	padding: 6px;
	margin: 0;
}
.itacom-search .wp-block-search__button svg { fill: currentColor; width: 22px; height: 22px; }
.itacom-search .wp-block-search__input { background: var(--wp--preset--color--contrast-3); color: #fff; border: 1px solid var(--itacom-line-dark); border-radius: var(--wp--custom--radius--pill); padding: 0.4rem 0.9rem; }

/* Menú: en pantallas medianas pasa a menú hamburguesa */
@media (max-width: 1100px) {
	.itacom-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.itacom-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
.itacom-nav .wp-block-navigation__responsive-container.is-menu-open { padding: var(--wp--preset--spacing--50); }
.itacom-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.2rem; font-size: 1.25rem; }

/* Menú hamburguesa: todo centrado (horizontal y vertical) */
.itacom-nav .is-menu-open .wp-block-navigation__responsive-close,
.itacom-nav .is-menu-open .wp-block-navigation__responsive-dialog {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}
.itacom-nav .is-menu-open .wp-block-navigation__responsive-dialog { flex: 1; }
.itacom-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	flex: 1;
	justify-content: center;
	align-items: center !important;
	text-align: center;
	padding-top: 0 !important;
}
.itacom-nav .is-menu-open .wp-block-navigation__container {
	align-items: center !important;
	justify-content: center !important;
	gap: 1.4rem;
}
.itacom-nav .is-menu-open .wp-block-navigation-item { justify-content: center; }
.itacom-nav .is-menu-open .wp-block-navigation-item__content { font-size: 1.35rem; }

/* "Contacto" destacado: punto rojo en escritorio, botón rojo en el menú móvil */
.itacom-nav a.wp-block-navigation-item__content[href$="#contacto"] { color: #fff; }
.itacom-nav a.wp-block-navigation-item__content[href$="#contacto"] .wp-block-navigation-item__label::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 0.45rem;
	vertical-align: 0.12em;
	border-radius: 50%;
	background: var(--itacom-red);
	box-shadow: 0 0 0 0 rgba(227, 33, 43, 0.6);
	animation: itacom-nav-dot 2.4s ease-out infinite;
}
@keyframes itacom-nav-dot {
	0%   { box-shadow: 0 0 0 0 rgba(227, 33, 43, 0.6); }
	70%  { box-shadow: 0 0 0 7px rgba(227, 33, 43, 0); }
	100% { box-shadow: 0 0 0 0 rgba(227, 33, 43, 0); }
}
.itacom-nav .is-menu-open a.wp-block-navigation-item__content[href$="#contacto"] {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: var(--wp--preset--spacing--30);
	padding: 0.9rem 2.2rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--itacom-red);
	color: #fff;
	font-weight: 600;
	box-shadow: var(--wp--preset--shadow--glow);
	transition: background-color 0.25s ease, transform 0.25s ease;
}
.itacom-nav .is-menu-open a.wp-block-navigation-item__content[href$="#contacto"]:hover,
.itacom-nav .is-menu-open a.wp-block-navigation-item__content[href$="#contacto"]:focus-visible {
	background: var(--wp--preset--color--primary-dark);
	transform: translateY(-2px);
}
.itacom-nav .is-menu-open a.wp-block-navigation-item__content[href$="#contacto"] .wp-block-navigation-item__label::before { display: none; }
/* En el botón, la línea de "sección activa" se reemplaza por una flecha */
.itacom-nav .is-menu-open a.wp-block-navigation-item__content[href$="#contacto"]::after {
	content: "→";
	display: inline;
	height: auto;
	margin: 0;
	background: none;
	transform: none !important;
}

/* Móvil: sin "Hablemos" ni búsqueda en la barra (el menú ya tiene el botón Contacto) */
@media (max-width: 781px) {
	.itacom-header .itacom-header__cta.wp-block-buttons,
	.itacom-header .itacom-search.wp-block-search { display: none !important; }
}

/* ---------- Hero ---------- */
.itacom-hero {
	position: relative;
	min-height: min(86dvh, 780px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--70);
	isolation: isolate;
	/* La foto se cambia en el editor (Grupo → Estilos → Fondo); esta es la de respaldo. */
	background-image: url("../img/hero.webp");
	background-size: cover;
	background-position: center right;
}
/* Degradados sobre la foto (separados para que la imagen sea editable) */
/* Composición: edificio anclado centro-derecha → negro sólido izquierda para el texto.
   Capa 1: lateral cinemático — negro puro hasta 28%, transición orgánica, apertura hacia la derecha.
   Capa 2: toque rojo ambiental en la zona de transición (vincula con la pared roja del logo).
   Capa 3: vignette inferior para anclar el texto.
   Capa 4: vignette superior suave (preserva el cielo dramático de la foto). */
.itacom-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, transparent 22%),
		linear-gradient(0deg, rgba(10, 10, 12, 0.90) 0%, transparent 32%),
		radial-gradient(ellipse 55% 70% at 44% 58%, rgba(227, 30, 36, 0.12) 0%, transparent 65%),
		linear-gradient(
			to right,
			rgba(10, 10, 12, 1.00)   0%,
			rgba(10, 10, 12, 1.00)  28%,
			rgba(10, 10, 12, 0.95)  34%,
			rgba(10, 10, 12, 0.82)  42%,
			rgba(10, 10, 12, 0.55)  54%,
			rgba(10, 10, 12, 0.22)  68%,
			rgba(10, 10, 12, 0.06)  82%,
			transparent             100%
		);
}
.itacom-hero > .alignwide { width: 100%; }
.itacom-hero__content > * { margin-block: 0; }
.itacom-hero__content > * + * { margin-top: var(--wp--preset--spacing--40); }
/* Titular en 2 líneas en escritorio: ancho y escala pensados juntos ("Conectamos tecnología / con personas.") */
.itacom-hero h1 { max-width: 14em; margin-top: var(--wp--preset--spacing--30) !important; letter-spacing: -0.04em; font-weight: 700; line-height: 1.02; }
.itacom-hero .itacom-lead { max-width: 34em; color: rgba(255, 255, 255, 0.86); }
.itacom-hero__buttons { margin-top: var(--wp--preset--spacing--50) !important; gap: var(--wp--preset--spacing--40); }

.itacom-claim {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0;
}
.itacom-claim::before {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	background: var(--itacom-red);
	margin-bottom: 1rem;
}
.itacom-claim.is-small { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

/* ---------- Fotos: escala de grises (un solo color de acento en la página) ----------
   background-blend-mode: luminosity toma la luminosidad de la foto y el color (neutro) del fondo.
   Funciona con las fotos provisorias y con las reales; clase is-foto-color para desactivarlo. */
:is(.itacom-hero, .itacom-pilar, .itacom-sol):not(.is-foto-color) {
	background-color: var(--wp--preset--color--contrast-3);
	background-blend-mode: luminosity;
}
/* .itacom-legado muestra la foto en color (puente de Encarnación al atardecer). */
.itacom-pilar--cc:not(.is-foto-color) { background-color: var(--wp--preset--color--contrast-2); }

/* ---------- Pilares ---------- */
.itacom-pilares__cols { gap: var(--wp--preset--spacing--40); grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 781px) {
	.itacom-pilares__cols { grid-template-columns: minmax(0, 1fr) !important; }
}
.itacom-pilar {
	position: relative;
	overflow: hidden;
	min-height: 340px;
	color: var(--wp--preset--color--base);
	border: 1px solid var(--itacom-line-dark);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) !important;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.itacom-pilar > * { margin-block: 0; max-width: 26rem; }
.itacom-pilar > * + * { margin-top: var(--wp--preset--spacing--30); }
.itacom-pilar .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }
.itacom-pilar h2 { font-weight: 700; }
.itacom-pilar__text { font-size: 1.125rem; line-height: 1.5; color: color-mix(in srgb, var(--wp--preset--color--base) 86%, transparent); }
.itacom-pilar { isolation: isolate; }
.itacom-pilar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.itacom-pilar--tecnologia { background-image: url("../img/tecnologia.webp"); }
.itacom-pilar--cc { background-image: url("../img/contact-center.webp"); background-position: right center; }
.itacom-pilar::before { background: linear-gradient(90deg, rgba(10, 10, 12, 0.94) 0%, rgba(10, 10, 12, 0.7) 55%, rgba(10, 10, 12, 0.25) 100%); }
/* Pilar Contact Center: tarjeta clara con la foto a la derecha (modo claro); oscura en modo oscuro. */
.itacom-pilar--cc { background-color: var(--wp--preset--color--contrast-2); }
.itacom-pilar--cc::before {
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--wp--preset--color--contrast-2) 98%, transparent) 0%,
		color-mix(in srgb, var(--wp--preset--color--contrast-2) 85%, transparent) 50%,
		transparent 100%);
}
.itacom-pilar--cc .itacom-pilar__text { color: var(--wp--preset--color--muted); }

/* ---------- Cifras: una cifra destacada + tres datos de respaldo ---------- */
.itacom-cifras__grid {
	gap: 0;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)) !important;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.itacom-cifra {
	gap: 1rem;
	align-items: flex-start !important;
	padding: var(--wp--preset--spacing--40);
	border-left: 1px solid var(--wp--preset--color--border);
}
.itacom-cifra:first-child { border-left: 0; padding-left: 0; }
.itacom-cifra__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
}
.itacom-cifra__text strong { display: block; color: var(--wp--preset--color--base); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.itacom-cifra--destacada { align-items: center !important; }
.itacom-cifra--destacada .itacom-cifra__text { display: flex; align-items: center; gap: var(--wp--preset--spacing--30); font-size: 1rem; max-width: 22em; }
.itacom-cifra--destacada .itacom-cifra__text strong {
	flex: none;
	font-size: clamp(2.75rem, 5vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 1023px) {
	.itacom-cifras__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.itacom-cifra--destacada { grid-column: 1 / -1; border-bottom: 1px solid var(--wp--preset--color--border); }
	.itacom-cifra:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 781px) {
	.itacom-cifras__grid { grid-template-columns: minmax(0, 1fr) !important; }
	.itacom-cifra { border-left: 0; padding-left: 0; border-top: 1px solid var(--wp--preset--color--border); }
	.itacom-cifra:first-child { border-top: 0; }
	.itacom-cifra--destacada { border-bottom: 0; }
}

/* ---------- Soluciones ---------- */
.itacom-soluciones h2 { font-weight: 700; }
/* Bento: 4 columnas × 3 filas en escritorio. itacom-sol--grande = 2 × 2, itacom-sol--ancha = 2 × 1. */
.itacom-sol-grid {
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-auto-rows: minmax(15rem, auto);
	grid-auto-flow: dense;
}
.itacom-sol--grande { grid-column: span 2; grid-row: span 2; }
.itacom-sol--ancha { grid-column: span 2; }
@media (max-width: 1023px) {
	.itacom-sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.itacom-sol--grande { grid-row: span 1; min-height: 20rem; }
}
@media (max-width: 767px) {
	.itacom-sol-grid { grid-template-columns: minmax(0, 1fr) !important; grid-auto-rows: minmax(13rem, auto); }
	.itacom-sol--grande, .itacom-sol--ancha { grid-column: auto; }
}
.itacom-sol {
	position: relative;
	overflow: hidden;
	min-height: 15rem;
	border-radius: var(--wp--custom--radius--card);
	border: 1px solid var(--itacom-line-dark);
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-size: cover;
	background-position: center;
	transition: transform 0.3s ease, border-color 0.3s ease;
	isolation: isolate;
}
.itacom-sol::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 10, 12, 0) 30%, rgba(10, 10, 12, 0.92) 100%);
}
.itacom-sol > * { margin-block: 0; }
.itacom-sol h3 { font-weight: 600; line-height: 1.25; padding-right: 2.75rem; max-width: 22em; }
.itacom-sol--grande h3 { font-weight: 700; }
.itacom-sol--grande .itacom-sol__text { max-height: none; opacity: 1; margin-top: 0.5rem; }
.itacom-sol__text { padding-right: 2.75rem; }
.itacom-sol h3 a { color: #fff; text-decoration: none; }
.itacom-sol h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* tarjeta completa clickeable */
.itacom-sol::after {
	content: "";
	position: absolute;
	right: var(--wp--preset--spacing--40);
	bottom: var(--wp--preset--spacing--40);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.8);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.itacom-sol__text {
	color: rgba(255, 255, 255, 0.75);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}
.itacom-sol:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--wp--preset--color--primary) 60%, transparent); }
.itacom-sol:hover::after { background-color: var(--itacom-red); border-color: var(--itacom-red); }
.itacom-sol:hover .itacom-sol__text,
.itacom-sol:focus-within .itacom-sol__text { max-height: 8em; opacity: 1; margin-top: 0.5rem; }
@media (hover: none) {
	.itacom-sol__text { max-height: none; opacity: 1; margin-top: 0.5rem; }
}
/* Foto de respaldo de cada tarjeta (la del editor tiene prioridad). Una foto distinta por tarjeta. */
.itacom-sol--infraestructura { background-image: url("../img/sol-infraestructura.webp"); }
.itacom-sol--virtualizacion { background-image: url("../img/sol-virtualizacion.webp"); }
.itacom-sol--telefonia { background-image: url("../img/sol-telefonia.webp"); }
.itacom-sol--accesos { background-image: url("../img/sol-accesos.webp"); }
.itacom-sol--camaras { background-image: url("../img/sol-camaras.webp"); }
.itacom-sol--mfa { background-image: url("../img/sol-mfa.webp"); }
.itacom-sol--firmas { background-image: url("../img/sol-firmas.webp"); }
.itacom-sol-intro { margin-top: calc(var(--wp--preset--spacing--30) * -1); margin-bottom: var(--wp--preset--spacing--50); }
.itacom-sol-intro .itacom-lead { margin: 0; }

/* ---------- Contact Center ---------- */
.itacom-cc__intro { margin-bottom: var(--wp--preset--spacing--60); gap: var(--wp--preset--spacing--50); }
.itacom-cc__intro h2 { margin-top: var(--wp--preset--spacing--20); }
.itacom-canales { gap: var(--wp--preset--spacing--30); }
.itacom-canal {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--40);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.itacom-canal > * { margin-block: 0; }
.itacom-canal > * + * { margin-top: 0.5rem; }
.itacom-canal:hover { border-color: color-mix(in srgb, var(--wp--preset--color--primary) 45%, transparent); box-shadow: var(--wp--preset--shadow--soft); }
.itacom-canal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--accent);
	background: rgba(227, 33, 43, 0.15);
	margin-bottom: 0.5rem;
}
.itacom-canal h3 { margin-top: 0.85rem !important; }

.itacom-cc__panel {
	margin-top: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}
.itacom-cc__panel-title { margin-top: 0; }
.itacom-pasos { gap: var(--wp--preset--spacing--40); margin-top: var(--wp--preset--spacing--40); }
.itacom-paso { border-top: 1px solid var(--itacom-line-dark); padding-top: var(--wp--preset--spacing--30); }
.itacom-paso > * { margin-block: 0; }
.itacom-paso > * + * { margin-top: 0.4rem; }
.itacom-paso__num { color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading); font-weight: 700; }
.itacom-metricas {
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--itacom-line-dark);
}
.itacom-metrica { margin: 0; color: var(--itacom-text-dark-muted); font-size: var(--wp--preset--font-size--small); }
.itacom-metrica strong {
	display: block;
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.1;
}

/* ---------- Itacom Care ---------- */
.itacom-care { position: relative; isolation: isolate; overflow: hidden; }
.itacom-care::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(700px circle at 50% 0%, rgba(227, 33, 43, 0.22), transparent 65%);
}
.itacom-planes { gap: var(--wp--preset--spacing--40); align-items: stretch; }
.itacom-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--contrast-2);
	border: 1px solid var(--itacom-line-dark);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
}
.itacom-plan > * { margin-block: 0; }
.itacom-plan > * + * { margin-top: var(--wp--preset--spacing--30); }
.itacom-plan.is-featured {
	border-color: var(--itacom-red);
	box-shadow: 0 0 0 1px var(--itacom-red), 0 24px 60px rgba(227, 33, 43, 0.25);
	background: linear-gradient(180deg, rgba(227, 33, 43, 0.12) 0%, var(--wp--preset--color--contrast-2) 40%);
}
.itacom-plan__badge {
	position: absolute;
	top: var(--wp--preset--spacing--40);
	right: var(--wp--preset--spacing--40);
	margin: 0 !important;
	padding: 0.25rem 0.75rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--itacom-red);
	color: var(--wp--preset--color--on-primary);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.itacom-plan__price { color: var(--itacom-text-dark-muted); }
.itacom-plan__price strong {
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.itacom-plan__buttons { margin-top: auto !important; padding-top: var(--wp--preset--spacing--40); }
.itacom-checklist {
	list-style: none;
	padding: var(--wp--preset--spacing--30) 0 0;
	border-top: 1px solid var(--itacom-line-dark);
	font-size: 0.95rem;
}
.itacom-checklist li { position: relative; padding-left: 1.8rem; }
.itacom-checklist li + li { margin-top: 0.6rem; }
.itacom-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: rgba(227, 33, 43, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
.itacom-care > p:last-child { margin-top: var(--wp--preset--spacing--50); }
.itacom-care a:not(.wp-element-button) { color: var(--wp--preset--color--base); text-decoration: underline; text-decoration-color: var(--itacom-red); text-underline-offset: 3px; }

/* ---------- Industrias ---------- */
.itacom-industrias__grid { gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); }
.itacom-industria {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: var(--wp--preset--spacing--30);
	transition: border-color 0.2s ease;
}
.itacom-industria:hover { border-top-color: var(--itacom-red); }
.itacom-industria > * { margin-block: 0; }
.itacom-industria > * + * { margin-top: 0.5rem; }
.itacom-industria__num { color: var(--wp--preset--color--accent); font-weight: 700; font-size: var(--wp--preset--font-size--small); font-variant-numeric: tabular-nums; }

/* ---------- Marcas y clientes ---------- */
.itacom-logos__cols { gap: var(--wp--preset--spacing--40); }
.itacom-logos__panel {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
}
.itacom-logos__panel h3 { margin-top: 0; font-weight: 700; }
.itacom-logo-grid {
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 0.75rem;
}
.itacom-logo-grid .itacom-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 88px;
	padding: 0.75rem 1rem;
	border-radius: var(--wp--custom--radius--control);
	/* Opaco: los logos JPG se funden con este fondo (multiply / screen) también durante la animación de entrada. */
	background: color-mix(in srgb, var(--wp--preset--color--base) 5%, var(--wp--preset--color--surface));
	text-align: center;
}
.itacom-logo-grid .itacom-logo > * { margin: 0; }
.itacom-logo-grid .itacom-logo { line-height: 1.25; }
/* Sin huecos: marcas (16) en 4 columnas, clientes (9) en 3; el panel de marcas es más ancho. */
@media (min-width: 782px) {
	.itacom-logos__cols > .itacom-logos__panel:first-child { flex: 1.35 1 0% !important; }
	.itacom-logos__cols > .itacom-logos__panel:last-child { flex: 1 1 0% !important; }
	.itacom-logos__panel:first-child .itacom-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.itacom-logos__panel:last-child .itacom-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.itacom-logo-grid .itacom-logo__name, .itacom-logo-grid .itacom-logo__name a {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
	letter-spacing: -0.01em;
}
/* Logos en monocromo: negros en modo claro, blancos en oscuro. Subir logos en PNG/SVG/WebP con fondo transparente. */
.itacom-logo-grid img { max-height: 52px; width: auto; max-width: 85%; object-fit: contain; filter: grayscale(1) brightness(0); opacity: 0.62; transition: opacity 0.2s ease; }
@media (max-width: 781px) { .itacom-logo-grid img { max-height: 40px; } }
:root[data-theme="dark"] .itacom-logo-grid img { filter: grayscale(1) brightness(0) invert(1); opacity: 0.72; }
.itacom-logo-grid a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.itacom-logo-grid .itacom-logo:hover img { opacity: 1; }
/* Logos en JPG (fondo blanco, como los del sitio anterior): el fondo se funde con la tarjeta.
   Claro: gris + multiply. Oscuro: se invierten + screen. 3CX viene sobre gris oscuro: ajuste aparte. */
.itacom-logo-grid :is(img[src*=".jpg" i], img[src*=".jpeg" i]) { filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.itacom-logo-grid :is(img[src*="3cx" i][src*=".jpg" i], img[src*="3cx" i][src*=".jpeg" i]) { filter: grayscale(1) invert(1) brightness(1.15) contrast(2.2); }
:root[data-theme="dark"] .itacom-logo-grid :is(img[src*=".jpg" i], img[src*=".jpeg" i]) { filter: grayscale(1) invert(1) contrast(1.15); mix-blend-mode: screen; }
:root[data-theme="dark"] .itacom-logo-grid :is(img[src*="3cx" i][src*=".jpg" i], img[src*="3cx" i][src*=".jpeg" i]) { filter: grayscale(1) brightness(1.15) contrast(2.2); }
.itacom-logo-grid .itacom-logo__name a { text-decoration: none; }

/* ---------- Testimonios ---------- */
.itacom-quotes { gap: var(--wp--preset--spacing--40); }
.itacom-quote {
	margin: 0;
	border: 1px solid var(--wp--preset--color--border) !important;
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50) !important;
	background: var(--wp--preset--color--surface);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
}
.itacom-quote::before {
	content: "“";
	font-family: var(--wp--preset--font-family--heading);
	font-size: 4rem;
	line-height: 0.6;
	color: var(--itacom-red);
	height: 1.5rem;
}
.itacom-quote p { font-size: 1.05rem; margin: 0; }
.itacom-quote cite { margin-top: auto; font-style: normal; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.itacom-quote cite strong { color: var(--wp--preset--color--base); }

/* ---------- FAQ ---------- */
.itacom-faq__item {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: 0;
	margin: 0 0 0.75rem !important;
	transition: border-color 0.2s ease;
}
.itacom-faq__item[open] { border-color: color-mix(in srgb, var(--wp--preset--color--primary) 50%, transparent); }
.itacom-faq__item summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 1.15rem 3.5rem 1.15rem 1.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}
.itacom-faq__item summary::-webkit-details-marker { display: none; }
.itacom-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 1.2rem;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--contrast-2);
	color: var(--wp--preset--color--accent);
	font-size: 1.2rem;
	transition: transform 0.2s ease;
}
.itacom-faq__item[open] summary::after { content: "−"; }
.itacom-faq__item > :not(summary) { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--wp--preset--color--muted); }

/* ---------- Insights ---------- */
.itacom-posts .wp-block-post-template { gap: var(--wp--preset--spacing--40); }
.itacom-post > * { margin-block: 0; }
.itacom-post > * + * { margin-top: 0.6rem; }
.itacom-post .wp-block-post-featured-image { border-radius: var(--wp--custom--radius--card); overflow: hidden; background: var(--wp--preset--color--surface); }
.itacom-post .wp-block-post-featured-image img { transition: transform 0.4s ease; }
.itacom-post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.itacom-post__date { color: var(--wp--preset--color--accent); font-weight: 600; }
.itacom-post__meta { gap: 0.6rem; }
.itacom-post__cat {
	margin: 0;
	padding: 0.15rem 0.7rem;
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--surface);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.6;
}
.itacom-post__cat a { color: var(--wp--preset--color--base); }
.itacom-post__cat a:hover { color: var(--wp--preset--color--accent); text-decoration: none; }
.itacom-post__cat .wp-block-post-terms__separator { display: none; }
/* Tarjeta sin foto: logo sobre fondo negro */
.itacom-post .itacom-post__ph {
	aspect-ratio: 16 / 9;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--wp--preset--color--contrast) 0%, var(--wp--preset--color--contrast-3) 100%);
}
.itacom-post__ph a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.itacom-post__ph img { width: 96px; height: auto; opacity: 0.92; }
.itacom-posts .wp-block-query-pagination { margin-top: var(--wp--preset--spacing--60); gap: var(--wp--preset--spacing--30); }
.itacom-post .wp-block-post-title a { color: var(--wp--preset--color--base); }
.itacom-post .wp-block-post-title a:hover { color: var(--wp--preset--color--accent); text-decoration: none; }
.itacom-empty {
	padding: var(--wp--preset--spacing--50);
	border: 1px dashed var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	color: var(--wp--preset--color--muted);
	text-align: center;
}

/* ---------- Banner legado ---------- */
.itacom-legado {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--70);
	position: relative;
	isolation: isolate;
	background-image: url("../img/legado.webp");
	background-size: cover;
	background-position: center 30%; /* encuadra el puente y el cielo del atardecer */
}
.itacom-legado::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	/* Foto en color: izquierda densa (texto AA), centro abierto (se ve el puente), borde derecho reforzado. */
	background: linear-gradient(
		105deg,
		rgba(10, 10, 12, 0.90) 0%,
		rgba(10, 10, 12, 0.70) 42%,
		rgba(10, 10, 12, 0.50) 60%,
		rgba(10, 10, 12, 0.72) 100%
	);
}
.itacom-legado h2 { margin: 0; font-weight: 700; }
.itacom-legado .itacom-lead { color: rgba(255, 255, 255, 0.88); }
.itacom-legado__aside { border-left: 3px solid var(--itacom-red); padding-left: var(--wp--preset--spacing--40); }
.itacom-legado__aside .itacom-claim::before { display: none; }
.itacom-legado__aside .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }

/* ---------- Contacto ---------- */
.itacom-contacto__cols { gap: var(--wp--preset--spacing--60); }
.itacom-contacto h2 { margin-top: var(--wp--preset--spacing--20); }
.itacom-contact-list { list-style: none; padding: 0; margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--40); }
.itacom-contact-list li { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 0; border-top: 1px solid var(--itacom-line-dark); color: var(--itacom-text-dark-muted); }
.itacom-contact-list li:last-child { border-bottom: 1px solid var(--itacom-line-dark); }
.itacom-contact-list .itacom-icon { color: var(--wp--preset--color--accent); flex: none; }
.itacom-contact-list a { color: var(--wp--preset--color--base); }
.itacom-wa-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 1.3rem;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid rgba(37, 211, 102, 0.6);
	color: var(--wp--preset--color--base) !important;
	font-weight: 600;
	text-decoration: none !important;
}
.itacom-wa-link .itacom-icon { color: #25d366; }
.itacom-wa-link:hover { background: rgba(37, 211, 102, 0.12); }

/* Contacto: íconos por CSS para que la lista sea un bloque Lista nativo (editable como texto). */
.itacom-contact-list li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background-color: var(--wp--preset--color--accent);
	-webkit-mask: var(--itacom-ico) center / contain no-repeat;
	mask: var(--itacom-ico) center / contain no-repeat;
}
.itacom-contact-list .itacom-icon { display: none; }
.itacom-contact-list li.is-telefono { --itacom-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E"); }
.itacom-contact-list li.is-email { --itacom-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E"); }
.itacom-contact-list li.is-direccion { --itacom-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.itacom-contact-list li.is-horario { --itacom-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z'/%3E%3Cpath d='M21 16v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E"); }
.itacom-contact-list li:not([class*="is-"])::before { display: none; }
.itacom-wa-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 1.3rem;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid rgba(37, 211, 102, 0.6);
	background: transparent !important;
	color: var(--wp--preset--color--base) !important;
	font-weight: 600;
	font-size: 1em;
	line-height: inherit;
	text-decoration: none !important;
	transition: background-color 0.3s ease, transform 0.35s ease;
}
.itacom-wa-btn .wp-block-button__link::before {
	content: "";
	width: 20px;
	height: 20px;
	background-color: #25d366;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.itacom-wa-btn .wp-block-button__link:hover { background: rgba(37, 211, 102, 0.12) !important; transform: translateY(-2px); }
/* Tarjeta del formulario siempre oscura, aunque el bloque tenga un color de fondo claro elegido en el editor
   (las secciones creadas con versiones anteriores la tenían blanca). */
.itacom-form-card.has-background { background-color: var(--wp--preset--color--contrast-3) !important; }
.itacom-form-card.has-text-color { color: var(--wp--preset--color--base) !important; }
.itacom-form-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
	box-shadow: var(--wp--preset--shadow--soft);
}

/* Formulario */
.itacom-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--wp--preset--spacing--30); }
.itacom-form__field { margin: 0 0 var(--wp--preset--spacing--30); display: flex; flex-direction: column; gap: 0.35rem; }
.itacom-form__field.is-full { grid-column: 1 / -1; }
.itacom-form label { font-size: 0.875rem; font-weight: 600; color: var(--wp--preset--color--base); }
.itacom-form input[type="text"],
.itacom-form input[type="email"],
.itacom-form input[type="tel"],
.itacom-form select,
.itacom-form textarea {
	box-sizing: border-box;
	width: 100%;
	font: inherit;
	font-size: 1rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 18%, transparent);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--contrast-2);
	color: var(--wp--preset--color--base);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.itacom-form ::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
.itacom-form input:focus,
.itacom-form select:focus,
.itacom-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--contrast);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 35%, transparent);
}
.itacom-form__consent { margin: 0 0 var(--wp--preset--spacing--40); }
.itacom-form__consent label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; color: var(--wp--preset--color--muted); }
.itacom-form__consent input { margin-top: 0.2rem; accent-color: var(--itacom-red); width: 18px; height: 18px; flex: none; }
.itacom-form__actions { margin: 0; }
.itacom-form button.wp-element-button { border: 0; cursor: pointer; width: 100%; }
.itacom-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Captcha (plugin Captcha Code: imagen + campo de texto) */
.itacom-form__captcha { margin: 0 0 var(--wp--preset--spacing--40); }
.itacom-form__captcha-row { display: flex; align-items: center; gap: var(--wp--preset--spacing--30); margin: 0.35rem 0; }
.itacom-form__captcha-img {
	flex: none;
	width: 120px;
	height: auto;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--on-primary);
}
.itacom-form__captcha-row input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.itacom-form__captcha small { color: var(--wp--preset--color--muted); font-size: 0.8rem; }
.itacom-form__notice { padding: 0.9rem 1.1rem; border-radius: var(--wp--custom--radius--control); font-weight: 600; margin: 0 0 var(--wp--preset--spacing--40); }
.itacom-form__notice.is-success { background: var(--wp--custom--status--success-bg); color: var(--wp--custom--status--success-text); }
.itacom-form__notice.is-error { background: var(--wp--custom--status--error-bg); color: var(--wp--custom--status--error-text); }
@media (max-width: 600px) {
	.itacom-form__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.itacom-footer { border-top: 1px solid var(--itacom-line-dark); }
.itacom-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.itacom-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--itacom-red); }
.itacom-footer__title { text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.itacom-footer__list { list-style: none; padding-left: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.itacom-footer__list li + li { margin-top: 0.55rem; }
.itacom-footer__sep { border-color: var(--itacom-line-dark) !important; margin-top: var(--wp--preset--spacing--60); }

/* ---------- WhatsApp flotante ---------- */
.itacom-wa {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 60;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease;
}
.itacom-wa:hover { transform: scale(1.06); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.itacom-hero { min-height: 0; background-position: 62% center; }
	.itacom-pilar { min-height: 300px; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ==========================================================================
   v0.5 — Contenido del sitio anterior (itacomgroup.com)
   ========================================================================== */

/* Con el menú abierto no se muestra el WhatsApp flotante */
.has-modal-open .itacom-wa { display: none; }

/* Submenús del header (Nosotros, Área cliente) */
.itacom-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--contrast-2) !important;
	border: 1px solid var(--itacom-line-dark) !important;
	border-radius: var(--wp--custom--radius--card);
	padding: 0.5rem !important;
	min-width: 230px !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.itacom-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55rem 0.75rem !important;
	border-radius: var(--wp--custom--radius--control);
	color: rgba(255, 255, 255, 0.85);
}
.itacom-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--contrast-3); color: #fff; }
.itacom-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.itacom-nav .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none;
	padding: 0.4rem 0 0 !important;
	align-items: center;
	gap: 0.6rem;
}
.itacom-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem; color: rgba(255, 255, 255, 0.65); padding: 0 !important; }
.itacom-nav .is-menu-open .wp-block-navigation-submenu__toggle { display: none; }

/* ---------- Modal Nosotros ("Ver video"): historia, propósito/visión/misión, valores, por qué Itacom ---------- */
html.itacom-modal-open { overflow: hidden; }
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.itacom-modal {
	--ease: var(--itacom-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
	width: min(1120px, calc(100vw - 32px));
	max-width: none;
	height: min(780px, calc(100dvh - 32px));
	max-height: none;
	padding: 0;
	border: 1px solid var(--itacom-line-dark);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--contrast);
	color: #fff;
	overflow: hidden;
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
	font-family: var(--wp--preset--font-family--body, inherit);
}
.itacom-modal::backdrop { background: rgba(10, 10, 12, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.itacom-modal[open] { animation: itacom-modal-in 0.5s var(--ease) both; }
.itacom-modal[open]::backdrop { animation: itacom-fade-in 0.35s ease both; }
.itacom-modal.is-closing { animation: itacom-modal-out 0.28s ease forwards; }
.itacom-modal.is-closing::backdrop { animation: itacom-fade-out 0.28s ease forwards; }
@keyframes itacom-modal-in { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes itacom-modal-out { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes itacom-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes itacom-fade-out { to { opacity: 0; } }
@keyframes itacom-panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.itacom-modal__shell {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	grid-template-columns: minmax(0, 1fr);
	height: 100%;
}
.itacom-modal__shell::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(700px circle at 100% 0%, rgba(227, 33, 43, 0.2), transparent 60%),
		radial-gradient(600px circle at 0% 100%, rgba(227, 33, 43, 0.1), transparent 60%);
}
.itacom-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--itacom-line-dark);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.4s var(--ease);
}
.itacom-modal__close:hover { background: var(--itacom-red); border-color: var(--itacom-red); transform: rotate(90deg); }

.itacom-modal__head { min-width: 0; padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) 0; }
.itacom-modal__head .itacom-eyebrow { color: var(--wp--preset--color--accent); }
.itacom-modal__title {
	margin: 0.6rem 0 var(--wp--preset--spacing--40);
	padding-right: 3.5rem;
	max-width: 22em;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.45rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
}

.itacom-tabs {
	position: relative;
	display: flex;
	gap: 0.25rem;
	border-bottom: 1px solid var(--itacom-line-dark);
	overflow-x: auto;
	scrollbar-width: none;
}
.itacom-tabs::-webkit-scrollbar { display: none; }
.itacom-tabs__tab {
	flex: none;
	background: none;
	border: 0;
	padding: 0.95rem 1rem;
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.25s ease;
}
.itacom-tabs__tab:hover,
.itacom-tabs__tab[aria-selected="true"] { color: #fff; }
.itacom-tabs__ink {
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 0;
	background: var(--itacom-red);
	box-shadow: 0 0 12px rgba(227, 33, 43, 0.8);
	transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

.itacom-modal__body { min-width: 0; overflow-x: hidden; overflow-y: auto; padding: var(--wp--preset--spacing--50); overscroll-behavior: contain; }
.itacom-panel { height: 100%; animation: itacom-panel-in 0.5s var(--ease) both; }
.itacom-panel[hidden] { display: none; }
.itacom-modal__video { aspect-ratio: 16 / 9; border-radius: var(--wp--custom--radius--card); overflow: hidden; background: #000; }
.itacom-modal__video iframe { width: 100%; height: 100%; border: 0; }

/* Línea de tiempo */
.itacom-tl { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; gap: var(--wp--preset--spacing--40); height: 100%; }
.itacom-tl__stage { display: grid; min-height: 240px; touch-action: pan-y; }
.itacom-tl__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: var(--wp--preset--spacing--50);
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transform: translateX(48px);
	transition: opacity 0.45s ease, transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.itacom-tl__slide.is-before { transform: translateX(-48px); }
.itacom-tl__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.itacom-tl__year {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(3.2rem, 8.5vw, 7.5rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.05em;
	background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.12) 115%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.itacom-tl__year::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 1.1rem;
	background: var(--itacom-red);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.7s var(--ease) 0.2s;
}
.itacom-tl__slide.is-active .itacom-tl__year::after { transform: scaleX(1); }
.itacom-tl__content > * { margin: 0; }
.itacom-tl__year { margin: 0 !important; }
.itacom-tl__kicker {
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.itacom-tl__text { margin-top: 0.8rem !important; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; color: rgba(255, 255, 255, 0.82); max-width: 36em; }
.itacom-tl__slide .itacom-tl__content > * { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.itacom-tl__slide.is-active .itacom-tl__content > * { opacity: 1; transform: none; }
.itacom-tl__slide.is-active .itacom-tl__content > :nth-child(2) { transition-delay: 0.08s; }
.itacom-tl__slide.is-active .itacom-tl__content > :nth-child(3) { transition-delay: 0.16s; }

.itacom-tl__controls { display: flex; align-items: center; gap: 1rem; }
.itacom-tl__arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--itacom-line-dark);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease), opacity 0.25s ease;
}
.itacom-tl__arrow:hover:not(:disabled) { background: var(--itacom-red); border-color: var(--itacom-red); }
.itacom-tl__arrow:hover:not(:disabled) { transform: translateX(-3px); }
.itacom-tl__arrow--next:hover:not(:disabled) { transform: translateX(3px); }
.itacom-tl__arrow:disabled { opacity: 0.3; cursor: default; }
.itacom-tl__count { margin: 0; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.itacom-tl__count strong { color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; }

.itacom-tl__railwrap { overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem; }
.itacom-tl__railwrap::-webkit-scrollbar { display: none; }
.itacom-tl__progress { display: none; }
.itacom-tl__rail {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--n), minmax(76px, 1fr));
	min-width: calc(var(--n) * 76px);
}
.itacom-tl__rail::before,
.itacom-tl__rail::after {
	content: "";
	position: absolute;
	top: 9px;
	left: calc(50% / var(--n));
	height: 2px;
}
.itacom-tl__rail::before { right: calc(50% / var(--n)); background: var(--itacom-line-dark); }
.itacom-tl__rail::after {
	width: calc((100% - 100% / var(--n)) * var(--p, 0));
	background: linear-gradient(90deg, var(--wp--preset--color--primary-dark), var(--wp--preset--color--accent));
	box-shadow: 0 0 10px rgba(227, 33, 43, 0.6);
	transition: width 0.6s var(--ease);
}
.itacom-tl__point {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	padding: 0 0 0.25rem;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.5);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.25s ease;
}
.itacom-tl__dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.25);
	background: var(--wp--preset--color--contrast);
	transition: transform 0.4s var(--ease), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.itacom-tl__point:hover { color: #fff; }
.itacom-tl__point:hover .itacom-tl__dot { transform: scale(1.15); border-color: #fff; }
.itacom-tl__point.is-past .itacom-tl__dot { background: var(--itacom-red); border-color: var(--itacom-red); transform: scale(0.6); }
.itacom-tl__point.is-active { color: #fff; }
.itacom-tl__point.is-active .itacom-tl__dot {
	border-color: var(--itacom-red);
	background: radial-gradient(circle, var(--itacom-red) 0 38%, var(--wp--preset--color--contrast) 42%);
	box-shadow: 0 0 0 6px rgba(227, 33, 43, 0.22);
	transform: scale(1.1);
}

/* Contenido del modal (bloques de la página "Conocé Itacom") */
.itacom-modal-intro > * { margin-block: 0; }
.itacom-modal__body > * { margin-block: 0; }
.itacom-modal .itacom-mtab > * + * { margin-top: 0; }

/* Propósito, visión y misión */
.itacom-modal .itacom-mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--wp--preset--spacing--40); counter-reset: mvv; }
.itacom-modal .itacom-mvv-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin: 0;
	padding: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--contrast-2);
	border: 1px solid var(--itacom-line-dark);
	border-radius: var(--wp--custom--radius--card);
	counter-increment: mvv;
	animation: itacom-panel-in 0.6s var(--ease) both;
	animation-delay: calc(var(--i, 0) * 90ms);
	transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.itacom-modal .itacom-mvv-card::after {
	content: "0" counter(mvv);
	position: absolute;
	top: 0.75rem;
	right: 1.25rem;
	z-index: -1;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 4rem;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, 0.05);
}
.itacom-modal .itacom-mvv-card:hover { transform: translateY(-4px); border-color: rgba(227, 33, 43, 0.5); }
.itacom-modal .itacom-mvv-card > * { margin-block: 0; }
.itacom-modal .itacom-mvv-card__title { margin: 1rem 0 0.6rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; font-weight: 700; color: #fff; }
.itacom-modal .itacom-mvv-card__text { color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

/* Valores */
.itacom-modal .itacom-val__lead { margin: 0 0 var(--wp--preset--spacing--40); color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; }
.itacom-modal .itacom-val__lead strong { color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; margin-right: 0.25rem; }
.itacom-modal .itacom-val__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.65rem; counter-reset: val; }
.itacom-modal .itacom-val__list li {
	counter-increment: val;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0.75rem 1.15rem;
	border-radius: var(--wp--custom--radius--pill);
	border: 1px solid var(--itacom-line-dark);
	background: var(--wp--preset--color--contrast-2);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	animation: itacom-panel-in 0.5s var(--ease) both;
	animation-delay: calc(var(--i, 0) * 40ms);
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.itacom-modal .itacom-val__list li::before {
	content: counter(val, decimal-leading-zero);
	color: var(--wp--preset--color--accent);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	transition: color 0.25s ease;
}
.itacom-modal .itacom-val__list li:hover { border-color: rgba(227, 33, 43, 0.6); transform: translateY(-2px); }
.itacom-modal .itacom-val__list li[aria-pressed="true"] { background: var(--itacom-red); border-color: var(--itacom-red); box-shadow: var(--wp--preset--shadow--glow); }
.itacom-modal .itacom-val__list li[aria-pressed="true"]::before { color: rgba(255, 255, 255, 0.8); }

/* ¿Por qué Itacom? */
.itacom-modal .itacom-why { position: relative; max-width: 56em; padding-top: 2.5rem; }
.itacom-modal .itacom-why::before {
	content: "“";
	position: absolute;
	top: -1.5rem;
	left: -0.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 8rem;
	line-height: 1;
	color: var(--itacom-red);
	animation: itacom-panel-in 0.6s var(--ease) both;
}
.itacom-modal .itacom-why > * { margin-block: 0; }
.itacom-modal .itacom-why__lead { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; line-height: 1.6; }
.itacom-modal .itacom-why__quote {
	margin-top: var(--wp--preset--spacing--30) !important;
	padding-left: var(--wp--preset--spacing--40);
	border-left: 3px solid var(--itacom-red);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.15rem, 2.1vw, 1.6rem);
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	animation: itacom-panel-in 0.7s var(--ease) 0.12s both;
}
.itacom-modal .itacom-why__actions { margin-top: var(--wp--preset--spacing--50) !important; gap: var(--wp--preset--spacing--30); }
.itacom-modal .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

@media (max-width: 781px) {
	.itacom-modal { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
	.itacom-modal__head { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) 0; }
	.itacom-modal__close { top: 12px; right: 12px; }
	.itacom-modal__body { padding: var(--wp--preset--spacing--40); }
	.itacom-tl__slide { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
	.itacom-tl__year { font-size: clamp(2.8rem, 15vw, 4.2rem); }
	.itacom-tl__year::after { margin-top: 0.7rem; }
	.itacom-tl__rail { grid-template-columns: repeat(var(--n), 68px); min-width: calc(var(--n) * 68px); }

	/* Encabezado más compacto: deja más alto para el contenido */
	.itacom-modal__head { padding-top: var(--wp--preset--spacing--30); }
	.itacom-modal__head .itacom-eyebrow { padding-right: 3.25rem; font-size: 0.7rem; }
	.itacom-modal__title { margin: 0.35rem 0 var(--wp--preset--spacing--30); padding-right: 2.75rem; max-width: none; font-size: 1.2rem; line-height: 1.15; }

	/* Pestañas: más juntas y con degradé en los bordes para indicar que se deslizan */
	.itacom-tabs {
		margin-inline: calc(-1 * var(--wp--preset--spacing--40));
		padding-inline: var(--wp--preset--spacing--40);
		scroll-padding-inline: var(--wp--preset--spacing--40);
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 36px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 36px), transparent 100%);
	}
	.itacom-tabs__tab { padding: 0.8rem 0.75rem; font-size: 0.875rem; }
	.itacom-tabs__tab:first-child { padding-left: 0; }

	/* Historia: año y texto juntos arriba; flechas y años quedan abajo */
	.itacom-tl { gap: var(--wp--preset--spacing--30); }
	.itacom-tl__stage { min-height: 0; }
	.itacom-tl__slide { align-content: start; gap: 1.25rem; }
	.itacom-tl__text { font-size: 1rem; line-height: 1.6; }
	.itacom-tl__arrow { width: 44px; height: 44px; }

	/* Propósito / ¿Por qué Itacom? */
	.itacom-modal .itacom-why { padding-top: 2rem; }
	.itacom-modal .itacom-why__quote { font-size: 1.05rem; }
}

/* Celulares bajos (iPhone SE y similares) */
@media (max-width: 781px) and (max-height: 700px) {
	.itacom-modal__head .itacom-eyebrow { display: none; }
	.itacom-tl__year { font-size: clamp(2.4rem, 12vw, 3.2rem); }
}

/* División Tecnología */
.itacom-div-grid { gap: var(--wp--preset--spacing--40); grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 781px) { .itacom-div-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.itacom-div-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.itacom-div-card:hover { border-color: color-mix(in srgb, var(--wp--preset--color--primary) 45%, transparent); box-shadow: var(--wp--preset--shadow--soft); }
.itacom-div-card > * { margin-block: 0; }
.itacom-div-card h3 { margin-top: 0.85rem !important; font-weight: 700; }
.itacom-div-card .itacom-checklist { margin-top: var(--wp--preset--spacing--30); }
.itacom-div-card .itacom-link-arrow { margin-top: var(--wp--preset--spacing--30); }
.itacom-checklist--light { border-top-color: var(--wp--preset--color--border); color: var(--wp--preset--color--muted); font-size: 0.92rem; line-height: 1.5; }
.itacom-checklist--light strong { color: var(--wp--preset--color--base); font-weight: 600; }
.itacom-caract { margin-top: var(--wp--preset--spacing--70); }
.itacom-caract__title { margin: 0 0 var(--wp--preset--spacing--40); font-weight: 700; }
.itacom-caract__grid { gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); }
.itacom-caract__item { border-top: 2px solid var(--itacom-red); padding-top: var(--wp--preset--spacing--30); }
.itacom-caract__item > * { margin-block: 0; }
.itacom-caract__item > * + * { margin-top: 0.5rem; }

/* Servicios */
.itacom-serv-grid { gap: var(--wp--preset--spacing--40); }
.itacom-serv {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--contrast-3);
	border: 1px solid var(--itacom-line-dark);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--50);
	transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.3s ease;
}
.itacom-serv:hover { border-color: rgba(227, 33, 43, 0.6); transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--soft); }
.itacom-serv > * { margin-block: 0; }
.itacom-serv > * + * { margin-top: 0.6rem; }
.itacom-serv h3 { margin-top: 0.85rem !important; font-weight: 700; }

.itacom-serv .itacom-link-arrow { margin-top: auto !important; padding-top: var(--wp--preset--spacing--30); }

/* AnalyTICs */
.itacom-analytics { position: relative; isolation: isolate; overflow: hidden; }
.itacom-analytics::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(700px circle at 0% 100%, rgba(227, 33, 43, 0.22), transparent 60%),
		radial-gradient(500px circle at 100% 0%, rgba(227, 33, 43, 0.12), transparent 60%);
}
.itacom-analytics__how { margin: var(--wp--preset--spacing--40) auto 0; color: var(--itacom-text-dark-muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--wp--preset--font-size--small) !important; }
.itacom-analytics .itacom-pasos { margin-top: var(--wp--preset--spacing--30); }
.itacom-analytics__cta { margin-top: var(--wp--preset--spacing--60); gap: var(--wp--preset--spacing--40); }
.itacom-analytics__badge { position: static !important; padding: 0.45rem 1rem; font-size: 0.8125rem; }

/* Radios online */
.itacom-radios__cols { gap: var(--wp--preset--spacing--50); }
.itacom-radios h2 { margin-top: var(--wp--preset--spacing--20); }
.itacom-radios__grid { gap: var(--wp--preset--spacing--40); }
.itacom-radio {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--40);
}
.itacom-radio > * { margin-block: 0; }
.itacom-radio > * + * { margin-top: 0.4rem; }
.itacom-radio h3 { margin-top: 0.75rem !important; font-weight: 700; }
.itacom-radio__player { display: block; width: 100%; margin-top: var(--wp--preset--spacing--30); height: 40px; }
.itacom-radio__player audio { display: block; width: 100%; max-width: 100%; min-width: 0; }
.itacom-radios a { color: var(--wp--preset--color--accent); }

/* Industrias: sin bajada, tarjetas más compactas */
.itacom-industria h3 { margin-top: 0.35rem; }
.itacom-hero .itacom-eyebrow { margin-bottom: var(--wp--preset--spacing--30); }

/* ---------- Íconos por clase: escribir ico-NOMBRE en "Clase CSS adicional" de la tarjeta ----------
   Disponibles: ico-award, ico-bot, ico-chart, ico-chat, ico-cog, ico-globe, ico-headset, ico-mail, ico-phone, ico-pin, ico-radio, ico-refresh, ico-server, ico-share, ico-shield, ico-users.
   Generado desde inc/icons.php. ---------- */
.ico-award { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E"); }
.ico-bot { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8V4H8'/%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M2 14h2M20 14h2M15 13v2M9 13v2'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8V4H8'/%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M2 14h2M20 14h2M15 13v2M9 13v2'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8V4H8'/%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M2 14h2M20 14h2M15 13v2M9 13v2'/%3E%3C/svg%3E"); }
.ico-chart { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E"); }
.ico-chat { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); }
.ico-cog { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33h0a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51h0a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82v0a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33h0a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51h0a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82v0a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33h0a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51h0a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82v0a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z'/%3E%3C/svg%3E"); }
.ico-globe { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10Z'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10Z'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10Z'/%3E%3C/svg%3E"); }
.ico-headset { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z'/%3E%3Cpath d='M21 16v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z'/%3E%3Cpath d='M21 16v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z'/%3E%3Cpath d='M21 16v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E"); }
.ico-mail { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E"); }
.ico-phone { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E"); }
.ico-pin { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ico-radio { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.9 19.1a10 10 0 0 1 0-14.2M7.8 16.2a6 6 0 0 1 0-8.4M16.2 7.8a6 6 0 0 1 0 8.4M19.1 4.9a10 10 0 0 1 0 14.2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.9 19.1a10 10 0 0 1 0-14.2M7.8 16.2a6 6 0 0 1 0-8.4M16.2 7.8a6 6 0 0 1 0 8.4M19.1 4.9a10 10 0 0 1 0 14.2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.9 19.1a10 10 0 0 1 0-14.2M7.8 16.2a6 6 0 0 1 0-8.4M16.2 7.8a6 6 0 0 1 0 8.4M19.1 4.9a10 10 0 0 1 0 14.2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E"); }
.ico-refresh { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15 6.7L3 16'/%3E%3Cpath d='M3 12a9 9 0 0 1 15-6.7L21 8'/%3E%3Cpath d='M3 21v-5h5M21 3v5h-5'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15 6.7L3 16'/%3E%3Cpath d='M3 12a9 9 0 0 1 15-6.7L21 8'/%3E%3Cpath d='M3 21v-5h5M21 3v5h-5'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15 6.7L3 16'/%3E%3Cpath d='M3 12a9 9 0 0 1 15-6.7L21 8'/%3E%3Cpath d='M3 21v-5h5M21 3v5h-5'/%3E%3C/svg%3E"); }
.ico-server { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01'/%3E%3C/svg%3E"); }
.ico-share { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98M15.41 6.51l-6.82 3.98'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98M15.41 6.51l-6.82 3.98'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98M15.41 6.51l-6.82 3.98'/%3E%3C/svg%3E"); }
.ico-shield { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ico-users { --ico-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3212B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); --ico-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4A4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); --ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }

/* Ícono en la tarjeta: cuadrado con el símbolo en rojo claro (tema oscuro), blanco al pasar el mouse */
:is(.itacom-canal, .itacom-div-card, .itacom-radio, .itacom-serv, .itacom-mvv-card)[class*="ico-"]::before {
	content: "";
	display: block;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: var(--wp--custom--radius--control);
	margin-bottom: 0.5rem;
	background: rgba(227, 33, 43, 0.15) var(--ico-a) center / 24px no-repeat;
	transition: background-color 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
:is(.itacom-serv, .itacom-mvv-card)[class*="ico-"]::before { background: rgba(227, 33, 43, 0.15) var(--ico-a) center / 24px no-repeat; }
:is(.itacom-canal, .itacom-div-card, .itacom-radio, .itacom-serv, .itacom-mvv-card)[class*="ico-"]:hover::before {
	background: var(--itacom-red) var(--ico-w) center / 24px no-repeat;
	transform: rotate(-8deg) scale(1.06);
}
.itacom-cifra[class*="ico-"]::before {
	content: "";
	flex: none;
	width: 34px;
	height: 28px;
	margin-top: 0.1rem;
	background: var(--ico-a) center / contain no-repeat;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.itacom-cifra[class*="ico-"]:hover::before { transform: scale(1.12) rotate(-6deg); }

/* Portada armada con subpáginas: enlace "Editar sección" (solo para quien puede editar) */
.itacom-seccion { position: relative; }
.itacom-seccion > * { margin-block: 0; }
.itacom-seccion__edit {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 40;
	padding: 0.4rem 0.8rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--itacom-red);
	color: var(--wp--preset--color--on-primary) !important;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.itacom-seccion:hover > .itacom-seccion__edit,
.itacom-seccion__edit:focus-visible { opacity: 1; transform: none; }

/* ---------- Carrusel de servicios (Itacom Care · Contact Center · Hosting · Itacom Guard) ----------
   Estático (sin autoplay), deslizable con dedo/rueda (scroll-snap). Flechas y puntos: assets/js/carrusel.js */
.itacom-carrusel {
	display: grid;
	grid-auto-flow: column;
	/* 3 por vista en escritorio: las tarjetas tienen ancho para que "Solicitar AnalyTICs" quede en una línea. */
	grid-auto-columns: calc((100% - 2 * var(--wp--preset--spacing--40)) / 3);
	gap: var(--wp--preset--spacing--40);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	padding-block: 6px var(--wp--preset--spacing--30);
}
.itacom-carrusel::-webkit-scrollbar { display: none; }
.itacom-carrusel > * { margin-block: 0 !important; }
.itacom-carrusel:focus-visible { outline: 2px solid var(--itacom-red); outline-offset: 4px; border-radius: var(--wp--custom--radius--card); }
@media (max-width: 1080px) { .itacom-carrusel { grid-auto-columns: calc((100% - var(--wp--preset--spacing--40)) / 2.15); } }
@media (max-width: 600px) { .itacom-carrusel { grid-auto-columns: 84%; } }
.itacom-slide { scroll-snap-align: start; min-width: 0; }
.itacom-slide__tag {
	color: var(--itacom-text-dark-muted);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
/* Ícono de la tarjeta (mismas variables --ico-* que .itacom-serv) */
.itacom-slide[class*="ico-"]::before {
	content: "";
	display: block;
	width: 46px;
	height: 46px;
	border-radius: var(--wp--custom--radius--control);
	margin-bottom: var(--wp--preset--spacing--30);
	background: rgba(227, 33, 43, 0.15) var(--ico-a, var(--ico-r)) center / 24px no-repeat;
	transition: background-color 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.itacom-slide[class*="ico-"]:hover::before { background: var(--itacom-red) var(--ico-w, var(--ico-r)) center / 24px no-repeat; transform: rotate(-8deg) scale(1.06); }
.itacom-carrusel__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}
.itacom-carrusel__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--itacom-line-dark);
	background: var(--wp--preset--color--contrast-2);
	color: var(--wp--preset--color--base);
	font-size: 1.1rem;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.itacom-carrusel__btn:hover:not(:disabled) { border-color: var(--itacom-red); color: var(--wp--preset--color--accent); }
.itacom-carrusel__btn:disabled { opacity: 0.35; cursor: default; }
.itacom-carrusel__btn:focus-visible,
.itacom-carrusel__dots button:focus-visible { outline: 2px solid var(--itacom-red); outline-offset: 3px; }
.itacom-carrusel__dots { display: flex; gap: 8px; }
.itacom-carrusel__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--itacom-line-dark);
	cursor: pointer;
	transition: width 0.25s ease, background-color 0.25s ease;
}
.itacom-carrusel__dots button.is-active { width: 24px; background: var(--itacom-red); }
@media (prefers-reduced-motion: reduce) {
	.itacom-carrusel { scroll-behavior: auto; }
	.itacom-carrusel__dots button, .itacom-slide[class*="ico-"]::before { transition: none; }
}

/* ---------- Páginas de detalle (v0.12): Tecnología, Contact Center, Servicios gestionados ----------
   Cabecera clara en modo claro (fondo contrast o contrast-2, alternado con la sección siguiente). */
.itacom-pagina-cab { position: relative; overflow: hidden; border-bottom: 1px solid var(--wp--preset--color--border); }
.itacom-pagina-cab::after {
	/* Línea roja de marca al pie de la cabecera */
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: min(220px, 40%);
	height: 3px;
	background: var(--itacom-red);
}
.itacom-pagina-cab h1 { margin-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); font-weight: 700; letter-spacing: -0.02em; }
.itacom-pagina-cab .wp-block-buttons { margin-top: var(--wp--preset--spacing--50); }
.itacom-migas { color: var(--wp--preset--color--muted); margin: 0; }
.itacom-migas a { color: inherit; text-decoration: none; }
.itacom-migas a:hover { color: var(--wp--preset--color--accent); }
.itacom-migas a:focus-visible,
.itacom-pagina-cab__anclas a:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
/* Accesos a las secciones de la página (píldoras) */
.itacom-pagina-cab__anclas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--wp--preset--spacing--40); }
.itacom-pagina-cab__anclas a {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.95rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--base);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.itacom-pagina-cab__anclas a:hover { border-color: var(--itacom-red); color: var(--wp--preset--color--accent); }
/* Menú: página actual */
.itacom-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--base); }
.itacom-nav .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); }

/* Logos recortados y equilibrados automáticamente (assets/js/logos.js).
   El marco muestra solo el dibujo; la imagen completa se desplaza adentro. */
.itacom-logo-grid .itacom-logo__recorte { display: block; overflow: hidden; flex: none; line-height: 0; }
.itacom-logo-grid .itacom-logo__recorte img.is-ajustado,
.itacom-logos .itacom-logo-grid .itacom-logo__recorte img.is-ajustado { max-width: none !important; max-height: none !important; object-fit: fill !important; display: block; }
