/**
 * Ficha craft v2 — B2B industrial contemporáneo.
 * Asimetría galería/info · tipografía clara · specs nítidos · sin gradients · radius 0.
 */

.hm-ficha {
	--hm-ficha-font: "Montserrat", "Segoe UI", sans-serif;
	background: var(--hm-paper, #f3f3f5);
	font-family: var(--hm-ficha-font);
}

.hm-ficha__crumbs {
	padding-top: 1.5rem;
	padding-bottom: 0.15rem;
}

.hm-ficha .hm-breadcrumbs ol {
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--hm-muted, #3f3f48);
}

/* Compact page-hero (navy + trama preserved via .hm-ficha-hero) */
body.hm-site .hm-ficha-hero.hm-ficha-hero--compact {
	min-height: 0;
	padding: clamp(1.35rem, 3vw, 1.85rem) 0;
	align-items: flex-end;
}

body.hm-site .hm-ficha-hero.hm-ficha-hero--compact .hm-page-hero__lead {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
	max-width: none;
}

body.hm-site .hm-ficha-hero.hm-ficha-hero--compact .hm-breadcrumbs {
	margin-bottom: 0.45rem;
}

/* —— Hero asimétrico —— */
.hm-ficha__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: start;
	padding: 1.35rem 0 clamp(2.5rem, 5vw, 3.5rem);
}

.hm-ficha__gallery {
	position: sticky;
	top: calc(var(--hm-header-h, 76px) + 14px);
	width: 100%;
	max-width: min(100%, 560px);
	isolation: isolate;
}

.hm-ficha__stage {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	isolation: isolate;
	background: transparent;
}

/* Solo featured image (no thumbs rail): avoid auto|1fr collapse — figure
   would land in the auto column (~2px) and look "missing" on desktop. */
.hm-ficha__gallery:not([data-hm-gallery-multi]) .hm-ficha__stage {
	grid-template-columns: minmax(0, 1fr);
}

.hm-ficha__thumbs--rail {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: min(520px, 70vh);
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	flex-shrink: 0;
}

