/* ==========================================================================
   Versátil Punto de Venta — estilos del tema
   Mobile-first · breakpoints: 640 / 900 / 1024 / 1200
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
	--c-ink: #0b1530;
	--c-ink-2: #121f42;
	--c-navy: #0c2a44;
	--c-violet: #6a5af9;
	--c-violet-600: #5646e8;
	--c-cyan: #00b8f5;
	--c-green: #12b76a;
	--c-amber: #f5a524;
	--c-red: #f04438;
	--c-text: #1d2939;
	--c-muted: #5b6b82;
	--c-border: #e3e8f2;
	--c-soft: #f5f7fc;
	--c-white: #fff;
	--c-wa: #25d366;

	--g-brand: linear-gradient(135deg, #6a5af9 0%, #00b8f5 100%);
	--g-brand-r: linear-gradient(135deg, #00b8f5 0%, #6a5af9 100%);
	--g-spectrum: linear-gradient(90deg, #ee1c25, #ff7a12, #f4d21a, #0aaa3c, #11898a, #3f5bd0, #7a3fb0);
	--g-night: linear-gradient(160deg, #0b1530 0%, #14275a 55%, #2a1f6b 100%);

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

	--radius-xs: 8px;
	--radius-sm: 12px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;

	--shadow-xs: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 12px -2px rgba(16, 24, 40, .08);
	--shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 12px 32px -8px rgba(16, 24, 40, .14);
	--shadow-lg: 0 4px 8px rgba(16, 24, 40, .04), 0 32px 64px -16px rgba(16, 24, 40, .24);
	--shadow-glow: 0 14px 34px -10px rgba(106, 90, 249, .55);

	--container: 1200px;
	--content: 760px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 64px;
	--section-y: clamp(3.5rem, 8vw, 6.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--bar-h: 0px;
}

@media (min-width: 1024px) {
	:root { --header-h: 76px; }
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img,
svg,
video,
iframe { max-width: 100%; }

img,
video { height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--c-ink);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -.02em;
	text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }

a {
	color: var(--c-violet);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	transition: color .2s var(--ease);
}

a:hover { color: var(--c-violet-600); }

:focus-visible {
	outline: 3px solid rgba(106, 90, 249, .55);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection { background: rgba(106, 90, 249, .2); color: var(--c-ink); }

hr {
	border: 0;
	height: 1px;
	margin: 2.5rem 0;
	background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

button { font: inherit; cursor: pointer; }

.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon--flip { transform: scaleX(-1); }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--c-ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform .2s var(--ease);
}

.skip-link:focus { transform: none; color: #fff; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.gradient-text {
	background: var(--g-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--c-violet);
}

/* 3. Botones
   ========================================================================== */
.btn {
	--btn-bg: var(--c-ink);
	--btn-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: .8em 1.5em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.005em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
	-webkit-tap-highlight-color: transparent;
}

.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
	--btn-bg: var(--c-violet);
	background-image: var(--g-brand);
	box-shadow: var(--shadow-glow);
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--g-brand-r);
	opacity: 0;
	transition: opacity .3s var(--ease);
}

.btn--primary:hover { box-shadow: 0 18px 40px -10px rgba(106, 90, 249, .7); }
.btn--primary:hover::after { opacity: 1; }

.btn--dark { --btn-bg: var(--c-ink); box-shadow: var(--shadow-sm); }
.btn--dark:hover { --btn-bg: var(--c-ink-2); }

.btn--ghost {
	--btn-bg: rgba(255, 255, 255, .7);
	--btn-fg: var(--c-ink);
	border-color: var(--c-border);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover { --btn-bg: #fff; border-color: rgba(106, 90, 249, .35); box-shadow: var(--shadow-sm); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); border-color: var(--c-border); }
.btn--outline:hover { border-color: var(--c-violet); --btn-fg: var(--c-violet); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--c-ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); }
.btn--light:hover { --btn-fg: var(--c-violet); }

.btn--glass {
	--btn-bg: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); }

.btn--whatsapp { --btn-bg: var(--c-wa); --btn-fg: #fff; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .6); }
.btn--whatsapp:hover { --btn-bg: #1ebe5a; }

.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: .9em 1.75em; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 700;
	text-decoration: none;
}

.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #a9b8ff; }
.link-arrow--light:hover { color: #fff; }

/* 4. Encabezado
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow .3s var(--ease);
}

/* El vidrio va en un pseudo-elemento: un backdrop-filter en el propio header
   lo convertiría en bloque contenedor del panel móvil (position: fixed). */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .78);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	transition: background-color .3s;
}

.nav-open .site-header::before { background: #fff; }

/* --admin-offset lo calcula main.js con la posición real de #wpadminbar,
   que en móvil puede ser fija o desplazarse con la página según el ancho. */
.admin-bar .site-header { top: var(--admin-offset, var(--wp-admin--admin-bar--height, 0px)); }

@media (max-width: 600px) {
	.admin-bar .site-header { top: var(--admin-offset, 0px); }
}

.site-header.is-scrolled { box-shadow: 0 1px 0 var(--c-border), 0 10px 30px -18px rgba(16, 24, 40, .35); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .9); }

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: var(--header-h);
}

.spectrum-line {
	display: block;
	height: 3px;
	background: var(--g-spectrum);
	opacity: .9;
}

.site-header .spectrum-line { height: 2px; }

/* Marca */
.brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	flex-shrink: 0;
	color: var(--c-navy);
	text-decoration: none;
	margin-right: auto;
}

.brand:hover { color: var(--c-navy); }
.brand__img { width: auto; max-height: 30px; }
.brand__mark { width: 34px; height: 34px; }

.brand__word {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1;
}

@media (min-width: 1024px) {
	.brand__img { max-height: 38px; }
	.brand__mark { width: 40px; height: 40px; }
	.brand__word { font-size: 1.55rem; }
}

/* Navegación */
.nav__list,
.nav__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__list a {
	display: flex;
	align-items: center;
	gap: .4rem;
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
}

