/* =========================================================================
   INSERCOH — Portada con movimiento
   Buscador de suministros en el inicio y áreas de la empresa al desplazarse.
   Usa los tokens de main.css (colores, fuentes, radios).
   ========================================================================= */

/* ---------- Inicio: buscador ---------- */
.hm-hero {
	position: relative; z-index: 2; color: #fff; background: var(--navy-950);
	min-height: calc(100svh - var(--header-h) - 38px);
	display: grid; align-items: center;
	padding: clamp(48px, 8vh, 92px) 0 clamp(96px, 14vh, 132px);
}
.hm-hero__fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hm-hero__fx img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .5; filter: saturate(.65) contrast(1.08); animation: hm-drift 30s ease-in-out infinite alternate; }
.hm-hero__fx::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11, 24, 48, .97) 0%, rgba(11, 24, 48, .86) 42%, rgba(11, 24, 48, .38) 100%), linear-gradient(0deg, rgba(11, 24, 48, .95), transparent 38%); }
.hm-hero__fx::after { content: ""; position: absolute; inset: 0; z-index: 2; background-image: var(--grid-dark); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 72%); }
.hm-waves { position: absolute; z-index: 3; left: 0; bottom: 26px; width: 200%; height: 120px; max-width: none; animation: hm-slide 18s linear infinite; }
.hm-waves path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hm-waves path:nth-child(1) { stroke: var(--gold-400); opacity: .55; }
.hm-waves path:nth-child(2) { stroke: var(--orange-500); opacity: .5; }
.hm-waves path:nth-child(3) { stroke: var(--steel-300); opacity: .3; }

.hm-hero__inner { position: relative; z-index: 4; }
.hm-hero .ins-eyebrow { color: var(--gold-300); }
.hm-hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 20px; }
.hm-hero h1 em { font-style: normal; color: var(--gold-300); }
.hm-hero__lead { color: var(--steel-200); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 54ch; margin-bottom: 30px; }

.hm-search { position: relative; max-width: 820px; }
.hm-search__bar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 8px 8px 8px 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 70px -20px rgba(0, 0, 0, .7); transition: box-shadow .2s var(--ease); }
.hm-search__bar:focus-within { box-shadow: 0 0 0 3px var(--gold-400), 0 30px 70px -20px rgba(0, 0, 0, .7); }
.hm-search__bar > .icon { width: 24px; height: 24px; color: var(--orange-600); }
.hm-search input[type="search"] { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: none; padding: 0; font: 500 1.12rem/1.2 var(--font); color: var(--ink); box-shadow: none; -webkit-appearance: none; appearance: none; }
.hm-search input[type="search"]::placeholder { color: var(--steel-500); }
.hm-search__kbd { font: 600 .74rem var(--mono); color: var(--steel-500); border: 1px solid var(--line-strong); border-radius: 5px; padding: 3px 8px; }
.hm-search__bar .btn { min-height: 52px; padding-inline: 26px; border-radius: 8px; }

