/*
Theme Name:   MetrikAI Child
Description:  Child theme de The7 para MetrikAI.
Author:       The Three Axis
Template:     dt-the7
Version:      1.6.2
Text Domain:  metrikai-child
*/

/* ==========================================================================
   Índice
   0. Fuentes locales (@font-face; woff2 y licencias OFL en assets/fonts/) y de reserva ajustadas
   1. Variables
   2. Base
   3. Cabecera (logo, menú CTA)
   4. Pie (widgets de sidebar_2 y barra inferior)
   5. Filas WPBakery (utilidades para "Extra class name" de filas y columnas)
   6. Tipografía (utilidades)
   7. Botones (variantes de The7 Button / dt_default_button y submit CF7)
   8. Elementos MetrikAI (mk_dots, mk_eyebrow, mk_dimension_card, mk_badge, mk_chip,
      mk_check_list, mk_step, mk_pillar, mk_include_item, mk_score, mk_radar,
      mk_timeline_step, mk_benefits, mk_plan) y rejillas de filas internas
   9. Contact Form 7
   10. Responsive (1080 / 900 / 720 / 640)
   11. Animaciones de entrada (suavizado de las nativas de WPBakery/The7, escalonado y detalles)
   ========================================================================== */

/* 0. Fuentes locales
   Subconjuntos latin + latin-ext descargados de Google Fonts (licencia SIL OFL 1.1).
   IBM Plex Sans y Schibsted Grotesk son variables (un fichero cubre todos los pesos).
   ========================================================================== */
/* IBM Plex Sans italic 400, latin-ext */
@font-face {
	font-family: "IBM Plex Sans";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-italic-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans italic 400, latin */
@font-face {
	font-family: "IBM Plex Sans";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans normal 400 700, latin-ext */
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans normal 400 700, latin */
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins normal 400, latin-ext */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins normal 400, latin */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins normal 600, latin-ext */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins normal 600, latin */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins normal 700, latin-ext */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins normal 700, latin */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Schibsted Grotesk normal 500 700, latin-ext */
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Schibsted Grotesk normal 500 700, latin */
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fuentes de reserva con métricas ajustadas (evitan el salto de maquetación, CLS, al cambiar de la
   fuente del sistema a la definitiva con font-display: swap). Arial —o sus clones de métricas
   idénticas en Linux/ChromeOS— escalada para ocupar lo mismo que cada fuente: size-adjust iguala el
   ancho medio de un texto representativo y los overrides, la altura de línea. Medido en Chrome con
   los woff2 de assets/fonts/ (ancho medio por carácter de un texto ES/EN; ascendente, descendente
   e interlineado de la tabla hhea). Se usan en --mk-font-* (sección 1) y en las variables de
   tipografía de The7 (inc/fonts.php). */
/* IBM Plex Sans Fallback 100 500: IBM Plex Sans 400 / Arial */
@font-face {
	font-family: "IBM Plex Sans Fallback";
	font-style: normal;
	font-weight: 100 500;
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
	size-adjust: 100.46%;
	ascent-override: 102.03%;
	descent-override: 27.37%;
	line-gap-override: 0%;
}
/* IBM Plex Sans Fallback 600 900: IBM Plex Sans 600 / Arial Bold */
@font-face {
	font-family: "IBM Plex Sans Fallback";
	font-style: normal;
	font-weight: 600 900;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
	size-adjust: 96.97%;
	ascent-override: 105.70%;
	descent-override: 28.36%;
	line-gap-override: 0%;
}
/* Poppins Fallback 100 500: Poppins 400 / Arial */
@font-face {
	font-family: "Poppins Fallback";
	font-style: normal;
	font-weight: 100 500;
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
	size-adjust: 112.19%;
	ascent-override: 93.59%;
	descent-override: 31.20%;
	line-gap-override: 8.91%;
}
/* Poppins Fallback 600 900: Poppins 600 / Arial Bold */
@font-face {
	font-family: "Poppins Fallback";
	font-style: normal;
	font-weight: 600 900;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
	size-adjust: 106.55%;
	ascent-override: 98.55%;
	descent-override: 32.85%;
	line-gap-override: 9.39%;
}
/* Schibsted Grotesk Fallback 100 500: Schibsted Grotesk 500 / Arial */
@font-face {
	font-family: "Schibsted Grotesk Fallback";
	font-style: normal;
	font-weight: 100 500;
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
	size-adjust: 105.43%;
	ascent-override: 92.67%;
	descent-override: 24.47%;
	line-gap-override: 0%;
}
/* Schibsted Grotesk Fallback 600 900: Schibsted Grotesk 600 / Arial Bold */
@font-face {
	font-family: "Schibsted Grotesk Fallback";
	font-style: normal;
	font-weight: 600 900;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
	size-adjust: 99.90%;
	ascent-override: 97.80%;
	descent-override: 25.83%;
	line-gap-override: 0%;
}

/* 1. Variables
   ========================================================================== */
:root {
	--mk-navy: #021C40;
	--mk-ink: #000A1A;
	--mk-ink2: #000819;
	--mk-deep: #031224;
	--mk-blue: #3A86FF;
	--mk-blue-hover: #6AA4FF;
	--mk-green: #10B981;
	--mk-green-hover: #34D399;
	--mk-green-dark: #0C7A56;
	--mk-text: #F1F1F1;
	--mk-muted: #C9D4E5;
	--mk-soft: #DCE6F5;
	--mk-dark-text: #1D1E20;

	/* Colores de dimensión */
	--mk-adopcion: #10B981;
	--mk-gobernanza: #3A86FF;
	--mk-riesgo: #F26B6B;
	--mk-cultura: #A78BFA;
	--mk-seguridad: #2DD4BF;

	--mk-font-head: "Schibsted Grotesk", "Schibsted Grotesk Fallback", system-ui, sans-serif;
	--mk-font-body: "IBM Plex Sans", "IBM Plex Sans Fallback", system-ui, sans-serif;
	--mk-font-nav: "Poppins", "Poppins Fallback", sans-serif;
}

/* 2. Base
   ========================================================================== */
/* The7 pinta el body en blanco (Opciones > Fondo); evita la franja blanca bajo el pie. */
html,
body {
	background-color: var(--mk-ink);
}

/* 3. Cabecera
   ========================================================================== */
/* Logo (símbolo sin texto; imagen a 3× del alto de uso): 56px en la cabecera normal, 44px en la
   flotante (a.sticky-logo o cabecera fija .sticky-on) y en la móvil (.mobile-branding).
   #page para ganar a ".show-mobile-logo .mobile-branding img.mobile-logo" de The7. El ancho sale
   de los atributos width/height de la imagen, así que el hueco se reserva antes de que cargue. */
#page .masthead .branding img,
#page .masthead .mobile-branding img {
	width: auto;
	height: 56px;
	max-width: none;
}

#page .masthead .branding .sticky-logo img,
#page .masthead.sticky-on .branding img,
#page .masthead .mobile-branding img {
	height: 44px;
}

/* Cabecera fija "phantom" de The7: hasta que su JS marca la cabecera (.sticky-off), el enlace del
   logo va en position: absolute y no ocupa sitio, y al colocarlo el menú salta ~90px (CLS). Se
   adelanta aquí el estado final mientras la cabecera no está fija. */
.phantom-sticky .masthead:not(.sticky-on) .branding > a:not(.sticky-logo) {
	position: static;
	opacity: 1;
}

