/* ==========================================================================
   Camisetas + Camisetas — Tema de bloques
   Paleta: negro, rojo y humo · Tipografía: Montserrat (títulos, textos y destacados)
   ========================================================================== */

:root {
	--red: #d10f2d;
	--red-2: #ff2a45;
	--red-3: #97091f;
	--ink: #0b0b0d;
	--ink-2: #15151a;
	--muted: #6b6b74;
	--smoke: #f3f3f5;
	--line: rgba(11, 11, 13, 0.1);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--f-display: var(--wp--preset--font-family--titulos, "Montserrat", "Arial Black", system-ui, sans-serif);
	--f-body: var(--wp--preset--font-family--texto, "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif);
	--f-hand: var(--wp--preset--font-family--mano, "Caveat", "Segoe Print", cursive);
	--f-brand: var(--wp--preset--font-family--marca, "Neue Aachen Pro", "Montserrat", "Arial Narrow", sans-serif);
	--f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--grad: linear-gradient(110deg, #ff2a45 0%, #d10f2d 45%, #97091f 100%);
	--header-h: 64px;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
	-webkit-text-size-adjust: 100%;
}
body {
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
::selection {
	background: var(--red);
	color: #fff;
}
img {
	max-width: 100%;
	height: auto;
}
:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--red-2);
	outline-offset: 3px;
}
.wp-site-blocks {
	overflow-x: clip;
}
.wp-site-blocks > main,
.cm-main {
	margin-block-start: 0 !important;
}
.wp-site-blocks > footer {
	margin-block-start: 0 !important;
}

/* Texto en negrita dentro de títulos: degradado de marca */
:where(h1, h2, h3, .cm-hero__word, .cm-page-hero__word, .cm-footer__big) strong,
.is-style-cm-gradient,
.cm-grad {
	background-image: linear-gradient(100deg, #ff2a45 0%, #d10f2d 30%, #97091f 55%, #ff2a45 80%, #d10f2d 100%);
	background-size: 260% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: cmGrad 9s linear infinite;
	font-weight: inherit;
}
@keyframes cmGrad {
	to {
		background-position: -260% 0;
	}
}

/* Títulos equilibrados en varias líneas */
:where(h1, h2, h3, h4) {
	text-wrap: balance;
}

/* ---------- Estilos de bloque: texto ---------- */
.is-style-cm-eyebrow {
	display: inline-flex !important;
	align-items: center;
	gap: 0.7em;
	margin-bottom: 0;
	font-family: var(--f-body) !important;
	font-size: 0.76rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.22em;
	line-height: 1.3 !important;
	text-transform: uppercase;
	color: var(--red);
}
.is-style-cm-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 0 rgba(209, 15, 45, 0.5);
	animation: cmPulse 2.4s infinite;
	flex: none;
}
.has-text-align-center.is-style-cm-eyebrow {
	display: flex !important;
	justify-content: center;
}
@media (max-width: 600px) {
	.is-style-cm-eyebrow {
		font-size: 0.68rem !important;
		letter-spacing: 0.12em;
		gap: 0.55em;
	}
}
.has-blanco-color .is-style-cm-eyebrow,
.cm-on-dark .is-style-cm-eyebrow {
	color: var(--red-2);
}
@keyframes cmPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(209, 15, 45, 0.55);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(209, 15, 45, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(209, 15, 45, 0);
	}
}
.is-style-cm-lead {
	font-size: clamp(1.08rem, 1.5vw, 1.32rem) !important;
	line-height: 1.6;
	color: #3d3d45;
	max-width: 62ch;
}
.has-text-align-center.is-style-cm-lead {
	margin-left: auto !important;
	margin-right: auto !important;
}
.has-blanco-color .is-style-cm-lead,
.has-blanco-color.is-style-cm-lead {
	color: rgba(255, 255, 255, 0.72);
}
/* Nombre de la marca con la fuente del logo (Neue Aachen Bold) */
.cm-brand,
.has-marca-font-family {
	font-family: var(--f-brand) !important;
	font-weight: 700 !important;
	font-style: normal;
	letter-spacing: 0.01em !important;
}
.cm-brand {
	font-size: 1.08em;
	line-height: 1;
	white-space: nowrap;
}

/* Frase a mano alzada (Caveat) */
.is-style-cm-hand {
	font-family: var(--f-hand) !important;
	font-style: normal;
	font-weight: 700 !important;
	font-size: clamp(1.9rem, 3.6vw, 3rem) !important;
	line-height: 1.05 !important;
	color: var(--red);
	letter-spacing: 0 !important;
	transform: rotate(-2deg);
}
.is-style-cm-outline {
	color: transparent !important;
	-webkit-text-stroke: 1.5px currentColor;
	-webkit-text-fill-color: transparent;
}
.is-style-cm-outline.has-blanco-color,
.has-blanco-color .is-style-cm-outline {
	-webkit-text-stroke-color: rgba(255, 255, 255, 0.55);
}

