/* =============================================================
   HOME view (diseño completo)
   ============================================================= */
.view--home .view__inner {
  /* Mobile: contenido centrado verticalmente entre header y CTA */
  justify-content: center;
}

.home__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: auto;
  padding-top: 1rem;
  padding-top: var(--header-total);
  padding-top: calc(var(--header-total) + 25vh);
}

.view--home .display {
    text-shadow: 0 0 10px #ffffff40;
    text-transform: uppercase;
    background: radial-gradient(circle at center bottom, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 00) 100%);
  background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    letter-spacing: -1px;
}

@media (min-width: 475px) and (max-width: 1023px) {
  .view--home .display {
    font-size: clamp(40px, calc(26.13px + 2.92vw), 56px);
  }
}

.view--home .lede {
  text-align: center;
}

.view--home .lede br {
  display: none;
}

.home__body-sub {
  /* Mobile: hereda el centrado del contenedor */
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
}

@media (min-width: 1024px) {
  .view--home .lede br {
    display: initial;
  }

  .home__body-sub {
    align-self: flex-end;   /* pegado a la derecha dentro de home__body */
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .view--home .view__inner {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 720px);
    grid-template-rows: 1fr auto;
    column-gap: 4rem;
    align-items: end;
    justify-content: end;
    padding-top: 122px;
    padding-right: 156px;
    padding-bottom: 72px;
  }

  .home__body {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    align-items: flex-end;  /* título y sub-contenedor alineados a la derecha */
    padding-top: 0;
  }

  .home__body .display{
    font-size: 56px;
    letter-spacing: -2px;
    margin-right: -10px;
  }

  .view--home .view__cta {
    grid-column: 2;
    grid-row: 2;
    align-items: center;    /* powered centrado bajo el botón */
    justify-self: end;      /* bloque pegado a la derecha */
    width: fit-content;     /* sólo ocupa lo que necesita */
    padding-right: 32px;
  }

  .powered { text-align: center; }
}

@media (min-width: 1024px) and (max-width: 1138px) {
  .view--home .view__cta {
    padding-right: 64px;
  }
}

/* =============================================================
   GALLERY views (estructura básica)
   ============================================================= */
.view--gallery .view__inner {
  padding-bottom: calc(var(--gutter) + 80px + var(--safe-bottom));
}

.view--gallery .view__head,
.view--feature .view__head {
  margin-bottom: 32px;
}

.gallery {
  --gallery-item-w: 70vw;
  --gallery-gap: 16px;
  --gallery-step-x: calc(var(--gallery-item-w) + var(--gallery-gap));
  --gallery-step-y: 0px;
  position: relative;
  height: calc((var(--gallery-item-w) * 0.6666667) + 42px);
  overflow: hidden;
  overscroll-behavior: contain;
  /* La galería móvil necesita salirse del padding del contenedor para centrar bien el carrusel. */
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  touch-action: pan-y;
}

.gallery__track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--gallery-item-w);
  transform: translate(-50%, -50%);
}

.gallery.is-resetting .gallery__track,
.rival-gallery.is-resetting .rival-gallery__track,
.rival-gallery.is-resetting .rival-gallery__item,
.rival-gallery.is-resetting .rival-gallery__card,
.player-gallery.is-resetting .player-gallery__track,
.player-gallery.is-resetting .player-gallery__item,
.player-gallery.is-resetting .player-gallery__card,
.player-gallery.is-resetting .player-gallery__name {
  transition: none !important;
}

.gallery.is-animating .gallery__track {
  transition: transform 0.38s ease;
}

.gallery[data-gallery-direction="1"] .gallery__track {
  transform: translate(-50%, -50%) translateX(calc(0px - var(--gallery-step-x)));
}

.gallery[data-gallery-direction="-1"] .gallery__track {
  transform: translate(-50%, -50%) translateX(var(--gallery-step-x));
}

.gallery__item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery__item[data-gallery-offset="-2"] {
  transform: translateY(-50%) translateX(calc(0px - var(--gallery-step-x) - var(--gallery-step-x)));
}

.gallery__item[data-gallery-offset="-1"] {
  transform: translateY(-50%) translateX(calc(0px - var(--gallery-step-x)));
}

.gallery__item[data-gallery-offset="0"] {
  cursor: pointer;
}

.gallery__item[data-gallery-offset="1"] {
  transform: translateY(-50%) translateX(var(--gallery-step-x));
}

.gallery__item[data-gallery-offset="2"] {
  transform: translateY(-50%) translateX(calc(var(--gallery-step-x) + var(--gallery-step-x)));
}

.gallery__item:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 6px;
}

.gallery__item-title {
  margin: 0 0 0.5rem;
  font-family: var(--ff-black);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-accent);
  /* Permitir máximo 2 líneas */
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 164px;
}

.gallery__item-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--c-accent);
  display: grid;
  place-items: center;
}