.nav__list > li { --accent: var(--c-violet); }
.nav__list .nav-item--download { --accent: #0094d9; }
.nav__list .nav-item--gallery { --accent: #6a5af9; }
.nav__list .nav-item--buy { --accent: #0f9f5c; }
.nav__list .nav-item--help { --accent: #ec4f73; }
.nav__list .nav-item--features { --accent: #8b5cf6; }
.nav__list .nav-item--blog { --accent: #e8900c; }
.nav__list .nav-item--contact { --accent: #00a6e0; }
.nav__list .nav-item--home { --accent: var(--c-navy); }

.nav__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	color: var(--accent);
	background: rgba(106, 90, 249, .1);
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	transition: background-color .25s var(--ease), color .25s, transform .35s var(--ease), box-shadow .25s;
}

.nav__icon .icon { width: 18px; height: 18px; }

.nav__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.nav__desc { display: none; }

.nav__list a:hover .nav__icon,
.nav__list a:focus-visible .nav__icon,
.nav__list .current-menu-item > a .nav__icon,
.nav__list .current_page_item > a .nav__icon,
.nav__list .current-menu-ancestor > a .nav__icon {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 6px 14px -6px var(--accent);
}

.nav__list a:hover .nav__icon { transform: rotate(-8deg) scale(1.06); }

@keyframes nav-in {
	from { opacity: 0; transform: translateY(10px); }
}

.header-actions {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.header-cta { display: none; }

@media (min-width: 560px) {
	.header-cta { display: inline-flex; }
}

.header-phone {
	display: none;
	align-items: center;
	gap: .6rem;
	padding-right: .5rem;
	color: var(--c-ink);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.15;
	text-decoration: none;
}

.header-phone small {
	display: block;
	color: var(--c-muted);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .02em;
}

.header-phone__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(106, 90, 249, .1);
	color: var(--c-violet);
	transition: background-color .2s, color .2s;
}

.header-phone:hover .header-phone__icon { background: var(--c-violet); color: #fff; }

@media (min-width: 1280px) {
	.header-phone { display: inline-flex; }
}

/* Botón hamburguesa */
.nav-toggle {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-right: -6px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--c-ink);
	-webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover { background: var(--c-soft); }

.nav-toggle__bars {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}

.nav-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Panel móvil */
@media (max-width: 1023.98px) {
	.nav__panel {
		position: fixed;
		inset: calc(var(--header-h) + 2px + var(--admin-offset, var(--wp-admin--admin-bar--height, 0px))) 0 0 0;
		z-index: 99;
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
	}

	.nav-open .nav__panel {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .25s var(--ease), transform .3s var(--ease);
	}

	.nav__list { display: grid; gap: .6rem; }

	.nav__list a {
		min-height: 48px;
		padding: .6rem .25rem;
		font-size: 1rem;
	}

	.nav__list > li > a {
		gap: .9rem;
		min-height: 72px;
		padding: .75rem 1.1rem .75rem .8rem;
		border: 1px solid var(--c-border);
		border-radius: var(--radius);
		background: #fff;
		box-shadow: var(--shadow-xs);
		font-size: 1.08rem;
		transition: border-color .2s, background-color .2s, transform .2s var(--ease);
	}

	.nav__list > li > a:active { transform: scale(.98); }

	.nav__list > li > a::after {
		content: "";
		flex: none;
		width: 8px;
		height: 8px;
		margin-left: auto;
		border-top: 2px solid currentColor;
		border-right: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: .3;
	}

	.nav__list > li > a .nav__icon {
		width: 46px;
		height: 46px;
		border-radius: 14px;
	}

	.nav__list > li > a .nav__icon .icon { width: 22px; height: 22px; }

	.nav__desc {
		display: block;
		margin-top: .25rem;
		color: var(--c-muted);
		font-size: .82rem;
		font-weight: 500;
	}

	.nav__list .sub-menu { padding: .4rem 0 0 1.25rem; }
	.nav__list .sub-menu a { gap: .7rem; color: var(--c-muted); }
	.nav__list .sub-menu .nav__desc { display: none; }

	.nav__list .current-menu-item > a,
	.nav__list .current_page_item > a { color: var(--accent); }

	.nav__list > .current-menu-item > a,
	.nav__list > .current_page_item > a {
		border-color: var(--accent);
		border-color: color-mix(in srgb, var(--accent) 45%, transparent);
		background: color-mix(in srgb, var(--accent) 6%, #fff);
	}

	.nav-open .nav__list > li { animation: nav-in .45s var(--ease) both; }
	.nav-open .nav__list > li:nth-child(2) { animation-delay: .05s; }
	.nav-open .nav__list > li:nth-child(3) { animation-delay: .1s; }
	.nav-open .nav__list > li:nth-child(4) { animation-delay: .15s; }
	.nav-open .nav__list > li:nth-child(5) { animation-delay: .2s; }
	.nav-open .nav__list > li:nth-child(n+6) { animation-delay: .25s; }

	.nav__extra { display: grid; gap: .75rem; margin-top: auto; }

	.nav__contact {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .5rem;
		padding: .75rem;
		color: var(--c-muted);
		font-weight: 600;
		text-decoration: none;
	}
}

@media (max-width: 600px) {
	.nav__panel { inset: calc(var(--header-h) + 2px + var(--admin-offset, 0px)) 0 0 0; }
}

/* Navegación escritorio */
@media (min-width: 1024px) {
	.nav-toggle,
	.nav__extra { display: none; }

	.nav { flex: 1; display: flex; justify-content: center; }

	.nav__list {
		display: flex;
		align-items: center;
		gap: .2rem;
		padding: .3rem;
		border: 1px solid var(--c-border);
		border-radius: 999px;
		background: rgba(255, 255, 255, .7);
		box-shadow: var(--shadow-xs);
	}

	.nav__list > li { position: relative; }

	.nav__list > li > a {
		position: relative;
		gap: .55rem;
		padding: .3rem 1rem .3rem .3rem;
		border-radius: 999px;
		font-size: .95rem;
		transition: background-color .2s, color .2s, box-shadow .2s;
	}

	.nav__list > li > a:hover { background: var(--c-soft); color: var(--c-ink); }

	.nav__list > .current-menu-item > a,
	.nav__list > .current_page_item > a,
	.nav__list > .current-menu-ancestor > a {
		background: #fff;
		color: var(--c-ink);
		box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 16px -8px rgba(16, 24, 40, .28);
	}

	.nav__list .menu-item-has-children > a::after {
		content: "";
		width: 7px;
		height: 7px;
		margin-left: .15rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-3px);
		opacity: .6;
	}

	.nav__list .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: 50%;
		min-width: 240px;
		padding: .5rem;
		border: 1px solid var(--c-border);
		border-radius: var(--radius);
		background: #fff;
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 8px);
		transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
	}

	.nav__list .sub-menu::before {
		content: "";
		position: absolute;
		inset: -12px 0 auto;
		height: 12px;
	}

	.nav__list li:hover > .sub-menu,
	.nav__list li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
		transition: opacity .2s var(--ease), transform .25s var(--ease);
	}

	.nav__list .sub-menu a {
		gap: .7rem;
		padding: .55rem .7rem;
		border-radius: var(--radius-sm);
		font-size: .95rem;
		font-weight: 600;
	}

	.nav__list .sub-menu a:hover { background: var(--c-soft); color: var(--c-ink); }

	.nav__list .sub-menu .nav__desc {
		display: block;
		margin-top: .15rem;
		color: var(--c-muted);
		font-size: .78rem;
		font-weight: 500;
	}
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
	.nav__list > li > a { gap: .4rem; padding-right: .75rem; font-size: .9rem; }
	.nav__list > li > a .nav__icon { width: 28px; height: 28px; border-radius: 9px; }
	.nav__list > li > a .nav__icon .icon { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.nav-open .nav__list > li { animation: none; }
	.nav__list a:hover .nav__icon { transform: none; }
}

/* 5. Secciones genéricas
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--soft { background: var(--c-soft); }

.section--dark {
	color: rgba(255, 255, 255, .78);
	background: var(--g-night);
	overflow: hidden;
	isolation: isolate;
}

.section--dark h2,
.section--dark h3 { color: #fff; }

.section-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
	text-align: center;
}

.section-head--start { margin-inline: 0; text-align: left; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	padding: .35rem .85rem;
	border: 1px solid rgba(106, 90, 249, .22);
	border-radius: 999px;
	background: rgba(106, 90, 249, .07);
	color: var(--c-violet);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.eyebrow a { color: inherit; text-decoration: none; }

.section--dark .eyebrow {
	border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .07);
	color: #b9c3ff;
}

.section-title {
	margin-bottom: .5em;
	font-size: clamp(1.85rem, 1.1rem + 2.9vw, 3rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
}

.section-lead {
	margin: 0;
	color: var(--c-muted);
	font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
	line-height: 1.65;
}

.section--dark .section-lead { color: rgba(255, 255, 255, .7); }
.section--dark .gradient-text { background-image: linear-gradient(135deg, #9d8cff, #4fd5ff); }

.section-more { margin: 2.5rem 0 0; text-align: center; }
.section-more--start { text-align: left; margin-top: 1.5rem; }

.icon-tile {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--g-brand);
	color: #fff;
	box-shadow: 0 10px 22px -10px rgba(106, 90, 249, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.icon-tile--lg { width: 60px; height: 60px; border-radius: 18px; }

.icon-tile--soft {
	background: rgba(106, 90, 249, .1);
	color: var(--c-violet);
	box-shadow: none;
}

.checklist {
	display: grid;
	gap: .7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	line-height: 1.5;
}

.checklist .icon {
	width: 22px;
	height: 22px;
	margin-top: 1px;
	padding: 4px;
	border-radius: 50%;
	background: rgba(18, 183, 106, .14);
	color: var(--c-green);
	stroke-width: 3;
}

@media (min-width: 640px) {
	.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 1.75rem; }
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chips li,
.chip {
	display: inline-block;
	padding: .25rem .7rem;
	border-radius: 999px;
	background: var(--c-soft);
	color: var(--c-muted);
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}

.chip { background: rgba(106, 90, 249, .09); color: var(--c-violet); }
.chip:hover { background: var(--c-violet); color: #fff; }

/* Fondos decorativos (hero y secciones) */
.hero__bg,
.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .55;
}

.hero__glow--a {
	top: -18%;
	right: -10%;
	width: min(720px, 90vw);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(106, 90, 249, .55), transparent 65%);
}

.hero__glow--b {
	bottom: -30%;
	left: -15%;
	width: min(620px, 80vw);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(0, 184, 245, .45), transparent 65%);
}

.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(12, 42, 68, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(12, 42, 68, .06) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero__grid--dark {
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}

/* 6. Hero
   ========================================================================== */
.hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem);
	overflow: hidden;
	background: linear-gradient(180deg, #f7f8ff 0%, #fff 100%);
}

.hero__inner {
	display: grid;
	gap: clamp(3rem, 7vw, 4rem);
	align-items: center;
}

@media (min-width: 1024px) {
	.hero__inner { grid-template-columns: 1.02fr .98fr; }
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	max-width: 100%;
	margin: 0 0 1.4rem;
	padding: .45rem 1rem .45rem .75rem;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	box-shadow: var(--shadow-xs);
	color: var(--c-navy);
	font-size: .85rem;
	font-weight: 650;
	line-height: 1.35;
}

.pulse-dot {
	position: relative;
	flex-shrink: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c-green);
}

.pulse-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--c-green);
	opacity: 0;
	animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
	0% { transform: scale(.6); opacity: .8; }
	100% { transform: scale(1.8); opacity: 0; }
}