/* Palabras que se encienden con el scroll (estilo Butter) */
.is-style-cm-scrollwords {
	font-family: var(--f-display) !important;
	font-weight: 800 !important;
	font-size: clamp(1.8rem, 4.4vw, 3.9rem) !important;
	line-height: 1.14 !important;
	letter-spacing: -0.045em;
	max-width: 1180px;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Íconos en línea (fichas SVG de productos y servicios) */
.is-style-cm-scrollwords img {
	display: inline-block;
	width: 1em !important;
	height: 1em !important;
	object-fit: contain;
	border-radius: 0.3em;
	vertical-align: -0.12em;
	margin: 0 0.04em;
	box-shadow: 0 0.2em 0.45em -0.18em rgba(11, 11, 13, 0.5);
}
.is-style-cm-scrollwords img + .cm-sw-punct {
	margin-left: -0.06em;
}
/* Palabras destacadas: marcador rojo (1.ª, 3.ª…) y amarillo (2.ª, 4.ª…) */
.is-style-cm-scrollwords strong {
	font-weight: 900;
	color: #fff;
	-webkit-text-fill-color: currentColor;
	padding: 0 0.16em 0.04em;
	margin: 0 0.02em;
	border-radius: 0.18em;
	background: linear-gradient(100deg, #ff2a45 0%, #d10f2d 55%, #a80b24 100%) no-repeat 0 60% / var(--hl, 100%) 92%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-size 0.7s var(--ease);
}
.is-style-cm-scrollwords strong:nth-of-type(2n) {
	color: var(--ink);
	background-image: linear-gradient(100deg, #ffe14d 0%, #ffd400 100%);
}
.cm-js .is-style-cm-scrollwords .cm-sw-tok {
	opacity: 0.13;
	transition: opacity 0.45s ease, color 0.45s ease;
}
.cm-js .is-style-cm-scrollwords img.cm-sw-tok {
	opacity: 0;
	transform: translateY(0.25em) scale(0.2) rotate(-24deg);
	transition: opacity 0.4s ease, transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cm-js .is-style-cm-scrollwords .cm-sw-tok.is-on {
	opacity: 1;
}
.cm-js .is-style-cm-scrollwords img.cm-sw-tok.is-on {
	transform: none;
}
.cm-js .is-style-cm-scrollwords strong {
	color: var(--ink);
	background-size: var(--hl, 0%) 92%;
}
.cm-js .is-style-cm-scrollwords strong .cm-sw-tok.is-on {
	color: #fff;
}
.cm-js .is-style-cm-scrollwords strong:nth-of-type(2n) .cm-sw-tok.is-on {
	color: var(--ink);
}
.cm-statement {
	background: #fff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 60px -44px rgba(11, 11, 13, 0.16);
	padding-top: clamp(56px, 7vw, 100px) !important;
	padding-bottom: clamp(56px, 7vw, 100px) !important;
}
.cm-showcase-sec {
	background: var(--smoke);
	border-bottom: 1px solid var(--line);
}
.cm-grid-head {
	text-align: center;
}
.cm-catalog-title {
	margin: 14px auto 16px !important;
	font-family: var(--f-display) !important;
	font-size: clamp(2.15rem, 4.6vw, 3.6rem) !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.04em !important;
	color: var(--ink);
	text-align: center !important;
}
.cm-catalog-title strong {
	font-weight: inherit;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Letras que aparecen */
.cm-split-ready .cm-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}
.cm-split-ready .cm-char {
	display: inline-block;
	transform: translate3d(0, 110%, 0);
	transition: transform 1s var(--ease);
	transition-delay: calc(var(--ci, 0) * 26ms);
}
.cm-split-ready.is-in .cm-char {
	transform: none;
}
.cm-split-ready strong {
	background: none;
	animation: none;
	-webkit-text-fill-color: currentColor;
}
.cm-split-ready strong .cm-char {
	color: var(--cc, var(--red));
	-webkit-text-fill-color: var(--cc, var(--red));
}

/* ---------- Apariciones ---------- */
.cm-js :is(.cm-reveal, .is-style-cm-reveal) {
	opacity: 0;
	transform: translate3d(0, 46px, 0);
	transition: opacity 1s var(--ease), transform 1.2s var(--ease);
	transition-delay: var(--d, 0ms);
}
.cm-js :is(.cm-reveal, .is-style-cm-reveal).is-in {
	opacity: 1;
	transform: none;
}
.cm-js :is(.cm-stagger, .is-style-cm-stagger) > * {
	opacity: 0;
	transform: translate3d(0, 44px, 0);
	transition: opacity 0.9s var(--ease), transform 1.15s var(--ease);
	transition-delay: calc(var(--i, 0) * 110ms);
}
.cm-js :is(.cm-stagger, .is-style-cm-stagger).is-in > * {
	opacity: 1;
	transform: none;
}
.cm-js .is-style-cm-mask {
	clip-path: inset(100% 0 0 0 round 24px);
	transition: clip-path 1.3s var(--ease);
}
.cm-js .is-style-cm-mask img {
	transform: scale(1.25);
	transition: transform 1.6s var(--ease);
}
.cm-js .is-style-cm-mask.is-in {
	clip-path: inset(0 0 0 0 round 24px);
}
.cm-js .is-style-cm-mask.is-in img {
	transform: none;
}
.is-style-cm-mask img,
.is-style-cm-rounded img,
.is-style-cm-parallax img {
	border-radius: 24px;
}
.is-style-cm-parallax,
.is-style-cm-mask {
	overflow: hidden;
	border-radius: 24px;
}
.is-style-cm-parallax img {
	transform: translate3d(0, var(--py, 0px), 0) scale(1.18);
	will-change: transform;
}

/* ---------- Fondos decorativos (estilo Crafto) ---------- */
.cm-dots,
.is-style-cm-dots {
	background-image: radial-gradient(rgba(11, 11, 13, 0.1) 1px, transparent 1.3px);
	background-size: 22px 22px;
}
.has-negro-background-color.cm-dots {
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.3px);
}
.cm-lines {
	position: relative;
	isolation: isolate;
}
.cm-lines::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	--col: min(1240px, calc(100% - 2 * clamp(16px, 4vw, 48px)));
	background:
		linear-gradient(var(--line), var(--line)) calc(50% - var(--col) / 2) 0 / 1px 100% no-repeat,
		linear-gradient(var(--line), var(--line)) calc(50% - var(--col) / 4) 0 / 1px 100% no-repeat,
		linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat,
		linear-gradient(var(--line), var(--line)) calc(50% + var(--col) / 4) 0 / 1px 100% no-repeat,
		linear-gradient(var(--line), var(--line)) calc(50% + var(--col) / 2) 0 / 1px 100% no-repeat;
}
.has-negro-background-color.cm-lines::before {
	--line: rgba(255, 255, 255, 0.06);
}

/* ---------- Tarjetas utilitarias ---------- */
.is-style-cm-card,
.cm-card-white {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: clamp(22px, 3vw, 40px) !important;
}
.is-style-cm-glass {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-radius: 28px;
	padding: clamp(22px, 3vw, 40px) !important;
}
.is-style-cm-checks {
	list-style: none;
	padding-left: 0 !important;
}
.is-style-cm-checks li {
	position: relative;
	padding-left: 1.9em;
	margin-bottom: 0.55em;
}
.is-style-cm-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 72% no-repeat;
}

/* ---------- Botones (estilos de bloque) ---------- */
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	transition: transform 0.45s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.45s var(--ease), border-color 0.25s;
}
.wp-block-button .wp-block-button__link:hover {
	transform: translateY(-2px);
}
.wp-block-button.is-style-cm-red .wp-block-button__link {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 16px 34px -14px rgba(209, 15, 45, 0.75);
}
.wp-block-button.is-style-cm-red .wp-block-button__link:hover {
	color: #fff;
	box-shadow: 0 22px 44px -14px rgba(209, 15, 45, 0.9);
}
.wp-block-button.is-style-cm-ghost .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 1.5px solid currentColor;
	padding-top: calc(1.05em - 1.5px);
	padding-bottom: calc(1.05em - 1.5px);
}
.wp-block-button.is-style-cm-ghost .wp-block-button__link:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.has-blanco-color .wp-block-button.is-style-cm-ghost .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}
.wp-block-button.is-style-cm-wa .wp-block-button__link {
	background: #1fa855;
	color: #fff;
}
.wp-block-button.is-style-cm-wa .wp-block-button__link:hover {
	background: #178a45;
}
.wp-block-button.is-style-cm-wa .wp-block-button__link::before {
	content: "";
	width: 1.15em;
	height: 1.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2Zm4.52 11.99c-.25-.12-1.47-.72-1.7-.81-.23-.08-.39-.12-.56.13-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43s.17-.25.25-.41c.08-.17.04-.31-.02-.43s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.86.85-.86 2.07s.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74 1.67.72 2.31.78 3.14.66.51-.08 1.47-.6 1.67-1.18.21-.58.21-1.07.14-1.18-.06-.1-.22-.16-.47-.28Z'/%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'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2Zm4.52 11.99c-.25-.12-1.47-.72-1.7-.81-.23-.08-.39-.12-.56.13-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43s.17-.25.25-.41c.08-.17.04-.31-.02-.43s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.86.85-.86 2.07s.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74 1.67.72 2.31.78 3.14.66.51-.08 1.47-.6 1.67-1.18.21-.58.21-1.07.14-1.18-.06-.1-.22-.16-.47-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   PREHEADER — barra de anuncios + redes sociales
   ========================================================================== */
:root {
	--preheader-h: 38px;
}
.cm-preheader {
	position: relative;
	z-index: 995;
	margin: 0 !important;
	padding: 0 !important;
	background:
		radial-gradient(ellipse 46% 180% at 24% 50%, rgba(209, 15, 45, 0.34), transparent 72%),
		#0b0b0d;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	color: #fff;
}
.cm-preheader__in {
	min-height: var(--preheader-h);
	padding: 6px clamp(12px, 2.2vw, 32px) !important;
	margin: 0 !important;
	align-items: center;
	gap: 12px !important;
}
.cm-preheader__msg {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	min-width: 0;
	font: 500 0.78rem/1.2 var(--f-body);
	color: rgba(255, 255, 255, 0.72);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cm-preheader__tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(255, 42, 69, 0.2);
	border: 1px solid rgba(255, 42, 69, 0.45);
	color: #ff7c8d;
	font: 700 0.62rem/1 var(--f-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	flex: none;
}
.cm-preheader__tag::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--red-2);
}
.cm-preheader__msg a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 42, 69, 0.65);
	padding-bottom: 1px;
	transition: color 0.2s, border-color 0.2s;
}
.cm-preheader__msg a:hover {
	color: #ff7c8d;
	border-bottom-color: #ff7c8d;
}
/* Botón «Descargar catálogo» (PDF de Catálogo → Ajustes) */
.cm-preheader__msg a.cm-preheader__dl {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 5px 12px 5px 9px;
	border: 0;
	border-radius: 999px;
	background: var(--red);
	color: #fff;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 8px 18px -10px rgba(209, 15, 45, 0.9);
	transition: background-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.cm-preheader__dl::before {
	content: "";
	flex: none;
	width: 13px;
	height: 13px;
	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='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0 4.5-4.5M12 15l-4.5-4.5M5 19.5h14'/%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='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0 4.5-4.5M12 15l-4.5-4.5M5 19.5h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cm-preheader__msg a.cm-preheader__dl:hover {
	background: var(--red-2);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -10px rgba(255, 42, 69, 0.95);
}
.cm-preheader__msg a.cm-preheader__dl:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.cm-preheader__size {
	font-weight: 500;
	opacity: 0.8;
}
.cm-preheader__extra {
	color: rgba(255, 255, 255, 0.56);
}
.cm-preheader__social {
	gap: 6px !important;
	margin: 0 !important;
	flex: none;
}
.cm-preheader__social .wp-social-link {
	background: rgba(255, 255, 255, 0.08) !important;
	color: rgba(255, 255, 255, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.cm-preheader__social .wp-social-link a {
	padding: 5px !important;
}
.cm-preheader__social .wp-social-link svg {
	width: 13px;
	height: 13px;
}
.cm-preheader__social .wp-social-link:hover {
	background: var(--red) !important;
	border-color: var(--red);
	color: #fff !important;
	transform: translateY(-1px);
}
@media (max-width: 820px) {
	.cm-preheader__extra {
		display: none;
	}
}
@media (max-width: 480px) {
	:root {
		--preheader-h: 36px;
	}
	.cm-preheader__tag {
		display: none;
	}
	.cm-preheader__msg {
		font-size: 0.74rem;
	}
	.cm-preheader__size {
		display: none;
	}
	.cm-preheader__msg a.cm-preheader__dl {
		padding: 5px 11px 5px 8px;
	}
}

/* ==========================================================================
   CABECERA — menú flotante en dos píldoras (estilo Butter)
   ========================================================================== */
.cm-header-part {
	position: relative;
	z-index: 1000;
	margin: 0 !important;
}
.cm-header {
	position: fixed;
	z-index: 1000;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--pre-vis, var(--preheader-h, 0px)) + 12px);
	left: clamp(10px, 2.2vw, 32px);
	right: clamp(10px, 2.2vw, 32px);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}
.cm-header > * {
	pointer-events: auto;
	margin: 0 !important;
}
.cm-pill {
	display: flex;
	align-items: center;
	gap: 4px !important;
	min-height: var(--header-h);
	padding: 8px 8px 8px 14px !important;
	border-radius: 18px;
	background: rgba(236, 236, 239, 0.82);
	-webkit-backdrop-filter: blur(18px) saturate(170%);
	backdrop-filter: blur(18px) saturate(170%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 34px -22px rgba(11, 11, 13, 0.45);
	transition: background-color 0.4s, box-shadow 0.4s, transform 0.6s var(--ease);
}
.cm-header.is-scrolled .cm-pill {
	background: rgba(243, 243, 245, 0.92);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -20px rgba(11, 11, 13, 0.5);
}
.cm-pill--nav {
	position: relative;
}
.cm-pill--cta {
	margin-left: auto !important;
}

/* Logo horizontal dentro de la píldora (como la marca de Butter) */
.cm-pill .cm-logo {
	flex: none;
	margin: 0 10px 0 2px !important;
	line-height: 0;
}
.cm-pill .cm-logo a {
	display: block;
}
.cm-pill .cm-logo img {
	display: block;
	width: auto !important;
	height: var(--logo-h, 42px) !important;
	max-width: none;
	transition: transform 0.6s var(--ease);
}
.cm-pill .cm-logo a:hover img {
	transform: scale(1.03);
}

/* Al bajar: los enlaces se recogen y quedan logo + ⋮ (igual que Butter) */
.cm-nav {
	max-width: 760px;
	overflow: hidden;
	padding: 4px !important;
	margin: -4px !important;
	transition: max-width 0.7s var(--ease), opacity 0.35s var(--ease), margin 0.7s var(--ease), padding 0.7s var(--ease);
}
.cm-header.is-compact .cm-nav {
	max-width: 0;
	opacity: 0;
	padding: 4px 0 !important;
	margin: -4px 0 !important;
	pointer-events: none;
	visibility: hidden;
	transition: max-width 0.7s var(--ease), opacity 0.25s var(--ease), margin 0.7s var(--ease), padding 0.7s var(--ease), visibility 0s linear 0.7s;
}
.cm-nav {
	gap: 2px !important;
}
.cm-nav .wp-block-navigation__container {
	gap: 2px !important;
}
.cm-nav .wp-block-navigation-item__content {
	display: block;
	padding: 0.62em 0.85em !important;
	border-radius: 11px;
	color: #2a2a31 !important;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s;
}
.cm-nav .wp-block-navigation-item__content:hover,
.cm-nav .wp-block-navigation-item.is-current > .wp-block-navigation-item__content {
	background: rgba(11, 11, 13, 0.07);
	color: var(--ink) !important;
}
.cm-nav .wp-block-navigation-item.is-current > .wp-block-navigation-item__content {
	color: var(--red) !important;
}
.cm-menu-btn-wrap {
	margin: 0 0 0 4px !important;
	flex: none;
}
.cm-menu-toggle .wp-block-button__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	height: 44px;
	padding: 0 0.95em 0 0.8em !important;
	border-radius: 12px !important;
	background: rgba(11, 11, 13, 0.07) !important;
	color: var(--ink) !important;
	font-size: 0.86rem !important;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: none !important;
	transition: background-color 0.25s, color 0.25s, padding 0.45s var(--ease);
}
.cm-menu-toggle .wp-block-button__link::before {
	content: "";
	position: static;
	flex: none;
	width: 4px;
	height: 16px;
	margin: 0;
	background: radial-gradient(circle, #0b0b0d 1.7px, transparent 2.1px) 0 0 / 4px 6px repeat-y;
}
.cm-menu-toggle .wp-block-button__link:hover {
	transform: none;
	background: rgba(11, 11, 13, 0.13) !important;
}
.cm-header.is-open .cm-menu-toggle .wp-block-button__link {
	min-width: 0;
	padding: 0 1em 0 0.85em !important;
	background: var(--ink) !important;
	color: #fff !important;
	font-size: 0.85rem !important;
}
.cm-header.is-open .cm-menu-toggle .wp-block-button__link::before {
	display: inline-block;
	width: 12px;
	height: 12px;
	background:
		linear-gradient(45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%),
		linear-gradient(-45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%);
}
.cm-header.is-open .wp-block-navigation__submenu-container {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
.cm-pill--cta {
	padding: 8px !important;
	flex-shrink: 0;
}
.cm-pill--cta .wp-block-buttons {
	gap: 6px !important;
	flex-wrap: nowrap;
}
.cm-pill--cta .wp-block-button__link {
	padding: 0.85em 1.25em !important;
	border-radius: 12px !important;
	font-size: 0.86rem !important;
	white-space: nowrap;
}
.cm-pill--cta .is-style-cm-ghost .wp-block-button__link {
	border: 0 !important;
	padding: 0.85em 1em !important;
	color: #2a2a31;
}
.cm-pill--cta .is-style-cm-ghost .wp-block-button__link:hover {
	background: rgba(11, 11, 13, 0.07);
	color: var(--ink);
}
.cm-pill--cta .is-style-cm-red .wp-block-button__link {
	background: var(--ink);
	box-shadow: none;
}
.cm-pill--cta .is-style-cm-red .wp-block-button__link:hover {
	background: var(--red);
}

/* Panel desplegable — Mega-Menú Bento Editorial */
.cm-menu-panel {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	width: min(1080px, 100%);
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 104px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	padding: 18px !important;
	border-radius: 26px;
	background: rgba(250, 250, 252, 0.96);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	backdrop-filter: blur(28px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 42px 90px -28px rgba(11, 11, 13, 0.42),
		0 12px 30px -14px rgba(11, 11, 13, 0.16);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(-50%, -14px, 0) scale(0.975);
	transform-origin: top center;
	transition: opacity 0.32s var(--ease), transform 0.52s var(--ease), visibility 0s linear 0.52s;
}
.cm-header.is-open .cm-menu-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(-50%, 0, 0) scale(1);
	transition: opacity 0.32s var(--ease), transform 0.52s var(--ease), visibility 0s;
}
.cm-menu-bento {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
	gap: 16px !important;
	align-items: stretch;
	margin: 0 !important;
}
.cm-menu-zone {
	min-width: 0;
	margin: 0 !important;
	opacity: 0;
	transform: translate3d(0, 10px, 0);
	transition: opacity 0.4s var(--ease), transform 0.55s var(--ease);
}
.cm-header.is-open .cm-menu-zone {
	opacity: 1;
	transform: none;
}
.cm-header.is-open .cm-menu-zone:nth-child(1) { transition-delay: 40ms; }
.cm-header.is-open .cm-menu-zone:nth-child(2) { transition-delay: 85ms; }
.cm-header.is-open .cm-menu-zone:nth-child(3) { transition-delay: 130ms; }
.cm-menu-zone--lines {
	display: flex;
	flex-direction: column;
	padding: 16px !important;
	border-radius: 20px;
	background: rgba(243, 243, 245, 0.8);
	border: 1px solid rgba(11, 11, 13, 0.06);
}
.cm-menu-zone__head {
	margin: 0 0 12px !important;
	align-items: center;
	gap: 10px !important;
}
.cm-menu-h {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 !important;
	font: 700 0.68rem/1.2 var(--f-mono) !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}
.cm-menu-h::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red-2);
	flex: none;
}
.cm-menu-all {
	margin: 0 !important;
	font: 700 0.76rem/1.2 var(--f-body);
	white-space: nowrap;
}
.cm-menu-all a {
	color: var(--red);
	text-decoration: none;
	transition: opacity 0.2s;
}
.cm-menu-all a:hover {
	opacity: 0.78;
}
.cm-menu-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px !important;
	margin: 0 !important;
	flex: 1;
}
.cm-menu-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px !important;
	margin: 0 !important;
	padding: 10px 30px 10px 10px !important;
	border-radius: 15px;
	background: #fff;
	border: 1px solid rgba(11, 11, 13, 0.07);
	box-shadow: 0 4px 14px -10px rgba(11, 11, 13, 0.25);
	transition: border-color 0.25s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.cm-menu-card--wide {
	grid-column: 1 / -1;
}
.cm-menu-card::after {
	content: "→";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%) translateX(-4px);
	font: 700 0.85rem/1 var(--f-body);
	color: var(--red);
	opacity: 0;
	transition: opacity 0.25s, transform 0.35s var(--ease);
	pointer-events: none;
}
.cm-menu-card:hover {
	border-color: rgba(209, 15, 45, 0.32);
	box-shadow: 0 14px 28px -18px rgba(11, 11, 13, 0.38);
	transform: translateY(-2px);
}
.cm-menu-card:hover::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}
.cm-menu-card .wp-block-image {
	margin: 0 !important;
	flex: none;
}
.cm-menu-card .wp-block-image img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	object-position: center 20%;
	border-radius: 11px;
	display: block;
	background: var(--smoke);
	transition: transform 0.45s var(--ease);
}
.cm-menu-card:hover .wp-block-image img {
	transform: scale(1.07);
}
.cm-menu-card p {
	margin: 0 !important;
	font-size: 0.75rem;
	line-height: 1.35;
	color: var(--muted);
}
.cm-menu-card p a {
	display: block;
	margin-bottom: 2px;
	color: var(--ink);
	font: 700 0.9rem/1.25 var(--f-body);
	text-decoration: none;
}
.cm-menu-card p a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 15px;
}
.cm-menu-card:hover p a {
	color: var(--red);
}
.cm-menu-zone--mid {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	padding: 16px !important;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(11, 11, 13, 0.07);
}
.cm-menu-techs,
.cm-menu-corp {
	margin: 0 !important;
}
.cm-menu-techs .cm-menu-h,
.cm-menu-corp .cm-menu-h {
	margin-bottom: 10px !important;
}
.cm-menu-techs ul,
.cm-menu-corp ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}
.cm-menu-techs li {
	margin: 0 0 2px;
}
.cm-menu-techs li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 9px;
	margin: 0 -9px;
	border-radius: 10px;
	color: var(--ink);
	font: 600 0.85rem/1.25 var(--f-body);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.cm-menu-techs li a span {
	font: 600 0.66rem/1 var(--f-mono);
	letter-spacing: 0.04em;
	color: var(--muted);
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--smoke);
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}
.cm-menu-techs li a:hover {
	background: rgba(209, 15, 45, 0.06);
	color: var(--red);
	transform: translateX(2px);
}
.cm-menu-techs li a:hover span {
	background: rgba(209, 15, 45, 0.12);
	color: var(--red);
}
.cm-menu-more {
	margin: 8px 0 0 !important;
	font: 700 0.76rem/1.3 var(--f-body);
}
.cm-menu-more a {
	color: var(--red);
	text-decoration: none;
}
.cm-menu-more a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cm-menu-corp {
	padding-top: 12px;
	border-top: 1px solid var(--line);
}
.cm-menu-corp ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 10px;
}
.cm-menu-corp li {
	margin: 0;
}
.cm-menu-corp li a {
	display: block;
	padding: 5px 0;
	color: #3a3a42;
	font: 600 0.8rem/1.3 var(--f-body);
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.2s;
}
.cm-menu-corp li a:hover,
.cm-menu-corp li a[aria-current="page"],
.cm-menu-techs li a[aria-current="page"] {
	color: var(--red);
}
/* Foto real de cada técnica en el menú (miniatura de 360 px) */
.cm-menu-techs li a {
	justify-content: flex-start;
}
.cm-menu-techs li a span {
	margin-left: auto;
}
.cm-menu-techs li a::before {
	content: "";
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--smoke) var(--tech-img, none) 50% 50% / cover no-repeat;
	box-shadow: inset 0 0 0 1px rgba(11, 11, 13, 0.06);
}
.cm-menu-techs a[href*="/estampado-dtf"] { --tech-img: url("../img/tecnica-dtf-360.webp"); }
.cm-menu-techs a[href*="/bordado"] { --tech-img: url("../img/tecnica-bordado-360.webp"); }
.cm-menu-techs a[href*="/serigrafia"] { --tech-img: url("../img/tecnica-serigrafia-360.webp"); }
.cm-menu-techs a[href*="/sublimacion"] { --tech-img: url("../img/tecnica-sublimacion-360.webp"); }
.cm-menu-techs a[href*="/vinilo"] { --tech-img: url("../img/tecnica-vinilo-360.webp"); }
.cm-menu-spot {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: 22px 20px !important;
	border-radius: 20px;
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 42, 69, 0.34), transparent 56%),
		radial-gradient(circle at 10% 95%, rgba(209, 15, 45, 0.22), transparent 54%),
		#0b0b0d;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 22px 46px -24px rgba(11, 11, 13, 0.75);
}
.cm-menu-spot__eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin: 0 0 14px !important;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font: 700 0.64rem/1 var(--f-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}
.cm-menu-spot__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red-2);
}
.cm-menu-spot__title {
	margin: 0 0 10px !important;
	font: 800 1.28rem/1.18 var(--f-display);
	letter-spacing: -0.03em;
	color: #fff;
}
.cm-menu-spot__title strong {
	background: linear-gradient(100deg, #ff5168, #ff2a45 50%, #ff8292);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.cm-menu-spot__desc {
	margin: 0 0 20px !important;
	font-size: 0.82rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.68);
}
.cm-menu-spot__btns {
	display: flex;
	flex-direction: column;
	gap: 8px !important;
	margin: auto 0 0 !important;
}
.cm-menu-spot__btns .wp-block-button {
	width: 100%;
	margin: 0 !important;
}
.cm-menu-spot__btns .wp-block-button__link {
	width: 100%;
	justify-content: center;
	padding: 0.82em 1.1em !important;
	border-radius: 12px !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	text-align: center;
}
.cm-menu-spot__wa .wp-block-button__link {
	background: rgba(255, 255, 255, 0.08) !important;
	color: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	box-shadow: none !important;
}
.cm-menu-spot__wa .wp-block-button__link:hover {
	background: #1fa855 !important;
	border-color: #1fa855 !important;
	color: #fff !important;
}
.cm-menu-foot {
	margin: 14px 0 0 !important;
	padding: 12px 6px 2px !important;
	border-top: 1px solid var(--line);
	align-items: center;
	gap: 10px 20px !important;
}
.cm-menu-foot__loc {
	margin: 0 !important;
	font-size: 0.78rem;
	color: var(--muted);
}
.cm-menu-foot__loc strong {
	color: var(--ink);
	font-weight: 700;
}
.cm-menu-foot__right {
	align-items: center;
	gap: 14px !important;
	margin: 0 !important;
}
.cm-menu-foot__mail {
	margin: 0 !important;
	font: 600 0.78rem/1.2 var(--f-body);
}
.cm-menu-foot__mail a {
	color: #3a3a42;
	text-decoration: none;
}
.cm-menu-foot__mail a:hover {
	color: var(--red);
}
.cm-menu-foot .wp-block-social-links {
	gap: 6px !important;
	margin: 0 !important;
}
.cm-menu-foot .wp-block-social-links .wp-social-link {
	background: rgba(11, 11, 13, 0.07) !important;
	color: var(--ink) !important;
	transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.cm-menu-foot .wp-block-social-links .wp-social-link a {
	padding: 6px !important;
}
.cm-menu-foot .wp-block-social-links .wp-social-link svg {
	width: 15px;
	height: 15px;
}
.cm-menu-foot .wp-block-social-links .wp-social-link:hover {
	background: var(--red) !important;
	color: #fff !important;
	transform: translateY(-2px);
}
body.cm-menu-open::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(11, 11, 13, 0.36);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	animation: cmFade 0.35s ease both;
}
@keyframes cmFade {
	from {
		opacity: 0;
	}
}
@media (max-width: 1024px) {
	.cm-menu-bento {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}
	.cm-menu-spot {
		grid-column: 1 / -1;
	}
	.cm-menu-spot__btns {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.cm-menu-spot__btns .wp-block-button {
		width: auto;
		flex: 1 1 200px;
	}
}
@media (max-width: 767px) {
	body.cm-menu-open {
		overflow: hidden;
	}
	.cm-menu-panel {
		top: calc(100% + 10px);
		padding: 12px !important;
		border-radius: 22px;
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 86px);
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 124px);
	}
	.cm-menu-bento {
		grid-template-columns: 1fr;
		gap: 12px !important;
	}
	.cm-menu-zone--lines,
	.cm-menu-zone--mid {
		padding: 12px !important;
		border-radius: 16px;
	}
	.cm-menu-cards {
		grid-template-columns: 1fr;
		gap: 8px !important;
	}
	.cm-menu-card {
		padding: 8px 28px 8px 8px !important;
	}
	.cm-menu-card .wp-block-image img {
		width: 44px;
		height: 44px;
	}
	.cm-menu-spot {
		padding: 18px 16px !important;
		border-radius: 16px;
	}
	.cm-menu-spot__title {
		font-size: 1.12rem;
	}
	.cm-menu-foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cm-menu-panel,
	.cm-menu-zone {
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	/* Pantallas medianas y celulares: siempre logo + ⋮ */
	.cm-nav {
		display: none !important;
	}
}
@media (max-width: 960px) {
	.cm-pill--cta .is-style-cm-ghost {
		display: none;
	}
}
@media (max-width: 600px) {
	:root {
		--header-h: 56px;
	}
	.cm-header {
		--logo-h: 32px;
	}
	.cm-pill {
		padding: 6px 6px 6px 10px !important;
	}
	.cm-pill--cta {
		padding: 6px !important;
	}
	.cm-menu-toggle .wp-block-button__link {
		min-width: 0;
		height: 40px;
		gap: 6px;
		padding: 0 0.72em 0 0.62em !important;
		font-size: 0.82rem !important;
	}
	.cm-pill--cta .wp-block-button__link {
		padding: 0.72em 0.9em !important;
		font-size: 0.82rem !important;
		white-space: nowrap;
	}
}
@media (max-width: 420px) {
	.cm-header {
		--logo-h: 26px;
	}
}