.gallery__item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gallery__placeholder {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 350;
  line-height: 1.2;
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Botón fijo al bottom (superpuesto al scroll del contenido) */
.view--gallery .view__cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 64px var(--gutter) calc(var(--gutter) + var(--safe-bottom));
  background: linear-gradient(to top, #240004 70%, rgba(179, 7, 19, 0));
  z-index: 5;
  gap: 12px;
}

.gallery-controls {
  display: none;
}

@media (min-width: 1024px) {
  .view--gallery .view__inner {
    display: grid;
    grid-template-columns: minmax(668px, 668px) 1fr 138px;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0 0 0 var(--sidebar-w); /* sólo el offset del sidebar */
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .view--gallery .view__head {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    overflow: hidden;
    /* Padding de la columna izquierda */
    padding: 122px 116px 72px 72px;
  }

  .view--gallery .gallery {
    grid-column: 2;
    grid-row: 1;
    --gallery-item-w: 100%;
    --gallery-gap: 38px;
    --gallery-step-x: 0px;
    --gallery-step-y: calc((min(calc(100vw - var(--sidebar-w) - 668px), calc((100dvh - 84px) * 1.7778)) * 0.5625) + 42px + var(--gallery-gap));
    margin: 0;
    padding: 42px 0;
    height: 100dvh;
    min-height: 0;
    touch-action: pan-x;
  }

  .gallery-controls {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 66px;
  }

  .gallery-controls__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--c-accent);
  }

  .gallery-controls__icon {
    width: 12px;
    height: 57px;
    transition: transform 0.22s ease;
  }

  .gallery-controls__icon--down {
    transform: rotate(180deg);
  }

  .gallery-controls__button:hover .gallery-controls__icon,
  .gallery-controls__button:focus-visible .gallery-controls__icon {
    transform: translateY(-4px);
  }

  .gallery-controls__button:hover .gallery-controls__icon--down,
  .gallery-controls__button:focus-visible .gallery-controls__icon--down {
    transform: translateY(4px) rotate(180deg);
  }

  .gallery__track {
    width: min(100%, calc((100dvh - 84px) * 1.7778));
    transform: translate(-50%, -50%);
  }

  .gallery[data-gallery-direction="1"] .gallery__track {
    transform: translate(-50%, -50%) translateY(calc(0px - var(--gallery-step-y)));
  }

  .gallery[data-gallery-direction="-1"] .gallery__track {
    transform: translate(-50%, -50%) translateY(var(--gallery-step-y));
  }

  .gallery__item {
    transform: translateY(-50%);
  }

  .gallery__item[data-gallery-offset="-2"] {
    transform: translateY(-50%) translateY(calc(0px - var(--gallery-step-y) - var(--gallery-step-y)));
  }

  .gallery__item[data-gallery-offset="-1"] {
    transform: translateY(-50%) translateY(calc(0px - var(--gallery-step-y)));
  }

  .gallery__item[data-gallery-offset="1"] {
    transform: translateY(-50%) translateY(var(--gallery-step-y));
  }

  .gallery__item[data-gallery-offset="2"] {
    transform: translateY(-50%) translateY(calc(var(--gallery-step-y) + var(--gallery-step-y)));
  }

  .view--gallery .view__cta {
    position: static;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    align-items: center;      /* powered centrado bajo el botón */
    justify-self: flex-start; /* bloque pegado a la izquierda */
    width: fit-content;
    background: none;
    padding: 0 3rem 72px 72px;
  }

  .gallery__item-title { font-size: 14px; }

  .gallery__item-media { aspect-ratio: 16 / 9; }

  .gallery__placeholder { font-size: 20px; }

  .video-play-badge {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  [data-view="inspirate"].view--gallery .view__inner {
    grid-template-columns: minmax(394px, 668px) minmax(300px, 1fr) 64px;
  }

  [data-view="inspirate"].view--gallery .title,
  [data-view="visualizadores-victoria"].view--feature .title {
    font-size: 45px;
  }

  [data-view="inspirate"].view--gallery .view__head {
    padding: 122px 48px 72px 48px;
  }

  [data-view="inspirate"].view--gallery .gallery {
    --gallery-track-w: min(100%, max(300px, calc((((100dvh - 84px) - (38px * 2)) / 3 - 42px) / 0.5625)));
    --gallery-item-total-h: calc((var(--gallery-track-w) * 0.5625) + 42px);
    --gallery-gap: max(38px, calc(((100dvh - 84px) - (var(--gallery-item-total-h) * 3)) / 2));
    --gallery-step-y: calc(var(--gallery-item-total-h) + var(--gallery-gap));
  }

  [data-view="inspirate"].view--gallery .gallery__track {
    width: var(--gallery-track-w);
    height: var(--gallery-item-total-h);
  }

  [data-view="inspirate"].view--gallery .gallery__item {
    height: var(--gallery-item-total-h);
  }

  [data-view="inspirate"].view--gallery .view__cta {
    padding: 0 48px 72px 48px;
  }

  [data-view="visualizacion"].view--steps .view__inner:not(.view__inner--gallery-step):not(.view__inner--capture-step) {
    display: grid;
    grid-template-columns: minmax(394px, 668px) minmax(550px, 1fr);
  }

  [data-view="visualizacion"].view--steps .title {
    font-size: 45px;
  }
}

@media (min-width: 1024px) and (max-height: 726px) {
  [data-view="inspirate"].view--gallery .gallery {
    --gallery-track-w: min(100%, max(1px, calc((((100dvh - 84px) - (38px * 2)) / 3 - 42px) / 0.5625)));
    --gallery-item-total-h: calc((var(--gallery-track-w) * 0.5625) + 42px);
    --gallery-gap: max(38px, calc(((100dvh - 84px) - (var(--gallery-item-total-h) * 3)) / 2));
    --gallery-step-y: calc(var(--gallery-item-total-h) + var(--gallery-gap));
  }

  [data-view="inspirate"].view--gallery .gallery__track {
    width: var(--gallery-track-w);
    height: var(--gallery-item-total-h);
  }

  [data-view="inspirate"].view--gallery .gallery__item {
    height: var(--gallery-item-total-h);
  }

  [data-view="inspirate"].view--gallery .gallery__item-title {
    font-size: 12px;
  }
}

/* =============================================================
   STEPS view (estructura básica)
   ============================================================= */
.view--feature .view__inner {
  padding-bottom: calc(var(--gutter) + 80px + var(--safe-bottom));
}

.feature-media {
  position: relative;
  /* Estas secciones sí deben respetar el padding lateral del padre. */
  display: block;
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  appearance: none;
  border: 0;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--c-accent);
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}