/* Cabecera móvil (≤ 992px, "first switch" de The7): la barra y su hueco (.mobile-header-space) los
   crea el JS de The7 al cargar y el contenido bajaba 60px (CLS). Se reserva el hueco hasta entonces
   (altura de la barra = Opciones de The7, variable de css-vars.css). */
@media (max-width: 992px) {
	.masthead:not(.masthead-mobile-header):not(.side-header) {
		padding-top: var(--the7-first-switch-mobile-header-height, 60px);
	}
}

/* Ítem de menú con clase CSS "mk-menu-cta" (Apariencia > Menús > Clases CSS). */
.main-nav > li.mk-menu-cta {
	align-items: center;
}

.main-nav > li.mk-menu-cta > a {
	box-sizing: border-box;
	align-self: center;
	height: auto;
	min-height: 44px;
	margin-top: 0;
	margin-bottom: 0;
	padding: 10px 18px;
	line-height: 1.2;
	border: 1px solid var(--mk-blue);
	border-radius: 4px;
	background: var(--mk-blue);
	transition: background-color .2s, border-color .2s;
}

/* #page para ganar a ".sticky-on .main-nav > li:not(.wpml-ls-item) > a .menu-text" de The7. */
#page .main-nav > li.mk-menu-cta > a .menu-text,
#page .main-nav > li.mk-menu-cta > a:hover .menu-text,
#page .main-nav > li.mk-menu-cta.act > a .menu-text,
.mobile-main-nav > li.mk-menu-cta > a .menu-text,
.mobile-main-nav > li.mk-menu-cta > a:hover .menu-text,
.mobile-main-nav > li.mk-menu-cta.act > a .menu-text {
	color: var(--mk-navy);
}

.main-nav > li.mk-menu-cta > a .menu-item-text {
	line-height: 1.2;
}

.main-nav > li.mk-menu-cta > a .underline,
.main-nav > li.mk-menu-cta > a::after,
.main-nav > li.mk-menu-cta > a::before {
	display: none;
}

.main-nav > li.mk-menu-cta > a:hover {
	background: var(--mk-blue-hover);
	border-color: var(--mk-blue-hover);
}

.main-nav > li.mk-menu-cta.act > a,
.main-nav > li.mk-menu-cta.current-menu-item > a {
	background: var(--mk-green);
	border-color: var(--mk-green);
}

.mobile-main-nav > li.mk-menu-cta {
	margin-top: 12px;
}

.mobile-main-nav > li.mk-menu-cta > a {
	display: inline-flex;
	padding: 10px 18px;
	border-radius: 4px;
	background: var(--mk-blue);
}

.mobile-main-nav > li.mk-menu-cta.act > a {
	background: var(--mk-green);
}

/* Selector de idioma (inc/polylang.php): último elemento del menú principal y del móvil. */
.main-nav > li.mk-lang-item {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: 8px;
}

.mk-lang {
	position: relative;
}

.mk-lang__btn {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid rgba(58, 134, 255, .45);
	border-radius: 4px;
	background: none;
	font-family: var(--mk-font-nav);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: var(--mk-blue);
	cursor: pointer;
}

.mk-lang__btn:hover,
.mk-lang.is-open .mk-lang__btn {
	border-color: var(--mk-blue);
	color: var(--mk-blue-hover);
}

.mk-lang__btn:focus-visible {
	outline: 2px solid var(--mk-green);
	outline-offset: 2px;
}

.mk-lang__btn svg {
	transition: transform .15s;
}

.mk-lang.is-open .mk-lang__btn svg {
	transform: rotate(180deg);
}

ul.mk-lang__list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 100;
	display: none;
	min-width: 140px;
	margin: 0;
	padding: 6px;
	border: 1px solid rgba(58, 134, 255, .45);
	border-radius: 6px;
	background: var(--mk-navy);
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
	list-style: none;
}

/* Sin JS: se abre con el ratón o el foco; con JS lo controla el botón (aria-expanded). */
.mk-lang:not(.mk-lang--js):hover .mk-lang__list,
.mk-lang:not(.mk-lang--js):focus-within .mk-lang__list,
.mk-lang.is-open .mk-lang__list {
	display: block;
}

.mk-lang__list li {
	margin: 0;
	padding: 0;
}

#page .mk-lang__list a {
	display: block;
	padding: 10px 12px;
	border-radius: 4px;
	font-family: var(--mk-font-nav);
	font-size: 14px;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

#page .mk-lang__list a:hover,
#page .mk-lang__list a:focus-visible {
	background: rgba(58, 134, 255, .15);
	color: var(--mk-blue-hover);
}

/* Menú móvil de The7: el selector va dentro, alineado a la izquierda y con la lista en flujo. */
.mobile-main-nav > li.mk-lang-item {
	padding: 16px 0 8px;
}

.mobile-main-nav .mk-lang__list {
	position: static;
	margin-top: 8px;
	box-shadow: none;
}

/* 4. Pie
   ========================================================================== */
#footer .mk-footer__col {
	font-size: 15px;
	line-height: 1.6;
	color: var(--mk-soft);
}

#footer .mk-footer__col p,
#footer .mk-footer__col ul {
	margin: 0;
}

#footer .mk-footer__accent {
	display: block;
	width: 48px;
	height: 3px;
	border-radius: 2px;
	background: var(--mk-green);
}

/* .mk-footer__col delante para ganar al "margin: 0" de los <p> del pie. */
#footer .mk-footer__col .mk-footer__brand {
	margin: 20px 0 12px;
	font-family: var(--mk-font-head);
	font-size: 34px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
}

#footer .mk-footer__col .mk-footer__label {
	margin-bottom: 16px;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mk-green);
}

#footer .mk-footer__list {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

#footer .mk-footer__list li {
	margin: 0;
	padding: 0;
}

#footer .mk-footer__col a {
	font-size: 14px;
	letter-spacing: .05em;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#footer .mk-footer__col a:hover,
#footer .mk-footer__col a:focus-visible {
	color: var(--mk-green);
}

/* Barra inferior: línea verde y etiqueta .mk-tag (texto de Opciones > Pie > Barra inferior). */
#bottom-bar .wf-container-bottom {
	border-top: 1px solid var(--mk-green);
	font-size: 14px;
	color: var(--mk-soft);
}

#bottom-bar .bottom-text-block p {
	margin: 0;
}

.mk-tag {
	font-size: 13px;
	letter-spacing: .22em;
	color: var(--mk-green);
}

/* 5. Filas WPBakery
   Uso: Fila > Extra class name, p. ej. "mk-row mk-row--navy mk-center".
   ========================================================================== */
/* Filas "Stretch row" (full_width="stretch_row"): WPBakery las estira al ancho de la ventana con JS
   al cargar el DOM y, hasta entonces, se pintan dentro del contenedor (salto de maquetación, CLS).
   Aquí se les da ya la geometría final que calcula su JS (left, width y padding; % = ancho del
   contenedor, 15px = margen negativo de .vc_row); después el JS escribe los mismos valores en línea.
   Con barra de desplazamiento clásica (Windows) 100vw incluye la barra y queda una diferencia de
   ~15px que corrige el JS. */
.vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content]) {
	position: relative;
	left: calc((100% - 100vw) / 2 + 15px);
	box-sizing: border-box;
	width: 100vw;
	padding-right: calc((100vw - 100%) / 2 - 15px);
	padding-left: calc((100vw - 100%) / 2 - 15px);
}

.vc_row.mk-row {
	position: relative;
	margin-bottom: 0;
	padding-top: 104px;
	padding-bottom: 104px;
	overflow: hidden;
}