.hm-results { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 20; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--sh-3); border: 1px solid var(--line); overflow: hidden; }
.hm-results[hidden] { display: none; }
.hm-results__list { list-style: none; margin: 0; padding: 6px; max-height: min(52vh, 420px); overflow: auto; }
.hm-results__item a { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.hm-results__item a:hover, .hm-results__item.is-cursor a { background: var(--navy-50); }
.hm-results__code { font: 600 .76rem var(--mono); color: var(--orange-600); letter-spacing: .03em; }
.hm-results__desc { font-weight: 600; line-height: 1.3; }
.hm-results__desc mark { background: var(--gold-300); color: inherit; border-radius: 2px; padding: 0 1px; }
.hm-results__meta { grid-column: 2; font-size: .84rem; color: var(--steel-500); }
.hm-results__unit { grid-row: 1 / span 2; grid-column: 3; font: 600 .7rem var(--mono); color: var(--steel-500); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.hm-results__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 11px 18px; background: var(--paper-2); border-top: 1px solid var(--line); font-size: .9rem; color: var(--steel-600); }
.hm-results__foot a { font-weight: 600; }
.hm-results__empty { padding: 18px; margin: 0; color: var(--steel-600); }

.hm-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; max-width: 820px; }
.hm-chips span { font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-300); margin-right: 4px; }
.hm-chips button, .hm-chips a { font: 600 .9rem var(--font); color: #fff; text-decoration: none; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.hm-chips button:hover, .hm-chips a:hover { background: rgba(255, 255, 255, .14); border-color: var(--gold-400); transform: translateY(-1px); }

.hm-facts { list-style: none; margin: clamp(30px, 5vh, 52px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.hm-facts li { padding: 2px 28px 2px 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .16); }
.hm-facts li:last-child { border: 0; margin: 0; padding-right: 0; }
.hm-facts small { display: block; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.hm-facts strong { font-weight: 600; font-size: 1rem; color: #fff; }

.hm-cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 600 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-200); text-decoration: none; }
.hm-cue:hover { color: #fff; }
.hm-cue i { width: 1px; height: 34px; background: linear-gradient(var(--gold-400), transparent); transform-origin: top; animation: hm-cue 1.9s var(--ease) infinite; }

/* Entrada del inicio */
.hm-js .hm-hero__inner > * { opacity: 0; transform: translateY(22px); animation: hm-up .8s var(--ease) forwards; }
.hm-js .hm-hero__inner > :nth-child(2) { animation-delay: .08s; }
.hm-js .hm-hero__inner > :nth-child(3) { animation-delay: .16s; }
.hm-js .hm-hero__inner > :nth-child(4) { animation-delay: .26s; transform: translateY(22px) scale(.98); }
.hm-js .hm-hero__inner > :nth-child(5) { animation-delay: .36s; }
.hm-js .hm-hero__inner > :nth-child(6) { animation-delay: .46s; }
.hm-js .hm-hero__inner > .hm-search { position: relative; z-index: 5; }

/* ---------- Áreas de la empresa ---------- */
.hm-areas { position: relative; background: var(--navy-900); color: #fff; border-top: 1px solid rgba(227, 161, 58, .35); }
.hm-areas__stage { padding: clamp(56px, 7vw, 92px) 0; }
.hm-areas__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; }
.hm-areas__head .ins-eyebrow { color: var(--gold-300); margin-bottom: 8px; }
.hm-areas__head h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); }
.hm-areas__count { font: 600 .82rem var(--mono); letter-spacing: .1em; color: var(--steel-300); margin: 0; }
.hm-areas__count b { color: var(--gold-300); font-size: 1.5rem; letter-spacing: 0; }
.hm-areas__list { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: 40px; }

.hm-area { display: grid; gap: 22px; align-items: center; }
.hm-area__media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: var(--r-lg); background: var(--navy-950); box-shadow: var(--sh-3); }
.hm-area__media > img, .hm-area__media > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.06); }
.hm-area.is-live .hm-area__media > img { animation: hm-kb 16s ease-in-out infinite alternate; }
.hm-area__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(11, 24, 48, .7), transparent 46%), linear-gradient(180deg, rgba(11, 24, 48, .45), transparent 26%); pointer-events: none; }
.hm-area__media::after { content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none; opacity: .9;
	background:
		linear-gradient(var(--gold-400), var(--gold-400)) left top / 22px 2px no-repeat, linear-gradient(var(--gold-400), var(--gold-400)) left top / 2px 22px no-repeat,
		linear-gradient(var(--gold-400), var(--gold-400)) right bottom / 22px 2px no-repeat, linear-gradient(var(--gold-400), var(--gold-400)) right bottom / 2px 22px no-repeat; }
.hm-area__tag { position: absolute; z-index: 3; right: 22px; top: 22px; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(11, 24, 48, .7); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hm-scan { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(239, 192, 110, .22) 85%, rgba(239, 192, 110, .9)); opacity: 0; }
.hm-area.is-live .hm-scan { animation: hm-scan 4.2s linear infinite; }