.feature-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.view--feature .view__cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 64px var(--gutter) calc(var(--gutter) + var(--safe-bottom));
  background: linear-gradient(to top, #240004 70%, rgba(179, 7, 19, 0));
  z-index: 5;
  gap: 12px;
}

@media (min-width: 1024px) {
  .view--feature .view__inner {
    display: grid;
    grid-template-columns: minmax(394px, 668px) minmax(300px, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0 0 0 var(--sidebar-w);
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .view--feature .view__head {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    overflow: hidden;
    padding: 122px 116px 72px 72px;
  }

  .feature-media {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    aspect-ratio: auto;
    border: 0;
    border-left: 1px solid var(--c-accent);
  }

  .feature-media__image {
    width: 100%;
    height: 100%;
  }

  .view--feature .view__cta {
    position: static;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    align-items: center;
    justify-self: flex-start;
    width: fit-content;
    background: none;
    padding: 0 3rem 72px 72px;
  }
}

.step-content {
  margin-top: 12px;
  overflow-x: hidden;
}

.step-content.step-content--gallery {
  overflow: hidden;
}


.step-kicker {
  margin: 0 0 16px;
  font-family: var(--ff-black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--c-accent);
}

.step-head-extra[hidden] {
  display: none !important;
}

.step-head-extra {
  margin-top: 24px;
}

.step-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: #fff;
}

.step-back--desktop {
  display: none;
}

.step-back__icon {
  width: 18px;
  height: 12px;
}

.step-back__label {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 350;
  line-height: 1.2;
}

.step-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.step-panel__notes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-panel__eyebrow {
  margin: 0;
  font-family: var(--ff-black);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.step-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-panel__list-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
}

.step-panel__list-icon {
  width: 18px;
  height: 12px;
  margin-top: 4px;
  transform: scaleX(-1);
}

.step-panel__text,
.step-panel__list-text {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 1023px) {
  .step-panel--intro .step-panel__list {
    width: 100%;
    max-width: 205px;
  }
}

.step-powered {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--c-accent);
}

.step-powered__label,
.step-powered__link {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 350;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-powered__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.step-powered__logo-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.step-powered__logo-stack > * {
  grid-area: 1 / 1;
}

.step-powered__logo-glow {
  display: block;
  width: auto;
  height: 16px;
  opacity: 0;
  filter: blur(5px)
    drop-shadow(0 0 8px rgba(251, 191, 0, 0.8))
    drop-shadow(0 0 18px rgba(255, 142, 0, 0.55));
  transform: translateZ(0);
  transition: opacity 0.35s ease;
}

.step-powered__logo {
  display: block;
  width: auto;
  height: 16px;
  position: relative;
  z-index: 1;
}

.step-powered__link:hover .step-powered__logo-glow,
.step-powered__link:focus-visible .step-powered__logo-glow {
  opacity: 1;
  animation: step-powered-logo-glow 1.2s ease-in-out infinite alternate;
}

@keyframes step-powered-logo-glow {
  0% {
    filter: blur(4px)
      drop-shadow(0 0 8px rgba(251, 191, 0, 0.95))
      drop-shadow(0 0 16px rgba(255, 184, 0, 0.75));
  }

  50% {
    filter: blur(6px)
      drop-shadow(0 0 12px rgba(255, 214, 102, 1))
      drop-shadow(0 0 24px rgba(255, 94, 0, 0.9));
  }

  100% {
    filter: blur(5px)
      drop-shadow(0 0 10px rgba(255, 224, 130, 0.95))
      drop-shadow(0 0 22px rgba(255, 0, 33, 0.75));
  }
}

.step-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  width: 100%;
}