.vc_row.mk-row--navy { background-color: var(--mk-navy); }
.vc_row.mk-row--ink { background-color: var(--mk-ink); }
.vc_row.mk-row--ink2 { background-color: var(--mk-ink2); }
.vc_row.mk-row--deep { background-color: var(--mk-deep); }

.vc_row.mk-row--white {
	--the7-base-color: var(--mk-dark-text);
	--the7-title-color: var(--mk-navy);
	--the7-h1-color: var(--mk-navy);
	--the7-h2-color: var(--mk-navy);
	--the7-h3-color: var(--mk-navy);
	--the7-h4-color: var(--mk-navy);
	--the7-secondary-text-color: #3A4250;
	background-color: #fff;
	color: var(--mk-dark-text);
}

.mk-row--white h1,
.mk-row--white h2,
.mk-row--white h3,
.mk-row--white h4 {
	color: var(--mk-navy);
}

/* Héroe: más aire abajo, como el diseño. */
.vc_row.mk-hero {
	padding-top: 96px;
	padding-bottom: 120px;
}

.mk-center,
.mk-center .wpb_text_column {
	text-align: center;
}

/* Puntos decorativos abajo a la derecha de la fila. */
.mk-pattern::after {
	content: "";
	position: absolute;
	right: 24px;
	bottom: 24px;
	width: 200px;
	height: 120px;
	background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.7px);
	background-size: 20px 20px;
	pointer-events: none;
}

.vc_row.mk-pattern::after {
	display: block;
	clear: none;
}