/* ==========================================================================
   PORTADA (estilo Crafto: palabra gigante detrás de la prenda)
   ========================================================================== */
.cm-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(104px, 11vw, 140px) !important;
	padding-bottom: clamp(48px, 7vw, 100px) !important;
	margin-top: 0 !important;
}
.cm-hero__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(420px, 74vh, 760px);
	margin: 0 !important;
}
.cm-hero__word {
	position: absolute;
	left: 50%;
	top: 47%;
	z-index: 0;
	margin: 0 !important;
	transform: translate3d(calc(-50% + var(--wx, 0px)), -50%, 0);
	font-family: var(--f-display) !important;
	font-size: clamp(5rem, 21vw, 22rem) !important;
	font-weight: 900 !important;
	line-height: 0.82 !important;
	letter-spacing: -0.06em !important;
	white-space: nowrap;
	text-transform: lowercase;
	pointer-events: none;
	will-change: transform;
}
/* Texto gigante en movimiento (cinta): ocupa todo el ancho detrás de la prenda */
.cm-hero__word.cm-marquee {
	width: 100vw;
	transform: translate3d(-50%, -50%, 0);
	font-size: clamp(4.2rem, 13vw, 13rem) !important;
	letter-spacing: -0.05em !important;
	text-transform: none;
	padding: 0.06em 0 0.12em !important;
}
.cm-hero__word.cm-marquee p,
.cm-hero__word .cm-marquee__track > p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0.95;
}
.cm-hero__word.cm-marquee p::after {
	content: "\2726";
	display: inline-block;
	margin: 0 0.32em 0 0.34em;
	font-size: 0.32em;
	letter-spacing: 0;
	vertical-align: 0.9em;
	color: var(--red);
	-webkit-text-fill-color: var(--red);
}
.cm-hero__stage .cm-hg {
	position: relative;
	z-index: 1;
	width: min(500px, 74vw);
	transform: translate3d(0, var(--gy, 0px), 0) scale(var(--gs, 1));
	will-change: transform;
}
.cm-hero__side {
	position: absolute;
	z-index: 2;
	margin: 0 !important;
	max-width: 230px;
}
.cm-hero__side p {
	margin: 0 !important;
}
.cm-hero__side .cm-k {
	font-size: 0.85rem;
	color: var(--muted);
}
.cm-hero__side .cm-v {
	font: 800 clamp(1.05rem, 1.6vw, 1.45rem)/1.15 var(--f-display);
	letter-spacing: -0.03em;
}
.cm-hero__side--l {
	left: 0;
	bottom: 18%;
}
.cm-hero__side--r {
	right: 0;
	top: 20%;
	text-align: right;
}
.cm-hero__side--r2 {
	right: 0;
	bottom: 12%;
	text-align: right;
}
.cm-hero__side--l2 {
	left: 0;
	top: 16%;
}
.cm-hero__copy {
	position: relative;
	z-index: 2;
	margin-top: clamp(8px, 2vw, 24px) !important;
}
.cm-hero__copy h1 {
	font-size: clamp(2.2rem, 5.4vw, 4.6rem) !important;
}
@media (max-width: 860px) {
	.cm-hero__side {
		display: none;
	}
	.cm-hero__stage {
		min-height: auto;
		padding: 36px 0 12px;
	}
	.cm-hero__word {
		top: 44%;
		font-size: 25vw !important;
	}
	.cm-hero__word.cm-marquee {
		font-size: 19vw !important;
	}
}