.step-form-scroll-shell {
  width: 100%;
}


.view--steps .step-content.step-content--data-entry {
  display: flex;
  min-height: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.view--steps .step-content.step-content--data-entry .steps--wrapper--data-entry {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.view--steps .step-content.step-content--data-entry .step-form-scroll-shell {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 26px;
  --step-form-scroll-thumb-height: 0px;
  --step-form-scroll-thumb-offset: 0px;
}

.view--steps .step-content.step-content--data-entry .step-form-scroll-shell::before,
.view--steps .step-content.step-content--data-entry .step-form-scroll-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.view--steps .step-content.step-content--data-entry .step-form-scroll-shell::before {
  bottom: 0;
  background: rgba(251, 191, 0, 0.3);
}

.view--steps .step-content.step-content--data-entry .step-form-scroll-shell::after {
  height: var(--step-form-scroll-thumb-height);
  transform: translateY(var(--step-form-scroll-thumb-offset));
  background: rgba(251, 191, 0, 1);
}

.view--steps .step-content.step-content--data-entry .step-form-scroll-shell.is-scrollable::before,
.view--steps .step-content.step-content--data-entry .step-form-scroll-shell.is-scrollable::after {
  opacity: 1;
}

.view--steps .step-content.step-content--data-entry .step-form--scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 40px;
  padding-bottom: var(--steps-cta-space);
  scrollbar-width: none;
}

.view--steps .step-content.step-content--data-entry .step-form--scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}


.step-search {
  position: relative;
  z-index: 6;
  width: 195px;
  margin: 0 auto;
}

.step-search__field {
  position: relative;
  transition: opacity 0.16s ease;
}

.step-search__field.is-fading-out {
  opacity: 0;
}

.step-search__field.is-fading-in {
  opacity: 1;
}

.step-search__input {
  width: 100%;
  padding: 0 28px 12px 0;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.2;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-accent);
  border-radius: 0;
  outline: none;
}

.step-search__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.step-search__icon {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 16px;
  height: 16px;
}

.step-search__results {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 7;
  padding: 10px 0;
  background: rgba(36, 0, 4, 0.96);
  border: 1px solid rgba(251, 191, 0, 0.35);
}

.step-search__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-search__suggestion,
.step-search__empty {
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 350;
  line-height: 1.2;
  color: #fff;
}

.step-search__suggestion:hover,
.step-search__suggestion:focus-visible {
  background: rgba(251, 191, 0, 0.14);
}

.step-search__empty {
  margin: 0;
  color: var(--c-text-muted);
}

.rival-picker {
  --rival-item-w: 280px;
  --rival-item-h: 186px;
  --rival-item-title-h: 28px;
  --rival-gap: calc(-18px + max(0px, 10vw - (360px * 0.10)));
  --rival-step-x: calc(var(--rival-item-w) + var(--rival-gap));
  --rival-step-y: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin-bottom: 50px;
  height: 240px;
}

.rival-picker__controls {
  display: none;
}

.rival-gallery {
  position: relative;
  width: 100%;
  height: calc(var(--rival-item-h) + var(--rival-item-title-h));
  overflow-x: clip;
  overscroll-behavior: contain;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  touch-action: pan-y;
}

.rival-gallery.is-fading-out .rival-gallery__track {
  opacity: 0;
}

.rival-gallery.is-fading-in .rival-gallery__track {
  opacity: 1;
}

.rival-gallery__track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--rival-item-w);
  transform: translate(-50%, -50%);
  transition: opacity 0.18s ease;
  height: 100%;

}

.rival-gallery.is-animating .rival-gallery__track {
  transition: transform 0.38s ease;
}

.rival-gallery[data-rival-gallery-direction="1"] .rival-gallery__track {
  transform: translate(-50%, -50%) translateX(calc(0px - var(--rival-step-x)));
}

.rival-gallery[data-rival-gallery-direction="-1"] .rival-gallery__track {
  transform: translate(-50%, -50%) translateX(var(--rival-step-x));
}

.rival-gallery__item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  cursor: pointer;
  transform: translateY(-50%);
}

.rival-gallery__card {
  transform: scale(1);
  transform-origin: center center;
}

.rival-gallery.is-animating .rival-gallery__item {
  transition: transform 0.38s ease;
}

.rival-gallery.is-animating .rival-gallery__card {
  transition: transform 0.38s ease;
}

.rival-gallery__item[data-rival-offset="-2"] {
  transform: translateY(-50%) translateX(calc(0px - var(--rival-step-x) - var(--rival-step-x)));
}

.rival-gallery__item[data-rival-offset="-1"] {
  transform: translateY(-50%) translateX(calc(0px - var(--rival-step-x)));
}