/* Separador verde de 8px: fila vacía con "mk-sep" (opcional + mk-row--ink para el fondo). */
.vc_row.mk-sep {
	position: relative;
	min-height: 8px;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.vc_row.mk-sep::after {
	content: "";
	position: absolute;
	top: 0;
	right: 12px;
	left: 12px;
	display: block;
	height: 8px;
	border-radius: 2px;
	background: var(--mk-green);
}

/* Espaciado vertical de los elementos dentro de las filas MetrikAI. */
.mk-row .wpb_content_element,
.mk-row .vc_btn3-container {
	margin-bottom: 24px;
}

.mk-row .wpb_wrapper > :last-child {
	margin-bottom: 0;
}

/* Filete superior sutil (fila de CTA tras otra del mismo color). */
.vc_row.mk-row--line {
	border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Fila con foto de fondo (Registro): la imagen va en Opciones de diseño de la fila;
   esta clase añade el degradado navy encima para que el texto sea legible. */
.vc_row.mk-reg-bg {
	background-color: var(--mk-navy);
	background-position: center right !important;
	background-size: cover !important;
}

.vc_row.mk-reg-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	display: block;
	background: linear-gradient(90deg, rgba(2, 28, 64, .94) 0%, rgba(2, 28, 64, .82) 45%, rgba(2, 28, 64, .35) 100%);
	pointer-events: none;
}

.vc_row.mk-reg-bg > .wpb_column {
	position: relative;
	z-index: 1;
}

/* Columnas tarjeta: Columna > Extra class name. */
.wpb_column.mk-formcard > .vc_column-inner > .wpb_wrapper {
	padding: 40px;
	border: 1px solid #E1E6EE;
	border-radius: 16px;
	background: #F4F6FA;
}

.wpb_column.mk-regcard > .vc_column-inner > .wpb_wrapper {
	max-width: 640px;
	padding: 40px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	background: rgba(0, 10, 26, .72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.wpb_column.mk-formcard .wpb_wrapper,
.wpb_column.mk-regcard .wpb_wrapper {
	box-sizing: border-box;
}

/* Caja de llamada a la acción (Fila interna > "mk-cta-box"): texto y botón en línea. */
.vc_row.vc_inner.mk-cta-box {
	margin: 56px 0 0;
	padding: 24px 28px;
	border: 1px solid rgba(58, 134, 255, .35);
	border-radius: 14px;
	background: rgba(58, 134, 255, .05);
}

.vc_row.vc_inner.mk-cta-box > .wpb_column > .vc_column-inner {
	padding: 0;
}

.vc_row.vc_inner.mk-cta-box .wpb_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
	justify-content: space-between;
}

.vc_row.vc_inner.mk-cta-box .wpb_wrapper > * {
	margin: 0;
}

.vc_row.vc_inner.mk-cta-box .wpb_text_column,
.vc_row.vc_inner.mk-cta-box .wpb_text_column p {
	flex: 1 1 420px;
	font-size: 18px;
	color: #fff;
}

.vc_row.vc_inner.mk-cta-box .dt-btn {
	float: none;
	margin: 0;
}

/* Páginas legales: Fila > "mk-row mk-row--white mk-legal" con un Bloque de texto. */
.mk-legal .wpb_text_column {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.mk-legal .wpb_text_column h1 {
	margin: 0 0 16px;
	font-size: 48px;
	line-height: 1.1;
}

.mk-legal .wpb_text_column h2 {
	margin: 40px 0 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.mk-legal .wpb_text_column p,
.mk-legal .wpb_text_column li,
.mk-legal .wpb_text_column td,
.mk-legal .wpb_text_column th {
	font-size: 16px;
	line-height: 1.7;
	color: var(--mk-dark-text);
}

.mk-legal .wpb_text_column p,
.mk-legal .wpb_text_column ul,
.mk-legal .wpb_text_column ol,
.mk-legal .wpb_text_column table {
	margin: 0 0 16px;
}

.mk-legal .wpb_text_column ul,
.mk-legal .wpb_text_column ol {
	padding-left: 22px;
}

.mk-legal .wpb_text_column li {
	margin-bottom: 4px;
}

.mk-legal .wpb_text_column a {
	color: #0B5FD9;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mk-legal .wpb_text_column a:hover,
.mk-legal .wpb_text_column a:focus-visible {
	color: var(--mk-navy);
}

.mk-legal .wpb_text_column table {
	width: 100%;
	border: 1px solid #D9DFE8;
	border-collapse: collapse;
}

.mk-legal .wpb_text_column th,
.mk-legal .wpb_text_column td {
	padding: 10px 12px;
	border: 1px solid #D9DFE8;
	text-align: left;
	vertical-align: top;
}

.mk-legal .wpb_text_column th {
	background: #F4F6FA;
	font-weight: 600;
	color: var(--mk-navy);
}

/* Texto pendiente de completar por el cliente: <span class="mk-todo">. */
.mk-todo {
	padding: 0 4px;
	border-radius: 3px;
	background: #FFF3B0;
	color: var(--mk-dark-text);
}

/* 6. Tipografía
   Clases para el "Extra class name" de un Bloque de texto (afectan a su contenido).
   ========================================================================== */
.mk-lead,
.mk-lead p {
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.5;
	color: var(--mk-soft);
}

.mk-row--white .mk-lead,
.mk-row--white .mk-lead p {
	color: #3A4250;
}

.wpb_text_column.mk-lead {
	max-width: 760px;
}

.mk-center .wpb_text_column.mk-lead, .mk-center .mk-lead {
	max-width: 860px;
	margin-right: auto;
	margin-left: auto;
}

.mk-hero .mk-lead {
	margin-top: 28px;
	margin-bottom: 44px;
}

.mk-hl {
	color: var(--mk-green);
}

/* Título de héroe: H1 a ~60px. */
.mk-hero-title h1,
h1.mk-hero-title {
	max-width: 1000px;
	margin: 0 auto;
	font-size: clamp(38px, 4.4vw, 60px);
	line-height: 1.1;
	letter-spacing: -.015em;
}

/* Título extra grande en mayúsculas ("5 DIMENSIONES"). */
.mk-title-xl h1,
.mk-title-xl h2,
.mk-title-xl h3,
h2.mk-title-xl {
	margin: 0;
	font-family: var(--mk-font-head);
	font-size: clamp(40px, 5vw, 68px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #fff;
}

/* Subtítulo grande bajo un título. */
.mk-subtitle,
.mk-subtitle p {
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.35;
	color: #fff;
}

.mk-row .wpb_content_element.mk-title-xl {
	margin-bottom: 12px;
}

/* Antetítulo en texto: <span class="mk-eyebrow"> o usar el elemento "Antetítulo". */
.mk-eyebrow {
	display: inline-block;
	margin-bottom: 20px;
	padding-left: 10px;
	border-left: 2px solid currentColor;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mk-green);
}

.mk-eyebrow--blue { color: var(--mk-blue); }
.mk-eyebrow--white { color: #fff; }
.mk-row--white .mk-eyebrow--green { color: var(--mk-green-dark); }

/* Títulos con tamaño de otro nivel (semántica intacta): H1 con tamaño de H2, etc. */
.mk-as-h2 h1,
.mk-as-h2 h2,
.mk-as-h2 h3 {
	font-size: var(--the7-h2-font-size);
	line-height: var(--the7-h2-line-height);
}

.mk-as-h3 h1,
.mk-as-h3 h2,
.mk-as-h3 h3 {
	font-size: var(--the7-h3-font-size);
	line-height: var(--the7-h3-line-height);
}

/* Título con barra verde a la izquierda ("Planes"). */
.mk-title-bar h1,
.mk-title-bar h2,
.mk-title-bar h3 {
	padding-left: 20px;
	border-left: 4px solid var(--mk-green);
}

/* Título de sección centrado: <h2> + <p> opcional en verde. */
.mk-sec-title {
	text-align: center;
}

.mk-sec-title h2 {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	font-family: var(--mk-font-body);
	font-weight: 700;
	letter-spacing: -.01em;
}

.mk-sec-title p {
	margin: 8px 0 0;
	font-family: var(--mk-font-body);
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 600;
	line-height: 1.35;
	color: var(--mk-green);
}

.mk-row .wpb_content_element.mk-sec-title {
	margin-bottom: 64px;
}

.mk-row .wpb_content_element.mk-sec-title--tight {
	margin-bottom: 20px;
}

.mk-row--white .mk-sec-title p {
	color: var(--mk-green-dark);
}

/* Entradilla en azul claro (héroe de Cómo funciona). */
.mk-lead.mk-lead--blue,
.mk-lead.mk-lead--blue p {
	font-size: 20px;
	color: var(--mk-blue-hover);
}

.mk-center .mk-lead.mk-lead--blue {
	max-width: 760px;
}

/* Palabra resaltada en azul dentro de un título: <span class="mk-hl-blue">. */
.mk-hl-blue {
	color: var(--mk-blue);
}

/* Subtítulo de CTA final (verde oscuro sobre blanco). */
.mk-cta-sub,
.mk-cta-sub p {
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.35;
	color: var(--mk-green-dark);
}

.mk-center .mk-cta-sub {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
}

.mk-row .wpb_content_element.mk-cta-sub {
	margin-bottom: 40px;
}

/* Nota pequeña en cursiva. */
.mk-note,
.mk-note p {
	font-size: 14px;
	font-style: italic;
	line-height: 1.6;
	color: #4B5563;
}

.mk-row:not(.mk-row--white) .mk-note,
.mk-row:not(.mk-row--white) .mk-note p {
	color: #9AA8BD;
}

.mk-row .wpb_content_element.mk-note {
	margin-top: 40px;
}

/* Imagen con esquinas redondeadas y sombra (Imagen sencilla > Extra class name). */
.wpb_single_image.mk-media-shadow .vc_figure,
.wpb_single_image.mk-media-shadow .vc_single_image-wrapper {
	display: block;
}

.wpb_single_image.mk-media-shadow .vc_single_image-wrapper {
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}

.wpb_single_image.mk-media-shadow img {
	display: block;
	width: 100%;
}

/* 7. Botones
   Elemento "The7 Button" (dt_default_button) con tamaño Medium; la variante va en
   "Extra class name": mk-btn-ghost o mk-btn-green. Sin clase = botón azul de las opciones.
   ========================================================================== */
.dt-btn.mk-btn-ghost,
.wpcf7-submit.mk-btn-ghost {
	--the7-btn-bg: rgba(255, 255, 255, .04);
	--the7-btn-bg-color: rgba(255, 255, 255, .04);
	--the7-btn-hover-bg: rgba(255, 255, 255, .1);
	--the7-btn-hover-bg-color: rgba(255, 255, 255, .1);
	--the7-btn-border-color: rgba(255, 255, 255, .2);
	--the7-btn-border-hover-color: rgba(255, 255, 255, .35);
	--the7-btn-color: #fff;
	--the7-btn-hover-color: #fff;
	background: var(--the7-btn-bg);
	border-color: var(--the7-btn-border-color);
}

.dt-btn.mk-btn-green,
.wpcf7-submit.mk-btn-green {
	--the7-btn-bg: var(--mk-green);
	--the7-btn-bg-color: var(--mk-green);
	--the7-btn-hover-bg: var(--mk-green-hover);
	--the7-btn-hover-bg-color: var(--mk-green-hover);
	--the7-btn-border-color: var(--mk-green);
	--the7-btn-border-hover-color: var(--mk-green-hover);
	--the7-btn-color: var(--mk-navy);
	--the7-btn-hover-color: var(--mk-navy);
	--the7-btn-s-border-radius: 999px;
	--the7-btn-m-border-radius: 999px;
	--the7-btn-l-border-radius: 999px;
	padding-right: 34px;
	padding-left: 34px;
	border-radius: 999px;
	background: var(--the7-btn-bg);
	border-color: var(--the7-btn-border-color);
}

.dt-btn.mk-btn-ghost > span,
.dt-btn.mk-btn-green > span {
	color: var(--the7-btn-color);
}

.dt-btn.mk-btn-ghost:hover > span,
.dt-btn.mk-btn-green:hover > span {
	color: var(--the7-btn-hover-color);
}

/* Grupo de botones en línea dentro de una columna centrada. */
.mk-center .dt-btn.btn-inline-left,
.mk-center .dt-btn.btn-inline-right {
	float: none;
	margin: 0 8px 16px;
}

/* 8. Elementos MetrikAI
   ========================================================================== */
/* The7 no usa border-box global; los componentes propios sí (como el diseño). */
.mk-card,
.mk-card *,
.mk-card *::before,
.mk-card *::after,
.wpcf7-form .mk-input,
.wpcf7-form .mk-opts * {
	box-sizing: border-box;
}

/* mk_dots */
.mk-dots {
	display: block;
	width: 192px;
	height: 0;
	margin: 0 0 36px;
	border-top: 5px dotted var(--mk-green);
}

.mk-dots--center,
.mk-center .mk-dots {
	margin-right: auto;
	margin-left: auto;
}

.mk-dots--right {
	margin-left: auto;
}

/* mk_eyebrow */
.mk-eyebrow-wrap .mk-eyebrow {
	margin-bottom: 0;
}

.mk-row .mk-eyebrow-wrap {
	margin-bottom: 20px;
}

/* mk_dimension_card: color por dimensión vía --c */
.mk-dim--adopcion { --c: var(--mk-adopcion); }
.mk-dim--gobernanza { --c: var(--mk-gobernanza); }
.mk-dim--riesgo { --c: var(--mk-riesgo); }
.mk-dim--cultura { --c: var(--mk-cultura); }
.mk-dim--seguridad { --c: var(--mk-seguridad); }

.mk-card {
	position: relative;
	height: 100%;
	padding: 28px;
	border: 1px solid color-mix(in srgb, var(--c, var(--mk-green)) 60%, transparent);
	border-radius: 14px;
	background: rgba(255, 255, 255, .025);
	box-shadow: 0 0 36px -10px color-mix(in srgb, var(--c, var(--mk-green)) 45%, transparent);
	text-align: left;
}

.mk-dim {
	display: flex;
	gap: 22px;
	align-items: flex-start;
}

.mk-ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1.5px solid var(--c, var(--mk-green));
	border-radius: 50%;
	background: color-mix(in srgb, var(--c, var(--mk-green)) 10%, transparent);
	color: var(--c, var(--mk-green));
}

.mk-ico svg {
	width: 30px;
	height: 30px;
}

.mk-dim__body {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.mk-num {
	font-family: var(--mk-font-head);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: var(--c, var(--mk-green));
}

.mk-card h3.mk-dim__title {
	margin: 0;
	font-family: var(--mk-font-head);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
}

.mk-dim__q {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #E6ECF5;
}

/* ul.mk-list para ganar a ".content ul { list-style: disc }" de The7. */
ul.mk-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

ul.mk-list li {
	list-style: none;
}

.mk-list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-list li {
	position: relative;
	margin: 0;
	padding-left: 18px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mk-muted);
}

.mk-list li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c, var(--mk-green));
}

/* Rejilla de tarjetas: Fila interna con "mk-dims" y columnas 1/3.
   3 por fila; si la última fila tiene 2, se centran (3 + 2 como el diseño). */
.vc_row.vc_inner.mk-dims {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 28px;
	margin: 64px 0 0;
}

.vc_row.vc_inner.mk-dims::before,
.vc_row.vc_inner.mk-dims::after {
	display: none;
}

.vc_row.vc_inner.mk-dims > .wpb_column {
	grid-column: span 2;
	width: auto;
	float: none;
}

.vc_row.vc_inner.mk-dims > .wpb_column > .vc_column-inner {
	height: 100%;
	padding: 0;
}

.vc_row.vc_inner.mk-dims > .wpb_column > .vc_column-inner > .wpb_wrapper {
	height: 100%;
}

.vc_row.vc_inner.mk-dims > .wpb_column:nth-child(3n + 1):nth-last-child(2) {
	grid-column: 2 / span 2;
}

.vc_row.vc_inner.mk-dims > .wpb_column:nth-child(3n + 2):last-child {
	grid-column: 4 / span 2;
}

/* Colores de acento libres (mk_timeline_step) vía --c */
.mk-c--green { --c: var(--mk-green); }
.mk-c--teal { --c: var(--mk-seguridad); }
.mk-c--blue { --c: var(--mk-blue); }
.mk-c--light-blue { --c: var(--mk-blue-hover); }
.mk-c--violet { --c: var(--mk-cultura); }

/* Rejillas de elementos: Fila interna con una de estas clases y una columna por elemento.
   La rejilla CSS ignora el ancho de las columnas; cada clase define su nº de columnas. */
.vc_row.vc_inner.mk-pillars,
.vc_row.vc_inner.mk-includes,
.vc_row.vc_inner.mk-scores,
.vc_row.vc_inner.mk-timeline,
.vc_row.vc_inner.mk-plans {
	position: relative;
	display: grid;
	gap: 20px;
	margin: 0;
}

.vc_row.vc_inner.mk-pillars::before,
.vc_row.vc_inner.mk-pillars::after,
.vc_row.vc_inner.mk-includes::before,
.vc_row.vc_inner.mk-includes::after,
.vc_row.vc_inner.mk-scores::before,
.vc_row.vc_inner.mk-scores::after,
.vc_row.vc_inner.mk-timeline::after,
.vc_row.vc_inner.mk-plans::before,
.vc_row.vc_inner.mk-plans::after {
	display: none;
}

.vc_row.vc_inner.mk-pillars > .wpb_column,
.vc_row.vc_inner.mk-includes > .wpb_column,
.vc_row.vc_inner.mk-scores > .wpb_column,
.vc_row.vc_inner.mk-timeline > .wpb_column,
.vc_row.vc_inner.mk-plans > .wpb_column {
	width: auto;
	float: none;
}

.vc_row.vc_inner.mk-pillars > .wpb_column > .vc_column-inner,
.vc_row.vc_inner.mk-includes > .wpb_column > .vc_column-inner,
.vc_row.vc_inner.mk-scores > .wpb_column > .vc_column-inner,
.vc_row.vc_inner.mk-timeline > .wpb_column > .vc_column-inner,
.vc_row.vc_inner.mk-plans > .wpb_column > .vc_column-inner {
	height: 100%;
	padding: 0;
}

.vc_row.vc_inner.mk-pillars > .wpb_column > .vc_column-inner > .wpb_wrapper,
.vc_row.vc_inner.mk-scores > .wpb_column > .vc_column-inner > .wpb_wrapper,
.vc_row.vc_inner.mk-plans > .wpb_column > .vc_column-inner > .wpb_wrapper {
	height: 100%;
}

.vc_row.vc_inner.mk-pillars,
.vc_row.vc_inner.mk-scores {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vc_row.vc_inner.mk-includes {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 56px 24px;
}

.vc_row.vc_inner.mk-timeline {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}

.vc_row.vc_inner.mk-plans {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 64px;
}

/* Línea de la línea de tiempo, a la altura de los números. */
.vc_row.vc_inner.mk-timeline::before {
	content: "";
	position: absolute;
	top: 132px;
	right: 10%;
	left: 10%;
	display: block;
	height: 2px;
	background: linear-gradient(90deg, var(--mk-green), var(--mk-blue), var(--mk-cultura));
}

/* mk_badge */
.mk-badge {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 6px 14px;
	border: 1px solid #B5EBD6;
	border-radius: 999px;
	background: #E7F8F1;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mk-green-dark);
}

.mk-badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mk-green);
}

.mk-row .mk-badge-wrap {
	margin-bottom: 24px;
}

/* mk_chip */
.mk-chip {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mk-chip--blue { color: var(--mk-blue-hover); }
.mk-chip--violet { color: #B79CFF; }
.mk-chip--green { color: var(--mk-green); }
.mk-row--white .mk-chip--blue { color: #1F5FC4; }
.mk-row--white .mk-chip--violet { color: #6B4FD8; }
.mk-row--white .mk-chip--green { color: var(--mk-green-dark); }

.mk-row .mk-chip-wrap {
	margin-bottom: 24px;
}

/* mk_check_list (y listas de mk_step) */
ul.mk-checks {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-checks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1.5;
	color: var(--mk-soft);
	list-style: none;
}

.mk-checks svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--mk-green);
}

.mk-row--white .mk-checks li { color: var(--mk-dark-text); }
.mk-row--white .mk-checks svg { color: #0C9467; }

.mk-row ul.mk-checks {
	margin-bottom: 24px;
}

/* mk_step */
.mk-step {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	margin-bottom: 112px;
}

.mk-step--img-right .mk-step__media {
	order: 2;
}

.mk-step--no-img {
	grid-template-columns: minmax(0, 1fr);
}

.mk-step__media {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px;
	background: #030E22;
}

.mk-step__media img {
	display: block;
	width: 100%;
	height: auto;
}

.mk-step__n {
	display: inline-grid;
	place-items: center;
	box-sizing: border-box;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border: 1px solid rgba(16, 185, 129, .5);
	border-radius: 12px;
	background: rgba(16, 185, 129, .12);
	font-family: var(--mk-font-head);
	font-size: 20px;
	font-weight: 600;
	color: var(--mk-green);
}

.mk-step h2.mk-step__title {
	margin: 0;
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1.1;
	color: var(--mk-blue-hover);
}

.mk-step__txt {
	margin: 14px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--mk-text);
}

.mk-step__txt--muted {
	font-size: 16px;
	color: #B8C4D6;
}

.mk-step .mk-chip {
	margin-top: 16px;
}

.mk-step ul.mk-checks {
	margin: 24px 0 0;
}

/* mk_pillar */
.mk-pillar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 360px;
	padding: 28px 22px;
}

.mk-pillar__n {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 12px;
	font-family: var(--mk-font-head);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	color: var(--c);
}

.mk-pillar__n::after {
	content: "";
	width: 28px;
	height: 1.5px;
	background: currentColor;
}

.mk-card h3.mk-pillar__title {
	margin: 0;
	font-family: var(--mk-font-body);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

.mk-pillar__txt {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mk-muted);
}

.mk-bar {
	overflow: hidden;
	height: 4px;
	margin-top: auto;
	border-radius: 2px;
	background: rgba(255, 255, 255, .08);
}

.mk-bar span {
	display: block;
	height: 100%;
	border-radius: 2px;
	background: var(--c);
}

/* mk_include_item: conector discontinuo hacia el siguiente ítem de la fila. */
.mk-inc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	text-align: center;
}

.mk-inc::before {
	content: "";
	position: absolute;
	top: 44px;
	left: calc(50% + 56px);
	width: calc(100% - 88px);
	border-top: 2px dashed rgba(58, 134, 255, .45);
}

.mk-includes > .wpb_column:nth-child(4n) .mk-inc::before,
.mk-includes > .wpb_column:last-child .mk-inc::before {
	display: none;
}

.mk-inc__ico {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 88px;
	height: 88px;
	border: 1.5px solid rgba(58, 134, 255, .6);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, rgba(58, 134, 255, .18), rgba(2, 28, 64, .4) 70%);
	box-shadow: 0 0 30px -8px rgba(58, 134, 255, .6);
	color: var(--mk-blue-hover);
}

.mk-inc__ico svg {
	width: 36px;
	height: 36px;
}

.mk-inc__n {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--mk-green);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--mk-navy);
}