.hm-ficha__figure {
	position: relative;
	margin: 0;
	border: 1px solid var(--hm-line, #e5e5e8);
	background: #ececf2;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	border-radius: 0;
	isolation: isolate;
	z-index: 0;
}

.hm-ficha__frame {
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(32, 12, 128, 0.1);
	pointer-events: none;
	z-index: 1;
}

.hm-ficha__zoom {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	border-radius: 0;
	overflow: hidden;
	z-index: 0;
}

.hm-ficha__zoom:focus-visible {
	outline: 2px solid var(--hm-brand, #200c80);
	outline-offset: -2px;
}

.hm-ficha__figure img,
.hm-ficha__main-img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	padding: 0;
	margin: 0;
	display: block;
	transition: opacity 180ms ease;
}

.hm-ficha__main-img.is-fading {
	opacity: 0;
}

.hm-ficha__figure--solo .hm-ficha__frame {
	inset: 12px;
}

.hm-ficha__figure--empty {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 1px solid var(--hm-line, #e5e5e8);
	color: var(--hm-brand, #200c80);
	opacity: 0.4;
}

/* Badge Oferta — solo overlay sobre la foto activa (nunca fuera del figure) */
.hm-ficha__figure > .hm-badge,
.hm-ficha__figure .hm-badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 4;
	margin: 0;
	padding: 0.45rem 0.85rem;
	border: 0;
	border-radius: 0;
	background: #200c80;
	color: #fff;
	font-family: var(--hm-ficha-font);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	pointer-events: none;
}

.hm-ficha__thumb {
	display: block;
	width: 64px;
	height: 64px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--hm-line, #e5e5e8);
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	border-radius: 0;
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease;
}

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

.hm-ficha__thumb:hover {
	border-color: rgba(32, 12, 128, 0.4);
}

.hm-ficha__thumb:focus-visible {
	outline: 2px solid var(--hm-brand, #200c80);
	outline-offset: 2px;
	border-color: var(--hm-brand, #200c80);
}

.hm-ficha__thumb.is-active {
	border-color: var(--hm-brand, #200c80);
	box-shadow: inset 0 0 0 1px var(--hm-brand, #200c80);
}

/* —— Lightbox galería (portal a body; por encima de header sticky + floats WA) —— */
.hm-lb {
	--hm-lb-brand: #200c80;
	--hm-lb-brand-deep: #16085c;
	--hm-lb-ink: #0a0428;
	position: fixed;
	inset: 0;
	width: 100vw;
	width: 100dvw;
	height: 100vh;
	height: 100dvh;
	z-index: 100000;
	display: none;
	place-items: stretch;
	padding: 0;
	margin: 0;
	pointer-events: none;
	isolation: isolate;
}

.hm-lb[hidden],
.hm-lb:not(.is-open) {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0;
}

.hm-lb.is-open:not([hidden]) {
	display: grid;
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
	animation: hm-lb-fade-in 220ms ease both;
}

.hm-lb__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background:
		linear-gradient(180deg, rgba(10, 4, 40, 0.55) 0%, transparent 18%),
		linear-gradient(0deg, rgba(10, 4, 40, 0.72) 0%, transparent 22%),
		rgba(10, 4, 40, 0.92);
	cursor: zoom-out;
}

.hm-lb__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	gap: 0;
	width: 100%;
	height: 100%;
	max-height: 100%;
	padding:
		max(0.75rem, env(safe-area-inset-top, 0px))
		max(0.75rem, env(safe-area-inset-right, 0px))
		max(0.75rem, env(safe-area-inset-bottom, 0px))
		max(0.75rem, env(safe-area-inset-left, 0px));
	outline: none;
}

.hm-lb__chrome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 48px;
	padding: 0.15rem 0.25rem 0.65rem;
	pointer-events: none;
}

.hm-lb__chrome > * {
	pointer-events: auto;
}

.hm-lb__counter {
	margin: 0;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: var(--hm-lb-brand);
	color: #fff;
	font-family: var(--hm-ficha-font, var(--hm-font-body, "Montserrat", sans-serif));
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	border-radius: 0;
}

.hm-lb__stage {
	display: grid;
	place-items: center;
	min-height: 0;
	width: min(1120px, 100%);
	margin-inline: auto;
	max-height: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: hidden;
}

.hm-lb__img {
	display: block;
	max-width: min(100%, 1100px);
	max-height: min(72vh, calc(100dvh - 11rem));
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 0;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
	transform-origin: center center;
	opacity: 1;
	transform: scale(1);
	transition:
		opacity 200ms ease,
		transform 220ms ease;
}

.hm-lb__img.is-swap {
	opacity: 0;
	transform: scale(0.985);
}

.hm-lb.is-open .hm-lb__img.is-enter {
	animation: hm-lb-zoom-in 260ms ease both;
}

.hm-lb__close,
.hm-lb__nav {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 48px;
	min-width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	margin: 0;
	border: 2px solid #fff;
	background: #200c80;
	color: #fff !important;
	cursor: pointer;
	border-radius: 0;
	z-index: 5;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

/* Íconos del theme fuerzan brand navy; forzar blanco visible sobre el botón */
.hm-lb__close .hm-icon,
.hm-lb__nav .hm-icon,
.hm-lb__close svg,
.hm-lb__nav svg {
	color: #fff !important;
	stroke: #fff !important;
	fill: none !important;
	opacity: 1 !important;
	width: 24px;
	height: 24px;
}

.hm-lb__close:hover,
.hm-lb__nav:hover {
	background: #16085c;
	border-color: #fff;
	color: #fff !important;
}

.hm-lb__close:hover .hm-icon,
.hm-lb__nav:hover .hm-icon,
.hm-lb__close:hover svg,
.hm-lb__nav:hover svg {
	color: #fff !important;
	stroke: #fff !important;
}

.hm-lb__close:focus-visible,
.hm-lb__nav:focus-visible,
.hm-lb__thumb:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Cerrar siempre top-right del viewport, por encima de imagen/header */
.hm-lb__close {
	position: fixed;
	top: max(0.85rem, env(safe-area-inset-top, 0px));
	right: max(0.85rem, env(safe-area-inset-right, 0px));
	left: auto;
	flex-shrink: 0;
	z-index: 100002;
	margin-left: auto;
}

.hm-lb__chrome .hm-lb__close {
	/* ya es fixed; evita que el flex lo desplace */
	position: fixed;
}

.hm-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100001;
}

.hm-lb__nav--prev {
	left: max(0.75rem, env(safe-area-inset-left, 0px));
}

.hm-lb__nav--next {
	right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.hm-lb__rail {
	width: min(920px, 100%);
	margin: 0.85rem auto 0;
	padding: 0.65rem 0.35rem 0.15rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hm-lb__thumbs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0.15rem 0.25rem;
	max-height: none;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.hm-lb__thumb {
	display: block;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	border-radius: 0;
	opacity: 0.72;
	scroll-snap-align: center;
	transition:
		opacity 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

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

.hm-lb__thumb:hover {
	opacity: 1;
	border-color: rgba(255, 255, 255, 0.7);
}

.hm-lb__thumb.is-active {
	opacity: 1;
	border-color: #fff;
	box-shadow: inset 0 0 0 2px var(--hm-lb-brand);
	transform: translateY(-2px);
}

body.hm-lb-open {
	overflow: hidden !important;
	overscroll-behavior: none;
	touch-action: none;
}

/* Chrome de página detrás del lightbox */
body.hm-lb-open .hm-float-wa,
body.hm-lb-open .hm-topbar,
body.hm-lb-open .hm-header,
body.hm-lb-open .hm-nav-drawer,
body.hm-lb-open #wpadminbar {
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

body.hm-lb-open .hm-float-wa,
body.hm-lb-open .hm-header {
	z-index: 0 !important;
}

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

@keyframes hm-lb-zoom-in {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (max-width: 700px) {
	.hm-lb__dialog {
		grid-template-rows: auto minmax(0, 1fr) auto;
		padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
	}

	.hm-lb__img {
		max-height: min(62vh, calc(100dvh - 12.5rem));
	}

	.hm-lb__nav {
		top: auto;
		bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
		transform: none;
		width: 44px;
		height: 44px;
	}

	.hm-lb__thumb {
		width: 56px;
		height: 56px;
	}
}

/* —— Panel info (sin card: bloque abierto) —— */
.hm-ficha__summary {
	min-width: 0;
	padding-top: 0.25rem;
}

.hm-ficha__summary-inner {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.hm-ficha__eyebrow {
	margin: 0 0 0.55rem;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--hm-brand, #200c80);
}

.hm-ficha__eyebrow a {
	color: inherit;
	text-decoration: none !important;
}

.hm-ficha__eyebrow a:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.hm-ficha__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.45rem, 2.6vw, 1.95rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.18;
	color: var(--hm-ink, #12121a);
	text-transform: none;
}

.hm-ficha__lead {
	margin: 0 0 1.25rem;
	max-width: 56ch;
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--hm-muted, #3f3f48);
	overflow: visible;
	max-height: none;
	-webkit-line-clamp: unset;
	display: block;
	white-space: normal;
}

.hm-ficha__specs {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0;
	border-top: 1px solid var(--hm-line, #e5e5e8);
}

.hm-ficha__specs li {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--hm-line, #e5e5e8);
}

.hm-ficha__spec-ico {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border: 1px solid var(--hm-line, #e5e5e8);
	background: var(--hm-paper, #f3f3f5);
	color: var(--hm-brand, #200c80);
	border-radius: 0;
}

.hm-ficha__spec-ico .hm-icon {
	width: 18px;
	height: 18px;
}

.hm-ficha__spec-body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
	padding-top: 0.1rem;
}

.hm-ficha__spec-body strong {
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hm-muted, #5c5c68);
}

.hm-ficha__spec-body span {
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--hm-ink, #12121a);
}

.hm-ficha__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	margin: 1.15rem 0 0.95rem;
}

.hm-ficha__actions .hm-btn {
	min-height: 50px;
	justify-content: center;
	width: 100%;
	font-weight: 500;
	letter-spacing: 0.02em;
	border-radius: 0;
}

.hm-ficha .hm-btn--whatsapp {
	background: var(--hm-wa, #25d366);
	border-color: var(--hm-wa, #25d366);
	color: #fff !important;
	font-weight: 400;
	box-shadow: none;
}

.hm-ficha .hm-btn--whatsapp:hover {
	background: var(--hm-wa-dark, #1ebe57);
	border-color: var(--hm-wa-dark, #1ebe57);
	color: #fff !important;
}

.hm-ficha__download {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--hm-brand, #200c80);
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	transition: border-color 160ms ease;
}

.hm-ficha__download:hover {
	border-bottom-color: var(--hm-brand, #200c80);
}

.hm-ficha__download .hm-icon {
	width: 16px;
	height: 16px;
}

/* Kickers */
.hm-ficha-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hm-brand, #200c80);
}

/* —— Ribbon —— */
.hm-ficha-ribbon {
	margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
	padding: 1.55rem 0;
	background: #fff;
	border-block: 1px solid var(--hm-line, #e5e5e8);
}

.hm-ficha-ribbon__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem 1.5rem;
}

.hm-ficha-ribbon__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
}

.hm-ficha-ribbon__ico {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border: 1px solid var(--hm-line, #e5e5e8);
	background: var(--hm-paper, #f3f3f5);
	color: var(--hm-brand, #200c80);
	border-radius: 0;
}

.hm-ficha-ribbon__list strong {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--hm-ink, #12121a);
	line-height: 1.3;
}

.hm-ficha-ribbon__list span {
	font-size: 0.8rem;
	font-weight: 300;
	line-height: 1.45;
	color: var(--hm-muted, #5c5c68);
}

/* —— Tech / docs —— */
.hm-ficha-tech {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.5rem, 3vw, 2rem) 0;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
	background: transparent;
	border: 0;
	border-radius: 0;
}

.hm-ficha-tech__col--full {
	max-width: 40rem;
}

.hm-ficha-tech h2 {
	margin: 0 0 1.15rem;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hm-ink, #12121a);
	text-transform: none;
}

.hm-ficha-tech__table {
	margin: 0;
	border-top: 1px solid var(--hm-line, #e5e5e8);
}

.hm-ficha-tech__table > div {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--hm-line, #e5e5e8);
	font-size: 0.92rem;
}

.hm-ficha-tech__table dt {
	margin: 0;
	font-weight: 300;
	color: var(--hm-muted, #5c5c68);
}

.hm-ficha-tech__table dd {
	margin: 0;
	font-weight: 500;
	text-align: right;
	color: var(--hm-ink, #12121a);
}

.hm-ficha-docs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.hm-ficha-docs li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--hm-line, #e5e5e8);
	background: var(--hm-paper, #f3f3f5);
	border-radius: 0;
	transition: border-color 160ms ease;
}

.hm-ficha-docs li:hover {
	border-color: rgba(32, 12, 128, 0.28);
	background: #fff;
}

.hm-ficha-docs__ico {
	color: var(--hm-brand, #200c80);
	flex-shrink: 0;
}

.hm-ficha-docs__meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
}

.hm-ficha-docs__meta strong {
	font-size: 0.9rem;
	font-weight: 500;
}

.hm-ficha-docs__meta span {
	font-size: 0.78rem;
	font-weight: 300;
	color: var(--hm-muted, #5c5c68);
}

.hm-ficha-docs__link {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--hm-line, #e5e5e8);
	background: #fff;
	color: var(--hm-brand, #200c80);
	border-radius: 0;
	transition: border-color 160ms ease, background 160ms ease;
}

.hm-ficha-docs__link:hover {
	border-color: var(--hm-brand, #200c80);
	background: var(--hm-brand-soft, rgba(32, 12, 128, 0.06));
}

/* —— Tabs —— */
.hm-ficha-tabs {
	margin-bottom: clamp(2rem, 4vw, 2.75rem);
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.hm-ficha-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-bottom: 1px solid var(--hm-line, #e5e5e8);
	margin: 0 0 0.25rem;
	background: transparent;
}

.hm-ficha-tabs__btn {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0.85rem 1rem;
	font-size: 0.88rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--hm-muted, #5c5c68);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 160ms ease, border-color 160ms ease;
}

.hm-ficha-tabs__btn:hover {
	color: var(--hm-brand, #200c80);
	background: transparent;
}

.hm-ficha-tabs__btn.is-active {
	color: var(--hm-brand, #200c80);
	background: transparent;
	border-bottom-color: var(--hm-brand, #200c80);
}

.hm-ficha-tabs__btn:focus-visible {
	outline: 2px solid var(--hm-brand, #200c80);
	outline-offset: 2px;
}

.hm-ficha-tabs__panel {
	display: none;
	padding: 1.25rem 0 0;
	animation: hmFichaFade 240ms ease;
}

.hm-ficha-tabs__panel.is-active {
	display: block;
}

.hm-ficha-tabs__solo-title {
	margin: 0 0 0.85rem;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hm-ink, #12121a);
}

.hm-ficha-prose {
	max-width: none;
	font-weight: 300;
	line-height: 1.7;
	color: var(--hm-ink, #12121a);
}

/* Restore visible bullets (global reset sets list-style: none). */
.hm-ficha .hm-ficha-prose ul,
.hm-ficha .hm-prose ul,
.hm-ficha-prose ul {
	list-style: disc outside;
	margin: 0 0 1.15em;
	padding-left: 1.5em;
}

.hm-ficha .hm-ficha-prose ol,
.hm-ficha .hm-prose ol,
.hm-ficha-prose ol {
	list-style: decimal outside;
	margin: 0 0 1.15em;
	padding-left: 1.5em;
}

.hm-ficha .hm-ficha-prose li,
.hm-ficha .hm-prose li,
.hm-ficha-prose li {
	margin: 0 0 0.45em;
	padding-left: 0.15em;
	line-height: 1.55;
}

.hm-ficha .hm-ficha-prose li::marker,
.hm-ficha-prose li::marker {
	color: var(--hm-brand, #200c80);
}

.hm-ficha-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	max-width: 44rem;
}

.hm-ficha-benefits li {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-bottom: 1px solid var(--hm-line, #e5e5e8);
}

.hm-ficha-benefits__ico {
	color: var(--hm-brand, #200c80);
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.hm-ficha-benefits strong {
	display: block;
	font-weight: 500;
	margin-bottom: 0.2rem;
	letter-spacing: -0.01em;
}

.hm-ficha-benefits span {
	font-weight: 300;
	font-size: 0.92rem;
	color: var(--hm-muted, #5c5c68);
	line-height: 1.5;
}

/* —— Related —— */
.hm-ficha-related {
	padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.hm-ficha-related__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.hm-ficha-related__head h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.4vw, 1.65rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--hm-ink, #12121a);
	text-transform: none;
}

.hm-ficha-related__carousel {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"prev viewport next"
		"dots dots dots";
	align-items: center;
	gap: 0.65rem 0.5rem;
}

.hm-ficha-related__viewport {
	grid-area: viewport;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.hm-ficha-related__viewport::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.hm-ficha-related__track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(220px, 260px);
	gap: 1rem;
	width: max-content;
}

.hm-ficha-related__track > li {
	scroll-snap-align: start;
}

.hm-ficha-related__nav {
	grid-area: next;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--hm-brand, #200c80);
	background: #fff;
	color: var(--hm-brand, #200c80);
	border-radius: 0;
	cursor: pointer;
	transition:
		background 160ms ease,
		color 160ms ease,
		border-color 160ms ease,
		opacity 160ms ease;
}

.hm-ficha-related__nav--prev {
	grid-area: prev;
}

.hm-ficha-related__nav:hover:not(:disabled) {
	background: var(--hm-brand, #200c80);
	color: #fff;
}

.hm-ficha-related__nav:focus-visible {
	outline: 2px solid var(--hm-brand, #200c80);
	outline-offset: 2px;
}

.hm-ficha-related__nav:disabled,
.hm-ficha-related__nav[aria-disabled="true"] {
	opacity: 0.35;
	cursor: not-allowed;
}

.hm-ficha-related__dots {
	grid-area: dots;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.45rem;
	margin: 0.35rem 0 0;
	min-height: 1rem;
}

.hm-ficha-related__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(32, 12, 128, 0.28);
	cursor: pointer;
	transition:
		background 160ms ease,
		transform 160ms ease;
}

.hm-ficha-related__dot.is-active {
	background: var(--hm-brand, #200c80);
	transform: scaleX(1.65);
}

.hm-ficha-related__dot:focus-visible {
	outline: 2px solid var(--hm-brand, #200c80);
	outline-offset: 3px;
}

.hm-ficha-related__carousel.is-static .hm-ficha-related__nav,
.hm-ficha-related__carousel.is-static .hm-ficha-related__dots {
	display: none;
}

.hm-ficha-related__carousel.is-static {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "viewport";
}

.hm-ficha-related__card {
	height: 100%;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	transition: opacity 180ms ease;
}

.hm-ficha-related__card:hover {
	opacity: 0.92;
}

.hm-ficha-related__card:focus-within {
	outline: 2px solid var(--hm-brand, #200c80);
	outline-offset: 2px;
}

.hm-ficha-related__card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.hm-ficha-related__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
	border: 1px solid var(--hm-line, #e5e5e8);
}

.hm-ficha-related__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.65rem;
	transition: opacity 220ms ease;
}

.hm-ficha-related__card:hover .hm-ficha-related__media {
	border-color: rgba(32, 12, 128, 0.35);
}

.hm-ficha-related__card:hover .hm-ficha-related__media img {
	opacity: 0.92;
}

.hm-ficha-related__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--hm-paper, #f3f3f5);
}

.hm-ficha-related__body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.75rem 0 0.35rem;
	flex: 1;
}

.hm-ficha-related__cat {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--hm-brand, #200c80);
}

.hm-ficha-related__body h3 {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--hm-ink, #12121a);
	text-transform: none;
}

.hm-ficha-related__cta {
	margin-top: auto;
	padding-top: 0.65rem;
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--hm-brand, #200c80);
	letter-spacing: 0.01em;
}

/* —— Bottom CTA —— */
.hm-ficha-cta {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	background: var(--hm-brand-dark, #16085c);
	color: #fff;
}

.hm-ficha-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding: 0;
	background: transparent;
	overflow: visible;
}

.hm-ficha-cta__inner::after {
	display: none;
}

.hm-ficha-cta__copy {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	max-width: 44rem;
}

.hm-ficha-cta__ico {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-radius: 0;
}

.hm-ficha-cta h2 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #fff;
	text-transform: none;
}

.hm-ficha-cta p {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.hm-ficha-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.hm-ficha-cta .hm-btn--whatsapp {
	background: var(--hm-wa, #25d366);
	border-color: var(--hm-wa, #25d366);
	color: #fff !important;
	box-shadow: none;
}

.hm-ficha-cta .hm-btn--whatsapp:hover {
	background: var(--hm-wa-dark, #1ebe57);
	border-color: var(--hm-wa-dark, #1ebe57);
	color: #fff !important;
}

.hm-ficha-cta .hm-btn--ghost {
	border-width: 1.5px;
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff !important;
}

.hm-ficha-cta .hm-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff !important;
}

/*
 * Reveals — fail-safe: ficha content is ALWAYS visible.
 * Sitewide contemporaneo uses body.hm-site [data-hm-reveal]{opacity:0} (higher specificity).
 * Beat it here so product sheets never render blank if JS stalls.
 */
body.hm-site .hm-ficha [data-hm-reveal],
body.hm-site .hm-ficha .hm-reveal,
.hm-ficha [data-hm-reveal],
.hm-ficha .hm-reveal {
	opacity: 1 !important;
	transform: none !important;
}

@keyframes hmFichaFade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.hm-ficha [data-hm-reveal],
	.hm-ficha-tabs__panel,
	.hm-ficha__main-img {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}

	.hm-ficha__main-img.is-fading {
		opacity: 1;
	}

	.hm-ficha-related__card:hover .hm-ficha-related__media img {
		opacity: 1;
	}

	.hm-ficha-related__nav,
	.hm-ficha-related__dot {
		transition: none;
	}

	.hm-ficha-related__viewport {
		scroll-behavior: auto;
	}

	.hm-ficha__main-img,
	.hm-lb__img,
	.hm-lb__close,
	.hm-lb__nav,
	.hm-lb__thumb {
		transition: none !important;
		animation: none !important;
	}

	.hm-lb.is-open:not([hidden]) {
		animation: none !important;
	}

	.hm-lb__img.is-swap {
		opacity: 0;
		transform: none;
	}
}

@media (scripting: none) {
	.hm-ficha [data-hm-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 980px) {
	.hm-ficha__hero {
		grid-template-columns: 1fr;
	}

	.hm-ficha__gallery {
		position: static;
		max-width: 100%;
	}

	.hm-ficha__stage {
		grid-template-columns: 1fr;
		overflow: hidden;
	}

	.hm-ficha__thumbs--rail {
		flex-direction: row;
		flex-wrap: wrap;
		max-height: none;
		order: 2;
	}

	.hm-ficha__figure {
		order: 1;
	}

	.hm-ficha__actions {
		grid-template-columns: 1fr;
	}

	.hm-ficha-ribbon__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-ficha-tech {
		grid-template-columns: 1fr;
	}

	.hm-ficha-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.hm-ficha-related__carousel {
		grid-template-columns: auto auto;
		grid-template-areas:
			"viewport viewport"
			"prev next"
			"dots dots";
		justify-content: center;
	}

	.hm-ficha-related__track {
		grid-auto-columns: minmax(200px, 72vw);
	}

	.hm-ficha-related__nav {
		width: 42px;
		height: 42px;
	}
}

@media (max-width: 560px) {
	.hm-ficha-ribbon__list {
		grid-template-columns: 1fr;
	}

	.hm-ficha__thumb {
		width: 56px;
		height: 56px;
	}
}

/* —— Bloque técnico bajo galería ——
 * Keep .hm-container width/gutter (do not force width:100% / max-width:none —
 * that flush-left bug wiped site margins). Prose may span the container. */
.hm-ficha-techblock {
	padding-block: 0 clamp(2rem, 4vw, 3rem);
}
.hm-ficha-techblock__head {
	margin-bottom: 1.25rem;
}
.hm-ficha-techblock__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}
/* Prose de ficha: ancho del container del sitio, no columna de lectura angosta */
.hm-ficha-techblock .hm-ficha-prose,
.hm-ficha-techblock .hm-prose {
	max-width: none;
}
.hm-ficha .hm-ficha-prose,
.hm-ficha-prose {
	max-width: none;
}
.hm-ficha-techblock__col h3 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #1c1c22;
}
.hm-ficha__specs--block {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hm-ficha__specs--block li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(28, 28, 34, 0.12);
	color: #1c1c22;
}
.hm-ficha-sources__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hm-ficha-sources__list li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.hm-ficha-sources__list a {
	font-weight: 600;
	color: var(--brand, #200c80);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hm-ficha-sources__list span {
	font-size: 0.88rem;
	color: #3f3f48;
}