/* Encabezado de páginas internas */
.cm-page-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(130px, 15vw, 190px) !important;
	padding-bottom: clamp(48px, 7vw, 96px) !important;
	margin-top: 0 !important;
}
.cm-page-hero__word {
	position: absolute;
	left: 50%;
	top: 56%;
	z-index: 0;
	margin: 0 !important;
	transform: translate3d(calc(-50% + var(--wx, 0px)), -50%, 0);
	font-family: var(--f-display) !important;
	font-size: clamp(4.2rem, 16vw, 15.5rem) !important;
	font-weight: 900 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.06em !important;
	white-space: nowrap;
	text-transform: lowercase;
	opacity: 0.12;
	pointer-events: none;
}
.cm-page-hero__word.cm-marquee {
	width: 100vw !important;
	max-width: none !important;
	left: 50% !important;
	margin: 0 !important;
	transform: translate3d(-50%, -50%, 0);
	padding: 0.18em 0 0.28em !important;
}
.cm-page-hero__word .cm-marquee__track {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
}
.cm-page-hero__word .cm-marquee__track > * {
	flex: none;
	display: inline-block;
}
.cm-page-hero__word .cm-marquee__track > *::after {
	content: "\2726";
	display: inline-block;
	margin: 0 0.36em 0 0.42em;
	font-size: 0.32em;
	letter-spacing: 0;
	vertical-align: 0.85em;
	color: var(--red);
	-webkit-text-fill-color: var(--red);
}
.cm-page-hero > *:not(.cm-page-hero__word) {
	position: relative;
	z-index: 1;
}
.cm-page-hero h1 {
	font-size: clamp(2.3rem, 6vw, 5.2rem) !important;
}

/* ==========================================================================
   CINTAS EN MOVIMIENTO
   ========================================================================== */
.cm-tapes {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 !important;
	margin: 0 !important;
}
.cm-marquee {
	overflow: hidden;
	white-space: nowrap;
	margin: 0 !important;
	padding: 0 !important;
}
.cm-marquee > p,
.cm-marquee__track > p {
	display: inline-block;
	margin: 0 !important;
	padding-right: 0.5em;
	white-space: nowrap;
}
.cm-marquee__track {
	display: inline-flex;
	will-change: transform;
}
.cm-tape {
	position: relative;
	width: 106vw;
	margin-left: -3vw !important;
	padding: 18px 0 !important;
	font: 800 clamp(1.15rem, 2.6vw, 2.2rem)/1 var(--f-display);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	box-shadow: 0 20px 40px -24px rgba(11, 11, 13, 0.6);
}
.cm-tape--red {
	background: var(--grad);
	color: #fff;
	transform: rotate(-2.6deg);
	z-index: 2;
}
.cm-tape--dark {
	background: var(--ink);
	color: #fff;
	transform: rotate(1.8deg);
	margin-top: -14px !important;
	z-index: 1;
}
.cm-tape--dark p {
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.75);
}
.cm-tape p::after {
	content: " ✦ ";
	color: var(--amarillo, #ffd400);
	-webkit-text-stroke: 0;
	padding: 0 0.25em;
}
.cm-tape--dark p::after {
	color: var(--red-2);
}

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.cm-section {
	padding-top: clamp(52px, 6.5vw, 104px) !important;
	padding-bottom: clamp(52px, 6.5vw, 104px) !important;
	margin-top: 0 !important;
	position: relative;
}
.cm-section--tight {
	padding-top: clamp(36px, 4.5vw, 68px) !important;
	padding-bottom: clamp(36px, 4.5vw, 68px) !important;
}
/* Dos secciones blancas seguidas: no se suman los dos rellenos */
.cm-section:not(.has-background) + .cm-section:not(.has-background) {
	padding-top: clamp(12px, 2vw, 32px) !important;
}
.cm-section-head {
	margin-bottom: clamp(28px, 3.6vw, 52px) !important;
}
.cm-section-head h2 {
	margin-top: 14px !important;
}
.cm-rounded-top {
	border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.cm-rounded {
	border-radius: clamp(28px, 4vw, 56px);
}

/* Números grandes (degradado) */
.cm-numbers {
	gap: clamp(16px, 2vw, 28px) !important;
}
.cm-number {
	padding: clamp(22px, 2.6vw, 36px) !important;
	border-radius: 28px;
	background: #fff;
	border: 1px solid var(--line);
	height: 100%;
}
.cm-number h3 {
	margin: 0 0 6px !important;
	white-space: nowrap;
	font-size: clamp(2.8rem, 4.8vw, 5rem) !important;
	font-weight: 900 !important;
	line-height: 0.9 !important;
	letter-spacing: -0.05em !important;
	background-image: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.cm-number p {
	margin: 0 !important;
	font-weight: 700;
}
.cm-number p + p {
	margin-top: 6px !important;
	font-weight: 500;
	font-size: 0.92rem;
	color: var(--muted);
}

/* Servicios apilados (tarjetas pegajosas) */
.cm-stack {
	display: grid;
	gap: 0 !important;
}
.cm-stack-card {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px + var(--i, 0) * 16px);
	margin: 0 0 clamp(20px, 3vw, 36px) !important;
	padding: clamp(16px, 2vw, 24px) !important;
	border-radius: clamp(24px, 3vw, 40px);
	background: #15151a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, 0.8);
	transform-origin: 50% 0;
	transform: scale(var(--sc, 1));
	transition: transform 0.2s linear;
}
.cm-stack-card .wp-block-columns {
	margin: 0 !important;
	gap: clamp(20px, 3vw, 48px) !important;
	align-items: center !important;
}
.cm-stack-card .wp-block-image {
	margin: 0 !important;
}
.cm-stack-card .wp-block-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: clamp(16px, 2vw, 28px);
	display: block;
}
.cm-stack-card h3 {
	margin: 10px 0 12px !important;
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.6rem) !important;
}
.cm-stack-card p {
	color: rgba(255, 255, 255, 0.72);
}
.cm-stack-card .cm-num {
	margin: 0 !important;
	font: 700 0.78rem/1 var(--f-mono);
	letter-spacing: 0.1em;
	color: var(--red-2);
}
.cm-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px !important;
	margin: 18px 0 22px !important;
	padding: 0 !important;
	list-style: none;
}
.cm-facts li {
	padding: 0.5em 0.9em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.86);
	font: 600 0.8rem/1.2 var(--f-body);
	margin: 0;
}
.cm-facts--light li {
	background: #fff;
	border-color: var(--line);
	color: var(--ink);
}
@media (max-width: 781px) {
	.cm-stack-card {
		position: relative;
		top: auto;
		transform: none !important;
	}
}

/* Tarjeta de vinilo (tipográfica) */
.cm-vinyl {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: clamp(16px, 2vw, 28px);
	background: radial-gradient(120% 120% at 20% 10%, #2a2a33 0%, #0b0b0d 70%);
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin: 0 !important;
}
.cm-vinyl p {
	margin: 0 !important;
	text-align: center;
	line-height: 0.85 !important;
}
.cm-vinyl .cm-vinyl__name {
	font: 900 clamp(1.5rem, 3.6vw, 2.8rem)/1 var(--f-display) !important;
	letter-spacing: 0.06em;
	color: #ffd400;
}
.cm-vinyl .cm-vinyl__num {
	font: 900 clamp(6rem, 16vw, 12rem)/0.85 var(--f-display) !important;
	letter-spacing: -0.05em;
	color: #fff;
	-webkit-text-stroke: 3px var(--red-2);
	text-shadow: 6px 6px 0 var(--red);
}

/* Proceso en pasos */
.cm-steps {
	counter-reset: cmstep;
	gap: clamp(16px, 2vw, 28px) !important;
}
.cm-step {
	position: relative;
	counter-increment: cmstep;
	padding-top: 86px !important;
}
.cm-step::before {
	content: counter(cmstep, decimal-leading-zero);
	position: absolute;
	top: 0;
	left: 0;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 16px 34px -18px rgba(11, 11, 13, 0.35);
	font: 800 1rem/1 var(--f-display);
	color: var(--ink);
	transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease);
}
.cm-step:hover::before {
	background: var(--red);
	color: #fff;
	transform: rotate(-8deg) scale(1.06);
}
.cm-step::after {
	content: "";
	position: absolute;
	top: 32px;
	left: 80px;
	right: -14px;
	height: 1px;
	background: repeating-linear-gradient(90deg, rgba(11, 11, 13, 0.25) 0 6px, transparent 6px 12px);
}
.cm-step:last-child::after {
	display: none;
}
.cm-step h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important;
	margin: 0 0 10px !important;
}
.cm-step p {
	margin: 0 0 10px !important;
	color: #3d3d45;
}
.cm-step .cm-tip {
	font-size: 0.86rem;
	color: var(--muted);
	padding-left: 12px;
	border-left: 2px solid var(--red);
}
@media (max-width: 781px) {
	.cm-step::after {
		display: none;
	}
}

/* Sectores (chips) */
.cm-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px !important;
}
.cm-chips p {
	margin: 0 !important;
	padding: 0.8em 1.35em;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	font: 700 clamp(0.88rem, 1.2vw, 1.02rem)/1 var(--f-body);
	transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.cm-chips p:hover {
	background: var(--ink);
	color: #fff;
	transform: translateY(-3px) rotate(-2deg);
}

/* Sección personalizador (portada) */
.cm-try {
	position: relative;
	overflow: hidden;
	border-radius: clamp(28px, 4vw, 56px);
	padding: clamp(28px, 5vw, 72px) !important;
	background: radial-gradient(120% 140% at 85% 0%, #d10f2d 0%, #5a0614 38%, #0b0b0d 72%);
	color: #fff;
}
.cm-try .wp-block-columns {
	align-items: center !important;
	margin: 0 !important;
}
.cm-try h2 {
	color: #fff;
}
.cm-try p {
	color: rgba(255, 255, 255, 0.8);
}
.cm-try .cm-hg {
	max-width: 440px;
}
.cm-try .cm-hg__label {
	color: #0b0b0d;
}

/* Preguntas frecuentes */
.cm-faq {
	display: grid;
	gap: 12px !important;
}
.cm-faq .wp-block-details {
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	transition: box-shadow 0.4s;
}
.cm-faq .wp-block-details[open] {
	box-shadow: 0 24px 50px -34px rgba(11, 11, 13, 0.45);
}
.cm-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 22px 64px 22px 26px;
	font: 700 clamp(1rem, 1.4vw, 1.12rem)/1.35 var(--f-body);
}
.cm-faq summary::-webkit-details-marker {
	display: none;
}
.cm-faq summary::after {
	content: "+";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--smoke);
	font: 500 1.3rem/1 var(--f-body);
	transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.cm-faq details[open] summary::after {
	transform: rotate(45deg);
	background: var(--red);
	color: #fff;
}
.cm-faq .wp-block-details > :not(summary) {
	padding: 0 26px;
	margin: 0 0 20px !important;
	color: #3d3d45;
}

/* Llamado final */
.cm-cta {
	position: relative;
	overflow: hidden;
	border-radius: clamp(28px, 4vw, 56px);
	padding: clamp(40px, 7vw, 110px) clamp(22px, 5vw, 72px) !important;
	background: var(--grad);
	color: #fff;
	isolation: isolate;
}
.cm-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent);
	mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent);
}
.cm-cta h2 {
	color: #fff;
	font-size: clamp(2.2rem, 5.6vw, 5rem) !important;
}
.cm-cta h2 strong {
	background: none;
	color: var(--ink);
	-webkit-text-fill-color: var(--ink);
	animation: none;
}
.cm-cta .cm-split-ready strong .cm-char {
	color: var(--ink);
	-webkit-text-fill-color: var(--ink);
}
.cm-cta .is-style-cm-hand {
	color: #ffd400;
}
.cm-cta .wp-block-button.is-style-cm-ghost .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--red);
}
.cm-cta .wp-block-button:not(.is-style-cm-ghost):not(.is-style-cm-wa) .wp-block-button__link {
	background: var(--ink);
}

