/* ==========================================================================
   Syncsells — hoja de estilos principal
   Marca: naranja #FB770F + negro, tipografía Open Sans.
   ========================================================================== */

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations"),
		url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
	--orange: #fb770f;
	--orange-hover: #ff8a2b;
	--orange-strong: #e5650b; /* texto grande sobre blanco */
	--orange-text: #b8520a;   /* texto pequeño sobre blanco (AA) */
	--orange-50: #fff4ea;
	--orange-100: #ffe4cc;

	--ink: #0e0e10;
	--ink-2: #27272a;
	--muted: #5b5b63;
	--line: #e8e4df;
	--bg: #ffffff;
	--bg-soft: #faf7f3;

	--dark: #0e0e10;
	--dark-2: #17171a;
	--dark-line: rgba(255, 255, 255, 0.12);
	--dark-text: #c9c9cf;
	--dark-muted: #9c9ca5;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(14, 14, 16, 0.06);
	--shadow: 0 10px 30px -12px rgba(14, 14, 16, 0.18);
	--shadow-lg: 0 30px 60px -20px rgba(14, 14, 16, 0.28);

	--container: 1200px;
	--gutter: 20px;
	--header-h: 72px;

	--font: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--orange);
	color: var(--ink);
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

.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: absolute;
	left: 16px;
	top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 700;
	text-decoration: none;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 12px;
}

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

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

/* ---------- Tipografía de sección ---------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--orange-text);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow--pill {
	padding: 6px 14px 6px 10px;
	border: 1px solid var(--dark-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--orange);
	letter-spacing: 0.04em;
}

.eyebrow--pill .icon {
	width: 16px;
	height: 16px;
}

.section-head {
	max-width: 760px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-title {
	font-size: clamp(1.9rem, 3.6vw, 2.75rem);
	font-weight: 800;
}

.section-lead {
	margin-top: 16px;
	color: var(--muted);
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hl {
	color: var(--orange-strong);
}

.section-more {
	margin-top: 40px;
	text-align: center;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--orange);
	padding-bottom: 2px;
}

.link-arrow .icon {
	width: 18px;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

/* ---------- Botones ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--orange);
	color: var(--ink);
	box-shadow: 0 8px 24px -10px rgba(251, 119, 15, 0.7);
}

.btn--primary:hover {
	background: var(--orange-hover);
	transform: translateY(-1px);
}

.btn--dark {
	background: var(--ink);
	color: #fff;
}

.btn--dark:hover {
	background: var(--ink-2);
	transform: translateY(-1px);
}

.btn--ghost {
	border-color: var(--line);
	color: var(--ink);
	background: #fff;
}

.btn--ghost:hover {
	border-color: var(--ink);
}

.btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.btn--ghost-light:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.btn--sm {
	padding: 9px 16px;
	font-size: 15px;
}

.btn--lg {
	padding: 15px 26px;
	font-size: 17px;
}

.btn--block {
	width: 100%;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.btn-row--center {
	justify-content: center;
}

/* ---------- Cabecera ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-bar .site-header {
	top: 32px;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: var(--shadow-sm);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	flex-shrink: 0;
}

.brand .logo-img {
	display: block;
	width: auto;
	height: 36px;
}

.main-nav {
	margin-left: auto;
}

.main-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.main-nav .menu > li {
	position: relative;
}

.main-nav .menu > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--ink-2);
	font-size: 15.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a,
.main-nav .menu > li.current-menu-parent > a {
	background: var(--bg-soft);
	color: var(--ink);
}

.main-nav .menu > .menu-item-has-children > a::after {
	content: "";
	width: 10px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.6;
}

.sub-menu {
	list-style: none;
}

.sub-menu a {
	text-decoration: none;
}

.menu-desc {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
}

.sub-menu a[style*="--mp"]::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--mp);
	vertical-align: 1px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

.nav-toggle-close,
.nav-cta-mobile {
	display: none;
}

.sub-toggle {
	display: none;
}

@media (min-width: 1081px) {
	.main-nav .sub-menu {
		position: absolute;
		top: calc(100% + 8px);
		left: 50%;
		min-width: 280px;
		padding: 10px;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 6px);
		transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
	}

	/* Puente invisible para que el hover no se pierda entre el enlace y el panel. */
	.main-nav .sub-menu::before {
		content: "";
		position: absolute;
		inset: -12px 0 auto;
		height: 12px;
	}

	.main-nav .menu > li:hover > .sub-menu,
	.main-nav .menu > li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}

	.main-nav .sub-menu a {
		display: block;
		padding: 10px 14px;
		border-radius: var(--radius-sm);
		color: var(--ink);
		font-size: 15px;
		font-weight: 700;
		transition: background-color 0.15s;
	}

	.main-nav .sub-menu a:hover {
		background: var(--bg-soft);
	}

	.main-nav .mega--servicios > .sub-menu {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		width: 600px;
	}

	.main-nav .mega--marketplaces > .sub-menu {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: 560px;
	}
}

