.funil-page {
  --funil-orange: #ff6b8a;
  --funil-orange-bright: #ff8fa8;
  --funil-orange-glow: rgba(255, 107, 138, 0.4);
  --funil-bg: #120d11;
  --funil-surface: rgba(28, 21, 25, 0.86);
  --funil-surface-strong: rgba(18, 13, 17, 0.94);
  --funil-border: rgba(255, 176, 196, 0.14);
  --funil-text-muted: rgba(255, 230, 236, 0.58);
  --funil-max: min(980px, 100%);
  --funil-radius: 1.15rem;
  --funil-radius-lg: 1.45rem;
  --funil-footer-h: calc(4.35rem + env(safe-area-inset-bottom, 0px));
}

.funil-page *,
.funil-page *::before,
.funil-page *::after {
  box-sizing: border-box;
}

.funil-body {
  margin: 0;
  height: 100dvh;
  max-height: 100dvh;
  font-family: "Outfit", "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 138, 0.18), transparent 55%),
    radial-gradient(circle at 0% 50%, rgba(232, 93, 117, 0.1), transparent 28%),
    radial-gradient(circle at 100% 50%, rgba(255, 107, 138, 0.08), transparent 28%),
    var(--funil-bg);
  color: #fff;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.funil-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.funil-bg {
  position: absolute;
  bottom: 0;
  top: auto;
  height: min(92dvh, 56rem);
  width: clamp(11rem, 24vw, 21rem);
  opacity: 0.72;
  filter: saturate(1.12) brightness(1.04);
  background: var(--funil-bg);
}

.funil-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.funil-bg--left {
  left: 0;
  mask-image: linear-gradient(to right, #000 62%, transparent 98%);
  -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 98%);
}

.funil-bg--right {
  right: 0;
  mask-image: linear-gradient(to left, #000 62%, transparent 98%);
  -webkit-mask-image: linear-gradient(to left, #000 62%, transparent 98%);
}

.funil-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--funil-max);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem) var(--funil-footer-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.funil-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
  padding: clamp(0.55rem, 1.5vh, 0.85rem) 0 0.25rem;
}

.funil-header__side {
  min-width: 0;
}

.funil-header__logo {
  display: inline-flex;
  justify-self: center;
  text-decoration: none;
  color: inherit;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.funil-header__skip {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 90, 0.35);
  background: rgba(255, 140, 90, 0.08);
  color: #ffb0c4;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.funil-header__skip .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

.funil-header__skip:hover,
.funil-header__skip:focus-visible {
  background: rgba(255, 140, 90, 0.16);
  border-color: rgba(255, 140, 90, 0.55);
  color: #fff;
  outline: none;
}

.funil-header__skip:active {
  transform: scale(0.97);
}

.funil-header__logo:hover,
.funil-header__logo:visited,
.funil-header__logo:active {
  text-decoration: none;
  color: inherit;
}

.funil-header__logo:focus {
  outline: none;
}

.funil-header__logo:focus-visible {
  outline: 2px solid var(--funil-orange);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.funil-header__logo:hover {
  opacity: 1;
}

.funil-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.funil-step-urgency {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin: 0.15rem 0 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
  box-shadow:
    0 0.4rem 1rem rgba(183, 28, 28, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.funil-step-urgency__coin {
  position: relative;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
}

.funil-step-urgency__coin-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.funil-step-urgency__coin-badge {
  position: absolute;
  right: -0.15rem;
  bottom: -0.1rem;
  min-width: 1.15rem;
  padding: 0.08rem 0.22rem;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.25);
}

.funil-step-urgency__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: clamp(0.66rem, 1.7vh, 0.78rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.funil-step-urgency__timer {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.12rem;
}

.funil-step-urgency__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  padding: 0.22rem 0.3rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.funil-step-urgency__sep {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

/* ── Progress (fases estilo Swipey) ── */
.funil-progress {
  flex-shrink: 0;
  padding: 0.1rem 0 0.35rem;
}

.funil-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.funil-phase-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  min-width: 0;
}

.funil-phase-nav:disabled {
  cursor: default;
}

.funil-phase-nav.is-clickable:not(:disabled) {
  cursor: pointer;
}

.funil-phase-nav.is-clickable:not(:disabled):hover .funil-phase__icon,
.funil-phase-nav.is-clickable:not(:disabled):hover .funil-phase__label {
  color: var(--funil-orange-bright);
}

.funil-phase-nav.is-clickable:not(:disabled):focus-visible {
  outline: 2px solid var(--funil-orange);
  outline-offset: 3px;
  border-radius: 0.45rem;
}

.funil-phase-bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.funil-phase-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--funil-orange-bright), var(--funil-orange));
  transition: width 0.35s ease;
}

.funil-phase-bar.is-done span {
  width: 100% !important;
}

.funil-phase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  color: rgba(255, 255, 255, 0.34);
  transition: color 0.25s ease;
}

