/* NH Sliders */
.nhs {
	--nhs-blue: var(--nh-blue, #0054A6); --nhs-orange: var(--nh-orange, #F26822); --nhs-ink: var(--nh-ink, #0F1E33);
	--nhs-display: var(--nh-font-display, "Bricolage Grotesque", system-ui, sans-serif); --nhs-body: var(--nh-font-body, "Figtree", system-ui, sans-serif);
	container: nhs / inline-size;
	position: relative; isolation: isolate; overflow: hidden; border-radius: var(--nhs-radius, 24px);
	font-family: var(--nhs-body); -webkit-font-smoothing: antialiased; background: var(--nh-mist, #F3F5F8);
}
.nhs *, .nhs *::before, .nhs *::after { box-sizing: border-box; }
.nhs__viewport { overflow: hidden; height: 100%; touch-action: pan-y; }
.nhs__track { display: flex; height: 100%; transition: transform .65s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.nhs.is-dragging .nhs__track { transition: none; }
.nhs__slide {
	container: slide / inline-size;
	position: relative; flex: 0 0 100%; min-width: 0; display: flex; overflow: hidden;
	min-height: var(--nhs-h, 440px); background: var(--nhs-bg, #0054A6);
}
/* Fundido */
.nhs--fx-fade .nhs__track { display: grid; transform: none !important; }
.nhs--fx-fade .nhs__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.nhs--fx-fade .nhs__slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }

/* Tono */
.nhs-T-light { color: #fff; }
.nhs-T-dark { color: var(--nhs-ink); }

/* Contenido */
.nhs__inner {
	position: relative; z-index: 2; width: 100%;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 3cqw;
	padding: 4.5cqw max(6cqw, 78px);
}
.nhs__inner:not(:has(.nhs__img)) { grid-template-columns: minmax(0, 1fr); }
.nhs__inner:not(:has(.nhs__img)) .nhs__text { max-width: 64cqw; }
.nhs-L-right .nhs__text { order: 2; }
.nhs-L-center .nhs__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.nhs-L-center .nhs__text { max-width: 74cqw; align-items: center; }
.nhs-L-center .nhs__btns, .nhs-L-center .nhs__grades { justify-content: center; }
.nhs-L-photo .nhs__inner { grid-template-columns: minmax(0, 1fr); }
.nhs-L-photo .nhs__text { max-width: 56cqw; }
.nhs-V-top .nhs__inner { align-items: start; }
.nhs-V-bottom .nhs__inner { align-items: end; }
.nhs__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; translate: var(--nhs-ox, 0) var(--nhs-oy, 0); }
.nhs__eyebrow {
	display: inline-block; padding: .45em 1.05em; border-radius: 999px; font-weight: 700; font-size: clamp(12px, 1.45cqw, 16px); letter-spacing: .01em;
	background: rgba(255, 255, 255, .18); margin-bottom: .2em;
}
.nhs-T-dark .nhs__eyebrow { background: rgba(0, 84, 166, .1); color: var(--nhs-blue); }
.nhs-T-light.nhs-L-left .nhs__eyebrow, .nhs-T-light.nhs-L-right .nhs__eyebrow { background: var(--nhs-orange); }
.nhs-B-orange .nhs__eyebrow, .nhs-T-light.nhs-B-orange .nhs__eyebrow { background: rgba(255, 255, 255, .22); }
.nhs-B-orange .nhs__btn--orange { background: var(--nhs-ink); }
.nhs__title {
	margin: .32em 0 .28em; font-family: var(--nhs-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: inherit;
	font-size: clamp(30px, 5cqw, 62px); text-wrap: balance;
}
.nhs-S-s .nhs__title { font-size: clamp(22px, 3.3cqw, 40px); }
.nhs-S-m .nhs__title { font-size: clamp(26px, 4.1cqw, 50px); }
.nhs-S-xl .nhs__title { font-size: clamp(34px, 6.6cqw, 82px); }
.nhs__title strong { font-weight: inherit; background: linear-gradient(transparent 62%, rgba(255, 255, 255, .28) 0); padding: 0 .06em; }
.nhs-T-dark .nhs__title strong { background: linear-gradient(transparent 62%, rgba(242, 104, 34, .32) 0); }
.nhs__desc { margin: 0; font-size: clamp(15px, 1.75cqw, 21px); line-height: 1.45; opacity: .92; max-width: 34em; text-wrap: pretty; }
.nhs__btns { display: flex; flex-wrap: wrap; gap: .7em; margin-top: 1.5em; }
.nhs__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: clamp(14px, 1.45cqw, 17px); line-height: 1.15; text-decoration: none; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.nhs__btn:hover { transform: translateY(-2px); }
.nhs__btn:focus-visible, .nhs__grades a:focus-visible, .nhs__banner:focus-visible { outline: 3px solid #FFD43B; outline-offset: 3px; }
.nhs__btn--orange { background: var(--nhs-orange); color: #fff; }
.nhs__btn--orange:hover { background: var(--nh-orange-dark, #D9571A); color: #fff; }
.nhs__btn--white { background: #fff; color: var(--nhs-blue); }
.nhs__btn--white:hover { background: #EAF3FC; color: var(--nhs-blue); }
.nhs__btn--blue { background: var(--nhs-blue); color: #fff; }
.nhs__btn--blue:hover { background: #003E7E; color: #fff; }
.nhs__btn--outline { border-color: currentColor; color: inherit; background: transparent; }
.nhs__btn--ghost { border-color: rgba(255, 255, 255, .6); color: inherit; background: transparent; }
.nhs__btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.nhs-T-dark .nhs__btn--ghost { border-color: rgba(15, 30, 51, .25); }
.nhs-T-dark .nhs__btn--ghost:hover { background: rgba(15, 30, 51, .06); }
.nhs__grades { display: flex; flex-wrap: wrap; gap: .5em; margin-top: 1.2em; }
.nhs__grades a {
	padding: .5em 1.05em; border-radius: 999px; font-weight: 600; font-size: clamp(13px, 1.3cqw, 15px); text-decoration: none; color: inherit;
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); transition: background .15s;
}
.nhs__grades a:hover { background: rgba(255, 255, 255, .26); color: inherit; }
.nhs-T-dark .nhs__grades a { background: #fff; border-color: rgba(15, 30, 51, .14); }

/* Imagen del producto */
.nhs__img { display: flex; align-items: center; justify-content: center; min-width: 0; height: 100%; translate: var(--nhs-ix, 0) var(--nhs-iy, 0); }
.nhs .nhs__img img { vertical-align: top; max-width: 100%; height: auto; max-height: calc(var(--nhs-h, 440px) - 9cqw); object-fit: contain; scale: var(--nhs-is, 1); filter: drop-shadow(0 22px 30px rgba(15, 30, 51, .28)); }

/* Foto de fondo */
.nhs__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.nhs .nhs__photo img { width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: var(--nhs-fx, 50%) var(--nhs-fy, 50%); vertical-align: top; }
.nhs__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 30, 51, var(--nhs-ov, .45)) 0%, rgba(15, 30, 51, calc(var(--nhs-ov, .45) * .55)) 55%, rgba(15, 30, 51, calc(var(--nhs-ov, .45) * .15)) 100%); }
.nhs-L-photo.nhs-T-dark .nhs__veil { background: linear-gradient(90deg, rgba(255, 255, 255, var(--nhs-ov, .45)) 0%, rgba(255, 255, 255, calc(var(--nhs-ov, .45) * .3)) 70%, transparent); }
.has-ken.is-active .nhs__photo img { animation: nhs-ken calc(var(--nhs-secs, 6s) + 3s) ease-out both; }

/* Banner completo */
.nhs-L-banner { min-height: 0; align-items: center; }
.nhs__banner { display: block; width: 100%; height: 100%; }
.nhs .nhs__banner img { vertical-align: top; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.nhs .nhs-F-cover .nhs__banner img { object-fit: cover; }
.nhs .nhs-m { display: none; }
.nhs .nhs-m.is-only { display: block; }

/* Flechas, puntos y barra */
.nhs__arrow {
	position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--nhs-ink); cursor: pointer;
	box-shadow: 0 10px 24px -10px rgba(15, 30, 51, .55); opacity: 0; transition: opacity .2s, transform .2s;
}
.nhs__arrow--prev { left: 14px; }
.nhs__arrow--next { right: 14px; }
.nhs:hover .nhs__arrow, .nhs:focus-within .nhs__arrow { opacity: 1; }
.nhs__arrow:hover { transform: scale(1.06); }
.nhs__arrow:focus-visible { opacity: 1; outline: 3px solid var(--nhs-orange); outline-offset: 2px; }
@media (hover: none) { .nhs__arrow { opacity: .85; width: 38px; height: 38px; margin-top: -19px; } }
.nhs__dots { position: absolute; left: 50%; bottom: 14px; z-index: 5; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 9px; border-radius: 999px; background: rgba(15, 30, 51, .28); backdrop-filter: blur(4px); }
.nhs__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .25s, background .25s; }
.nhs__dot.is-active { width: 24px; background: #fff; }
.nhs__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nhs__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 3px; background: rgba(255, 255, 255, .22); }
.nhs__progress i { display: block; height: 100%; width: 0; background: var(--nhs-orange); }
.nhs__progress i.is-run { animation: nhs-prog var(--nhs-secs, 6s) linear forwards; }
.nhs.is-paused .nhs__progress i.is-run { animation-play-state: paused; }

/* Animaciones de entrada */
.is-in[data-anim="up"] .nhs__text > * { animation: nhs-up .7s cubic-bezier(.2, .8, .2, 1) both; }
.is-in[data-anim="fade"] .nhs__text > * { animation: nhs-fade .8s ease both; }
.is-in[data-anim="left"] .nhs__text > * { animation: nhs-left .7s cubic-bezier(.2, .8, .2, 1) both; }
.is-in[data-anim="zoom"] .nhs__text > * { animation: nhs-zoom .65s cubic-bezier(.2, .8, .2, 1) both; }
.is-in .nhs__text > :nth-child(2) { animation-delay: .08s; }
.is-in .nhs__text > :nth-child(3) { animation-delay: .16s; }
.is-in .nhs__text > :nth-child(4) { animation-delay: .24s; }
.is-in .nhs__text > :nth-child(5) { animation-delay: .32s; }
.is-in[data-anim-img="fade"] .nhs__img, .is-in[data-anim-img="fade"] .nhs__banner { animation: nhs-fade .9s ease both; }
.is-in[data-anim-img="up"] .nhs__img { animation: nhs-up .85s .12s cubic-bezier(.2, .8, .2, 1) both; }
.is-in[data-anim-img="right"] .nhs__img { animation: nhs-right .85s .12s cubic-bezier(.2, .8, .2, 1) both; }
.is-in[data-anim-img="zoom"] .nhs__img, .is-in[data-anim-img="zoom"] .nhs__banner { animation: nhs-zoom .8s .1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes nhs-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nhs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nhs-left { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes nhs-right { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes nhs-zoom { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes nhs-ken { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes nhs-prog { from { width: 0; } to { width: 100%; } }

/* Angosto (celular o columna): todo en una columna */
@container nhs (max-width: 640px) {
	.nhs__slide { min-height: var(--nhs-hm, 520px); }
	.nhs-L-banner { min-height: 0; }
	.nhs .nhs-d.has-m { display: none; }
	.nhs .nhs-m { display: block; }
	.nhs__inner { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 5cqw; padding: 8cqw 6.5cqw 13cqw; }
	.nhs-L-right .nhs__text { order: 0; }
	.nhs__text, .nhs__img { translate: none; }
	.nhs__inner:not(:has(.nhs__img)) .nhs__text, .nhs-L-photo .nhs__text, .nhs-L-center .nhs__text { max-width: none; }
	.nhs__img img { max-height: 54cqw; }
	.nhs__btns { width: 100%; }
	.nhs-L-left .nhs__btn, .nhs-L-right .nhs__btn, .nhs-L-photo .nhs__btn { flex: 1 1 auto; }
	.nhs__veil { background: linear-gradient(0deg, rgba(15, 30, 51, var(--nhs-ov, .45)) 20%, rgba(15, 30, 51, calc(var(--nhs-ov, .45) * .5)) 100%); }
	.nhs-L-photo .nhs__inner { align-content: end; }
	.nhs__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nhs__track, .nhs--fx-fade .nhs__slide { transition: none; }
	.nhs .is-in .nhs__text > *, .nhs .is-in .nhs__img, .nhs .is-in .nhs__banner, .nhs .has-ken .nhs__photo img { animation: none !important; }
}