@media (max-width: 1080px) {
	.nav-toggle {
		display: inline-flex;
	}

	.header-actions {
		margin-left: auto;
	}

	/* backdrop-filter convertiría la cabecera en el contenedor del panel fijo del menú. */
	.site-header {
		background: #fff;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 99;
		margin: 0;
		padding: 16px var(--gutter) 32px;
		overflow-y: auto;
		background: #fff;
		border-top: 1px solid var(--line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
	}

	.admin-bar .main-nav {
		top: calc(var(--header-h) + 46px);
	}

	.nav-open .main-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-open {
		overflow: hidden;
	}

	.nav-open .nav-toggle-open {
		display: none;
	}

	.nav-open .nav-toggle-close {
		display: inline-flex;
	}

	.main-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav .menu > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--line);
	}

	.main-nav .menu > li > a {
		flex: 1;
		padding: 16px 4px;
		border-radius: 0;
		font-size: 18px;
		font-weight: 700;
	}

	.main-nav .menu > li > a:hover,
	.main-nav .menu > li.current-menu-item > a,
	.main-nav .menu > li.current-menu-ancestor > a,
	.main-nav .menu > li.current-menu-parent > a {
		background: none;
	}

	.main-nav .menu > .menu-item-has-children > a::after {
		display: none;
	}

	.sub-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--bg-soft);
		cursor: pointer;
	}

	.sub-toggle .icon {
		transition: transform 0.2s;
	}

	.sub-toggle[aria-expanded="true"] .icon {
		transform: rotate(180deg);
	}

	.main-nav .sub-menu {
		display: none;
		flex-basis: 100%;
		padding: 0 0 16px;
	}

	.main-nav .sub-menu.is-open {
		display: grid;
		gap: 2px;
	}

	.main-nav .mega--marketplaces > .sub-menu.is-open {
		grid-template-columns: 1fr 1fr;
	}

	.main-nav .sub-menu a {
		display: block;
		padding: 10px 12px;
		border-radius: var(--radius-sm);
		font-weight: 600;
	}

	.main-nav .sub-menu a:hover {
		background: var(--bg-soft);
	}

	.menu-desc {
		display: none;
	}

	.nav-cta-mobile {
		display: block;
		margin-top: 24px;
	}
}

@media (max-width: 560px) {
	.header-cta {
		display: none;
	}

	.brand .logo-img {
		height: 30px;
	}
}

/* ---------- Hero de portada ---------- */

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
	background:
		radial-gradient(60% 70% at 85% 40%, rgba(251, 119, 15, 0.22), transparent 70%),
		radial-gradient(40% 40% at 10% 0%, rgba(251, 119, 15, 0.08), transparent 70%),
		var(--dark);
	color: #fff;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 48px;
}