.hero__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.35rem, 1.1rem + 5vw, 4.25rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.04em;
}

.hero__highlight {
	position: relative;
	display: inline-block;
	padding-bottom: .04em;
}

.hero__highlight::after {
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: -.02em;
	height: .1em;
	border-radius: 99px;
	background: var(--g-spectrum);
	transform-origin: left;
	animation: draw 1.1s .3s var(--ease) both;
}

@keyframes draw {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.hero__text {
	max-width: 38ch;
	margin-bottom: 2rem;
	color: var(--c-muted);
	font-size: clamp(1.06rem, .98rem + .45vw, 1.28rem);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 2rem;
}

@media (max-width: 479.98px) {
	.hero__actions .btn { width: 100%; }
}

.hero__trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .6rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--c-navy);
	font-size: .92rem;
	font-weight: 600;
}

@media (min-width: 640px) {
	.hero__trust { display: flex; flex-wrap: wrap; }
}

.hero__trust li { display: flex; align-items: center; gap: .45rem; }

.hero__trust .icon {
	width: 20px;
	height: 20px;
	padding: 3px;
	border-radius: 50%;
	background: var(--c-green);
	color: #fff;
	stroke-width: 3.2;
}

/* Visual del hero */
.hero__visual {
	position: relative;
	container-type: inline-size;
	max-width: 620px;
	width: 100%;
	margin-inline: auto;
	padding: 1.25rem 0 1.5rem;
}

@media (min-width: 1024px) {
	.hero__visual { perspective: 1600px; }
	.hero__visual .app-window {
		transform: rotateY(-8deg) rotateX(3deg);
		transition: transform .8s var(--ease);
	}
	.hero__visual:hover .app-window { transform: rotateY(-2deg) rotateX(1deg); }
}

/* Ventana de la aplicación (captura real) */
.app-window {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(12, 42, 68, .14);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .6), 0 40px 90px -40px rgba(106, 90, 249, .55);
	animation: app-in 1s var(--ease) both;
}

.app-window__img { display: block; width: 100%; height: auto; }

.app-window__shine {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .32) 50%, transparent 56%);
	transform: translateX(-120%);
	animation: app-shine 8s 1.4s ease-in-out infinite;
}

@keyframes app-in { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes app-shine { 0% { transform: translateX(-120%); } 16%, 100% { transform: translateX(120%); } }

/* Navegador (capturas reales) */
.browser {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(12, 42, 68, .12);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow-lg);
}

.browser__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .65rem 1rem;
	border-bottom: 1px solid var(--c-border);
	background: #f8f9fc;
	font-size: 11px;
}

.browser__url {
	flex: 1;
	max-width: 340px;
	margin-inline: auto;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-border);
	color: var(--c-muted);
	font-weight: 600;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.browser__img { width: 100%; }
.browser--hero { box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .6); }

/* Tarjetas flotantes */
.float-card {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .7rem .9rem;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 14px;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--shadow);
	color: var(--c-ink);
	font-size: .8rem;
	line-height: 1.3;
	animation: float 6s ease-in-out infinite;
}

.float-card strong { display: block; font-weight: 750; }
.float-card small { display: block; color: var(--c-muted); font-size: .72rem; }

.float-card__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--c-green);
	color: #fff;
	stroke-width: 3;
}

.float-card__icon--warn { background: var(--c-amber); }
.float-card__icon--violet { background: var(--c-violet); }

.float-card--usd { left: -.25rem; bottom: 30%; }
.float-card--keys { top: -.25rem; left: 40%; animation-delay: -4s; }
.float-card--cfdi { right: -.25rem; bottom: 0; animation-delay: -2s; }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@media (max-width: 639.98px) {
	.float-card { gap: .5rem; padding: .5rem .65rem; font-size: .7rem; }
	.float-card small { font-size: .66rem; }
	.float-card__icon { width: 26px; height: 26px; }
	.float-card--keys { display: none; }
	.float-card--usd { left: 0; bottom: 0; }
	.float-card--cfdi { top: 0; right: 0; bottom: auto; }
}