.funil-phase__icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.funil-phase__label {
  font-size: clamp(0.62rem, 1.6vh, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.funil-phase.is-active {
  color: #fff;
}

.funil-phase.is-active .funil-phase__icon {
  color: var(--funil-orange-bright);
}

.funil-phase.is-done {
  color: rgba(255, 255, 255, 0.72);
}

.funil-phase.is-done .funil-phase__icon {
  color: var(--funil-orange);
}

/* ── Step panel ── */
.funil-step {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(0.45rem, 1vh, 0.65rem) clamp(0.25rem, 1.5vw, 0.55rem);
  border-radius: var(--funil-radius-lg);
  background: rgba(14, 14, 16, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.funil-step__title {
  margin: 0;
  flex-shrink: 0;
  font-size: clamp(1.15rem, 3.2vh, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
}

.funil-step__title span {
  color: var(--funil-orange-bright);
}

.funil-step__subtitle {
  margin: 0.25rem auto 0.3rem;
  flex-shrink: 0;
  color: var(--funil-text-muted);
  text-align: center;
  font-size: clamp(0.72rem, 1.6vh, 0.88rem);
  line-height: 1.3;
  max-width: 36rem;
}

/* ── Carousel (estilo Swipey) ── */
.funil-carousel {
  --funil-card-w: min(54vw, 18rem);
  --funil-card-h: clamp(13rem, calc(100dvh - 13.5rem), 26rem);
  --funil-card-gap: clamp(0.55rem, 2vw, 0.9rem);
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  touch-action: pan-x;
}

.funil-carousel::before,
.funil-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 12vw, 5rem);
  z-index: 2;
  pointer-events: none;
}

.funil-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(14, 14, 16, 0.72), transparent);
}

.funil-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(14, 14, 16, 0.72), transparent);
}

.funil-carousel__track {
  display: flex;
  align-items: center;
  gap: var(--funil-card-gap);
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0.35rem calc(50% - var(--funil-card-w) / 2) 0.25rem;
  scrollbar-width: none;
  cursor: grab;
}

.funil-carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.funil-carousel__track::-webkit-scrollbar {
  display: none;
}

/* ── Cards ── */
.funil-card {
  position: relative;
  flex: 0 0 var(--funil-card-w);
  scroll-snap-align: center;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #101012;
  cursor: pointer;
  padding: 0;
  text-align: left;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: scale(0.86);
  opacity: 0.48;
  filter: saturate(0.75);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    border-color 0.3s ease,
    box-shadow 0.38s ease,
    filter 0.38s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.funil-card.is-centered {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1);
}

.funil-card.is-centered.is-selected {
  border-color: var(--funil-orange);
  box-shadow:
    0 0 0 1px rgba(255, 140, 90, 0.45),
    0 0 32px var(--funil-orange-glow),
    0 18px 40px rgba(0, 0, 0, 0.4);
}

.funil-card:focus-visible {
  outline: 2px solid var(--funil-orange);
  outline-offset: 3px;
}

.funil-card__media {
  position: relative;
  width: 100%;
  height: var(--funil-card-h);
  aspect-ratio: 9 / 14;
  background: #0a0a0c;
  overflow: hidden;
}

.funil-card__media.is-video-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.03) 8%,
    rgba(255, 255, 255, 0.1) 18%,
    rgba(255, 255, 255, 0.03) 33%
  );
  background-size: 200% 100%;
  animation: funil-video-shimmer 1.15s ease-in-out infinite;
}