/* Detalle de servicios (páginas internas) */
.cm-service {
	scroll-margin-top: 120px;
	padding: clamp(28px, 4vw, 56px) 0 !important;
	border-top: 1px solid var(--line);
	margin: 0 !important;
}
.cm-service .wp-block-columns {
	align-items: center !important;
	gap: clamp(24px, 4vw, 72px) !important;
	margin: 0 !important;
}
.cm-service h2 {
	font-size: clamp(2rem, 4vw, 3.4rem) !important;
	margin: 10px 0 16px !important;
}
.cm-service .wp-block-image img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}
.cm-service .cm-vinyl {
	aspect-ratio: 16 / 11;
}
.cm-service .cm-facts li {
	background: #fff;
	border-color: var(--line);
	color: var(--ink);
}
@media (min-width: 782px) {
	.cm-service--flip .wp-block-columns {
		flex-direction: row-reverse;
	}
}

/* Tabla comparativa */
.cm-table {
	overflow-x: auto;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--line);
	margin: 0 !important;
}
.cm-table table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	table-layout: auto !important;
}
.cm-table th,
.cm-table td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-size: 0.94rem;
	vertical-align: top;
}
.cm-table thead th {
	background: var(--ink);
	color: #fff;
	font: 700 0.78rem/1.3 var(--f-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 0;
}
.cm-table tbody tr:last-child td {
	border-bottom: 0;
}
.cm-table tbody td:first-child {
	font-weight: 800;
}
.cm-table tbody tr {
	transition: background-color 0.25s;
}
.cm-table tbody tr:hover {
	background: #fff5f6;
}

/* Tarjetas genéricas en grilla */
.cm-tiles {
	gap: clamp(14px, 2vw, 24px) !important;
}
.cm-tile {
	height: 100%;
	padding: clamp(22px, 2.6vw, 34px) !important;
	border-radius: 26px;
	background: #fff;
	border: 1px solid var(--line);
	transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.cm-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 30px 60px -36px rgba(11, 11, 13, 0.45);
}
.cm-tile h3 {
	font-size: clamp(1.15rem, 1.6vw, 1.4rem) !important;
	margin: 0 0 10px !important;
}
.cm-tile p {
	margin: 0 0 8px !important;
	color: #3d3d45;
}
.cm-tile .cm-tile__k {
	margin: 0 0 14px !important;
	font: 700 0.72rem/1 var(--f-mono);
	letter-spacing: 0.1em;
	color: var(--red);
	text-transform: uppercase;
}
.has-negro-background-color .cm-tile {
	background: #15151a;
	border-color: rgba(255, 255, 255, 0.08);
}
.has-negro-background-color .cm-tile p {
	color: rgba(255, 255, 255, 0.72);
}

/* Contacto */
.cm-channel {
	display: flex;
	align-items: center;
	gap: 16px !important;
	padding: 18px 20px !important;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--line);
	margin: 0 0 12px !important;
	position: relative;
	transition: transform 0.5s var(--ease), border-color 0.3s;
}
.cm-channel:hover {
	transform: translateX(6px);
	border-color: var(--red);
}
.cm-channel p {
	margin: 0 !important;
}
.cm-channel .cm-channel__k {
	font: 700 0.7rem/1 var(--f-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.cm-channel .cm-channel__v {
	font: 700 1.05rem/1.3 var(--f-body);
}
.cm-channel .cm-channel__v a {
	color: var(--ink);
	text-decoration: none;
}
.cm-channel .cm-channel__v a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.cm-channel__ico {
	flex: none;
	width: 48px;
	height: 48px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--ink);
	color: #fff;
	font: 800 1.1rem/1 var(--f-display);
	margin: 0 !important;
}
.cm-channel__ico--wa {
	background: #1fa855;
}

/* Cita destacada */
.cm-quote {
	font: 600 clamp(1.5rem, 3.4vw, 2.8rem)/1.2 var(--f-display) !important;
	letter-spacing: -0.03em;
}

/* Plantilla de producto y páginas */
.cm-main-pad {
	padding-top: clamp(110px, 11vw, 140px) !important;
}
.cm-legal {
	padding-bottom: clamp(48px, 8vw, 120px) !important;
}
.cm-legal h2 {
	font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important;
	margin-top: 2em !important;
}

/* ==========================================================================
   PIE DE PÁGINA (moderno)
   Contacto grande · enlaces · cinta de ciudades · nombre gigante · barra legal
   ========================================================================== */
.cm-footer {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin-top: clamp(48px, 6vw, 88px) !important;
	padding-top: clamp(48px, 5.5vw, 84px) !important;
	padding-bottom: clamp(92px, 7vw, 100px) !important;
	border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
	background-image:
		radial-gradient(ellipse 50% 40% at 90% 0%, rgba(209, 15, 45, 0.16), transparent 70%),
		radial-gradient(ellipse 40% 35% at 0% 62%, rgba(255, 212, 0, 0.05), transparent 70%);
}
.cm-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%);
	mask-image: linear-gradient(to bottom, #000, transparent 55%);
}
.cm-footer a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Arriba: título + contacto grande ---------- */
.cm-ft-top {
	gap: clamp(32px, 6vw, 112px) !important;
	align-items: center !important;
	margin-bottom: clamp(40px, 5vw, 72px) !important;
}
.cm-ft-top > .wp-block-column {
	min-width: 0;
}
.cm-ft-title {
	margin: 12px 0 14px !important;
	color: #fff;
	font-size: clamp(1.7rem, 2.9vw, 2.6rem) !important;
	font-weight: 800 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.04em !important;
}
.cm-ft-text {
	max-width: 42ch;
	margin: 0 0 22px !important;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.94rem;
	line-height: 1.65;
}
.cm-ft-btns {
	gap: 10px !important;
}
.cm-ft-btns .wp-block-button__link {
	padding: 0.72em 1.3em !important;
	font-size: 0.86rem !important;
}
.cm-ft-contacts {
	display: flex;
	flex-direction: column;
}
.cm-ft-contact {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 16px;
	margin: 0 !important;
	padding: 14px 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	transition: padding 0.5s var(--ease), background-color 0.4s;
}
.cm-ft-contact + .cm-ft-place,
.cm-ft-contacts > .cm-ft-contact:last-of-type {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cm-ft-contact__k,
.cm-ft-contact__v {
	grid-column: 1;
	margin: 0 !important;
}
.cm-ft-contact__k {
	margin-bottom: 5px !important;
	font: 600 0.64rem/1 var(--f-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
}
.cm-ft-contact__v {
	font-family: var(--f-display) !important;
	font-size: clamp(0.98rem, 1.25vw, 1.15rem) !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
	color: #fff;
}
.cm-ft-contact__v a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.cm-ft-contact__v a:focus-visible {
	outline: none;
}
.cm-ft-contact:has(a:focus-visible) {
	outline: 3px solid var(--red-2);
	outline-offset: 4px;
	border-radius: 8px;
}
.cm-ft-contact::after {
	content: "";
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / 14px no-repeat;
	transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease);
}
.cm-ft-contact:hover {
	padding-left: 8px !important;
}
.cm-ft-contact:hover::after {
	background-color: var(--red);
	border-color: var(--red);
	transform: rotate(-45deg);
}
.cm-ft-place {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 0 !important;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.82rem;
}
.cm-ft-place::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
	animation: cmFtPing 2s ease-out infinite;
}
@keyframes cmFtPing {
	to {
		box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
	}
}

/* ---------- Enlaces ---------- */
.cm-ft-grid {
	display: grid !important;
	grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(140px, 1fr));
	gap: clamp(28px, 4vw, 56px) !important;
	margin-bottom: clamp(32px, 4vw, 52px) !important;
	padding-top: clamp(32px, 4vw, 52px) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cm-ft-grid > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
	margin: 0 !important;
}
.cm-ft-logo {
	margin: 0 0 16px !important;
}
.cm-ft-logo img {
	width: 128px;
	height: auto;
}
.cm-ft-desc {
	max-width: 36ch;
	margin: 0 0 18px !important;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.86rem;
	line-height: 1.65;
}
.cm-ft-social {
	gap: 10px !important;
	margin: 0 !important;
}
.cm-ft-social .wp-social-link {
	background: rgba(255, 255, 255, 0.07) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.cm-ft-social .wp-social-link a {
	padding: 0.5em !important;
}
.cm-ft-social .wp-social-link:hover {
	background: var(--red) !important;
	border-color: var(--red);
	transform: translateY(-3px) rotate(-6deg);
}
.cm-ft-group {
	margin: 20px 0 0 !important;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.5);
}
.cm-ft-group a {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 700;
	background: linear-gradient(var(--red-2), var(--red-2)) 0 100% / 100% 1px no-repeat;
	transition: background-size 0.4s var(--ease);
}
.cm-ft-group a:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
}
.cm-ft-h {
	margin: 4px 0 16px !important;
	color: rgba(255, 255, 255, 0.42) !important;
	font: 600 0.66rem/1.2 var(--f-mono) !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
}
.cm-ft-links {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}
.cm-ft-links li {
	margin: 0 0 10px;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.4;
}
.cm-ft-links li:last-child {
	margin-bottom: 0;
}
.cm-ft-links a {
	display: inline-flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.3s;
}
.cm-ft-links a::before {
	content: "";
	width: 0;
	height: 2px;
	margin-right: 0;
	border-radius: 2px;
	background: var(--red-2);
	transition: width 0.4s var(--ease), margin-right 0.4s var(--ease);
}
.cm-ft-links a:hover,
.cm-ft-links a:focus-visible {
	color: #fff;
}
.cm-ft-links a:hover::before,
.cm-ft-links a:focus-visible::before {
	width: 14px;
	margin-right: 8px;
}

/* ---------- Cinta de ciudades ---------- */
.cm-footer .cm-ft-cities {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 12px 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
	white-space: nowrap;
}
.cm-ft-cities .cm-marquee__track {
	display: flex;
	width: max-content;
}
.cm-ft-cities p {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	margin: 0 !important;
	padding-right: 22px;
	font-family: var(--f-mono) !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
}
.cm-ft-cities p::after {
	content: "\2726";
	font-size: 0.9em;
	color: var(--red-2);
}

/* ---------- Nombre gigante (se llena al llegar al final) ---------- */
.cm-footer .cm-ft-mega {
	max-width: 720px !important;
	margin-top: clamp(32px, 4vw, 52px) !important;
	margin-bottom: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-bottom: 0.06em;
	font-family: var(--f-brand) !important;
	font-size: var(--fit, 6vw) !important;
	font-weight: 700 !important;
	line-height: 0.95 !important;
	letter-spacing: 0.01em !important;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) 0 0 / var(--fill, 100%) 100% no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	user-select: none;
}
.cm-footer .cm-ft-mega strong {
	margin: 0 0.18em;
	font-weight: inherit;
	color: var(--red);
	-webkit-text-fill-color: var(--red);
	-webkit-text-stroke: 0;
	background: none;
	animation: none;
}

/* ---------- Barra inferior ---------- */
.cm-ft-bottom {
	margin-top: clamp(24px, 3vw, 36px) !important;
	padding-top: 18px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	align-items: center !important;
	gap: 14px 28px !important;
}
.cm-ft-bottom p {
	margin: 0 !important;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.45);
}
.cm-ft-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}
.cm-ft-legal a {
	color: rgba(255, 255, 255, 0.66);
	transition: color 0.3s;
}
.cm-ft-legal a:hover {
	color: #fff;
}
.cm-ft-totop a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 600;
}
.cm-ft-totop a::after {
	content: "";
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") 50% 50% / 14px no-repeat;
	transition: transform 0.5s var(--ease);
}
.cm-ft-totop a:hover::after {
	transform: translateY(-4px);
}