@media (min-width: 640px) {
	.float-card--usd { left: -2.5rem; }
	.float-card--cfdi { right: -2rem; }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
	.float-card--usd { left: -.75rem; }
	.float-card--cfdi { right: -.75rem; }
}

/* 7. Cinta de giros
   ========================================================================== */
.marquee {
	padding-block: 1.4rem;
	border-block: 1px solid var(--c-border);
	background: #fff;
}

.marquee__inner {
	display: flex;
	flex-direction: column;
	gap: .9rem;
	align-items: center;
}

@media (min-width: 900px) {
	.marquee__inner { flex-direction: row; gap: 2rem; }
}

.marquee__label {
	flex-shrink: 0;
	margin: 0;
	color: var(--c-muted);
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
}

.marquee__label strong { color: var(--c-ink); font-size: 1.1rem; }

.marquee__viewport {
	display: flex;
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
	display: flex;
	flex-shrink: 0;
	gap: .6rem;
	margin: 0;
	padding: 0 .6rem 0 0;
	list-style: none;
	animation: marquee 60s linear infinite;
}

.marquee__viewport:hover .marquee__track { animation-play-state: paused; }

.marquee__track li {
	padding: .45rem 1rem;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: var(--c-soft);
	color: var(--c-navy);
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
}

@keyframes marquee { to { transform: translateX(-100%); } }

/* 8. Beneficios
   ========================================================================== */
.feature-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (min-width: 1024px) {
	.feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.feature-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: var(--g-brand);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity .35s var(--ease);
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: transparent;
}

.feature-card:hover::before { opacity: 1; }

.feature-card .icon-tile { margin-bottom: 1.25rem; }

.feature-card__title { margin-bottom: .45rem; font-size: 1.2rem; }
.feature-card__text { margin: 0; color: var(--c-muted); font-size: .98rem; line-height: 1.6; }

.front-content .entry-content { max-width: var(--container); }

/* 9. Pestañas (capturas y módulos)
   ========================================================================== */
.tablist {
	display: flex;
	gap: .5rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
}

.tablist::-webkit-scrollbar { display: none; }

.tab {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	flex-shrink: 0;
	min-height: 44px;
	padding: .55rem 1.1rem;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: #fff;
	color: var(--c-navy);
	font-size: .95rem;
	font-weight: 650;
	white-space: nowrap;
	scroll-snap-align: start;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.tab:hover { border-color: rgba(106, 90, 249, .4); color: var(--c-violet); }

.tab.is-active,
.tab[aria-selected="true"] {
	border-color: transparent;
	background: var(--c-ink);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

.tablist--pills {
	justify-content: flex-start;
	margin-bottom: 1.5rem;
	padding: .3rem;
}

@media (min-width: 900px) {
	.tablist--pills { justify-content: center; }
}

.js .tab-panel:not(.is-active) { display: none; }

.tab-panel.is-active { animation: fade-in .45s var(--ease); }

@keyframes fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.browser--showcase { max-width: 1080px; margin-inline: auto; }
.browser--showcase .tab-panel { margin: 0; }
.browser--showcase a { display: block; cursor: zoom-in; }
.browser--showcase figcaption { padding: .75rem 1rem; color: var(--c-muted); font-size: .9rem; text-align: center; }

/* Lightbox */
.lightbox {
	width: min(1400px, 96vw);
	max-width: none;
	max-height: 94vh;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	overflow: visible;
}

.lightbox::backdrop { background: rgba(8, 12, 28, .85); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }

.lightbox__close {
	position: absolute;
	top: -18px;
	right: -6px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--c-ink);
	box-shadow: var(--shadow);
}

/* 10. Módulos (oscuro)
   ========================================================================== */
.modules .hero__glow--a { opacity: .45; }

.modules__layout { display: grid; gap: 1.5rem; }

@media (min-width: 1024px) {
	.modules__layout { grid-template-columns: 290px 1fr; gap: 2.5rem; align-items: start; }
}

.tablist--modules .tab {
	border-color: rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .04);
	color: rgba(255, 255, 255, .8);
}

.tablist--modules .tab:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }

.tablist--modules .tab.is-active,
.tablist--modules .tab[aria-selected="true"] {
	border-color: transparent;
	background: var(--g-brand);
	color: #fff;
	box-shadow: var(--shadow-glow);
}

@media (min-width: 1024px) {
	.tablist--modules {
		flex-direction: column;
		position: sticky;
		top: calc(var(--header-h) + 24px);
		overflow: visible;
	}

	.tablist--modules .tab {
		justify-content: flex-start;
		width: 100%;
		min-height: 52px;
		padding: .75rem 1.1rem;
		border-radius: 14px;
		font-size: 1rem;
	}
}