.rival-gallery__item[data-rival-offset="1"] {
  transform: translateY(-50%) translateX(var(--rival-step-x));
}

.rival-gallery__item[data-rival-offset="2"] {
  transform: translateY(-50%) translateX(calc(var(--rival-step-x) + var(--rival-step-x)));
}

.rival-gallery__item[data-rival-offset="-2"] .rival-gallery__card,
.rival-gallery__item[data-rival-offset="-1"] .rival-gallery__card,
.rival-gallery__item[data-rival-offset="1"] .rival-gallery__card,
.rival-gallery__item[data-rival-offset="2"] .rival-gallery__card {
  transform: scale(0.7);
}

.rival-gallery.is-animating[data-rival-gallery-direction="1"] .rival-gallery__item[data-rival-offset="0"] .rival-gallery__card,
.rival-gallery.is-animating[data-rival-gallery-direction="-1"] .rival-gallery__item[data-rival-offset="0"] .rival-gallery__card {
  transform: scale(0.7);
}

.rival-gallery.is-animating[data-rival-gallery-direction="1"] .rival-gallery__item[data-rival-offset="1"] .rival-gallery__card,
.rival-gallery.is-animating[data-rival-gallery-direction="-1"] .rival-gallery__item[data-rival-offset="-1"] .rival-gallery__card {
  transform: scale(1);
}

.rival-gallery__media {
  position: relative;
  width: 100%;
  /* height: var(--rival-item-h); */
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.rival-gallery__flag {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.rival-gallery__title {
  margin: 12px 0 0;
  font-family: var(--ff-black);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: var(--c-accent);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.player-picker {
  --player-item-w: 180px;
  --player-item-h: 0px;
  --player-item-title-h: 44px;
  --player-gap: 24px;
  --player-step-x: calc(var(--player-item-w) + var(--player-gap));
  --player-step-y: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin-bottom: 32px;
  height: auto;
  gap: 28px;
}

.player-picker__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.player-picker__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 32px;
  color: var(--c-accent);
}

.player-picker__control-icon {
  width: 12px;
  height: 57px;
  transition: transform 0.22s ease;
}

.player-picker__control-icon--previous {
  transform: rotate(-90deg);
}

.player-picker__control-icon--next {
  transform: rotate(90deg);
}

.player-picker__control:hover .player-picker__control-icon--previous,
.player-picker__control:focus-visible .player-picker__control-icon--previous {
  transform: translateX(-4px) rotate(-90deg);
}

.player-picker__control:hover .player-picker__control-icon--next,
.player-picker__control:focus-visible .player-picker__control-icon--next {
  transform: translateX(4px) rotate(90deg);
}

.player-gallery {
  position: relative;
  width: 100%;
  height: calc(var(--player-item-h) + var(--player-item-title-h));
  overflow-x: clip;
  overscroll-behavior: contain;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  touch-action: pan-y;
}

.player-gallery__track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--player-item-w);
  height: 100%;
  transform: translate(-50%, -50%);
}

.player-gallery.is-animating .player-gallery__track {
  transition: transform 0.38s ease;
}

.player-gallery[data-player-gallery-direction="1"] .player-gallery__track {
  transform: translate(-50%, -50%) translateX(calc(0px - var(--player-step-x)));
}

.player-gallery[data-player-gallery-direction="-1"] .player-gallery__track {
  transform: translate(-50%, -50%) translateX(var(--player-step-x));
}

.player-gallery__item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  cursor: pointer;
  transform: translateY(-50%) translateX(calc(var(--player-offset, 0) * var(--player-step-x)));
}

.player-gallery__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--player-item-h) + var(--player-item-title-h));
  padding: 0 8px;
  transform: scale(1);
  transform-origin: center center;
}

.player-gallery.is-animating .player-gallery__item,
.player-gallery.is-animating .player-gallery__card {
  transition: transform 0.38s ease;
}

.player-gallery.is-animating .player-gallery__name {
  transition: color 0.38s ease;
}

.player-gallery__item[aria-current="false"] .player-gallery__card {
  transform: scale(0.7);
}

.player-gallery__item[aria-current="false"] .player-gallery__name {
  color: rgba(184, 0, 24, 0.5);
}

.player-gallery.is-animating[data-player-gallery-direction="1"] .player-gallery__item[data-player-offset="0"] .player-gallery__card,
.player-gallery.is-animating[data-player-gallery-direction="-1"] .player-gallery__item[data-player-offset="0"] .player-gallery__card {
  transform: scale(0.7);
}

.player-gallery.is-animating[data-player-gallery-direction="1"] .player-gallery__item[data-player-offset="1"] .player-gallery__card,
.player-gallery.is-animating[data-player-gallery-direction="-1"] .player-gallery__item[data-player-offset="-1"] .player-gallery__card {
  transform: scale(1);
}

.player-gallery.is-animating[data-player-gallery-direction="1"] .player-gallery__item[data-player-offset="0"] .player-gallery__name,
.player-gallery.is-animating[data-player-gallery-direction="-1"] .player-gallery__item[data-player-offset="0"] .player-gallery__name {
  color: rgba(184, 0, 24, 0.5);
}