.hero-title {
	font-size: clamp(2.6rem, 5.4vw, 4.4rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.hero-title .hl {
	color: var(--orange);
}

.hero-lead {
	max-width: 560px;
	margin-top: 24px;
	color: var(--dark-text);
	font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 28px;
	list-style: none;
	color: var(--dark-text);
	font-size: 15px;
	font-weight: 600;
}

.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero-points .icon {
	width: 18px;
	color: var(--orange);
}

/* Visual de sincronización */

.sync-visual {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin-inline: auto;
	aspect-ratio: 1;
}

.sync-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.sync-ring {
	fill: none;
	stroke: rgba(255, 255, 255, 0.1);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.sync-ring--inner {
	stroke: rgba(251, 119, 15, 0.25);
	stroke-dasharray: 2 6;
	animation: spin 60s linear infinite;
	transform-origin: 50% 50%;
}

.sync-line {
	stroke: rgba(251, 119, 15, 0.55);
	stroke-width: 1.5;
	stroke-dasharray: 4 8;
	vector-effect: non-scaling-stroke;
	animation: flow 2.4s linear infinite;
}

.sync-core {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 26%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 10px rgba(251, 119, 15, 0.12), 0 0 80px 10px rgba(251, 119, 15, 0.35);
	transform: translate(-50%, -50%);
}

.sync-core::before {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 2px solid rgba(251, 119, 15, 0.5);
	animation: pulse 2.8s var(--ease) infinite;
}

.sync-core img {
	width: 46%;
	height: auto;
}

.sync-node {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--dark-line);
	border-radius: 999px;
	background: rgba(23, 23, 26, 0.92);
	color: #fff;
	font-size: clamp(11px, 1.3vw, 14px);
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8);
	transform: translate(-50%, -50%);
	animation: pop 0.6s var(--ease) both;
}

.mp-dot {
	width: 9px;
	height: 9px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--mp, var(--orange));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mp, var(--orange)) 22%, transparent);
}

/* Sobre fondo oscuro, un aro claro para que se vean también los colores oscuros (Shein). */
.sync-node .mp-dot,
.page-hero--dark .mp-dot {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

@keyframes flow {
	to {
		stroke-dashoffset: -24;
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes pulse {
	0% {
		opacity: 0.8;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.35);
	}
}

@keyframes pop {
	from {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.85);
	}
}

/* ---------- Franja de marketplaces ---------- */

.mp-strip {
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
}

.mp-strip-title,
.tools-title {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.mp-strip-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
}

.mp-strip-list--left {
	justify-content: center;
}

.mp-strip-list a {
	text-decoration: none;
}

.mp-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
	transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

a:hover > .mp-badge {
	border-color: var(--mp, var(--orange));
	box-shadow: 0 6px 16px -8px var(--mp, var(--orange));
	transform: translateY(-2px);
}

.mp-badge--logo img {
	display: block;
	width: auto;
	max-height: 22px;
}

.mp-badge--lg {
	padding: 10px 20px;
	font-size: 19px;
}

.mp-badge--lg .mp-dot {
	width: 12px;
	height: 12px;
}

/* ---------- Secciones ---------- */

.section {
	padding-block: clamp(64px, 9vw, 112px);
}

.section--tight {
	padding-block: clamp(40px, 6vw, 64px);
}

.section--soft {
	background: var(--bg-soft);
}

.grid {
	display: grid;
	gap: 20px;
	list-style: none;
}

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

.grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
}

.split--top {
	align-items: start;
	grid-template-columns: 1.35fr 1fr;
}

/* ---------- Tarjetas ---------- */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.card:has(.card-link):hover {
	border-color: var(--orange);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.card-link {
	color: inherit;
	text-decoration: none;
}

.card-link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.card-link:focus-visible {
	outline: none;
}

.card-link:focus-visible::after {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

.card-title {
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
}

.card-text {
	color: var(--muted);
	font-size: 16px;
}

.card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.card-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
}

.card-more .icon {
	width: 18px;
	color: var(--orange-strong);
	transition: transform 0.2s var(--ease);
}

.card:hover .card-more .icon {
	transform: translateX(4px);
}

.card-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 8px;
	border-radius: 16px;
	background: var(--orange);
	color: var(--ink);
}

.card-icon .icon {
	width: 26px;
	height: 26px;
}

.card-icon--soft {
	background: var(--orange-50);
	color: var(--orange-text);
}

.card-check {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--orange-50);
	color: var(--orange-text);
}

.card-check .icon {
	width: 18px;
}

.card-num {
	color: var(--orange-strong);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.card-media {
	margin: -28px -28px 8px;
	overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
	aspect-ratio: 16 / 10;
	background: var(--bg-soft);
}

.card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-result {
	color: var(--muted);
}

.card-result strong {
	display: block;
	color: var(--orange-strong);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
}

.card--mp {
	border-top: 4px solid var(--mp, var(--orange));
}

.card--mp .mp-badge {
	align-self: flex-start;
	margin-bottom: 4px;
}

.tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--orange-50);
	color: var(--orange-text);
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
}