.mk-inc h3.mk-inc__title {
	margin: 0;
	font-family: var(--mk-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
}

/* mk_score: donut */
.mk-score {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	padding: 28px 18px;
	text-align: center;
}

.mk-score__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	color: var(--c);
}

.mk-score__head svg {
	width: 30px;
	height: 30px;
}

.mk-card h3.mk-score__title {
	margin: 0;
	font-family: var(--mk-font-body);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--c);
}

.mk-dim--gobernanza h3.mk-score__title,
.mk-dim--gobernanza .mk-score__head {
	color: var(--mk-blue-hover);
}

.mk-score__desc {
	min-height: 42px;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mk-muted);
}

.mk-donut {
	position: relative;
	width: 112px;
	height: 112px;
	margin: 8px 0;
}

.mk-donut svg {
	display: block;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.mk-donut__track { stroke: rgba(255, 255, 255, .08); }
.mk-donut__arc { stroke: var(--c); }

.mk-donut__val {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	font-family: var(--mk-font-head);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.mk-donut__val small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 500;
	color: #9AA8BD;
}

.mk-level {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
}

.mk-level--avanzado { color: var(--mk-green); }
.mk-level--intermedio { color: var(--mk-blue-hover); }
.mk-level--basico { color: var(--mk-riesgo); }
.mk-level--inicial { color: #8A96A8; }

/* mk_radar */
.mk-card.mk-radar {
	--c: var(--mk-blue);
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	height: auto;
	margin-top: 40px;
	padding: 40px;
}

.mk-card.mk-radar--no-legend {
	grid-template-columns: minmax(0, 1fr);
}

.mk-card h3.mk-radar__title {
	margin: 0 0 12px;
	font-family: var(--mk-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .16em;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
}

.mk-radar svg {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
}

.mk-radar__grid { stroke: rgba(255, 255, 255, .12); }

.mk-radar__area {
	fill: rgba(16, 185, 129, .22);
	stroke: var(--mk-green);
}

.mk-radar__dot { fill: var(--c); }

.mk-radar__labels text {
	font-family: var(--mk-font-body);
	font-size: 11px;
	font-weight: 600;
	fill: var(--c);
}

.mk-radar__labels .mk-dim--gobernanza { fill: var(--mk-blue-hover); }

ul.mk-legend {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-legend li {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	font-size: 16px;
	color: var(--mk-soft);
}

.mk-legend b {
	min-width: 72px;
	font-weight: 600;
	color: #fff;
}

.mk-level-dot {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

.mk-level-dot--avanzado { background: var(--mk-green); }
.mk-level-dot--intermedio { background: var(--mk-blue); }
.mk-level-dot--basico { background: var(--mk-riesgo); }
.mk-level-dot--inicial { background: #8A96A8; }

/* mk_timeline_step */
.mk-tl {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	text-align: center;
}

.mk-tl__ico {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 96px;
	height: 96px;
	border: 1.5px solid var(--c);
	border-radius: 50%;
	background: color-mix(in srgb, var(--c) 10%, var(--mk-ink2));
	box-shadow: 0 0 30px -8px var(--c);
	color: var(--c);
}

.mk-tl__ico svg {
	width: 38px;
	height: 38px;
}

.mk-tl__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 26px;
	height: 26px;
	margin-top: 10px;
	border: 2px solid var(--c);
	border-radius: 50%;
	background: var(--mk-ink2);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.mk-tl h3.mk-tl__title {
	margin: 0;
	font-family: var(--mk-font-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.mk-tl__title em {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-style: normal;
	color: var(--c);
}

.mk-tl__txt {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mk-muted);
}

/* mk_benefits */
.mk-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
	justify-content: space-between;
	margin-top: 64px;
	padding: 22px 28px;
	border: 1px solid rgba(16, 185, 129, .35);
	border-radius: 14px;
	background: rgba(16, 185, 129, .04);
}

.mk-benefits__lead {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	color: #fff;
}

.mk-benefits__lead svg {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--mk-green);
}

ul.mk-benefits__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-benefits__list li {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	font-size: 15px;
	color: var(--mk-soft);
	list-style: none;
}

.mk-benefits__list svg {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--mk-green);
}

/* mk_plan: color por plan vía --c; las tarjetas de una fila "mk-plans" igualan altura
   y el pie queda abajo. */
.mk-plan--starter { --c: var(--mk-green); }
.mk-plan--growth { --c: var(--mk-blue); }
.mk-plan--enterprise { --c: var(--mk-cultura); }

.mk-plan {
	display: flex;
	flex-direction: column;
	gap: 22px;
	box-sizing: border-box;
	height: 100%;
	padding: 32px 28px;
	border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
	border-radius: 16px;
	background: rgba(255, 255, 255, .025);
	box-shadow: 0 0 40px -14px color-mix(in srgb, var(--c) 50%, transparent);
}

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

.mk-plan__head {
	display: flex;
	gap: 16px;
	align-items: center;
}

.mk-plan__ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 1.5px solid var(--c);
	border-radius: 14px;
	background: color-mix(in srgb, var(--c) 12%, transparent);
	color: var(--c);
}

.mk-plan__ico svg {
	width: 28px;
	height: 28px;
}

.mk-plan__kicker {
	display: block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--c);
}

.mk-plan h2.mk-plan__name {
	margin: 0;
	font-family: var(--mk-font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--c);
}

.mk-plan__sub {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--mk-soft);
}

.mk-plan__label {
	margin: 0;
	padding: 8px 12px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--c) 12%, transparent);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c);
}