@media (max-width: 1000px) {
	.cm-ft-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.cm-ft-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 480px) {
	.cm-ft-contact::after {
		width: 34px;
		height: 34px;
		background-size: 13px;
	}
	.cm-ft-contact__v a[href^="mailto:"] {
		font-size: 0.9rem;
		letter-spacing: -0.02em;
	}
}
@media (max-width: 781px) {
	.cm-ft-top {
		gap: 36px !important;
	}
	.cm-ft-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px !important;
	}
	.cm-ft-bottom {
		flex-direction: column;
		align-items: flex-start !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cm-ft-place::before {
		animation: none;
	}
	.cm-footer .cm-ft-mega {
		--fill: 100% !important;
	}
}

/* Botón flotante de WhatsApp (párrafo con enlace, editable) */
.cm-wa-float {
	position: fixed;
	right: clamp(16px, 2.2vw, 28px);
	bottom: clamp(16px, 2.2vw, 28px);
	z-index: 990;
	width: 60px;
	height: 60px;
	margin: 0 !important;
	max-width: none !important;
	transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
body.cm-menu-open .cm-wa-float {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.85);
}
.cm-wa-float a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' fill-rule='evenodd' d='M16.01 3C8.84 3 3 8.82 3 15.98c0 2.52.73 4.98 2.11 7.09L3.06 29l6.13-1.99a13.02 13.02 0 0 0 6.82 1.93c7.17 0 13-5.82 13-12.97C29.01 8.82 23.18 3 16.01 3Zm0 23.7c-2.16 0-4.27-.61-6.1-1.76l-.44-.27-3.64 1.18 1.2-3.54-.29-.46a10.67 10.67 0 0 1-1.56-5.87c0-5.93 4.86-10.75 10.83-10.75 5.97 0 10.82 4.82 10.82 10.75 0 5.92-4.85 10.72-10.82 10.72Z'/%3E%3Cpath fill='%23ffffff' d='M22.02 18.88c-.33-.17-1.95-.96-2.25-1.07-.3-.11-.52-.17-.74.16-.22.33-.85 1.07-1.04 1.29-.19.22-.39.25-.72.08-.33-.17-1.39-.51-2.65-1.63-.98-.87-1.64-1.95-1.83-2.28-.19-.33-.02-.51.14-.67.15-.15.33-.39.5-.58.16-.19.22-.33.33-.55.11-.22.05-.41-.03-.58-.08-.17-.74-1.78-1.02-2.44-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.58.08-.88.41-.3.33-1.15 1.12-1.15 2.74 0 1.61 1.18 3.17 1.34 3.39.17.22 2.32 3.54 5.62 4.96.79.34 1.4.54 1.88.69.79.25 1.51.22 2.08.13.63-.1 1.95-.8 2.22-1.57.28-.77.28-1.43.19-1.57-.08-.14-.3-.22-.63-.39Z'/%3E%3C/svg%3E") 50% 50% / 33px 33px no-repeat,
		linear-gradient(145deg, #2ee06f 0%, #20b858 56%, #138e4d 100%);
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow:
		inset 0 1.5px 0 rgba(255, 255, 255, 0.4),
		0 14px 32px -8px rgba(19, 142, 77, 0.65),
		0 4px 14px -4px rgba(11, 11, 13, 0.28);
	color: transparent !important;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
	transition: transform 0.45s var(--ease), box-shadow 0.4s var(--ease), filter 0.3s;
}
.cm-wa-float::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 2px solid rgba(37, 211, 102, 0.72);
	pointer-events: none;
	animation: cmRing 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.cm-wa-float::after {
	content: "¿Cotizamos por WhatsApp?";
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translate3d(8px, -50%, 0);
	padding: 9px 14px;
	border-radius: 999px;
	background: #0b0b0d;
	color: #fff;
	font: 700 0.78rem/1 var(--f-body);
	letter-spacing: -0.01em;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 16px 34px -14px rgba(11, 11, 13, 0.65);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.25s;
}
.cm-wa-float:hover::after,
.cm-wa-float:focus-within::after {
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, -50%, 0);
	transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s;
}
.cm-wa-float a:hover {
	transform: translateY(-3px) scale(1.06);
	box-shadow:
		inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
		0 20px 40px -8px rgba(19, 142, 77, 0.78),
		0 6px 18px -4px rgba(11, 11, 13, 0.32);
	filter: saturate(1.08);
}
.cm-wa-float a:focus-visible {
	outline: 3px solid var(--red-2);
	outline-offset: 4px;
}
@media (max-width: 767px) {
	.cm-wa-float {
		width: 54px;
		height: 54px;
		right: 16px;
		bottom: 16px;
	}
	.cm-wa-float a {
		background-size: 29px 29px, 100% 100%;
	}
	.cm-wa-float::after {
		display: none;
	}
}
/* En el editor se muestra en su lugar para poder editar el enlace */
.editor-styles-wrapper .cm-wa-float {
	position: relative;
	right: auto;
	bottom: auto;
}
@keyframes cmRing {
	0% {
		transform: scale(1);
		opacity: 0.7;
	}
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

/* Indicador lateral de scroll (estilo Crafto) */
.cm-progress {
	position: fixed;
	right: 18px;
	top: 50%;
	z-index: 980;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	transform: translateY(-50%);
	pointer-events: none;
	mix-blend-mode: difference;
	color: #fff;
}
.cm-progress span {
	writing-mode: vertical-rl;
	font: 700 0.62rem/1 var(--f-mono);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}
.cm-progress i {
	position: relative;
	display: block;
	width: 1px;
	height: 80px;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
}
.cm-progress i::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 100%;
	background: #fff;
	transform: scaleY(var(--p, 0));
	transform-origin: top;
}
@media (max-width: 1100px) {
	.cm-progress {
		display: none;
	}
}

/* Plantillas de blog mínimas */
.cm-posts .wp-block-post {
	padding: 24px !important;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--line);
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.cm-js :is(.cm-reveal, .is-style-cm-reveal, .cm-stagger > *, .is-style-cm-stagger > *, .is-style-cm-mask),
	.cm-split-ready .cm-char {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
		transition: none !important;
	}
	.cm-js .is-style-cm-scrollwords .cm-sw-tok {
		opacity: 1 !important;
		transform: none !important;
	}
	.cm-js .is-style-cm-scrollwords strong {
		background-size: 100% 92%;
		color: #fff;
	}
	.cm-js .is-style-cm-scrollwords strong:nth-of-type(2n) {
		color: var(--ink);
	}
	:where(h1, h2, h3) strong,
	.is-style-cm-gradient,
	.is-style-cm-eyebrow::before,
	.cm-wa-float::before {
		animation: none !important;
	}
}

/* ==========================================================================
   EFECTOS ESTILO CRAFTO
   Sello giratorio, ventajas con íconos, vitrina fija, técnicas en scroll,
   video con botón de reproducción y puntos flotantes.
   ========================================================================== */

/* ---------- Sello giratorio en la portada ---------- */
.cm-hero__stage > .cm-hero__badge {
	position: absolute;
	z-index: 3;
	left: calc(50% - min(350px, 42vw));
	bottom: 3%;
}
@media (max-width: 860px) {
	.cm-hero__stage > .cm-hero__badge {
		--bd-size: 92px !important;
		left: 0;
		bottom: 0;
	}
}

/* ---------- Ventajas: número gigante + íconos ---------- */
.cm-feat {
	gap: clamp(28px, 5vw, 88px) !important;
	align-items: center !important;
	margin-bottom: 0 !important;
}
.cm-feat__lead .is-style-cm-eyebrow {
	margin-bottom: 0 !important;
}
.cm-bignum {
	margin: 0.04em 0 0.1em !important;
	font-family: var(--f-display) !important;
	font-size: clamp(5.4rem, 12.5vw, 11rem) !important;
	font-weight: 900 !important;
	line-height: 0.84 !important;
	letter-spacing: -0.075em !important;
	background-image: linear-gradient(100deg, #ff2a45 0%, #d10f2d 45%, #97091f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.cm-feat__text {
	max-width: 32ch;
	margin-top: 0 !important;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.55;
}
.cm-feat__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 !important;
	border-radius: 28px;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	box-shadow: 0 40px 80px -60px rgba(11, 11, 13, 0.35);
}
.cm-feat__item {
	margin: 0 !important;
	padding: clamp(20px, 2.4vw, 32px) !important;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transition: background 0.4s ease;
}
.cm-feat__item:nth-child(3n) {
	border-right: 0;
}
.cm-feat__item:nth-last-child(-n + 3) {
	border-bottom: 0;
}
.cm-feat__item:hover {
	background: var(--smoke);
}
.cm-feat__ico {
	margin: 0 0 16px !important;
}
.cm-feat__ico img {
	display: block;
	width: 44px !important;
	height: 44px !important;
	transition: transform 0.6s var(--ease);
}
.cm-feat__item:hover .cm-feat__ico img {
	transform: translateY(-4px) rotate(-8deg);
}
.cm-feat__item h3 {
	margin: 0 0 6px !important;
	font-size: clamp(1.02rem, 1.35vw, 1.2rem) !important;
	letter-spacing: -0.02em;
	line-height: 1.2 !important;
}
.cm-feat__item p {
	margin: 0 !important;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--muted);
}
@media (max-width: 1000px) {
	.cm-feat__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cm-feat__item:nth-child(3n) {
		border-right: 1px solid var(--line);
	}
	.cm-feat__item:nth-child(2n) {
		border-right: 0;
	}
	.cm-feat__item:nth-last-child(-n + 3) {
		border-bottom: 1px solid var(--line);
	}
	.cm-feat__item:nth-last-child(-n + 2) {
		border-bottom: 0;
	}
}
@media (max-width: 781px) {
	.cm-feat__lead {
		text-align: center;
	}
	.cm-feat__text {
		margin-inline: auto !important;
	}
}
@media (max-width: 420px) {
	.cm-feat__item {
		padding: 18px 14px !important;
	}
	.cm-feat__item h3 {
		font-size: 0.98rem !important;
	}
	.cm-feat__item p {
		font-size: 0.82rem;
	}
}

/* Línea con píldora (estilo Crafto) */
.cm-pill-line {
	width: fit-content;
	max-width: 100%;
	gap: 12px !important;
	align-items: center !important;
	margin-top: clamp(28px, 4vw, 48px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 7px 22px 7px 7px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 18px 40px -28px rgba(11, 11, 13, 0.35);
}
.cm-pill-line p {
	margin: 0 !important;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
}
.cm-pill-line .cm-new {
	padding: 0.5em 1em;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.cm-pill-line a {
	color: var(--red);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	transition: background-size 0.4s var(--ease);
}
.cm-pill-line a:hover {
	background-size: 0 2px;
	background-position: 100% 100%;
}
@media (max-width: 560px) {
	.cm-pill-line {
		border-radius: 22px;
		padding: 10px 16px;
		justify-content: center !important;
		text-align: center;
	}
}

/* ---------- Puntos flotantes ---------- */
.cm-floaty {
	isolation: isolate;
	overflow: hidden;
}
.cm-floaty::before,
.cm-floaty::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
	animation: cmFloat 9s ease-in-out infinite alternate;
}
.cm-floaty::before {
	width: 16px;
	height: 16px;
	top: 12%;
	left: 5%;
	background: var(--red-2);
}
.cm-floaty::after {
	width: 26px;
	height: 26px;
	right: 6%;
	bottom: 10%;
	background: #ffd400;
	animation-duration: 12s;
	animation-delay: -4s;
}
@keyframes cmFloat {
	0% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(16px, -26px, 0);
	}
	100% {
		transform: translate3d(-12px, 14px, 0);
	}
}