.hm-area__body { max-width: 560px; }
.hm-area__num { display: flex; align-items: center; gap: 14px; font: 600 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 14px; }
.hm-area__num b { font: 700 clamp(2.6rem, 2rem + 2vw, 4rem)/1 var(--font); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--gold-400); }
.hm-area h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 14px; }
.hm-area__body > p { color: var(--steel-200); font-size: 1.06rem; margin-bottom: 16px; }
.hm-area__body ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.hm-area__body li { position: relative; padding-left: 26px; color: #fff; font-weight: 500; }
.hm-area__body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--orange-500); }
.hm-area__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 2px solid var(--orange-500); padding-bottom: 4px; }
.hm-area__link:hover { color: var(--gold-300); }
.hm-area__link .icon { transition: transform .2s var(--ease); }
.hm-area__link:hover .icon { transform: translateX(4px); }

/* Tarjeta técnica animada sobre cada miniatura */
.hm-hud { position: absolute; z-index: 3; left: 22px; bottom: 22px; width: min(270px, 62%); padding: 12px 14px 13px; background: rgba(11, 24, 48, .74); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 .72rem/1.4 var(--mono); color: var(--steel-200); }
.hm-hud__label { display: flex; justify-content: space-between; gap: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.hm-hud__label i { font-style: normal; color: var(--steel-300); }
.hm-hud svg { display: block; width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.hm-hud svg * { vector-effect: non-scaling-stroke; }
.hm-hud svg text { font: 500 9px var(--mono); fill: var(--steel-300); }
.hm-g { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.hm-l { fill: none; stroke: var(--gold-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hm-l--o { stroke: #ef7a45; }
.hm-l--w { stroke: rgba(255, 255, 255, .7); }
.hm-dot { fill: var(--gold-300); }
.hm-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hm-area.is-live .hm-draw { animation: hm-draw 1.8s var(--ease) forwards; animation-delay: var(--d, .3s); }
.hm-pulse { stroke-dasharray: .07 .93; stroke-dashoffset: 1; opacity: 0; }
.hm-area.is-live .hm-pulse { opacity: 1; animation: hm-pulse 2.4s linear infinite; animation-delay: var(--d, 1.4s); }
.hm-pop { opacity: 0; }
.hm-area.is-live .hm-pop { animation: hm-pop .5s var(--ease) forwards; animation-delay: var(--d, 1s); }
.hm-ats-arm { transform-box: view-box; transform-origin: 150px 60px; }
.hm-area.is-live .hm-ats-arm { animation: hm-ats 5s var(--ease) infinite; }
.hm-thermo { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; color: #fff; }
.hm-thermo strong { font: 600 1.7rem/1 var(--mono); letter-spacing: -.02em; }
.hm-thermo__bar { position: relative; height: 8px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, #2b4a9a, #2fb3a0, #efc06e, #ef7a45, #fff); }
.hm-thermo__bar i { position: absolute; top: -4px; left: 0; width: 2px; height: 16px; background: #fff; box-shadow: 0 0 0 1px var(--navy-950); }
.hm-area.is-live .hm-thermo__bar i { animation: hm-thermo 2s var(--ease) .3s forwards; }
.hm-sku { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.hm-sku li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 0; opacity: 0; color: #fff; }
.hm-sku li::before { display: none; }
.hm-sku b { color: var(--gold-300); font-weight: 600; }
.hm-sku em { font-style: normal; color: #7be0a4; }
.hm-sku span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hm-area.is-live .hm-sku li { animation: hm-pop .5s var(--ease) forwards; animation-delay: var(--d, .4s); }

/* Miniaturas (solo en el modo fijado) */
.hm-rail { display: none; }

/* Modo apilado: aparecen al entrar en pantalla */
@media (min-width: 760px) {
	.hm-area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
	.hm-areas:not(.is-pinned) .hm-area:nth-child(even) .hm-area__media { order: 2; }
}
.hm-js .hm-areas:not(.is-pinned) .hm-area .hm-area__media { clip-path: inset(0 0 100% 0 round 14px); transition: clip-path 1s var(--ease); }
.hm-js .hm-areas:not(.is-pinned) .hm-area .hm-area__body { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s; }
.hm-js .hm-areas:not(.is-pinned) .hm-area.is-in .hm-area__media { clip-path: inset(0 round 14px); }
.hm-js .hm-areas:not(.is-pinned) .hm-area.is-in .hm-area__body { opacity: 1; transform: none; }

/* Modo fijado: la sección se queda en pantalla y las áreas cambian con el scroll */
.hm-areas.is-pinned { height: calc(var(--hm-n, 7) * 85vh + 100vh); }
.is-pinned .hm-areas__stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); padding: clamp(18px, 3vh, 34px) 0 clamp(14px, 2.4vh, 24px); overflow: hidden; }
.is-pinned .hm-areas__stage > .container { height: 100%; display: flex; flex-direction: column; }
.is-pinned .hm-areas__list { position: relative; display: block; flex: 1; min-height: 0; margin-top: clamp(12px, 2.4vh, 26px); }
.is-pinned .hm-area { position: absolute; inset: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); opacity: 0; visibility: hidden; transition: opacity .35s linear, visibility 0s linear .35s; }
.is-pinned .hm-area.is-active { opacity: 1; visibility: visible; transition: opacity .35s linear; }
.is-pinned .hm-area__media { order: 2; height: 100%; aspect-ratio: auto; clip-path: inset(0 0 100% 0 round 14px); transition: clip-path .95s var(--ease); }
.is-pinned .hm-area.is-active .hm-area__media { clip-path: inset(0 round 14px); }
.is-pinned .hm-area__body > * { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.is-pinned .hm-area.is-active .hm-area__body > * { opacity: 1; transform: none; }
.is-pinned .hm-area.is-active .hm-area__body > :nth-child(2) { transition-delay: .08s; }
.is-pinned .hm-area.is-active .hm-area__body > :nth-child(3) { transition-delay: .16s; }
.is-pinned .hm-area.is-active .hm-area__body > :nth-child(4) { transition-delay: .24s; }
.is-pinned .hm-area.is-active .hm-area__body > :nth-child(5) { transition-delay: .32s; }
/* El texto nunca invade la fila de miniaturas: se recorta dentro de su área. */
.is-pinned .hm-area__body { max-height: 100%; overflow: hidden; }
@media (max-height: 820px) {
	.is-pinned .hm-area__body > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
}
.hm-js .hm-areas:not(.is-pinned) .hm-areas__count { display: none; }
@media (max-height: 720px) {
	.is-pinned .hm-area__body ul { display: none; }
	.is-pinned .hm-area__num b { font-size: 2.4rem; }
}

.is-pinned .hm-rail { display: grid; grid-template-columns: repeat(var(--hm-n, 7), minmax(0, 1fr)); gap: 10px; margin-top: clamp(12px, 2.4vh, 22px); }
.hm-rail__btn { position: relative; overflow: hidden; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; padding: 6px; font: 600 .8rem/1.2 var(--font); color: var(--steel-300); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.hm-rail__btn:hover { background: rgba(255, 255, 255, .09); color: #fff; transform: translateY(-2px); }
.hm-rail__btn img { width: 62px; height: 44px; max-width: none; object-fit: cover; border-radius: 5px; filter: grayscale(.7) brightness(.75); transition: filter .3s; }
.hm-rail__btn small { display: block; font: 600 .66rem var(--mono); letter-spacing: .1em; color: var(--gold-300); margin-bottom: 2px; }
.hm-rail__btn.is-active { color: #fff; background: rgba(255, 255, 255, .1); border-color: var(--gold-400); }
.hm-rail__btn.is-active img, .hm-rail__btn.is-done img { filter: none; }
.hm-rail__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange-500); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (max-width: 1240px) {
	.hm-rail__btn { grid-template-columns: 1fr; gap: 6px; }
	.hm-rail__btn img { width: 100%; height: 40px; }
}

/* ---------- Categorías de suministros ---------- */
.hm-cats { background: var(--paper); padding: clamp(56px, 7vw, 96px) 0; }
.hm-cats__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: 32px; }
.hm-cats__head h2 { margin: 0; max-width: 20ch; }
.hm-cats__head p:last-child { margin: 0; max-width: 46ch; color: var(--steel-600); }
.hm-cats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hm-cat { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; font-family: var(--font); color: var(--navy-800); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
a.hm-cat { text-decoration: none; }
.admin-bar .is-pinned .hm-areas__stage { top: calc(var(--header-h) + 32px); height: calc(100vh - var(--header-h) - 32px); }
.hm-cat:hover { border-color: var(--navy-700); box-shadow: var(--sh-2); transform: translateY(-3px); }
.hm-cat__code { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: var(--navy-800); color: var(--gold-300); font: 600 .8rem var(--mono); letter-spacing: .06em; transition: background .2s; }
.hm-cat:hover .hm-cat__code { background: var(--orange-600); color: #fff; }
.hm-cat strong { display: block; font-size: 1.02rem; line-height: 1.2; }
.hm-cat small { font: 500 .74rem var(--mono); color: var(--steel-500); }
.hm-cat .icon { color: var(--steel-300); transition: transform .2s var(--ease), color .2s; }
.hm-cat:hover .icon { color: var(--orange-600); transform: translateX(3px); }
.hm-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.hm-js [data-reveal].is-in { opacity: 1; transform: none; }

.hm-brands { overflow: hidden; background: var(--paper-2); border-block: 1px solid var(--line); padding: 16px 0; }
.hm-brands__track { display: flex; width: max-content; gap: 0; animation: hm-slide 38s linear infinite; }
.hm-brands__track span { font: 700 1.05rem var(--font); letter-spacing: .08em; color: var(--steel-500); padding: 0 26px; white-space: nowrap; }
.hm-brands__track span::after { content: "•"; margin-left: 52px; color: var(--orange-500); }
.hm-brands:hover .hm-brands__track { animation-play-state: paused; }

.hm-cta { background: var(--navy-900); color: #fff; padding: clamp(52px, 6vw, 84px) 0; background-image: var(--grid-dark); background-size: 56px 56px; }
.hm-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.hm-cta h2 { color: #fff; margin: 0 0 6px; }
.hm-cta p { color: var(--steel-200); margin: 0; }
.hm-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Animaciones ---------- */
@keyframes hm-up { to { opacity: 1; transform: none; } }
@keyframes hm-drift { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
@keyframes hm-slide { to { transform: translateX(-50%); } }
@keyframes hm-cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes hm-kb { from { transform: scale(1.06); } to { transform: scale(1.2) translate(-2.5%, -2%); } }
@keyframes hm-scan { 0% { transform: translateY(-90px); opacity: 0; } 12%, 85% { opacity: 1; } 100% { transform: translateY(520px); opacity: 0; } }
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
@keyframes hm-pulse { to { stroke-dashoffset: 0; } }
@keyframes hm-pop { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes hm-ats { 0%, 38% { transform: rotate(0deg); } 50%, 88% { transform: rotate(-40.6deg); } 100% { transform: rotate(0deg); } }
@keyframes hm-thermo { to { left: 78%; } }

@media (max-width: 720px) {
	.hm-search__bar { padding-left: 14px; gap: 8px; }
	.hm-search__kbd { display: none; }
	.hm-search__bar .btn { padding-inline: 16px; }
	.hm-results__item a { grid-template-columns: minmax(0, 1fr) auto; }
	.hm-results__code { grid-column: 1; }
	.hm-results__desc, .hm-results__meta { grid-column: 1; }
	.hm-results__unit { grid-row: 1; grid-column: 2; }
	.hm-facts li { border: 0; margin-right: 0; flex: 1 1 100%; }
	.hm-cue { display: none; }
	.hm-hud { left: 14px; bottom: 14px; width: min(200px, 58%); padding: 9px 11px; font-size: .66rem; }
	.hm-hud__label i { display: none; }
	.hm-thermo strong { font-size: 1.3rem; }
	.hm-hero { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	.hm-hero__fx img, .hm-waves, .hm-cue i, .hm-brands__track, .hm-area.is-live .hm-area__media > img, .hm-area.is-live .hm-scan, .hm-area.is-live .hm-ats-arm, .hm-area.is-live .hm-pulse { animation: none; }
	.hm-js .hm-hero__inner > *, .hm-js [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
	.hm-draw { stroke-dashoffset: 0; }
	.hm-pop, .hm-sku li { opacity: 1; animation: none !important; }
	.hm-js .hm-areas .hm-area .hm-area__media { clip-path: none !important; transition: none; }
	.hm-js .hm-areas .hm-area .hm-area__body { opacity: 1 !important; transform: none !important; }
}