/* Bento de servicios */

.bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.card--featured {
	grid-row: span 2;
	padding: 36px;
	border-color: var(--dark);
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(251, 119, 15, 0.28), transparent 70%),
		var(--dark);
	color: #fff;
}

.card--featured .card-title {
	font-size: 1.75rem;
}

.card--featured .card-text {
	color: var(--dark-text);
	font-size: 17px;
}

.card--featured .card-more {
	color: #fff;
}

.card--featured .card-more .icon {
	color: var(--orange);
}

.card--featured:has(.card-link):hover {
	border-color: var(--orange);
}

/* ---------- Listas ---------- */

.checklist {
	display: grid;
	gap: 14px;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.checklist .icon {
	width: 24px;
	height: 24px;
	padding: 4px;
	border-radius: 50%;
	background: var(--orange);
	color: var(--ink);
	stroke-width: 3;
}

.checklist--compact {
	gap: 10px;
	margin-top: 12px;
	font-size: 15px;
}

.card--featured .checklist {
	color: var(--dark-text);
}

.checklist--light {
	margin-block: 28px;
	color: var(--dark-text);
}

.checklist--cards li {
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	font-weight: 600;
}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	list-style: none;
	counter-reset: steps;
}

.step {
	position: relative;
	padding: 28px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
}

.step-num {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--orange);
	font-size: 15px;
	font-weight: 800;
}

.step-title {
	margin-bottom: 8px;
	font-size: 1.15rem;
	font-weight: 800;
}

.step p {
	color: var(--muted);
	font-size: 15.5px;
}

.feature-list {
	display: grid;
	gap: 16px;
	list-style: none;
}

.feature {
	display: flex;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.feature-icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--orange);
}

.feature-title {
	margin-bottom: 4px;
	font-size: 1.1rem;
	font-weight: 800;
}

.feature p {
	color: var(--muted);
	font-size: 15.5px;
}

.split-copy .btn {
	margin-top: 8px;
}

.tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
}

.tools a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}

.tools a .icon {
	width: 16px;
	height: 16px;
	color: var(--orange-strong);
}

.tools li:has(a):hover {
	border-color: var(--orange);
}

.local-links {
	display: grid;
	gap: 32px;
}

.tools li {
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-2);
	font-size: 14.5px;
	font-weight: 600;
}

/* ---------- Cifras ---------- */

.stats-band {
	padding-block: clamp(40px, 6vw, 64px);
	background: var(--orange);
	color: var(--ink);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 20px;
	border-left: 2px solid rgba(14, 14, 16, 0.2);
}

.stat-value {
	font-size: clamp(2.4rem, 4.5vw, 3.4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.stat-label {
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
}

/* ---------- Cabecera de páginas interiores ---------- */

.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 96px);
}

.page-hero--dark {
	background:
		radial-gradient(50% 80% at 100% 0%, rgba(251, 119, 15, 0.22), transparent 70%),
		var(--dark);
	color: #fff;
}

.page-hero--light {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--line);
}

.page-hero-inner {
	position: relative;
}