.module-panel {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.js .module-panel:not(.is-active) { display: none; }
.module-panel + .module-panel { margin-top: 1rem; }
.js .module-panel + .module-panel { margin-top: 0; }

.module-panel__head {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
	margin-bottom: 1.75rem;
}

.module-panel__title { margin-bottom: .3rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.module-panel__lead { margin: 0; color: rgba(255, 255, 255, .7); }

.module-panel .checklist li { color: rgba(255, 255, 255, .88); }
.module-panel .checklist .icon { background: rgba(0, 184, 245, .16); color: #4fd5ff; }

/* 11. Complementos
   ========================================================================== */
.addon-grid { display: grid; gap: 1rem; }

@media (min-width: 560px) {
	.addon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.addon-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.addon-card {
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--c-soft);
	border: 1px solid transparent;
	transition: background-color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.addon-card:hover {
	background: #fff;
	border-color: var(--c-border);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.addon-card__icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: #fff;
	color: var(--c-violet);
	box-shadow: var(--shadow-xs);
	transition: background .3s, color .3s;
}

.addon-card:hover .addon-card__icon { background: var(--g-brand); color: #fff; }
.addon-card__title { margin-bottom: .35rem; font-size: 1.05rem; }
.addon-card__text { margin: 0; color: var(--c-muted); font-size: .93rem; line-height: 1.55; }

/* 12. Interfaces / giros
   ========================================================================== */
.industries__layout { display: grid; gap: 2.5rem; }

@media (min-width: 1024px) {
	.industries__layout { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
}

.industries__intro .section-lead { margin-bottom: 1.75rem; }

.big-stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-xs);
}

.big-stat strong { font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.big-stat span { color: var(--c-muted); font-weight: 600; line-height: 1.35; }

.interface-grid { display: grid; gap: 1rem; }

@media (min-width: 640px) {
	.interface-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
	.interface-card:nth-child(even) { transform: translateY(1.5rem); }
}

.interface-card {
	padding: 1.6rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-xs);
	transition: box-shadow .3s, border-color .3s;
}

.interface-card:hover { box-shadow: var(--shadow); border-color: rgba(106, 90, 249, .3); }
.interface-card .icon-tile { margin-bottom: 1rem; }
.interface-card__title { margin-bottom: .35rem; font-size: 1.2rem; }
.interface-card__text { margin-bottom: 1rem; color: var(--c-muted); font-size: .95rem; line-height: 1.55; }

/* 13. Precio
   ========================================================================== */
.pricing { overflow: hidden; }

.pricing__plans {
	display: grid;
	gap: 1.75rem;
	max-width: 520px;
	margin-inline: auto;
}

@media (min-width: 900px) {
	.pricing__plans--duo { grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1040px; align-items: stretch; }
}

.pricing__why { max-width: 1040px; margin: clamp(3rem, 6vw, 4.5rem) auto 0; }

.pricing__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--c-border);
}

.pricing__footer .assurance { margin: 0; }

.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: var(--radius-xl);
	background: #fff;
	box-shadow: var(--shadow-lg), 0 30px 80px -30px rgba(106, 90, 249, .45);
	isolation: isolate;
}

.price-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	padding: 2px;
	background: var(--g-spectrum);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.price-card__ribbon {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: var(--g-brand);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
}

.price-card__name {
	margin-bottom: 1rem;
	color: var(--c-muted);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.price-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem .5rem;
	margin: 0 0 .25rem;
	color: var(--c-ink);
}

.price-card__amount {
	font-size: clamp(2.75rem, 2rem + 3vw, 3.75rem);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
}

.price-card__currency { color: var(--c-muted); font-size: 1.1rem; font-weight: 700; line-height: 1.15; }
.price-card__currency small { font-size: .95rem; font-weight: 600; white-space: nowrap; }
.price-card__note { margin-bottom: 1.75rem; color: var(--c-green); font-weight: 700; font-size: .95rem; }

.price-card__list {
	flex: 1;
	margin-bottom: 2rem;
	padding-top: 1.5rem;
	border-top: 1px dashed var(--c-border);
	font-size: .98rem;
}

.price-card__actions { display: grid; gap: .65rem; }

.price-card--plain { border: 1px solid var(--c-border); box-shadow: var(--shadow); }
.price-card--plain::before { display: none; }
.price-card--plain .price-card__ribbon { background: var(--c-soft); color: var(--c-navy); box-shadow: inset 0 0 0 1px var(--c-border); }
.price-card--plain .price-card__note { color: var(--c-violet); }

.why-list {
	display: grid;
	gap: 1.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.pricing__why .why-list { grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
}

@media (min-width: 1024px) {
	.pricing__why .why-list { grid-template-columns: repeat(4, 1fr); }
	.pricing__why .why-list li { flex-direction: column; gap: .85rem; }
}

.why-list li { display: flex; gap: 1rem; }
.why-list h3 { margin-bottom: .25rem; font-size: 1.08rem; }
.why-list p { margin: 0; color: var(--c-muted); font-size: .96rem; line-height: 1.55; }

.assurance {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin-bottom: 1.5rem;
	color: var(--c-navy);
	font-size: .9rem;
	font-weight: 600;
}

.assurance span { display: inline-flex; align-items: center; gap: .4rem; }
.assurance .icon { color: var(--c-green); }
.assurance a { color: inherit; text-decoration: underline; text-decoration-color: rgba(106, 90, 249, .4); text-underline-offset: 3px; }
.assurance a:hover { color: var(--c-violet); }

/* 14. Testimonios
   ========================================================================== */
.testimonial-track {
	display: grid;
	gap: 1.25rem;
}

@media (max-width: 767.98px) {
	.testimonial-track {
		display: flex;
		gap: 1rem;
		margin-inline: calc(var(--gutter) * -1);
		padding: .5rem var(--gutter) 1.25rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.testimonial-track::-webkit-scrollbar { display: none; }
	.testimonial { flex: 0 0 86%; scroll-snap-align: start; }
}

@media (min-width: 768px) {
	.testimonial-track { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 1.75rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-xs);
	position: relative;
}

.testimonial::after {
	content: "\201D";
	position: absolute;
	top: .25rem;
	right: 1.25rem;
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	background: var(--g-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: .25;
}

.testimonial__stars { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--c-amber); }

.testimonial__quote { flex: 1; margin: 0 0 1.5rem; padding: 0; border: 0; }
.testimonial__quote p { margin: 0; color: var(--c-text); font-size: 1.02rem; line-height: 1.65; }

.testimonial__author { display: flex; align-items: center; gap: .8rem; line-height: 1.3; }
.testimonial__author strong { display: block; color: var(--c-ink); }
.testimonial__author small { color: var(--c-muted); font-size: .85rem; }

.avatar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--g-brand);
	color: #fff;
	font-weight: 800;
	flex-shrink: 0;
}

/* 15. FAQ
   ========================================================================== */
.faq__layout { display: grid; gap: 2rem; }

@media (min-width: 960px) {
	.faq__layout { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
	.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

.faq__intro .section-head { margin-bottom: 1.75rem; }

@media (max-width: 959.98px) {
	.faq__intro { text-align: center; }
	.faq__intro .section-head--start { text-align: center; margin-inline: auto; }
}

.faq__list { border-top: 1px solid var(--c-border); }

.faq__item { border-bottom: 1px solid var(--c-border); }

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem .25rem;
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__question {
	margin: 0;
	font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
	font-weight: 700;
	text-wrap: pretty;
	transition: color .2s;
}

.faq__item summary:hover .faq__question { color: var(--c-violet); }

.faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-soft);
	transition: background-color .25s, transform .3s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--c-ink);
	transform: translate(-50%, -50%);
	transition: transform .3s var(--ease), background-color .25s;
}

.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item[open] .faq__icon { background: var(--c-violet); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__answer { padding: 0 .25rem 1.4rem; color: var(--c-muted); }

@media (min-width: 640px) {
	.faq__answer { padding-right: 3rem; }
}
.faq__answer p { margin: 0; }
.faq__item[open] .faq__answer { animation: fade-in .35s var(--ease); }

/* 16. CTA
   ========================================================================== */
.cta { padding-block: 0 var(--section-y); }

.cta__box {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
	border-radius: var(--radius-xl);
	background: var(--g-night);
	color: rgba(255, 255, 255, .78);
	text-align: center;
	box-shadow: var(--shadow-lg);
}

.cta__box::before {
	content: "";
	position: absolute;
	inset: -40% -10% auto;
	z-index: -1;
	height: 120%;
	background:
		radial-gradient(closest-side at 30% 50%, rgba(106, 90, 249, .55), transparent),
		radial-gradient(closest-side at 72% 45%, rgba(0, 184, 245, .4), transparent);
	filter: blur(30px);
}

.cta__box::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--g-spectrum);
}

.cta__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
	mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.cta__title {
	max-width: 18ch;
	margin: 0 auto .75rem;
	color: #fff;
	font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.1rem);
	font-weight: 800;
	letter-spacing: -.03em;
}

.cta__text { max-width: 52ch; margin: 0 auto 2rem; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }

.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

@media (max-width: 479.98px) {
	.cta__actions .btn { width: 100%; }
}

.cta__note {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 1.5rem 0 0;
	color: rgba(255, 255, 255, .6);
	font-size: .85rem;
}

/* 17. Páginas interiores
   ========================================================================== */
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid var(--c-border);
	background: linear-gradient(180deg, #f6f7ff, #fff);
}

.page-hero .hero__glow--a { opacity: .35; top: -60%; }

.page-hero__inner { max-width: calc(900px + var(--gutter) * 2); text-align: center; }