.player-gallery.is-animating[data-player-gallery-direction="1"] .player-gallery__item[data-player-offset="1"] .player-gallery__name,
.player-gallery.is-animating[data-player-gallery-direction="-1"] .player-gallery__item[data-player-offset="-1"] .player-gallery__name {
  color: #fbbf00;
}

.player-gallery__name {
  margin: 0;
  width: 100%;
  overflow: hidden;
  font-family: var(--ff-black);
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.8px;
  text-align: center;
  text-transform: uppercase;
  color: #fbbf00;
}

.steps--wrapper--capture {
  display: flex;
  overflow: hidden;
}

.selfie-capture {
  display: flex;
  flex: 1;
  width: 100%;
}

.selfie-capture__frame {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 420px;
  overflow: visible;
  box-sizing: border-box;
  border: 1px solid var(--c-accent);
  border-radius: 10px;
  background: transparent;
}

.selfie-capture__media {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: inherit;
}

.selfie-capture__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.selfie-capture__image--reference {
  opacity: 1;
}

.selfie-capture__image.is-hidden {
  opacity: 0;
}

.selfie-capture__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.selfie-capture__video.is-visible {
  opacity: 1;
}

.selfie-capture__loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(10, 0, 0, 0.46);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.selfie-capture__loading.is-visible {
  opacity: 1;
}

.selfie-capture__loading .status-modal__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: 0;
  transform: translate(-50%, -50%);
}

.selfie-capture__button {
  position: absolute;
  left: 50%;
  bottom: -32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  background: #000;
  color: var(--c-accent);
  transform: translateX(-50%);
  z-index: 6;
}

.selfie-capture__button:disabled {
  cursor: wait;
}