.page-title {
	max-width: 900px;
	font-size: clamp(2.2rem, 4.8vw, 3.75rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.page-lead {
	max-width: 760px;
	margin-top: 20px;
	color: var(--muted);
	font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.page-hero--dark .page-lead {
	color: var(--dark-text);
}

.page-hero--dark .eyebrow {
	color: var(--orange);
}

.hero-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 24px;
	border-radius: 18px;
	background: var(--orange);
	color: var(--ink);
}

.hero-icon .icon {
	width: 30px;
	height: 30px;
}

.hero-badge {
	margin-bottom: 24px;
}

.page-hero--dark .mp-badge {
	border-color: var(--dark-line);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin-bottom: 28px;
	list-style: none;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.breadcrumbs li + li::before {
	content: "/";
	margin: 0 10px;
	opacity: 0.5;
}

.breadcrumbs a {
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--orange-strong);
}

.page-hero--dark .breadcrumbs ol {
	color: var(--dark-muted);
}

.page-hero--dark .breadcrumbs a:hover {
	color: var(--orange);
}

.page-hero .card-meta {
	margin-bottom: 18px;
}

/* ---------- Landing de marketplace ---------- */

.facts {
	position: relative;
	z-index: 2;
	margin-top: -44px;
}

.facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin: 0;
	border: 1px solid var(--line);
	border-top: 4px solid var(--mp, var(--orange));
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.fact {
	padding: 22px 24px;
}

.fact + .fact {
	border-left: 1px solid var(--line);
}

.fact dt {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fact dd {
	margin: 0;
	font-weight: 700;
	line-height: 1.4;
}

.integration {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 32px;
	padding: clamp(28px, 5vw, 48px);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(60% 100% at 100% 100%, rgba(251, 119, 15, 0.2), transparent 70%),
		var(--dark);
	color: var(--dark-text);
}

.integration-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	background: var(--orange);
	color: var(--ink);
}

.integration-icon .icon {
	width: 34px;
	height: 34px;
}

.integration .eyebrow {
	color: var(--orange);
}

.integration-title {
	margin-bottom: 14px;
	color: #fff;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 800;
}

.integration p {
	max-width: 760px;
	font-size: 17px;
}

.integration .link-arrow {
	margin-top: 22px;
	color: #fff;
}

/* ---------- Contenido largo ---------- */

.prose {
	color: var(--ink-2);
	font-size: 18px;
	line-height: 1.75;
}

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

.prose h2 {
	margin-top: 1.8em;
	color: var(--ink);
	font-size: 1.65rem;
	font-weight: 800;
}

.prose h3 {
	margin-top: 1.6em;
	color: var(--ink);
	font-size: 1.3rem;
	font-weight: 800;
}

.prose > :first-child,
.prose > .eyebrow + * {
	margin-top: 0;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

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

.prose li::marker {
	color: var(--orange-strong);
}

.prose .checklist {
	padding: 0;
}

.prose a {
	color: var(--orange-text);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.prose a:hover {
	color: var(--ink);
}

.prose blockquote {
	margin-inline: 0;
	padding-left: 20px;
	border-left: 4px solid var(--orange);
	font-size: 1.15em;
	font-weight: 600;
}

.prose img {
	border-radius: var(--radius);
}

.prose--sm {
	font-size: 16px;
}

.ss-pendiente {
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--orange-100);
	color: var(--ink);
	font-weight: 700;
}

.legal-updated {
	margin-top: 48px !important;
	color: var(--muted);
	font-size: 14px;
}

.aside-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.aside-card--brand {
	background: var(--orange-50);
	border-color: var(--orange-100);
}

.aside-iso {
	width: 44px;
	height: auto;
	margin-bottom: 16px;
}

.aside-title {
	margin-bottom: 18px;
	font-size: 1.3rem;
	font-weight: 800;
}

.aside-card p {
	color: var(--ink-2);
}

.info-list {
	display: grid;
	gap: 14px;
	margin: 0;
}

.info-list dt {
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.info-list dd {
	margin: 2px 0 0;
	font-weight: 600;
}

.quote {
	margin: 0;
	text-align: center;
}

.quote blockquote {
	margin: 0;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.quote figcaption {
	margin-top: 20px;
	color: var(--muted);
	font-weight: 600;
}

.article-media {
	margin-top: -40px;
}

.article-media img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg);
}

/* ---------- Preguntas frecuentes ---------- */

.faq {
	border-top: 1px solid var(--line);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-icon {
	width: 32px;
	height: 32px;
	padding: 6px;
	border-radius: 50%;
	background: var(--bg-soft);
	transition: transform 0.25s var(--ease), background-color 0.2s;
}

.faq-item[open] .faq-icon {
	background: var(--orange);
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 52px 24px 0;
	color: var(--muted);
}

/* ---------- Filtros y estados vacíos ---------- */

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 40px;
}

.filter {
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.filter:hover {
	border-color: var(--ink);
}

.filter.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.card[hidden] {
	display: none;
}

.empty-state {
	max-width: 600px;
	margin-inline: auto;
	text-align: center;
}

.empty-state h2 {
	margin-bottom: 12px;
	font-size: 1.6rem;
	font-weight: 800;
}

.empty-state p {
	margin-bottom: 28px;
	color: var(--muted);
}

.empty-icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 20px;
	background: var(--orange-50);
	color: var(--orange-text);
}

.error-code {
	margin-bottom: 8px;
	color: var(--orange);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
}

.error-404 .page-title {
	margin: 0 auto 16px;
}

.search-form {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.search-form .search-field {
	padding: 12px 16px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
}

.search-form .search-submit {
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

/* ---------- Llamada a la acción y formularios ---------- */

.cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50% 70% at 0% 100%, rgba(251, 119, 15, 0.22), transparent 70%),
		var(--dark);
	color: #fff;
}

.cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 72px);
}

.cta-band .eyebrow {
	color: var(--orange);
}

.cta-band .section-lead {
	color: var(--dark-text);
}

.cta-form .form-wrap {
	padding: clamp(24px, 4vw, 36px);
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow-lg);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	align-items: start;
	gap: clamp(32px, 5vw, 64px);
}