.mk-plan--growth .mk-plan__kicker,
.mk-plan--growth .mk-plan__label {
	color: var(--mk-blue-hover);
}

.mk-plan__label + .mk-plan__label {
	margin-top: -14px;
}

ul.mk-ticks {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-ticks > li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	font-size: 15.5px;
	line-height: 1.45;
	color: var(--mk-text);
	list-style: none;
}

.mk-ticks > li > svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--c);
}

.mk-subbox {
	margin-top: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 10px;
	background: rgba(255, 255, 255, .02);
}

.mk-subbox ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-subbox li {
	position: relative;
	margin: 0;
	padding-left: 16px;
	font-size: 14px;
	color: var(--mk-muted);
	list-style: none;
}

.mk-subbox li::before {
	content: "";
	position: absolute;
	top: .6em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c);
}

.mk-plan__foot {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}

.mk-plan__foot svg {
	flex: none;
	width: 36px;
	height: 36px;
	color: var(--c);
}

.mk-plan__foot p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #fff;
}

/* 9. Contact Form 7
   Por defecto, estilo oscuro (Registro). En fondo claro (fila mk-row--white o caja
   mk-formcard) se aplica la variante clara (Pulse).
   ========================================================================== */
.wpcf7-form {
	display: grid;
	gap: 24px;
}