/* ---------- Vitrina: prenda fija que cambia con el scroll ---------- */
.cm-showcase {
	gap: clamp(24px, 5vw, 88px) !important;
	align-items: flex-start !important;
	margin-bottom: clamp(40px, 6vw, 96px) !important;
}
.cm-showcase__media {
	position: sticky;
	top: max(96px, calc(50vh - min(38vh, 320px)));
	align-self: flex-start !important;
}
.cm-showcase__stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(76vh, 640px);
}
.cm-showcase__word {
	position: absolute;
	left: 50%;
	top: 46%;
	z-index: 0;
	margin: 0 !important;
	transform: translate(-50%, -50%);
	font-family: var(--f-display) !important;
	font-size: clamp(3.4rem, 8.4vw, 8rem) !important;
	font-weight: 900 !important;
	line-height: 0.8 !important;
	letter-spacing: -0.06em !important;
	text-transform: lowercase;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(11, 11, 13, 0.16);
	pointer-events: none;
}
.cm-showcase__stage > .cm-hg {
	position: relative;
	z-index: 1;
	width: min(470px, 100%);
}
.cm-js .cm-showcase__stage > .cm-hg {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translate3d(0, 40px, 0) scale(0.92) rotate(-4deg);
	transition: opacity 0.6s var(--ease), transform 1s var(--ease);
	pointer-events: none;
}
.cm-js .cm-showcase__stage > .cm-hg.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.cm-showcase__list {
	display: flex;
	flex-direction: column;
}
.cm-showcase__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 68vh;
	margin: 0 !important;
	padding: 24px 0 !important;
}
.cm-js .cm-showcase__item {
	opacity: 0.25;
	transition: opacity 0.5s ease;
}
.cm-js .cm-showcase__item.is-active {
	opacity: 1;
}
.cm-showcase__item .cm-num {
	margin: 0 !important;
	font: 700 0.78rem/1 var(--f-mono);
	letter-spacing: 0.1em;
	color: var(--red);
}
.cm-showcase__item h3 {
	margin: 10px 0 14px !important;
	font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
	font-weight: 900 !important;
	letter-spacing: -0.055em !important;
	line-height: 0.95 !important;
}
.cm-showcase__item > p:not(.cm-num) {
	max-width: 46ch;
	margin: 0 !important;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.6;
}
.cm-showcase__item .cm-facts {
	margin: 20px 0 24px !important;
}
.cm-showcase-sec .cm-grid-head {
	margin-bottom: clamp(24px, 3vw, 40px) !important;
}
.cm-showcase-sec .cm-grid-head h3 {
	font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important;
	margin: 0 0 8px !important;
}
@media (max-width: 781px) {
	.cm-showcase__media {
		top: 70px;
		z-index: 2;
		margin: 0 calc(-1 * var(--wp--style--root--padding-left, 16px)) !important;
		padding: 0 var(--wp--style--root--padding-left, 16px) 8px;
		background: linear-gradient(var(--smoke) 86%, rgba(243, 243, 245, 0));
	}
	.cm-showcase__stage {
		min-height: 0;
		height: 38vh;
	}
	.cm-showcase__stage > .cm-hg {
		width: auto;
		height: 100%;
		max-height: 38vh;
		aspect-ratio: 600 / 700;
	}
	.cm-showcase__stage > .cm-hg .cm-hg__label {
		display: none;
	}
	.cm-showcase__stage .cm-hg__print span {
		font-size: clamp(0.78rem, 3.6vw, 1.05rem);
		overflow-wrap: normal;
		word-break: keep-all;
		padding: 0 4px;
	}
	.cm-showcase__word {
		font-size: 21vw !important;
	}
	.cm-showcase__item {
		min-height: 52vh;
		justify-content: flex-start;
		padding: 28px 0 !important;
	}
}

/* ---------- Técnicas en movimiento horizontal con el scroll ---------- */
.cm-hscroll {
	overflow: hidden;
	padding: clamp(20px, 3vw, 40px) 0 !important;
	margin: 0 !important;
}
.cm-hscroll__track {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 !important;
}
.cm-js .cm-hscroll__track {
	flex-wrap: nowrap;
	justify-content: flex-start;
	width: max-content;
	will-change: transform;
}
.cm-hscroll__track > p {
	margin: 0 !important;
	padding: 0 0.12em;
	font-family: var(--f-display) !important;
	font-size: clamp(3.6rem, 10vw, 9.5rem) !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	letter-spacing: -0.06em !important;
	white-space: nowrap;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1.5px rgba(11, 11, 13, 0.55);
	transition: color 0.45s ease, -webkit-text-fill-color 0.45s ease, -webkit-text-stroke-color 0.45s ease;
}
.cm-hscroll__track > p::after {
	content: "\2726";
	display: inline-block;
	margin-left: 0.5em;
	font-size: 0.3em;
	vertical-align: 0.95em;
	color: var(--red);
	-webkit-text-fill-color: var(--red);
	-webkit-text-stroke: 0;
}
.cm-hscroll__track > p.is-center {
	color: var(--red);
	-webkit-text-fill-color: var(--red);
	-webkit-text-stroke-color: var(--red);
}
.cm-hscroll__track > p a {
	color: inherit;
	-webkit-text-fill-color: inherit;
	text-decoration: none;
}

/* ---------- Video con botón de reproducción ---------- */
.cm-video {
	overflow: hidden;
	border-radius: clamp(24px, 3.4vw, 48px);
	padding: clamp(36px, 6vw, 96px) clamp(20px, 4vw, 64px) !important;
}
.cm-video h2 {
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 4.4rem) !important;
}
.cm-video .is-style-cm-lead {
	color: rgba(255, 255, 255, 0.78);
}
.cm-video .cm-video__badge {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 0 !important;
}
@media (max-width: 781px) {
	.cm-video .cm-video__badge {
		position: static;
		margin: 28px auto 0 !important;
	}
}

/* Botón "Ver video" con círculo y pulso */
.wp-block-button.is-style-cm-play .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 7px 26px 7px 7px !important;
	border-radius: 999px !important;
	border: 1px solid var(--line) !important;
	background: #fff !important;
	color: var(--ink) !important;
	font-weight: 700 !important;
	box-shadow: 0 18px 40px -26px rgba(11, 11, 13, 0.4);
	transition: transform 0.4s var(--ease), background 0.3s;
}
.wp-block-button.is-style-cm-play .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 5.5v13l10-6.5Z' fill='%23ffffff'/%3E%3C/svg%3E") 56% 50% / 20px no-repeat;
	animation: cmPulse 2.2s ease-out infinite;
}
.wp-block-button.is-style-cm-play .wp-block-button__link:hover {
	transform: translateY(-2px);
}
.wp-block-cover:not(.is-light) .wp-block-button.is-style-cm-play .wp-block-button__link,
.has-negro-background-color .wp-block-button.is-style-cm-play .wp-block-button__link {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.3) !important;
	color: #fff !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.wp-block-cover:not(.is-light) .wp-block-button.is-style-cm-play .wp-block-button__link::before,
.has-negro-background-color .wp-block-button.is-style-cm-play .wp-block-button__link::before {
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 5.5v13l10-6.5Z' fill='%23d10f2d'/%3E%3C/svg%3E");
}
@keyframes cmPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 42, 69, 0.55);
	}
	100% {
		box-shadow: 0 0 0 18px rgba(255, 42, 69, 0);
	}
}

/* Ventana del video */
.cm-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: clamp(14px, 4vw, 56px);
	background: rgba(11, 11, 13, 0.9);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: cmLbIn 0.35s ease both;
}
.cm-lb__box {
	position: relative;
	width: min(1100px, 100%);
	max-height: 100%;
	aspect-ratio: 16 / 9;
	border-radius: clamp(12px, 2vw, 22px);
	overflow: hidden;
	background: #000;
	box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
	animation: cmLbBox 0.6s var(--ease) both;
}
.cm-lb__box video,
.cm-lb__box iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}
.cm-lb__close {
	position: absolute;
	top: clamp(10px, 2vw, 22px);
	right: clamp(10px, 2vw, 22px);
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	font: 400 28px/1 var(--f-body);
	cursor: pointer;
	transition: transform 0.3s var(--ease);
}
.cm-lb__close:hover {
	transform: rotate(90deg);
}
body.cm-lb-open {
	overflow: hidden;
}
@keyframes cmLbIn {
	from {
		opacity: 0;
	}
}
@keyframes cmLbBox {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.94);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cm-floaty::before,
	.cm-floaty::after,
	.wp-block-button.is-style-cm-play .wp-block-button__link::before {
		animation: none;
	}
	.cm-js .cm-hscroll__track {
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
		transform: none !important;
	}
}

/* ---------- Tamaños de estampado ---------- */
.cm-psizes {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 20px) !important;
}
.cm-psize {
	margin: 0 !important;
	padding: clamp(16px, 2vw, 24px) !important;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--line);
	text-align: center;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cm-psize:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -40px rgba(11, 11, 13, 0.45);
}
.cm-psize__img {
	margin: 0 0 12px !important;
	padding: 10px;
	border-radius: 18px;
	background: var(--smoke);
}
.cm-psize__img img {
	display: block;
	width: 100%;
	max-width: 210px;
	height: auto;
	margin-inline: auto;
}
.cm-psize h3 {
	margin: 0 0 6px !important;
	font-size: clamp(1.15rem, 1.6vw, 1.4rem) !important;
}
.cm-psize p {
	margin: 0 !important;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--muted);
}
.cm-psizes__note {
	max-width: 760px;
	margin-top: clamp(24px, 3vw, 36px) !important;
	margin-bottom: 20px !important;
	color: var(--muted);
}
.cm-psizes__note strong {
	color: var(--ink);
}
@media (max-width: 900px) {
	.cm-psizes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 420px) {
	.cm-psize {
		padding: 12px !important;
		border-radius: 18px;
	}
	.cm-psize p {
		font-size: 0.82rem;
	}
}
/* Mangas en el formulario de cotización */
.cm-qf__sleeves {
	align-self: end;
}

/* ==========================================================================
   LANDINGS DE SERVICIOS
   ========================================================================== */
.cm-crumbs {
	position: relative;
	z-index: 2;
	margin: 0 0 14px !important;
	font: 600 0.72rem/1.4 var(--f-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.cm-crumbs a {
	color: var(--ink);
	text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat;
	transition: background-size 0.4s var(--ease);
}
.cm-crumbs a:hover {
	background-size: 100% 1px;
}

/* Pasos del proceso */
.cm-psteps {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 24px) !important;
	counter-reset: none;
}
.cm-pstep {
	position: relative;
	margin: 0 !important;
	padding: 14px 14px clamp(18px, 2vw, 24px) !important;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--line);
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cm-pstep:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -42px rgba(11, 11, 13, 0.45);
}
.cm-pstep:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 30%;
	right: calc(-1 * clamp(14px, 1.8vw, 24px) / 2 - 7px);
	z-index: 2;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") 55% 50% / 9px no-repeat;
}
.cm-pstep__img {
	margin: 0 0 16px !important;
	border-radius: 18px;
	overflow: hidden;
	background: var(--smoke);
	aspect-ratio: 4 / 3;
}
.cm-pstep__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cm-pstep__img img[src$=".svg"] {
	object-fit: contain;
	padding: 6%;
}
.cm-pstep__n,
.cm-pstep h3,
.cm-pstep p {
	padding: 0 6px;
}
.cm-pstep__n {
	margin: 0 0 6px !important;
	font: 700 0.7rem/1 var(--f-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
}
.cm-pstep h3 {
	margin: 0 0 6px !important;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
	letter-spacing: -0.02em;
}
.cm-pstep p:not(.cm-pstep__n) {
	margin: 0 !important;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--muted);
}

/* Ideal para / qué bordamos */
.cm-ideal {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 !important;
	border-radius: 28px;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
}
.cm-ideal__item {
	margin: 0 !important;
	padding: clamp(20px, 2.4vw, 30px) !important;
	border-right: 1px solid var(--line);
	transition: background 0.4s ease;
}
.cm-ideal__item:last-child {
	border-right: 0;
}
.cm-ideal__item:hover {
	background: var(--smoke);
}
.cm-ideal__item:hover .cm-feat__ico img {
	transform: translateY(-4px) rotate(-8deg);
}
.cm-ideal__item h3 {
	margin: 0 0 6px !important;
	font-size: clamp(1.02rem, 1.35vw, 1.2rem) !important;
	letter-spacing: -0.02em;
}
.cm-ideal__item p {
	margin: 0 !important;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--muted);
}