.panel {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow);
}

.panel-title {
	margin-bottom: 24px;
	font-size: 1.5rem;
	font-weight: 800;
}

.contact-aside {
	display: grid;
	gap: 28px;
}

.contact-aside .aside-title {
	margin-bottom: 0;
}

.contact-aside .steps {
	grid-template-columns: 1fr;
	gap: 12px;
}

.contact-aside .step {
	padding: 18px 20px;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 16px;
}

.contact-aside .step-num {
	grid-row: span 2;
	margin: 0;
}

.contact-aside .step-title {
	margin: 0;
	font-size: 1.05rem;
}

.contact-list {
	display: grid;
	gap: 6px;
	list-style: none;
}

.contact-list a,
.contact-static {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
}

.contact-list a:hover {
	color: var(--orange-text);
}

.contact-list .icon {
	color: var(--orange-strong);
}

.ss-form {
	display: grid;
	gap: 18px;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-wrap--compact .form-grid {
	gap: 14px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.field--full {
	grid-column: 1 / -1;
}

.field label,
.field legend {
	padding: 0;
	font-size: 14.5px;
	font-weight: 700;
}

.field legend {
	margin-bottom: 10px;
}

.req {
	color: var(--orange-strong);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	font-size: 16px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field select {
	appearance: none;
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5b63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}

.field textarea {
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--orange);
	outline: none;
	box-shadow: 0 0 0 4px rgba(251, 119, 15, 0.18);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	position: relative;
	cursor: pointer;
}

.chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.chip span {
	display: inline-block;
	padding: 8px 14px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.chip:hover span {
	border-color: var(--ink);
}

.chip input:checked + span {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.chip input:focus-visible + span {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
}

.field--check label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	line-height: 1.5;
}

.field--check input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: var(--orange);
}

.field--check a {
	color: var(--orange-text);
}

.form-legal {
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	display: flex;
	gap: 14px;
	margin-bottom: 20px;
	padding: 18px 20px;
	border-radius: var(--radius-sm);
	font-size: 15.5px;
}

.form-notice--ok {
	margin: 0;
	background: #effaf3;
	border: 1px solid #b7e4c7;
	color: #14532d;
}

.form-notice--ok .icon {
	width: 28px;
	height: 28px;
	padding: 5px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
	stroke-width: 3;
}

.form-notice--ok p {
	margin-top: 4px;
}

.form-notice--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* ---------- Pie ---------- */

.site-footer {
	padding-top: clamp(56px, 8vw, 88px);
	background: #0a0a0c;
	color: var(--dark-muted);
	font-size: 15.5px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.3fr 0.9fr;
	gap: 40px;
}

.brand--footer .logo-img {
	height: 34px;
}

.footer-tagline {
	max-width: 360px;
	margin-top: 20px;
}

.footer-contact {
	display: grid;
	gap: 4px;
	margin-top: 20px;
	list-style: none;
}

.footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	color: #e4e4e7;
	text-decoration: none;
}

.footer-contact .icon {
	width: 18px;
	color: var(--orange);
}

.social {
	display: flex;
	gap: 8px;
	margin-top: 24px;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--dark-line);
	border-radius: 50%;
	color: #e4e4e7;
	transition: border-color 0.15s, color 0.15s;
}

.social a:hover {
	border-color: var(--orange);
	color: var(--orange);
}

.social .icon {
	width: 18px;
}