.wpcf7-form .hidden-fields-container {
	display: none;
}

.mk-form__2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.wpcf7-form .mk-field {
	display: grid;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.wpcf7-form .mk-field > label,
.wpcf7-form .mk-field > legend {
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.wpcf7-form .mk-field > legend {
	margin-bottom: 10px;
}

.wpcf7-form .mk-input {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #F1F3F7;
	font: inherit;
	font-size: 16px;
	color: var(--mk-dark-text);
}

.wpcf7-form .mk-input::placeholder {
	color: #5E6978; /* AA sobre #F1F3F7 */
	opacity: 1;
}

.wpcf7-form .mk-input:focus {
	outline: 2px solid var(--mk-blue);
	outline-offset: 1px;
}

.wpcf7-form textarea.mk-input {
	min-height: 120px;
	resize: vertical;
}

/* Radios como chips */
.wpcf7-form .mk-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wpcf7-form .mk-opts .wpcf7-list-item {
	position: relative;
	display: inline-flex;
	margin: 0;
}

.wpcf7-form .mk-opts .wpcf7-list-item label {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.wpcf7-form .mk-opts input[type="radio"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.wpcf7-form .mk-opts .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	font-size: 14.5px;
	line-height: 1.2;
	color: var(--mk-soft);
	transition: background-color .15s, border-color .15s;
}

.wpcf7-form .mk-opts label:hover .wpcf7-list-item-label {
	border-color: rgba(255, 255, 255, .5);
}

.wpcf7-form .mk-opts label:has(:checked) .wpcf7-list-item-label,
.wpcf7-form .mk-opts input:checked + .wpcf7-list-item-label {
	border-color: var(--mk-blue);
	background: var(--mk-blue);
	font-weight: 600;
	color: var(--mk-navy);
}

.wpcf7-form .mk-opts input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--mk-green);
	outline-offset: 2px;
}

/* Aceptación de privacidad */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .wpcf7-acceptance label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15px;
	color: var(--mk-soft);
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--mk-green);
}

.wpcf7-form .wpcf7-acceptance a {
	color: #7FB0FF;
}

.mk-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.mk-req {
	font-size: 13px;
	color: #9AA8BD;
}

.wpcf7-form .wpcf7-submit {
	min-width: 180px;
	margin: 0;
}

.wpcf7-form .wpcf7-submit.mk-btn-green {
	width: 100%;
}

.wpcf7-form .wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* El spinner suelto (hijo directo del grid) ocupa una fila vacía: solo al enviar. */
.wpcf7-form:not(.submitting) > .wpcf7-spinner {
	display: none;
}

.wpcf7-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	color: #FF9C9C;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
}

/* Información básica de protección de datos bajo el botón: <p class="mk-form-legal">. */
.wpcf7-form .mk-form-legal {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #9AA8BD;
}

.wpcf7-form .mk-form-legal a {
	color: #7FB0FF;
	text-decoration: underline;
}

.mk-row--white .wpcf7-form .mk-form-legal,
.mk-formcard .wpcf7-form .mk-form-legal {
	color: #5B6575;
}

.mk-row--white .wpcf7-form .mk-form-legal a,
.mk-formcard .wpcf7-form .mk-form-legal a {
	color: #1F5FC4;
}

/* Variante clara (Pulse) */
.mk-row--white .wpcf7-form .mk-field > label,
.mk-formcard .wpcf7-form .mk-field > label,
.mk-row--white .wpcf7-form .mk-field > legend,
.mk-formcard .wpcf7-form .mk-field > legend {
	color: var(--mk-dark-text);
}

.mk-row--white .wpcf7-form .mk-input,
.mk-formcard .wpcf7-form .mk-input {
	border-color: #C9D2DF;
	background: #fff;
}

.mk-row--white .wpcf7-form .wpcf7-acceptance label,
.mk-formcard .wpcf7-form .wpcf7-acceptance label {
	color: #3A4250;
}

.mk-row--white .wpcf7-form .wpcf7-acceptance a,
.mk-formcard .wpcf7-form .wpcf7-acceptance a {
	color: #1F5FC4;
}

.mk-row--white .wpcf7-form .wpcf7-not-valid-tip,
.mk-formcard .wpcf7-form .wpcf7-not-valid-tip {
	color: #C0392B;
}

.mk-row--white .mk-req,
.mk-formcard .mk-req {
	color: #5B6575;
}

/* 10. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.vc_row.vc_inner.mk-pillars,
	.vc_row.vc_inner.mk-scores,
	.vc_row.vc_inner.mk-timeline {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vc_row.vc_inner.mk-timeline {
		row-gap: 48px;
	}

	.vc_row.vc_inner.mk-timeline::before {
		display: none;
	}

	.vc_row.vc_inner.mk-plans {
		grid-template-columns: minmax(0, 1fr);
		max-width: 620px;
	}

	.vc_row.vc_inner.mk-dims {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vc_row.vc_inner.mk-dims > .wpb_column,
	.vc_row.vc_inner.mk-dims > .wpb_column:nth-child(3n + 1):nth-last-child(2),
	.vc_row.vc_inner.mk-dims > .wpb_column:nth-child(3n + 2):last-child {
		grid-column: auto;
	}
}

@media (max-width: 900px) {
	/* Fila > Extra class name "mk-stack-md": columnas apiladas desde 900px. */
	.vc_row.mk-stack-md > .wpb_column {
		width: 100%;
		float: none;
	}

	.vc_row.mk-stack-md > .wpb_column + .wpb_column {
		margin-top: 48px;
	}

	.mk-step {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		margin-bottom: 80px;
	}

	.mk-step--img-right .mk-step__media {
		order: 0;
	}

	.vc_row.vc_inner.mk-includes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mk-inc::before {
		display: none;
	}

	.mk-card.mk-radar {
		grid-template-columns: minmax(0, 1fr);
		padding: 28px;
	}

	.wpb_column.mk-formcard > .vc_column-inner > .wpb_wrapper {
		padding: 28px;
	}

	#footer .mk-footer__col .mk-footer__brand {
		font-size: 30px;
	}
}