.page-hero__title {
	margin: 0 0 .75rem;
	font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.page-hero__subtitle {
	max-width: 62ch;
	margin-inline: auto;
	color: var(--c-muted);
	font-size: clamp(1.02rem, .97rem + .3vw, 1.18rem);
}

.page-hero__subtitle p:last-child { margin-bottom: 0; }

.breadcrumbs { margin-bottom: 1.25rem; font-size: .85rem; }

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--c-muted);
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; }

.breadcrumbs li + li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .5;
}

.breadcrumbs a { color: var(--c-muted); font-weight: 600; text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-violet); }

.breadcrumbs [aria-current] {
	overflow: hidden;
	max-width: 32ch;
	color: var(--c-ink);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem 1.25rem;
	margin-top: 1.25rem;
	color: var(--c-muted);
	font-size: .9rem;
}

.post-meta__item { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta a { color: inherit; text-decoration: none; font-weight: 600; }
.post-meta a:hover { color: var(--c-violet); }

/* 18. Contenido editorial
   ========================================================================== */
.entry-content > * {
	max-width: var(--content);
	margin-inline: auto;
}

.entry-content--wide > * { max-width: var(--container); }

.entry-content > .alignwide { max-width: var(--container); }

.entry-content > .alignfull {
	max-width: none;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.entry-content--landing > * { max-width: none; }

.entry-content--landing > :not(.alignfull):not(.alignwide) {
	max-width: calc(var(--container) + var(--gutter) * 2);
	padding-inline: var(--gutter);
}

.entry-content--landing > .alignwide {
	max-width: calc(var(--container) + var(--gutter) * 2);
	padding-inline: var(--gutter);
}

.entry-content--landing > .alignfull { width: 100%; margin-inline: 0; }

.entry-content h2 { margin-top: 2.2em; font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); }
.entry-content h3 { margin-top: 1.8em; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); }
.entry-content h4 { margin-top: 1.6em; font-size: 1.15rem; }
.entry-content > :first-child { margin-top: 0; }

.entry-content ul,
.entry-content ol { padding-left: 1.3em; margin-bottom: 1.25em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--c-violet); }

.entry-content img,
.entry-content .wp-block-image img { border-radius: var(--radius); }

.entry-content figure { margin-block: 2rem; }
.entry-content figcaption,
.wp-element-caption { margin-top: .6rem; color: var(--c-muted); font-size: .88rem; text-align: center; }

.entry-content blockquote:not(.testimonial__quote) {
	margin: 2rem auto;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--c-violet);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--c-soft);
	color: var(--c-ink);
	font-size: 1.1rem;
}

.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .5rem; color: var(--c-muted); font-size: .9rem; font-style: normal; }

.entry-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: .96rem;
}

.entry-content th,
.entry-content td { padding: .85rem 1rem; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.entry-content th { background: var(--c-soft); color: var(--c-ink); font-weight: 700; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content tbody tr:hover td { background: #fafbff; }

.wp-block-table { overflow-x: auto; }

@media (max-width: 639.98px) {
	.entry-content > table { display: block; overflow-x: auto; }
}

code,
kbd,
pre { font-family: var(--mono); font-size: .9em; }

:not(pre) > code {
	padding: .15em .4em;
	border-radius: 6px;
	background: var(--c-soft);
	color: var(--c-violet-600);
}

pre {
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--c-ink);
	color: #e5e9ff;
	overflow-x: auto;
	line-height: 1.6;
}

.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	text-decoration: none;
	transition: transform .2s var(--ease), box-shadow .2s;
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
	background-image: var(--g-brand);
	box-shadow: var(--shadow-glow);
}

.entry-content .wp-block-button__link:hover { transform: translateY(-2px); }

.entry-content .is-style-outline .wp-block-button__link { border: 1.5px solid currentColor; background: transparent; }

.entry-content .wp-block-separator { border: 0; height: 1px; background: var(--c-border); }

.entry-content .wp-block-cover,
.entry-content .wp-block-group.has-background { border-radius: var(--radius-lg); }

.entry-content .alignfull.wp-block-group.has-background,
.entry-content .alignfull.wp-block-cover { border-radius: 0; }

.entry-content .wp-block-embed iframe { border-radius: var(--radius); }

.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }

@media (max-width: 639.98px) {
	.alignleft,
	.alignright { float: none; margin-inline: 0; }
}

/* Secciones HTML heredadas del sitio anterior: que no desborden en móvil. */
.entry-content section[style] { max-width: none; border-radius: var(--radius-lg); margin-bottom: 1.5rem; }

@media (max-width: 639.98px) {
	.entry-content section[style] { padding: 2.5rem 1.1rem !important; }
	.entry-content [style*="flex: 1 1 250px"] { flex-basis: 100% !important; }
}

.page-links { margin-top: 2rem; font-weight: 700; }

/* Descargas (plugin Download Attachments) */
.downloads { margin-block: 2.5rem; }
.downloads .downloads__title { margin: 0 0 1rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }

.downloads .downloads__list {
	display: grid;
	gap: .85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.downloads .download {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-xs);
	transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}

.downloads .download:hover { border-color: rgba(106, 90, 249, .35); box-shadow: var(--shadow); transform: translateY(-2px); }

.download--pdf { --type: var(--c-red); }
.download--zip, .download--rar, .download--7z { --type: var(--c-amber); }
.download--exe, .download--msi { --type: var(--c-violet); }
.download--apk, .download--xls, .download--xlsx, .download--csv { --type: var(--c-green); }
.download--doc, .download--docx { --type: var(--c-cyan); }

.download__type {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 56px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--type, var(--c-violet)) 12%, #fff);
	color: var(--type, var(--c-violet));
}

.download__type b {
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%);
	padding: .12rem .4rem;
	border-radius: 6px;
	background: var(--type, var(--c-violet));
	color: #fff;
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1.3;
}

.download__body { display: grid; gap: .2rem; }
.download__name { color: var(--c-ink); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.download__meta { color: var(--c-muted); font-size: .82rem; font-weight: 600; }
.download__desc { color: var(--c-muted); font-size: .9rem; line-height: 1.5; }

.downloads .download__btn { grid-column: 1 / -1; width: 100%; word-break: normal; }

@media (min-width: 560px) {
	.downloads .download { grid-template-columns: auto minmax(0, 1fr) auto; padding: 1rem 1rem 1rem 1.25rem; }
	.downloads .download__btn { grid-column: auto; width: auto; }
}

/* Galería */
.entry-content .wp-block-gallery.has-nested-images { gap: clamp(.75rem, 2vw, 1.25rem); }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image {
	overflow: hidden;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 0; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	padding: 2.5rem 1rem .8rem;
	background: linear-gradient(0deg, rgba(11, 21, 48, .88), rgba(11, 21, 48, .45) 60%, rgba(11, 21, 48, 0));
	font-size: .875rem;
	font-weight: 700;
	text-align: left;
	text-shadow: none;
}

/* Estilos de bloque del tema */
.is-style-versatil-card {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.is-style-versatil-card.is-price { box-shadow: var(--shadow-lg), 0 30px 80px -30px rgba(106, 90, 249, .45); }
.is-style-versatil-card :is(h2, h3, h4) { margin-top: .5em; }
.entry-content h2 small { color: var(--c-muted); font-weight: 700; letter-spacing: 0; }
.wp-block-column > .is-style-versatil-card:only-child { display: flex; flex-direction: column; height: 100%; }
.wp-block-column > .is-style-versatil-card:only-child > .wp-block-list { flex: 1; }
.is-style-versatil-card > :first-child { margin-top: 0; }
.is-style-versatil-card > :last-child { margin-bottom: 0; }

.is-style-versatil-dark {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: var(--g-night);
	color: rgba(255, 255, 255, .78);
	isolation: isolate;
}

.is-style-versatil-dark.alignfull { border-radius: 0; }

.is-style-versatil-dark::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto auto;
	z-index: -1;
	width: 60%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(106, 90, 249, .5), transparent 65%);
	filter: blur(40px);
}