.selfie-capture__button-icon {
  position: absolute;
  width: 30px;
  height: 24px;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.selfie-capture__button-icon--camera.is-hidden,
.selfie-capture__button-icon--repeat {
  opacity: 0;
}

.selfie-capture__button-icon--repeat {
  width: 24px;
  height: 24px;
}

.selfie-capture__button-icon--repeat.is-visible {
  opacity: 1;
}

.step-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-form__label {
  font-family: var(--ff-black);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.step-form__input {
  width: 100%;
  padding: 0 0 12px;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.2;
  color: #fff;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--c-accent);
  border-radius: 0;
  -webkit-border-radius: 0;
  background-clip: padding-box;
  box-shadow: none;
  outline: none;
}

.step-form__input:focus {
  background: transparent;
}

.step-form__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.step-form__input:-webkit-autofill,
.step-form__input:-webkit-autofill:hover,
.step-form__input:-webkit-autofill:focus,
.step-form__input:-webkit-autofill:active {
  -webkit-appearance: none;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  border-bottom-color: var(--c-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-shadow: inset 0 -1px 0 0 var(--c-accent), inset 0 0 0 1000px transparent;
  box-shadow: inset 0 -1px 0 0 var(--c-accent), inset 0 0 0 1000px transparent;
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

.step-form__input.is-invalid:-webkit-autofill,
.step-form__input.is-invalid:-webkit-autofill:hover,
.step-form__input.is-invalid:-webkit-autofill:focus,
.step-form__input.is-invalid:-webkit-autofill:active {
  border-bottom-color: #ff0021;
  -webkit-box-shadow: inset 0 -1px 0 0 #ff0021, inset 0 0 0 1000px transparent;
  box-shadow: inset 0 -1px 0 0 #ff0021, inset 0 0 0 1000px transparent;
}

.step-form__input.is-invalid {
  border-bottom-color: #ff0021;
}

.step-form__error {
  margin: 0;
  min-height: 14px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 350;
  line-height: 1.2;
  color: #ff0021;
}

.step-form__checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-check {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

.step-check.is-locked {
  cursor: default;
}

.step-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.step-check__box {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-accent);
  border-radius: 2px;
}

.step-check__box::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 1px;
  background: var(--c-accent);
  opacity: 0;    
  width: 8px;
  height: 8px;
  left: 3px;
  top: 3px;
}

.step-check__input:checked + .step-check__box::after {
  opacity: 1;
}

.step-check__text {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 350;
  line-height: 1.2;
  color: #fff;
  line-height: 125%; /* 17.5px */
  letter-spacing: 0.25px;
}

.step-check__lead {
  font-family: var(--ff-black);
  font-weight: 900;
}

.step-check__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.step-check__link:hover,
.step-check__link:focus-visible {
  color: var(--c-accent);
}

.view--steps [data-step-action].is-disabled,
.view--steps [data-step-action]:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.view--steps [data-step-action].is-disabled:hover,
.view--steps [data-step-action]:disabled:hover {
  background: transparent;
  border-color: var(--c-accent);
  color: #fff;
}

.view--steps {
  --steps-cta-space: calc(64px + 56px + 20px + var(--gutter) + var(--safe-bottom));
  overflow-y: hidden;
}

.view--steps .view__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
}

.view--steps .view__inner.is-step-transitioning {
  pointer-events: none;
}

.view--steps .view__inner.view__inner--capture-step {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100dvh;
  padding-bottom: 0;
}

.view--steps .view__head {
  flex: 0 0 auto;
  padding-top: calc(var(--header-total) - 30px);
}

.view--steps .step-content {
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  padding-bottom: var(--steps-cta-space);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.view--steps .step-content--gallery{
  overflow: hidden;
}

.view--steps .step-content.step-content--gallery {
  margin-top: 0;
}


.view--steps .view__inner.view__inner--capture-step .step-content.step-content--capture {
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
  padding-bottom: var(--steps-cta-space);
}

.view--steps .view__inner.view__inner--capture-step .steps--wrapper--capture {
  display: flex;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: visible;
}

.view--steps .view__inner.view__inner--capture-step .selfie-capture,
.view--steps .view__inner.view__inner--capture-step .selfie-capture__frame,
.view--steps .view__inner.view__inner--capture-step .selfie-capture__media {
  flex: 1;
  min-height: 0;
}

.steps--wrapper {
  padding: 0 var(--gutter);
}


.view--steps .view__cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  /* padding: 1rem var(--gutter) calc(1rem + var(--safe-bottom)); */
  padding: 64px var(--gutter) calc(var(--gutter) + var(--safe-bottom));
  background: linear-gradient(to top, #240004 70%, rgba(179, 7, 19, 0));
  z-index: 5;
  gap: 20px;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.view--steps .view__cta.is-hidden-for-keyboard {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.view--steps .view__cta > * {
  pointer-events: auto;
}

@media (min-width: 1024px) {

  .view--steps {
    overflow-y: auto;
  }

  .steps--wrapper {
    padding: var(--header-total) var(--gutter) calc(var(--gutter) + var(--safe-bottom));
  }
  
  .step-kicker {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .step-head-extra {
    margin-top: 32px;
  }

  .step-search {
    width: 350px;
    margin: 0;
  }

  .step-search__input,
  .step-search__suggestion,
  .step-search__empty {
    font-size: 20px;
  }


  .step-form {
    gap: 24px;
  }

  .step-form__field{
    gap: 12px;
  }

  .step-check__text{
    font-size: 14px;
  }

  .rival-picker {
    --rival-item-w: 100%;
    --rival-item-h: 240px;
    --rival-item-title-h: 36px;
    --rival-gap: 100px;
    --rival-step-x: 0px;
    --rival-step-y: calc(var(--rival-item-h) + var(--rival-item-title-h) + var(--rival-gap));
    display: grid;
    grid-template-columns: 1fr 138px;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
  }

  .rival-picker__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 66px;
    padding-right: 60px;
  }

  .view--steps .view__inner.view__inner--capture-step .step-content.step-content--capture {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .view--steps .view__inner.view__inner--capture-step .steps--wrapper--capture,
  .view--steps .view__inner.view__inner--capture-step .selfie-capture,
  .view--steps .view__inner.view__inner--capture-step .selfie-capture__frame,
  .view--steps .view__inner.view__inner--capture-step .selfie-capture__media {
    flex: 1;
    min-height: 0;
    justify-content: center;
    gap: 66px;
  }

  .rival-picker__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 57px;
    color: var(--c-accent);
  }

  .rival-picker__control-icon {
    width: 12px;
    height: 57px;
    transition: transform 0.22s ease;
  }

  .rival-picker__control-icon--down {
    transform: rotate(180deg);
  }

  .rival-picker__control:hover .rival-picker__control-icon,
  .rival-picker__control:focus-visible .rival-picker__control-icon {
    transform: translateY(-4px);
  }

  .rival-picker__control:hover .rival-picker__control-icon--down,
  .rival-picker__control:focus-visible .rival-picker__control-icon--down {
    transform: translateY(4px) rotate(180deg);
  }

  .rival-gallery {
    grid-column: 1;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: 42px 0;
    touch-action: pan-x;
  }

  .rival-gallery__track {
    width: min(100%, 420px);
    transform: translate(-50%, -50%);
  }

  .rival-gallery[data-rival-gallery-direction="1"] .rival-gallery__track {
    transform: translate(-50%, -50%) translateY(calc(0px - var(--rival-step-y)));
  }

  .rival-gallery[data-rival-gallery-direction="-1"] .rival-gallery__track {
    transform: translate(-50%, -50%) translateY(var(--rival-step-y));
  }

  .rival-gallery__item {
    transform: translateY(-50%);
  }

  .rival-gallery__item[data-rival-offset="-2"] {
    transform: translateY(-50%) translateY(calc(0px - var(--rival-step-y) - var(--rival-step-y)));
  }

  .rival-gallery__item[data-rival-offset="-1"] {
    transform: translateY(-50%) translateY(calc(0px - var(--rival-step-y)));
  }

  .rival-gallery__item[data-rival-offset="1"] {
    transform: translateY(-50%) translateY(var(--rival-step-y));
  }

  .rival-gallery__item[data-rival-offset="2"] {
    transform: translateY(-50%) translateY(calc(var(--rival-step-y) + var(--rival-step-y)));
  }

  
  .rival-gallery__flag {
    width: 100%;
  }

  .step-back--desktop {
    position: absolute;
    top: 56px;
    left: 264px;
    display: inline-flex;
  }

  .step-back--mobile {
    display: none;
  }

  .step-back__label {
    font-size: 14px;
  }

  .step-panel {
    align-items: flex-start;
    text-align: left;
  }

  .step-panel__eyebrow,
  .step-form__label {
    font-size: 14px;
  }

  .step-panel__list {
    margin: 0;
  }

  .step-panel__text,
  .step-panel__list-text,
  .step-form__input {
    font-size: 20px;
  }

  .steps--wrapper {
    padding: 122px 106px 72px 0px;
  }

  .step-panel--selfie-intro {
    align-items: flex-start;
    text-align: left;
  }

  .rival-gallery__title {
    font-size: 14px;
  }

  .player-picker {
    --player-item-w: 100%;
    --player-item-h: 0px;
    --player-item-title-h: 56px;
    --player-gap: 22px;
    --player-step-x: 0px;
    --player-step-y: calc(var(--player-item-h) + var(--player-item-title-h) + var(--player-gap));
    display: grid;
    grid-template-columns: 1fr 138px;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: auto;
  }

  .player-picker__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 66px;
    padding-right: 60px;
  }

  .player-picker__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 57px;
    color: var(--c-accent);
  }

  .player-picker__control-icon {
    width: 12px;
    height: 57px;
    transition: transform 0.22s ease;
  }

  .player-picker__control-icon--previous {
    transform: none;
  }

  .player-picker__control-icon--next {
    transform: rotate(180deg);
  }

  .player-picker__control:hover .player-picker__control-icon--previous,
  .player-picker__control:focus-visible .player-picker__control-icon--previous {
    transform: translateY(-4px);
  }

  .player-picker__control:hover .player-picker__control-icon--next,
  .player-picker__control:focus-visible .player-picker__control-icon--next {
    transform: translateY(4px) rotate(180deg);
  }

  .player-gallery {
    grid-column: 1;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: 42px 0;
    touch-action: pan-x;
    min-width: 280px;
  }

  .player-gallery__track {
    width: min(100%, 520px);
    container-type: inline-size;
    transform: translate(-50%, -50%);
  }

  .player-gallery[data-player-gallery-direction="1"] .player-gallery__track {
    transform: translate(-50%, -50%) translateY(calc(0px - var(--player-step-y)));
  }

  .player-gallery[data-player-gallery-direction="-1"] .player-gallery__track {
    transform: translate(-50%, -50%) translateY(var(--player-step-y));
  }

  .player-gallery__item {
    transform: translateY(-50%) translateY(calc(var(--player-offset, 0) * var(--player-step-y)));
  }

  .player-gallery__name {
    font-size: 36px;
    font-size: clamp(24px, 8.5cqi, 36px);
    line-height: 1;
    letter-spacing: 0.0313em;
  }

  .steps--wrapper--capture {
    box-sizing: border-box;
  }

  .selfie-capture {
    padding-bottom: 20px;
  }

  .step-powered {
    justify-content: flex-start;
  }

  .view--steps .view__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0 0 0 var(--sidebar-w); /* sólo el offset del sidebar */
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .view--steps .view__inner.view__inner--capture-step {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    min-height: 0;
  }

  .view--steps .view__head {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    /* overflow: hidden; */
    /* Padding de la columna izquierda */
    padding: 122px 116px 72px 72px;
  }

  .view--steps .step-content {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    min-height: 0;
    padding-bottom: 0;
    overflow: visible;
    margin-top: 1.5rem;
  }

  .view--steps .view__inner.view__inner--data-entry-step {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .view--steps .view__inner.view__inner--data-entry-step .view__head {
    grid-row: 1 / span 2;
  }

  .view--steps .view__inner.view__inner--data-entry-step .step-content.step-content--data-entry {
    grid-row: 1;
  }

  .view--steps .view__inner.view__inner--data-entry-step .steps--wrapper--data-entry {
    padding: 122px 106px 24px 0;
  }

  .view--steps .view__inner.view__inner--data-entry-step .step-form--scroll {
    padding-bottom: 0;
  }

  .view--steps .view__cta {
    position: static;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    background: none;
    padding: 0 3rem 72px 72px;
    align-items: start;
    pointer-events: auto;
  }

  .view--steps .view__inner.view__inner--cta-right .view__cta {
    grid-column: 2;
    padding-left: 0;
  }

  .view--steps .view__inner.view__inner--data-entry-step .view__cta {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .gallery__item-title {

    max-width: unset;
  }

}