@media (max-width: 720px) {
	.mk-legal .wpb_text_column h1 {
		font-size: 36px;
	}

	/* Tablas legales con scroll horizontal. */
	.mk-legal .wpb_text_column table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mk-legal .wpb_text_column th,
	.mk-legal .wpb_text_column td {
		min-width: 140px;
	}

	.vc_row.mk-row,
	.vc_row.mk-hero {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.vc_row.vc_inner.mk-dims {
		margin-top: 48px;
	}
}

@media (max-width: 640px) {
	.vc_row.vc_inner.mk-pillars,
	.vc_row.vc_inner.mk-scores,
	.vc_row.vc_inner.mk-timeline {
		grid-template-columns: minmax(0, 1fr);
	}

	.mk-pillar {
		min-height: 0;
	}

	.vc_row.vc_inner.mk-includes {
		gap: 40px 16px;
	}

	.mk-benefits {
		flex-direction: column;
		align-items: flex-start;
	}

	.wpb_column.mk-regcard > .vc_column-inner > .wpb_wrapper {
		padding: 24px;
	}

	.vc_row.mk-reg-bg::before {
		background: rgba(2, 28, 64, .9);
	}

	.mk-radar__labels text {
		font-size: 13px;
	}

	.vc_row.vc_inner.mk-dims {
		grid-template-columns: 1fr;
	}

	.mk-dim {
		flex-direction: column;
	}

	.mk-form__2 {
		grid-template-columns: 1fr;
	}

	.mk-pattern::after {
		right: 12px;
		bottom: 12px;
		width: 120px;
		height: 80px;
	}
}

/* 11. Animaciones de entrada
   Las animaciones son las nativas de WPBakery (Opciones de diseño › CSS animation, también en los
   elementos MetrikAI) y la del botón de The7. WPBakery deja el elemento con opacidad 0 y, al entrar
   en pantalla, añade .wpb_start_animation; aquí solo se suaviza la animación que se aplica entonces
   (desplazamiento 24px, 0,7s, solo transform/opacity), se escalonan las rejillas y se animan
   detalles internos. Sin animaciones con "reducir movimiento" ni en el editor frontend.
   ========================================================================== */
:root {
	--mk-anim-ease: cubic-bezier(.2, .7, .2, 1);
	--mk-anim-dur: .7s;
}

@keyframes mk-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes mk-fade-in-up {
	from { opacity: 0; transform: translate3d(0, 24px, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes mk-fade-in-left {
	from { opacity: 0; transform: translate3d(-24px, 0, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes mk-fade-in-right {
	from { opacity: 0; transform: translate3d(24px, 0, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes mk-grow-x {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes mk-scale-in {
	from { opacity: 0; transform: scale(0); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes mk-donut-draw {
	from { stroke-dashoffset: var(--mk-arc); }
	to { stroke-dashoffset: 0; }
}

/* Suavizado de las nativas (WPBakery: animate.css; The7: botón). --mk-delay = escalonado. */
.wpb_animate_when_almost_visible.wpb_start_animation,
#page .animate-element.start-animation {
	animation-duration: var(--mk-anim-dur);
	animation-timing-function: var(--mk-anim-ease);
	animation-delay: var(--mk-delay, 0s);
	animation-fill-mode: both;
}

.wpb_animate_when_almost_visible.wpb_start_animation.fadeIn,
#page .animate-element.start-animation.fadeIn { animation-name: mk-fade-in; }
.wpb_animate_when_almost_visible.wpb_start_animation.fadeInUp,
#page .animate-element.start-animation.fadeInUp { animation-name: mk-fade-in-up; }
.wpb_animate_when_almost_visible.wpb_start_animation.fadeInLeft,
#page .animate-element.start-animation.fadeInLeft { animation-name: mk-fade-in-left; }
.wpb_animate_when_almost_visible.wpb_start_animation.fadeInRight,
#page .animate-element.start-animation.fadeInRight { animation-name: mk-fade-in-right; }

/* Imágenes de mk_step: en una columna (≤ 900px) van encima del texto; sin desplazamiento lateral
   para no provocar scroll horizontal. */
@media (max-width: 900px) {
	.mk-step__media.wpb_start_animation:is(.fadeInLeft, .fadeInRight) { animation-name: mk-fade-in; }
}

/* Escalonado: cada elemento de la rejilla entra 80ms después del anterior (máx. 8). */
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(2) { --mk-delay: 80ms; }
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(3) { --mk-delay: 160ms; }
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(4) { --mk-delay: 240ms; }
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(5) { --mk-delay: 320ms; }
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(6) { --mk-delay: 400ms; }
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(7) { --mk-delay: 480ms; }
:is(.mk-dims, .mk-pillars, .mk-includes, .mk-scores, .mk-plans) > .wpb_column:nth-child(n+8) { --mk-delay: 560ms; }

/* Línea de tiempo: la línea se traza primero y los pasos entran después, escalonados. */
.mk-timeline > .wpb_column:nth-child(1) { --mk-delay: 350ms; }
.mk-timeline > .wpb_column:nth-child(2) { --mk-delay: 430ms; }
.mk-timeline > .wpb_column:nth-child(3) { --mk-delay: 510ms; }
.mk-timeline > .wpb_column:nth-child(4) { --mk-delay: 590ms; }
.mk-timeline > .wpb_column:nth-child(n+5) { --mk-delay: 670ms; }

.vc_row.vc_inner.mk-timeline::before { transform-origin: left center; }
.vc_row.vc_inner.mk-timeline:has(.wpb_animate_when_almost_visible)::before { transform: scaleX(0); }
.vc_row.vc_inner.mk-timeline:has(.wpb_start_animation)::before {
	animation: mk-grow-x .6s var(--mk-anim-ease) both;
}

/* Detalles, con el mismo retardo que su tarjeta. */
.mk-pillar.wpb_start_animation .mk-bar span {
	transform-origin: left center;
	animation: mk-grow-x .9s var(--mk-anim-ease) calc(var(--mk-delay, 0s) + .3s) both;
}

.mk-score.wpb_start_animation .mk-donut__arc {
	animation: mk-donut-draw 1.1s var(--mk-anim-ease) calc(var(--mk-delay, 0s) + .25s) both;
}

.mk-radar.wpb_start_animation :is(.mk-radar__area, .mk-radar__dot) {
	transform-box: view-box;
	transform-origin: 150px 150px;
	animation: mk-scale-in .9s var(--mk-anim-ease) .3s both;
}

/* Sin animaciones: "reducir movimiento" del sistema y editor frontend de WPBakery (todo visible,
   también lo que WPBakery y The7 dejan con opacidad 0 hasta que empieza la animación). */
@media (prefers-reduced-motion: reduce) {
	.wpb_animate_when_almost_visible,
	.animate-element,
	.mk-bar span,
	.mk-donut__arc,
	.mk-radar__area,
	.mk-radar__dot,
	.vc_row.vc_inner.mk-timeline::before {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}

.vc_editor .wpb_animate_when_almost_visible,
.vc_editor .animate-element,
.vc_editor .mk-bar span,
.vc_editor .mk-donut__arc,
.vc_editor .mk-radar__area,
.vc_editor .mk-radar__dot,
.vc_editor .vc_row.vc_inner.mk-timeline::before {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}