@keyframes funil-video-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.funil-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.funil-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  background: #0a0a0c;
  pointer-events: none;
}

.funil-card__label {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.42rem 0.55rem;
  border-radius: 0.5rem;
  font-size: clamp(0.68rem, 2vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s;
}

.funil-card.is-centered.is-selected .funil-card__label {
  background: linear-gradient(135deg, var(--funil-orange-bright), var(--funil-orange));
}

.funil-card__check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--funil-orange-bright), var(--funil-orange));
  color: #fff;
  display: none;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.funil-card__check .material-symbols-outlined {
  font-size: 1.05rem;
  font-weight: 700;
}

.funil-card.is-centered.is-selected .funil-card__check {
  display: grid;
}

.funil-carousel__hint {
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* ── Footer ── */
.funil-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 0.55rem clamp(1rem, 3vw, 1.75rem) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(5, 5, 5, 0.98) 50%, rgba(5, 5, 5, 0.75), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.funil-footer__inner {
  width: 100%;
  max-width: var(--funil-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 2vw, 0.75rem);
}

.funil-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: clamp(0.82rem, 1.9vh, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s,
    opacity 0.2s;
}

.funil-nav .material-symbols-outlined {
  font-size: 1.15rem;
  line-height: 1;
}

.funil-nav--back,
.funil-nav--next {
  flex: 1 1 0;
  min-width: 0;
  max-width: 11rem;
  padding: 0.72rem 1rem;
}

.funil-nav--back {
  border: 1.5px solid var(--funil-orange);
  background: transparent;
  color: var(--funil-orange-bright);
}

.funil-nav--back:not(:disabled):hover {
  background: rgba(255, 140, 90, 0.1);
  border-color: var(--funil-orange-bright);
}

.funil-nav--back:disabled {
  opacity: 0.35;
  cursor: default;
}

.funil-nav--shuffle {
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid rgba(255, 140, 90, 0.38);
  border-radius: 999px;
  background: rgba(255, 140, 90, 0.1);
  color: var(--funil-orange-bright);
  box-shadow:
    0 0 0 1px rgba(255, 140, 90, 0.08),
    0 6px 18px rgba(255, 140, 90, 0.18);
}

.funil-dice {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.funil-nav--shuffle:not(:disabled):hover {
  background: rgba(255, 140, 90, 0.18);
  border-color: rgba(255, 149, 51, 0.65);
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 149, 51, 0.15),
    0 8px 22px rgba(255, 140, 90, 0.28);
}

.funil-nav--shuffle:not(:disabled):hover .funil-dice {
  filter: drop-shadow(0 2px 8px rgba(255, 140, 90, 0.45));
}

.funil-nav--shuffle:not(:disabled):active {
  transform: scale(0.96);
}

.funil-nav--shuffle.is-spinning .funil-dice {
  animation: funil-spin 0.55s ease;
}

.funil-nav--next {
  border: 0;
  color: #120a04;
  background: linear-gradient(135deg, var(--funil-orange-bright) 0%, var(--funil-orange) 100%);
  box-shadow: 0 8px 22px var(--funil-orange-glow);
}

.funil-nav--next:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 140, 90, 0.42);
}

.funil-nav--next:not(:disabled):active {
  transform: translateY(0);
}

.funil-nav--next:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}

/* ── Summary (final selections) ── */
body.funil-summary-open {
  overflow: hidden;
}

.funil-summary {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100dvh;
  max-height: 100dvh;
  padding:
    clamp(0.45rem, 1.2vh, 0.75rem)
    clamp(0.55rem, 2vw, 1rem)
    clamp(0.5rem, 1.2vh, 0.75rem);
  overflow: hidden;
  background: var(--funil-bg);
}

.funil-summary__bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.08);
  filter: saturate(1.05) brightness(0.55) blur(18px);
}

.funil-summary__overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 140, 90, 0.22), transparent 52%),
    radial-gradient(circle at 50% 85%, rgba(255, 140, 90, 0.12), transparent 48%),
    linear-gradient(to bottom, rgba(5, 5, 8, 0.72) 0%, rgba(5, 5, 8, 0.88) 100%);
  pointer-events: none;
}