/* Prendas recomendadas y otras técnicas */
.cm-svc-links {
	gap: clamp(20px, 4vw, 56px) !important;
	margin-top: clamp(28px, 4vw, 48px) !important;
	padding-top: clamp(24px, 3vw, 36px) !important;
	border-top: 1px solid var(--line);
}
.cm-svc-links__k {
	margin: 0 0 12px !important;
	font: 700 0.7rem/1 var(--f-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}
.cm-chipbtns {
	gap: 8px !important;
}
.cm-chipbtns .wp-block-button__link {
	padding: 0.55em 1.05em !important;
	font-size: 0.84rem !important;
}

@media (max-width: 1000px) {
	.cm-psteps,
	.cm-ideal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cm-pstep:nth-child(2n)::after {
		display: none;
	}
	.cm-ideal__item:nth-child(2n) {
		border-right: 0;
	}
	.cm-ideal__item:nth-child(-n + 2) {
		border-bottom: 1px solid var(--line);
	}
}
@media (max-width: 560px) {
	.cm-psteps {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px !important;
	}
	.cm-pstep::after {
		display: none;
	}
	.cm-pstep {
		display: grid;
		grid-template-columns: 92px minmax(0, 1fr);
		column-gap: 12px;
		align-content: start;
		padding: 12px !important;
		border-radius: 20px;
	}
	.cm-pstep__img {
		grid-row: 1 / span 3;
		align-self: start;
		margin: 0 !important;
		aspect-ratio: 1;
		border-radius: 14px;
	}
	.cm-pstep__img img[src$=".svg"] {
		padding: 0;
	}
	.cm-pstep__n,
	.cm-pstep h3,
	.cm-pstep p {
		padding: 0;
	}
	.cm-ideal__item {
		padding: 18px 14px !important;
	}
	.cm-ideal__item p {
		font-size: 0.82rem;
	}
}

/* ---------- Submenú de Servicios (panel bajo la píldora) ---------- */
/* El panel se posiciona respecto a la píldora para no quedar recortado por la animación del menú */
.cm-nav,
.cm-nav .wp-block-navigation__container,
.cm-nav .wp-block-navigation-item.has-child {
	position: static !important;
}
.cm-nav .wp-block-navigation-item.has-child {
	display: flex;
	align-items: center;
}
.cm-nav .has-child > .wp-block-navigation-item__content {
	padding-right: 0.35em !important;
}
.cm-nav .wp-block-navigation-submenu__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px !important;
	height: 30px !important;
	margin: 0 2px 0 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #2a2a31;
	cursor: pointer;
}
.cm-nav .wp-block-navigation-submenu__toggle svg {
	width: 10px;
	height: 10px;
	stroke: currentColor;
	transition: transform 0.35s var(--ease);
}
.cm-nav .has-child:hover > .wp-block-navigation-submenu__toggle svg,
.cm-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}
.cm-nav .has-child > .wp-block-navigation__submenu-container {
	position: absolute !important;
	top: calc(100% + 10px) !important;
	left: 0 !important;
	right: auto !important;
	z-index: 5;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	width: max(100%, 600px) !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px !important;
	overflow: visible !important;
	border: 1px solid rgba(11, 11, 13, 0.08) !important;
	border-radius: 20px;
	background: rgba(250, 250, 251, 0.98) !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 34px 70px -30px rgba(11, 11, 13, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s !important;
}
/* Puente invisible para no perder el hover al bajar el mouse */
.cm-nav .has-child > .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}
.cm-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
.cm-nav .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within > .wp-block-navigation__submenu-container,
.cm-nav .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.22s ease, transform 0.4s var(--ease), visibility 0s !important;
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	display: block;
	width: auto !important;
	margin: 0 !important;
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: grid !important;
	grid-template-columns: 40px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 12px;
	row-gap: 2px;
	align-items: center;
	height: 100%;
	padding: 10px !important;
	border-radius: 14px;
	white-space: normal;
	transition: background-color 0.25s;
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
	content: "";
	grid-row: 1 / span 2;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff var(--sub-ico, none) 50% 50% / 24px no-repeat;
	transition: transform 0.45s var(--ease), border-color 0.3s;
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: #fff;
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover::before {
	transform: rotate(-8deg) scale(1.06);
	border-color: rgba(209, 15, 45, 0.35);
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
	align-self: end;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
}
.cm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
	display: block;
	align-self: start;
	font-size: 0.74rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--muted);
}
/* Técnicas: foto real en miniatura (360 px, ~13 KB) en vez del ícono */
.cm-nav .cm-sub-dtf { --sub-img: url("../img/tecnica-dtf-360.webp"); }
.cm-nav .cm-sub-serigrafia { --sub-img: url("../img/tecnica-serigrafia-360.webp"); }
.cm-nav .cm-sub-sublimacion { --sub-img: url("../img/tecnica-sublimacion-360.webp"); }
.cm-nav .cm-sub-bordado { --sub-img: url("../img/tecnica-bordado-360.webp"); }
.cm-nav .cm-sub-vinilo { --sub-img: url("../img/tecnica-vinilo-360.webp"); }
.cm-nav :is(.cm-sub-dtf, .cm-sub-serigrafia, .cm-sub-sublimacion, .cm-sub-bordado, .cm-sub-vinilo) > .wp-block-navigation-item__content::before {
	border-color: transparent;
	background: #f3f3f5 var(--sub-img) 50% 50% / cover no-repeat;
	box-shadow: inset 0 0 0 1px rgba(11, 11, 13, 0.06);
}
.cm-nav .cm-sub-todas { --sub-ico: url("../icons/line/calidad.svg"); }
.cm-nav .wp-block-navigation-item.is-current-parent > .wp-block-navigation-item__content {
	color: var(--red) !important;
}
@media (prefers-reduced-motion: reduce) {
	.cm-nav .has-child > .wp-block-navigation__submenu-container {
		transform: none;
	}
}


/* ---------- Tarjeta Fundación Social en Nosotros ---------- */
.cm-fund-card {
	position: relative;
	overflow: hidden;
	padding: clamp(28px, 4.5vw, 56px) !important;
	border-radius: clamp(24px, 3vw, 38px);
	background:
		radial-gradient(circle at 86% 14%, rgba(255, 42, 69, 0.24), transparent 52%),
		radial-gradient(circle at 12% 92%, rgba(209, 15, 45, 0.16), transparent 50%),
		#0b0b0d;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 32px 70px -36px rgba(11, 11, 13, 0.65);
	color: #fff;
	gap: clamp(24px, 4vw, 52px) !important;
}
.cm-fund-card__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px !important;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font: 700 0.68rem/1 var(--f-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}
.cm-fund-card__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red-2);
}
.cm-fund-card__title {
	margin: 0 0 16px !important;
	color: #fff !important;
	font-size: clamp(1.85rem, 3.6vw, 2.85rem) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em !important;
}
.cm-fund-card__desc {
	margin: 0 0 14px !important;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.98rem;
	line-height: 1.68;
}
.cm-fund-card__desc strong {
	color: #fff;
	font-weight: 700;
}
.cm-fund-card__quote {
	margin: 0 0 24px !important;
	padding-left: 14px;
	border-left: 2px solid var(--red-2);
	color: rgba(255, 255, 255, 0.88);
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.5;
}
.cm-fund-card__btns {
	gap: 10px !important;
}
.cm-fund-card__ext .wp-block-button__link {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	box-shadow: none !important;
}
.cm-fund-card__ext .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
}
.cm-fund-card__pillars {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cm-fund-pill {
	margin: 0 !important;
	padding: 16px 18px !important;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.09);
	transition: background-color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.cm-fund-pill:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 42, 69, 0.35);
	transform: translateX(3px);
}
.cm-fund-pill__k {
	margin: 0 0 4px !important;
	font: 700 0.72rem/1.2 var(--f-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ff6b7e;
}
.cm-fund-pill__v {
	margin: 0 !important;
	font-size: 0.88rem;
	line-height: 1.48;
	color: rgba(255, 255, 255, 0.76);
}

/* ========== SEO: soluciones, ciudades y enlaces internos ========== */

/* Submenú «Soluciones»: ícono de línea por sector */
.cm-nav .cm-sub-ico--camiseta { --sub-ico: url("../icons/line/camiseta.svg"); }
.cm-nav .cm-sub-ico--polo { --sub-ico: url("../icons/line/polo.svg"); }
.cm-nav .cm-sub-ico--fabrica { --sub-ico: url("../icons/line/fabrica.svg"); }
.cm-nav .cm-sub-ico--evento { --sub-ico: url("../icons/line/evento.svg"); }
.cm-nav .cm-sub-ico--megafono { --sub-ico: url("../icons/line/megafono.svg"); }
.cm-nav .cm-sub-ico--colores { --sub-ico: url("../icons/line/colores.svg"); }
.cm-nav .cm-sub-ico--estrella { --sub-ico: url("../icons/line/estrella.svg"); }
.cm-nav .cm-sub-ico--colegio { --sub-ico: url("../icons/line/colegio.svg"); }
.cm-nav .cm-sub-ico--paleta { --sub-ico: url("../icons/line/paleta.svg"); }
.cm-nav .cm-sub-ico--balon { --sub-ico: url("../icons/line/balon.svg"); }
.cm-nav .cm-sub-ico--envios { --sub-ico: url("../icons/line/envios.svg"); }
.cm-nav .cm-sub-ico--asesoria { --sub-ico: url("../icons/line/asesoria.svg"); }

/* Panel «Menú»: franja de soluciones en chips */
.cm-menu-sols {
	grid-column: 1 / -1;
	padding: 14px 16px !important;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(11, 11, 13, 0.07);
}
.cm-header.is-open .cm-menu-zone:nth-child(4) { transition-delay: 175ms; }
.cm-menu-sols .cm-menu-h {
	margin-bottom: 10px !important;
}
.cm-menu-sols ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}
.cm-menu-sols li {
	margin: 0;
}
.cm-menu-sols li a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--smoke);
	color: var(--ink);
	font: 600 0.78rem/1.2 var(--f-body);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}
.cm-menu-sols li a:hover,
.cm-menu-sols li a[aria-current="page"] {
	background: rgba(209, 15, 45, 0.08);
	color: var(--red);
}
@media (max-width: 767px) {
	.cm-menu-sols {
		padding: 12px !important;
		border-radius: 16px;
	}
}

/* Tarjetas «cm-ideal» con 6, 8 o 9 elementos (páginas por sector y ciudad) */
.cm-ideal > .cm-ideal__item:nth-child(4n) {
	border-right: 0;
}
.cm-ideal > .cm-ideal__item:nth-child(n + 5) {
	border-top: 1px solid var(--line);
}
.cm-ideal.cm-ideal--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cm-ideal.cm-ideal--3 > .cm-ideal__item {
	border-right: 1px solid var(--line);
	border-top: 0;
}
.cm-ideal.cm-ideal--3 > .cm-ideal__item:nth-child(3n),
.cm-ideal.cm-ideal--3 > .cm-ideal__item:last-child {
	border-right: 0;
}
.cm-ideal.cm-ideal--3 > .cm-ideal__item:nth-child(n + 4) {
	border-top: 1px solid var(--line);
}
@media (max-width: 1000px) {
	.cm-ideal.cm-ideal--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cm-ideal > .cm-ideal__item,
	.cm-ideal.cm-ideal--3 > .cm-ideal__item {
		border-right: 1px solid var(--line);
		border-top: 0;
		border-bottom: 0;
	}
	.cm-ideal > .cm-ideal__item:nth-child(2n),
	.cm-ideal.cm-ideal--3 > .cm-ideal__item:nth-child(2n),
	.cm-ideal > .cm-ideal__item:last-child {
		border-right: 0;
	}
	.cm-ideal > .cm-ideal__item:nth-child(n + 3),
	.cm-ideal.cm-ideal--3 > .cm-ideal__item:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}
}

/* Tarjeta enlazada: toda la tarjeta es clic */
.cm-ideal__item--link {
	position: relative;
}
.cm-ideal__item--link h3 a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cm-ideal__item--link h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.cm-ideal__item--link h3 a:focus-visible {
	outline: none;
}
.cm-ideal__item--link:focus-within {
	box-shadow: inset 0 0 0 2px var(--red);
}
.cm-ideal__item--link:hover h3 a {
	color: var(--red);
}
.cm-ideal__item--link h3::after {
	content: " \2192";
	color: var(--red);
	opacity: 0;
	transition: opacity 0.25s, margin 0.25s;
}
.cm-ideal__item--link:hover h3::after {
	opacity: 1;
}

/* Texto largo de las páginas por sector */
.cm-prose p {
	margin: 0 0 1em !important;
	font-size: 1.02rem;
	line-height: 1.72;
	color: #3a3a42;
}
.cm-prose p:last-child {
	margin-bottom: 0 !important;
}

/* Pie: columna «Soluciones» y ciudades enlazadas */
.cm-ft-grid {
	grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(130px, 1fr));
}
.cm-ft-cities p a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.cm-ft-cities p a:hover,
.cm-ft-cities p a:focus-visible {
	color: #fff;
}
@media (max-width: 1000px) {
	.cm-ft-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 781px) {
	.cm-ft-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Portada: chips de sectores enlazados (toda la píldora es clic) */
.cm-chips p:has(> a) {
	padding: 0;
}
.cm-chips p > a {
	display: block;
	padding: 0.8em 1.35em;
	border-radius: inherit;
	color: inherit;
	text-decoration: none;
}

/* Cabecera: con «Soluciones» el menú no cabe entre 1101 y 1279 px; Nosotros y Contacto siguen en el panel «Menú» */
@media (min-width: 1101px) and (max-width: 1279px) {
	.cm-nav .wp-block-navigation-item.cm-nav-sec {
		display: none !important;
	}
}

/* Pie: crédito de diseño */
.cm-ft-credit a {
	color: rgba(255, 255, 255, 0.66);
	text-decoration: none;
	transition: color 0.3s;
}
.cm-ft-credit a:hover,
.cm-ft-credit a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