.is-style-versatil-dark h1,
.is-style-versatil-dark h2,
.is-style-versatil-dark h3 { color: #fff; }

.is-style-versatil-dark .is-style-outline .wp-block-button__link { color: #fff; }

.eyebrow-block {
	width: fit-content;
	margin-inline: auto !important;
	padding: .35rem .9rem;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #b9c3ff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

ul.is-style-versatil-check { padding-left: 0 !important; list-style: none; }

ul.is-style-versatil-check li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: .7rem;
}

ul.is-style-versatil-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(18, 183, 106, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b76a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.is-style-versatil-gradient {
	background: var(--g-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* 19. Blog
   ========================================================================== */
.layout { display: grid; gap: 3rem; }

@media (min-width: 1024px) {
	.layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
}

.post-grid { display: grid; gap: 1.5rem; }

@media (min-width: 640px) {
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.post-grid { grid-template-columns: repeat(3, 1fr); }
	.layout--sidebar .post-grid { grid-template-columns: repeat(2, 1fr); }
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	transition: transform .3s var(--ease), box-shadow .3s;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--c-soft);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}

.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background: var(--g-night);
}

.post-card__mark { width: 64px; height: 64px; opacity: .9; }

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: .65rem;
	padding: 1.4rem;
}

.post-card__title { margin: 0; font-size: 1.18rem; line-height: 1.3; }
.post-card__title a { color: var(--c-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--c-violet); }
.post-card__excerpt { flex: 1; margin: 0; color: var(--c-muted); font-size: .95rem; line-height: 1.55; }

.post-card__meta {
	display: flex;
	gap: .4rem;
	color: var(--c-muted);
	font-size: .82rem;
	font-weight: 600;
}

.pagination { margin-top: 3rem; }

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .75rem;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	color: var(--c-ink);
	font-weight: 700;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}

.pagination .page-numbers:hover { border-color: var(--c-violet); color: var(--c-violet); }
.pagination .page-numbers.current { border-color: transparent; background: var(--g-brand); color: #fff; }
.pagination .dots { border: 0; }

/* Entrada individual */
.single-post__media {
	max-width: 1100px;
	margin: 0 auto 2.5rem;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.single-post__media img { width: 100%; }

.single-post__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--content);
	margin: 3rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--c-border);
}

.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }

.tag-list a {
	padding: .3rem .8rem;
	border-radius: 999px;
	background: var(--c-soft);
	color: var(--c-muted);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
}

.tag-list a:hover { background: var(--c-violet); color: #fff; }

/* Compartir */
.share-card {
	position: relative;
	display: grid;
	gap: 1.25rem;
	max-width: var(--content);
	margin: 3rem auto 0;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	overflow: hidden;
	border: 1px solid rgba(106, 90, 249, .18);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 100% 0, rgba(0, 184, 245, .12), transparent 45%),
		radial-gradient(circle at 0 100%, rgba(106, 90, 249, .1), transparent 50%),
		#fff;
	box-shadow: var(--shadow-sm);
}

.share-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--g-spectrum);
	opacity: .85;
}

.single-post__footer + .share-card { margin-top: 1.5rem; }

.share-card__intro {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.share-card__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--g-brand);
	box-shadow: var(--shadow-glow);
	color: #fff;
}

.share-card__title {
	margin: 0;
	color: var(--c-ink);
	font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
	line-height: 1.3;
}

.share-card__text {
	margin: .2rem 0 0;
	color: var(--c-muted);
	font-size: .92rem;
	line-height: 1.5;
}

.share-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.share-pill {
	--brand: var(--c-violet);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-width: 46px;
	min-height: 46px;
	margin: 0;
	padding: .55rem 1rem;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: #fff;
	color: var(--c-ink);
	font: inherit;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}

.share-pill .icon { flex: none; color: var(--brand); transition: color .2s; }