.funil-summary__shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(100%, 56rem);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  margin: 0 auto;
}

.funil-summary__title {
  flex-shrink: 0;
  margin: 0 0 clamp(0.35rem, 1.2vh, 0.75rem);
  text-align: center;
  font-size: clamp(1rem, 3.8vh, 1.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.funil-summary__title span {
  color: var(--funil-orange-bright);
}

.funil-summary__layout {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(0.35rem, 1vh, 0.65rem);
  min-height: 0;
  align-items: stretch;
}

.funil-summary__hero {
  position: relative;
  min-height: 0;
  height: 100%;
  border-radius: calc(var(--funil-radius-lg) + 2px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #111;
}

.funil-summary__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.funil-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(0.22rem, 0.7vh, 0.42rem);
  min-height: 0;
  height: 100%;
}

.funil-summary-card {
  display: flex;
  flex-direction: column;
  gap: clamp(0.12rem, 0.35vh, 0.22rem);
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.funil-summary-card__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: clamp(0.45rem, 1vh, 0.75rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.funil-summary-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.funil-summary-card__label {
  flex-shrink: 0;
  margin: 0;
  padding: 0 0.05rem;
  font-size: clamp(0.52rem, 1.35vh, 0.72rem);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funil-summary__loading {
  flex-shrink: 0;
  width: min(100%, 34rem);
  margin: clamp(0.45rem, 1.2vh, 0.75rem) auto 0;
  padding: clamp(0.55rem, 1.4vh, 0.85rem) clamp(0.75rem, 2vw, 1rem);
  border-radius: var(--funil-radius-lg);
  background: rgba(14, 14, 16, 0.72);
  border: 1px solid rgba(255, 140, 90, 0.22);
  text-align: center;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 1.5rem rgba(255, 140, 90, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.funil-summary__spinner {
  width: clamp(1.85rem, 4.5vh, 2.5rem);
  height: clamp(1.85rem, 4.5vh, 2.5rem);
  margin: 0 auto clamp(0.45rem, 1.1vh, 0.65rem);
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--funil-orange);
  animation: funil-summary-spin 0.75s linear infinite;
}

@keyframes funil-summary-spin {
  to {
    transform: rotate(360deg);
  }
}

.funil-summary__loading-text {
  margin: 0 0 clamp(0.45rem, 1.1vh, 0.65rem);
  min-height: 1.2em;
  font-size: clamp(0.72rem, 1.8vh, 0.92rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.funil-summary__loading-bar {
  height: clamp(0.32rem, 0.8vh, 0.42rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.funil-summary__loading-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--funil-orange-bright), var(--funil-orange));
  transition: width 0.35s ease;
  border-radius: inherit;
}

@media (max-height: 700px) {
  .funil-summary__title {
    margin-bottom: clamp(0.25rem, 0.8vh, 0.45rem);
  }
}

@media (max-height: 560px) {
  .funil-summary__title {
    font-size: clamp(0.88rem, 4.2vh, 1.15rem);
  }

  .funil-summary__loading {
    margin-top: clamp(0.3rem, 0.8vh, 0.5rem);
    padding-block: clamp(0.45rem, 1vh, 0.6rem);
  }
}

@media (max-width: 380px) {
  .funil-summary__layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 0.3rem;
  }
}

.funil-finish {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
}

.funil-finish--video-only {
  display: block;
  place-items: stretch;
}

.funil-finish--video-only .funil-finish__content {
  display: none;
}

.funil-summary.hidden,
.funil-finish.hidden,
.funil-main.hidden,
.funil-footer.hidden,
.funil-shell.hidden,
.funil-scene.hidden {
  display: none;
}

/* ── Finish ── */
.funil-finish__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.funil-finish__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  max-width: min(92vw, 28rem);
}

.funil-finish__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.funil-finish__text {
  margin: 0 0 1.5rem;
  color: #fff;
  line-height: 1.55;
  font-size: clamp(0.92rem, 2.8vw, 1.05rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.funil-finish__cta {
  border: 0;
  border-radius: 999px;
  padding: 1rem 2rem;
  width: min(100%, 20rem);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--funil-orange-bright), var(--funil-orange));
  cursor: pointer;
  box-shadow: 0 12px 32px var(--funil-orange-glow);
  transition: transform 0.15s, box-shadow 0.2s;
}

.funil-finish__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 140, 90, 0.45);
}

.site-brand-logo--funil {
  font-size: clamp(0.95rem, 2.4vh, 1.15rem);
  max-width: min(72vw, 18rem);
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ── Responsive ── */
@media (max-height: 740px) {
  .funil-carousel {
    --funil-card-h: clamp(11rem, calc(100dvh - 14rem), 20rem);
  }

  .funil-phases {
    gap: 0.4rem;
  }

  .funil-step__subtitle {
    margin-bottom: 0.25rem;
  }
}

@media (max-height: 620px) {
  .funil-carousel {
    --funil-card-h: clamp(9.5rem, calc(100dvh - 13rem), 16rem);
  }

  .funil-step__subtitle {
    display: none;
  }

  .funil-phase__label {
    display: none;
  }

  .funil-phase__icon {
    font-size: 1.1rem;
  }
}

@media (min-width: 1100px) {
  .funil-bg {
    opacity: 0.78;
    width: clamp(13rem, 22vw, 24rem);
  }
}

@media (max-width: 900px) {
  .funil-bg {
    width: clamp(8rem, 20vw, 13rem);
    opacity: 0.58;
    height: min(88dvh, 48rem);
  }

  .funil-carousel {
    --funil-card-w: min(52vw, 15rem);
  }
}

@media (max-width: 640px) {
  .funil-shell {
    padding-inline: 0.65rem;
  }

  .funil-step {
    padding: 0.4rem 0 0.25rem;
    border-radius: 1rem;
    background: rgba(14, 14, 16, 0.45);
  }

  .funil-phases {
    gap: 0.35rem;
    padding-inline: 0.15rem;
  }

  .funil-phase__label {
    font-size: 0.58rem;
  }

  .funil-step__title,
  .funil-step__subtitle {
    padding-inline: 0.65rem;
  }

  .funil-carousel {
    --funil-card-w: min(56vw, 13.25rem);
    --funil-card-h: clamp(12rem, calc(100dvh - 13rem), 20rem);
    --funil-card-gap: 0.45rem;
    margin-inline: -0.65rem;
    width: calc(100% + 1.3rem);
  }

  .funil-carousel::before,
  .funil-carousel::after {
    display: none;
  }

  .funil-card:not(.is-centered) {
    transform: scale(0.94);
    opacity: 0.88;
    filter: saturate(0.95);
  }

  .funil-card.is-centered {
    transform: scale(1);
    opacity: 1;
    filter: saturate(1);
  }

  .funil-bg {
    width: clamp(5.5rem, 16vw, 8rem);
    opacity: 0.5;
    height: min(78dvh, 40rem);
  }

  .funil-footer__inner {
    gap: 0.55rem;
  }

  .funil-step-urgency {
    gap: 0.42rem;
    padding: 0.48rem 0.55rem;
  }

  .funil-step-urgency__text {
    font-size: 0.62rem;
  }

  .funil-step-urgency__time {
    min-width: 1.5rem;
    font-size: 0.72rem;
  }

  .funil-nav--back,
  .funil-nav--next {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }

  .funil-nav--shuffle {
    width: 2.65rem;
    height: 2.65rem;
  }

  .funil-dice {
    width: 1.45rem;
    height: 1.45rem;
  }
}

@media (max-width: 380px) {
  .funil-step__title {
    font-size: 1.2rem;
  }

  .funil-phase__label {
    font-size: 0.54rem;
  }

  .funil-carousel {
    --funil-card-w: 54vw;
    --funil-card-h: clamp(11.5rem, calc(100dvh - 12.5rem), 18rem);
  }
}

@media (min-width: 1024px) {
  .funil-carousel {
    --funil-card-w: 18rem;
    --funil-card-h: clamp(15rem, calc(100dvh - 13rem), 28rem);
  }
}