.footer-title {
	margin-bottom: 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-col ul {
	display: grid;
	gap: 10px;
	list-style: none;
}

.footer-col a {
	color: #d4d4d8;
	text-decoration: none;
	transition: color 0.15s;
}

.footer-col a:hover,
.footer-contact a:hover,
.legal-menu a:hover {
	color: var(--orange);
}

.footer-cols-2 {
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: clamp(48px, 6vw, 72px);
	padding-block: 24px;
	border-top: 1px solid var(--dark-line);
	font-size: 14px;
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
}

.legal-menu a {
	color: var(--dark-muted);
	text-decoration: none;
}

.wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
	transition: transform 0.2s var(--ease);
}

.wa-float:hover {
	transform: scale(1.06);
}

.wa-float .icon {
	width: 28px;
	height: 28px;
}

/* ---------- Banner de cookies ---------- */

.cookie-banner {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 200;
	width: min(440px, calc(100vw - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow-lg);
	animation: cookie-in 0.35s var(--ease) both;
}

.cookie-banner[hidden],
.cookie-banner [hidden] {
	display: none;
}

.cookie-title {
	margin-bottom: 8px;
	font-size: 1.1rem;
	font-weight: 800;
}

.cookie-text {
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.55;
}

.cookie-text a {
	color: var(--orange-text);
	font-weight: 600;
}

.cookie-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
}

.cookie-actions .btn {
	flex: 1 1 auto;
}

.cookie-link {
	padding: 8px 4px;
	border: 0;
	background: none;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cookie-link--footer {
	padding: 0;
	color: var(--dark-muted);
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

.cookie-link--footer:hover {
	color: var(--orange);
}

.cookie-link--inline {
	padding: 0;
	color: var(--orange-text);
	font-size: inherit;
	font-weight: 600;
}

.cookie-list {
	display: grid;
	gap: 12px;
	margin-top: 12px;
	list-style: none;
}

.cookie-switch {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	cursor: pointer;
}

.cookie-switch strong {
	display: block;
	color: var(--ink);
	font-size: 15px;
}

.cookie-switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cookie-switch-ui {
	position: relative;
	width: 40px;
	height: 24px;
	margin-top: 2px;
	border-radius: 999px;
	background: #d4d4d8;
	transition: background-color 0.2s;
}

.cookie-switch-ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s var(--ease);
}

.cookie-switch input:checked + .cookie-switch-ui {
	background: var(--orange);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
	transform: translateX(16px);
}

.cookie-switch input:disabled + .cookie-switch-ui {
	opacity: 0.55;
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
}

@keyframes cookie-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

@media (max-width: 680px) {
	.cookie-banner {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 85vh;
		border-radius: var(--radius) var(--radius) 0 0;
		padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
	}

	/* Mientras el banner está abierto en móvil, el botón de WhatsApp se aparta. */
	.has-cookie-banner .wa-float {
		display: none;
	}
}

/* ---------- Contenido de bloques de WordPress ---------- */

.alignwide {
	max-width: 1100px;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.wp-block-image figcaption,
.wp-caption-text {
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}

/* ---------- Animación de entrada ---------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.hero-copy {
		max-width: 720px;
	}

	.sync-visual {
		max-width: 480px;
	}

	.bento {
		grid-template-columns: repeat(2, 1fr);
	}

	.card--featured {
		grid-row: auto;
		grid-column: 1 / -1;
	}

	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.split,
	.split--top,
	.cta-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.aside-card {
		position: static;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

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

@media (max-width: 680px) {
	:root {
		--gutter: 16px;
		--header-h: 64px;
	}

	body {
		font-size: 16px;
	}

	.bento,
	.grid--2,
	.grid--3,
	.grid--4,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.card {
		padding: 24px;
	}

	.card-media {
		margin: -24px -24px 8px;
	}

	.card--featured {
		padding: 28px;
	}

	.btn-row .btn {
		width: 100%;
	}

	.sync-node {
		padding: 6px 10px;
		gap: 6px;
	}

	.sync-node .mp-dot {
		width: 7px;
		height: 7px;
	}

	.fact + .fact {
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.integration {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.prose {
		font-size: 17px;
	}

	.faq-answer {
		padding-right: 0;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.main-nav .mega--marketplaces > .sub-menu.is-open {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}