.share-pill:hover,
.share-pill:focus-visible {
	border-color: transparent;
	background: var(--brand);
	box-shadow: 0 10px 22px -12px var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

.share-pill:hover .icon,
.share-pill:focus-visible .icon { color: #fff; }

.share-pill--whatsapp { --brand: #25d366; }
.share-pill--facebook { --brand: #1877f2; }
.share-pill--x { --brand: #0b1530; }
.share-pill--linkedin { --brand: #0a66c2; }
.share-pill--telegram { --brand: #229ed9; }
.share-pill--mail { --brand: #6a5af9; }
.share-pill--copy { --brand: #0b1530; }

.share-pill--native {
	flex: 1 1 100%;
	border: 0;
	background: var(--g-brand);
	box-shadow: var(--shadow-glow);
	color: #fff;
}

.share-pill--native .icon { color: #fff; }
.share-pill--native[hidden] { display: none; }

.share-pill--icon { padding: .55rem; }

.share-pill--icon .share-pill__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 639.98px) {
	.share-card__actions { justify-content: center; }
	.share-pill:not(.share-pill--native) { padding: .55rem; }
	.share-pill__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.share__copied {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	padding: .2rem .5rem;
	border-radius: 6px;
	background: var(--c-ink);
	color: #fff;
	font-size: .72rem;
	white-space: nowrap;
	transform: translateX(-50%);
	pointer-events: none;
}

.share__copied:empty { display: none; }

.post-nav { max-width: var(--content); margin: 2.5rem auto 0; }

.post-nav .nav-links { display: grid; gap: 1rem; }

@media (min-width: 640px) {
	.post-nav .nav-links { grid-template-columns: 1fr 1fr; }
	.post-nav .nav-next { text-align: right; grid-column: 2; }
}

.post-nav a {
	display: block;
	height: 100%;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	color: var(--c-ink);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}

.post-nav a:hover { border-color: rgba(106, 90, 249, .4); box-shadow: var(--shadow-sm); }
.post-nav small { display: block; margin-bottom: .25rem; color: var(--c-violet); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.related { margin-top: 4rem; }
.related__title { margin-bottom: 1.5rem; font-size: 1.5rem; text-align: center; }

/* Barra lateral y widgets */
.sidebar { display: grid; gap: 1.5rem; align-content: start; }

@media (min-width: 1024px) {
	.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
}

.widget {
	padding: 1.5rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
}

.widget__title { margin-bottom: 1rem; font-size: 1.05rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: .45rem 0; border-bottom: 1px solid var(--c-border); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--c-text); text-decoration: none; font-weight: 600; }
.widget a:hover { color: var(--c-violet); }

/* Formularios */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	border: 1.5px solid var(--c-border);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--c-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color .2s, box-shadow .2s;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--c-violet);
	box-shadow: 0 0 0 4px rgba(106, 90, 249, .15);
}

label { display: inline-block; margin-bottom: .35rem; color: var(--c-ink); font-weight: 600; font-size: .95rem; }

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 560px;
	margin-inline: auto;
}

.search-form__icon {
	position: absolute;
	left: 1rem;
	display: flex;
	color: var(--c-muted);
	pointer-events: none;
}

.search-form__input { padding-left: 2.75rem !important; padding-right: 6.5rem !important; border-radius: 999px !important; min-height: 54px !important; }

.search-form__btn { position: absolute; right: 6px; }

.search-inline { margin-bottom: 2rem; }

.empty-state {
	max-width: 560px;
	margin: 0 auto;
	padding: 3rem 1rem;
	text-align: center;
}

.empty-state .icon-tile { margin-bottom: 1.25rem; }
.empty-state p { color: var(--c-muted); }

/* Comentarios */
.comments { max-width: var(--content); margin: 4rem auto 0; }
.comments__title { font-size: 1.5rem; }
.comment-list { margin: 0 0 2.5rem; padding: 0; list-style: none; }
.comment-list .children { margin: 0; padding-left: clamp(1rem, 4vw, 2.5rem); list-style: none; }

.comment-body {
	margin-bottom: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .75rem; font-size: .9rem; }
.comment-author { display: flex; align-items: center; gap: .6rem; }
.comment-author .avatar { width: 40px; height: 40px; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--c-muted); text-decoration: none; }
.reply a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.comment-form p { margin-bottom: 1rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* 404 */
.error-404 {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(4rem, 12vw, 8rem);
	text-align: center;
}

.error-404__inner { max-width: calc(720px + var(--gutter) * 2); }

.error-404__code {
	margin: 0;
	font-size: clamp(6rem, 3rem + 14vw, 11rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.06em;
}

.error-404__title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
.error-404__text { margin-bottom: 2rem; color: var(--c-muted); }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* 20. Pie de página
   ========================================================================== */
.site-footer {
	position: relative;
	background: var(--c-ink);
	color: rgba(255, 255, 255, .66);
	font-size: .95rem;
}

.footer__grid {
	display: grid;
	gap: 2.5rem 2rem;
	padding-block: clamp(3rem, 7vw, 4.5rem);
}

@media (min-width: 640px) {
	.footer__grid { grid-template-columns: repeat(2, 1fr); }
	.footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
	.footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
	.footer__brand { grid-column: auto; padding-right: 2rem; }
	.footer__grid:has(.footer__widgets) { grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr; }
}

.site-footer .brand { color: #fff; margin-bottom: 1.25rem; }
.site-footer .brand__img { max-height: 40px; }
.footer__about { max-width: 42ch; line-height: 1.65; }

.footer__title {
	margin-bottom: 1.1rem;
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.footer__links,
.footer__contact,
.footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__links li + li { margin-top: .55rem; }

.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }

.footer__links a {
	display: inline-flex;
	padding-block: .15rem;
}

.footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	line-height: 1.45;
}

.footer__contact li + li { margin-top: .85rem; }
.footer__contact .icon { margin-top: 2px; color: #8f9cff; }

.social { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }

.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	transition: background .2s, border-color .2s, transform .2s var(--ease);
}

.social a:hover { background: var(--g-brand); border-color: transparent; transform: translateY(-2px); }

.footer__widgets .widget { padding: 0; border: 0; background: none; }
.footer__widgets .widget li { border-color: rgba(255, 255, 255, .1); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }

.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 2rem;
	padding-block: 1.4rem;
}

.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

@media (max-width: 639.98px) {
	.footer__bottom-inner { justify-content: center; text-align: center; }
}

/* 21. Flotantes: WhatsApp, volver arriba, barra móvil
   ========================================================================== */
.wa-float {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--c-wa);
	color: #fff;
	box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .6);
	transition: transform .25s var(--ease);
}

.wa-float:hover { color: #fff; transform: scale(1.07); }

.wa-float::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--c-wa);
	animation: pulse 2.4s 3s var(--ease) infinite;
}

.wa-float__label {
	position: absolute;
	right: calc(100% + 12px);
	padding: .5rem .85rem;
	border-radius: 10px;
	background: #fff;
	color: var(--c-ink);
	box-shadow: var(--shadow);
	font-size: .85rem;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	transition: opacity .25s, transform .25s var(--ease);
	pointer-events: none;
}

@media (hover: hover) {
	.wa-float:hover .wa-float__label { opacity: 1; transform: none; }
}

.to-top {
	position: fixed;
	right: max(26px, env(safe-area-inset-right));
	bottom: 92px;
	z-index: 89;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--c-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--c-ink);
	box-shadow: var(--shadow-sm);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s, transform .3s var(--ease);
}

.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--c-ink); color: #fff; }

.mobile-bar { display: none; }

@media (max-width: 1023.98px) {
	.has-mobile-bar { --bar-h: calc(64px + env(safe-area-inset-bottom)); padding-bottom: var(--bar-h); }

	.mobile-bar {
		position: fixed;
		inset: auto 0 0;
		z-index: 95;
		display: grid;
		grid-auto-columns: 1fr;
		grid-auto-flow: column;
		gap: .4rem;
		padding: .45rem .6rem calc(.45rem + env(safe-area-inset-bottom));
		border-top: 1px solid var(--c-border);
		background: rgba(255, 255, 255, .92);
		backdrop-filter: saturate(180%) blur(16px);
		-webkit-backdrop-filter: saturate(180%) blur(16px);
		box-shadow: 0 -10px 30px -15px rgba(16, 24, 40, .25);
	}

	.mobile-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .15rem;
		min-height: 52px;
		border-radius: 14px;
		color: var(--c-navy);
		font-size: .74rem;
		font-weight: 700;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	.mobile-bar__item:active { background: var(--c-soft); }
	.mobile-bar__item--wa { color: #128c4a; }

	.mobile-bar__item--primary {
		background: var(--g-brand);
		color: #fff;
		box-shadow: var(--shadow-glow);
	}

	.mobile-bar__item--primary:hover,
	.mobile-bar__item--primary:active { color: #fff; background: var(--g-brand); }

	.has-mobile-bar .wa-float { display: none; }
	.has-mobile-bar .to-top { bottom: calc(var(--bar-h) + 14px); right: 14px; }
	.nav-open .mobile-bar { transform: translateY(100%); }
	.mobile-bar { transition: transform .3s var(--ease); }
}

/* 22. Animaciones de aparición (CSS puro, sin dependencia de JS)
   ========================================================================== */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		[data-reveal] {
			animation: reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 35%;
		}
	}
}

@keyframes reveal {
	from { opacity: 0; transform: translateY(28px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.marquee__viewport { -webkit-mask-image: none; mask-image: none; }
	.marquee__track { flex-wrap: wrap; justify-content: center; animation: none !important; }
	.marquee__track[aria-hidden] { display: none; }
}

/* 23. Impresión
   ========================================================================== */
@media print {
	.site-header,
	.site-footer,
	.mobile-bar,
	.wa-float,
	.to-top,
	.cta { display: none !important; }

	body { padding: 0 !important; color: #000; }
	a { color: #000; text-decoration: underline; }
}
