/* Estilos del módulo hero-home (extraídos de module.html para cache). */
  .cambiate-hero-home {
    --hh-max: 1690px;
    --hh-px: max(40px, env(safe-area-inset-left, 0px));
    --hh-pr: max(40px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    position: relative;
    width: min(var(--hh-max), calc(100vw - var(--hh-px) - var(--hh-pr)));
    max-width: var(--hh-max);
    margin-left: auto;
    margin-right: auto;
    padding-bottom: clamp(24px, 4vw, 48px);
  }

  .cambiate-hero-home__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    min-height: 72vh;
    max-height: 800px;
  }

  .cambiate-hero-home__panel {
    min-width: 0;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 48px -20px rgba(255, 93, 44, 0.22);
  }

  .cambiate-hero-home__panel--content {
    background: #ffffff;
  }

  .cambiate-hero-home__panel--media {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(160deg, #ecf1f9 0%, #dfe8f5 55%, #c8d8ef 100%);
  }

  .cambiate-hero-home__content {
    --hh-content-px: clamp(24px, 3.5vw, 48px);
    --hh-content-pt: clamp(56px, 8vw, 112px);
    --hh-content-pb: clamp(28px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    min-height: 100%;
    height: 100%;
    padding: var(--hh-content-pt) var(--hh-content-px) var(--hh-content-pb);
    background: #ffffff;
    color: #002a6d;
    box-sizing: border-box;
  }

  .cambiate-hero-home__content-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    gap: clamp(16px, 2.5vw, 28px);
  }

  .cambiate-hero-home__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid #ecf1f9;
    background: linear-gradient(45deg, #ffffff 0%, #f3f5f9 100%);
    box-shadow: 0 0 24px -16px rgba(255, 102, 161, 0.45);
    text-decoration: none;
    font-family: Carmensans, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .cambiate-hero-home__pill:hover,
  .cambiate-hero-home__pill:focus-visible {
    background: #fff;
    border-color: #dfe8f5;
    box-shadow: 0 0 28px -12px rgba(255, 93, 44, 0.35);
  }

  .cambiate-hero-home__pill:focus-visible {
    outline: 2px solid #ff5d2c;
    outline-offset: 3px;
  }

  .cambiate-hero-home__pill-text {
    min-width: 0;
    overflow-wrap: anywhere;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ff66a1, #ff5d2c);
    -webkit-background-clip: text;
    background-clip: text;
    color: #002a6d;
  }

  .cambiate-hero-home__pill .font-awesome-icon[data-icon]::before {
    font-family: "Font Awesome 6 Pro Solid 900", Arial, sans-serif;
    font-size: 12px;
    color: #ff5d2c;
  }

  .cambiate-hero-home__title {
    margin: 0;
    width: 100%;
    text-align: left;
    font-family: var(--cambiate-hero-title-font-family);
    font-size: var(--cambiate-hero-title-font-size);
    font-weight: var(--cambiate-hero-title-font-weight);
    line-height: var(--cambiate-hero-title-line-height);
    letter-spacing: var(--cambiate-hero-title-letter-spacing);
    color: var(--cambiate-hero-title-color);
  }

  .cambiate-hero-home__title > :first-child { margin-top: 0; }
  .cambiate-hero-home__title > :last-child { margin-bottom: 0; }

  .cambiate-hero-home__title p,
  .cambiate-hero-home__title div {
    margin: 0;
    font: inherit;
    color: inherit;
  }

  .cambiate-hero-home__title strong,
  .cambiate-hero-home__title b {
    font-weight: inherit;
  }

  .cambiate-hero-home__title-highlight {
    display: inline;
    font-family: inherit;
    font-weight: inherit;
    -webkit-text-fill-color: transparent;
    background-image: radial-gradient(circle at 20% 50%, #ff66a1, #ffb10f);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .cambiate-hero-home__desc {
    margin: 0;
    max-width: 36em;
    color: #4a5568;
    font-family: Roboto, sans-serif;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 400;
    line-height: 1.55;
  }

  .cambiate-hero-home__desc > :first-child { margin-top: 0; }
  .cambiate-hero-home__desc > :last-child { margin-bottom: 0; }

  .cambiate-hero-home__cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: clamp(8px, 1.5vw, 16px);
    margin-top: 4px;
    flex-shrink: 0;
  }

  .cambiate-hero-home__cta-wrap .menu-link.navbar-primary,
  .cambiate-hero-home__cta-wrap .menu-link.get-in-touch {
    flex: 0 1 auto;
  }

  .cambiate-hero-home__cta-wrap .menu-link.get-in-touch:focus-visible {
    outline: 2px solid #ff5d2c;
    outline-offset: 3px;
  }

  .cambiate-hero-home__logo-strip {
    align-self: stretch;
    flex-shrink: 0;
    width: calc(100% + (2 * var(--hh-content-px)));
    margin-left: calc(-1 * var(--hh-content-px));
    margin-right: calc(-1 * var(--hh-content-px));
    padding-top: clamp(16px, 2.5vw, 24px);
    flex-shrink: 0;
    overflow: hidden;
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
  }

  .cambiate-hero-home__logo-strip-viewport {
    overflow: hidden;
    width: 100%;
  }

  .cambiate-hero-home__logo-strip-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    gap: clamp(44px, 6.4vw, 72px);
    will-change: transform;
  }

  .cambiate-hero-home.hh-logo-strip-static .cambiate-hero-home__logo-strip-track {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(32px, 5vw, 64px);
  }

  .cambiate-hero-home__logo-strip-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 0;
  }

  .cambiate-hero-home__logo-strip-img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    object-position: center;
  }

  .cambiate-hero-home.hh-logo-grayscale-idle .cambiate-hero-home__logo-strip-img {
    opacity: 0.8;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: opacity 0.4s ease, filter 0.4s ease;
  }

  .cambiate-hero-home.hh-logo-grayscale-idle .cambiate-hero-home__logo-strip-item:hover .cambiate-hero-home__logo-strip-img,
  .cambiate-hero-home.hh-logo-grayscale-idle .cambiate-hero-home__logo-strip-item:focus-within .cambiate-hero-home__logo-strip-img {
    opacity: 1;
    filter: none;
    -webkit-filter: none;
  }

  /* Columna media — patrón Stories: marco (gutter) → progreso → viewport → slides */
  .cambiate-hero-home__story-stage {
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0;
  }

  .cambiate-hero-home__story-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--hh-slide-inset-y) var(--hh-slide-inset-x) var(--hh-progress-pad-below);
    box-sizing: border-box;
    pointer-events: auto;
  }

  .cambiate-hero-home__story-viewport {
    --hh-slide-inset-y: 24px;
    --hh-slide-inset-x: 32px;
    --hh-slide-inset-bottom: 40px;
    --hh-progress-pad-below: calc(var(--hh-slide-inset-y) / 2);
    --hh-progress-block-height: 0px;
    --hh-brand-gap: 2px;
    --hh-brand-mark-size: 40px;
    --hh-brand-stroke: rgba(255, 255, 255, 0.22);
    --hh-brand-chrome-shadow: 0 0 16px -12px rgba(255, 102, 161, 0.45);
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    background: #dfe8f5;
    container-type: inline-size;
  }

  /* Altura del bloque Stories hasta el badge (padding sup. + pista + táctil + padding inf.) */
  .cambiate-hero-home__story-viewport--has-progress {
    --hh-progress-block-height: calc(var(--hh-slide-inset-y) + 13px + var(--hh-progress-pad-below));
  }

  .cambiate-hero-home__radio {
    position: fixed;
    left: -100vw;
    opacity: 0;
    pointer-events: none;
  }

  .cambiate-hero-home__story-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .cambiate-hero-home__slide {
    grid-area: 1 / 1;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    pointer-events: none;
  }

  .cambiate-hero-home__slide-media-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .cambiate-hero-home__slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
  }

  .cambiate-hero-home__slide-poster {
    z-index: 1;
  }

  .cambiate-hero-home__slide-video {
    z-index: 0;
  }

  @media (max-width: 767px) {
    .cambiate-hero-home__slide-video {
      display: none !important;
    }
  }

  @media (min-width: 768px) {
    .cambiate-hero-home__slide--video-ready .cambiate-hero-home__slide-poster {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .cambiate-hero-home__slide--video-ready .cambiate-hero-home__slide-video {
      z-index: 2;
    }
  }

  .cambiate-hero-home__slide-video-open {
    --hh-play-size: clamp(64px, 22vw, 120px);
    --hh-play-icon: calc(var(--hh-play-size) * 7 / 15);
    --hh-play-glyph: calc(var(--hh-play-size) * 23 / 60);
    --hh-play-nudge: calc(var(--hh-play-size) / 30);
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 31;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    width: var(--hh-play-size);
    height: var(--hh-play-size);
    max-width: 120px;
    max-height: 120px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: visible;
    perspective: calc(var(--hh-play-size) * 4.33);
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    -webkit-appearance: none;
    appearance: none;
  }

  @supports (width: 1cqi) {
    .cambiate-hero-home__slide-video-open {
      --hh-play-size: clamp(64px, 22cqi, 120px);
    }
  }

  .cambiate-hero-home__slide-video-open:focus-visible {
    outline: none;
  }

  .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play {
    outline: 2px solid #ff5d2c;
    outline-offset: 4px;
  }

  .cambiate-hero-home__slide-video-play {
    --hh-play-ring: max(2px, calc(var(--hh-play-size) * 0.025));
    position: relative;
    width: 100%;
    height: 100%;
    padding: var(--hh-play-ring);
    box-sizing: border-box;
    border-radius: 50%;
    display: grid;
    place-items: center;
    pointer-events: none;
    overflow: visible;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.34) 28%,
      rgba(255, 255, 255, 0.08) 52%,
      rgba(255, 255, 255, 0.12) 72%,
      rgba(255, 255, 255, 0.62) 100%
    );
    box-shadow:
      0 6px 32px rgba(0, 0, 0, 0.16),
      inset 0 1px 1px rgba(255, 255, 255, 0.45);
    transform-style: preserve-3d;
    transition:
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.35s ease,
      box-shadow 0.42s ease;
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    will-change: transform;
  }

  .cambiate-hero-home__slide-video-play::before {
    content: "";
    position: absolute;
    inset: var(--hh-play-ring);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    transition: opacity 0.32s ease;
    z-index: 0;
  }

  .cambiate-hero-home__slide-video-play::after {
    content: "";
    position: absolute;
    inset: var(--hh-play-ring);
    border-radius: 50%;
    background-image: linear-gradient(90deg, #ff66a1, #ff5d2c 80%, #ffb10f);
    opacity: 0;
    transition: opacity 0.32s ease;
    z-index: 1;
  }

  .cambiate-hero-home__slide-video-play .font-awesome-icon-default[data-icon] {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: var(--hh-play-icon);
    height: var(--hh-play-icon);
    min-width: var(--hh-play-icon);
    max-width: none;
    flex: none;
    margin: 0;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  .cambiate-hero-home__slide-video-play .font-awesome-icon-default[data-icon]::before {
    content: attr(data-icon);
    font-family: "Font Awesome 6 Pro Solid 900", Arial, sans-serif;
    font-size: var(--hh-play-glyph);
    line-height: 1;
    width: auto;
    height: auto;
    min-width: 0;
    color: #fff;
    display: block;
    transform: translateX(var(--hh-play-nudge));
    transition: color 0.32s ease;
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "liga" 1, "clig" 1;
    white-space: nowrap;
  }

  .cambiate-hero-home__slide-video-open:hover .cambiate-hero-home__slide-video-play,
  .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play {
    transform: rotateX(8deg) rotateY(-12deg) scale(1.06);
    background: linear-gradient(
      145deg,
      #ffc2d8 0%,
      #ff66a1 22%,
      #ff5d2c 58%,
      #ff7a3d 78%,
      #ffb10f 100%
    );
    box-shadow:
      0 14px 44px rgba(0, 0, 0, 0.22),
      0 8px 36px rgba(255, 93, 44, 0.38),
      inset 0 2px 2px rgba(255, 255, 255, 0.35);
  }

  .cambiate-hero-home__slide-video-open:active .cambiate-hero-home__slide-video-play {
    transform: rotateX(4deg) rotateY(-6deg) scale(0.94);
    transition-duration: 0.12s;
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.2),
      0 4px 18px rgba(255, 93, 44, 0.28),
      inset 0 1px 1px rgba(255, 255, 255, 0.22);
  }

  .cambiate-hero-home__slide-video-open:hover .cambiate-hero-home__slide-video-play::before,
  .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play::before {
    opacity: 0;
  }

  .cambiate-hero-home__slide-video-open:hover .cambiate-hero-home__slide-video-play::after,
  .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play::after {
    opacity: 1;
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cambiate-hero-home__slide-video-play::before {
      background: rgba(255, 255, 255, 0.42);
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }
  }

  .cambiate-hero-home__slide-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #dfe8f5 0%, #b8c9e8 50%, #ecf1f9 100%);
  }

  .cambiate-hero-home__brand {
    position: absolute;
    top: calc(var(--hh-progress-block-height) + var(--hh-brand-gap));
    left: var(--hh-slide-inset-x);
    right: var(--hh-slide-inset-x);
    bottom: auto;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - (var(--hh-slide-inset-x) * 2));
    pointer-events: none;
  }

  .cambiate-hero-home__brand-mark,
  .cambiate-hero-home__brand-tag {
    border: 1px solid var(--hh-brand-stroke);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--hh-brand-chrome-shadow);
  }

  .cambiate-hero-home__brand-mark {
    flex: 0 0 auto;
    width: var(--hh-brand-mark-size);
    height: var(--hh-brand-mark-size);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
  }

  .cambiate-hero-home__brand-mark-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
    box-sizing: border-box;
  }

  .cambiate-hero-home__brand-tag {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08));
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Scrim superior/inferior: blur + tinte en capas (solo con contenido en esa zona) */
  .cambiate-hero-home__slide-scrim {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
  }

  .cambiate-hero-home__slide-scrim--top {
    top: 0;
    height: max(
      260px,
      calc(var(--hh-progress-block-height) + var(--hh-brand-mark-size) + 148px)
    );
  }

  .cambiate-hero-home__slide-scrim--bottom {
    bottom: 0;
    height: clamp(208px, 54%, 400px);
  }

  .cambiate-hero-home__slide-scrim--bottom-video {
    height: clamp(260px, 62%, 480px);
  }

  .cambiate-hero-home__slide-scrim-blur {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    -webkit-backdrop-filter: blur(32px) saturate(118%);
    backdrop-filter: blur(32px) saturate(118%);
  }

  .cambiate-hero-home__slide {
    --hh-top-scrim-blur: 56px;
  }

  .cambiate-hero-home__slide--is-image {
    --hh-top-scrim-blur: 16px;
  }

  .cambiate-hero-home__slide-scrim--top .cambiate-hero-home__slide-scrim-blur {
    -webkit-backdrop-filter: blur(var(--hh-top-scrim-blur)) saturate(128%);
    backdrop-filter: blur(var(--hh-top-scrim-blur)) saturate(128%);
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.9) 62%,
      rgba(0, 0, 0, 0.55) 82%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.9) 62%,
      rgba(0, 0, 0, 0.55) 82%,
      transparent 100%
    );
  }

  .cambiate-hero-home__slide-scrim--bottom-video .cambiate-hero-home__slide-scrim-blur {
    -webkit-backdrop-filter: blur(64px) saturate(130%);
    backdrop-filter: blur(64px) saturate(130%);
  }

  .cambiate-hero-home__slide-scrim--bottom .cambiate-hero-home__slide-scrim-blur {
    -webkit-mask-image: linear-gradient(
      to top,
      #000 0%,
      #000 28%,
      rgba(0, 0, 0, 0.85) 52%,
      rgba(0, 0, 0, 0.4) 76%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to top,
      #000 0%,
      #000 28%,
      rgba(0, 0, 0, 0.85) 52%,
      rgba(0, 0, 0, 0.4) 76%,
      transparent 100%
    );
  }

  .cambiate-hero-home__slide-scrim--bottom-video .cambiate-hero-home__slide-scrim-blur {
    -webkit-mask-image: linear-gradient(
      to top,
      #000 0%,
      #000 38%,
      rgba(0, 0, 0, 0.92) 58%,
      rgba(0, 0, 0, 0.62) 80%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to top,
      #000 0%,
      #000 38%,
      rgba(0, 0, 0, 0.92) 58%,
      rgba(0, 0, 0, 0.62) 80%,
      transparent 100%
    );
  }

  .cambiate-hero-home__slide-scrim-tint {
    position: absolute;
    inset: 0;
    border-radius: inherit;
  }

  .cambiate-hero-home__slide-scrim--top .cambiate-hero-home__slide-scrim-tint {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.78) 22%,
      rgba(0, 0, 0, 0.56) 44%,
      rgba(0, 0, 0, 0.36) 64%,
      rgba(0, 0, 0, 0.16) 82%,
      rgba(0, 0, 0, 0.05) 94%,
      rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      rgba(0, 0, 0, 0.96) 48%,
      rgba(0, 0, 0, 0.68) 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      rgba(0, 0, 0, 0.96) 48%,
      rgba(0, 0, 0, 0.68) 78%,
      transparent 100%
    );
  }

  .cambiate-hero-home__slide-scrim--bottom-video .cambiate-hero-home__slide-scrim-tint {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.9) 18%,
      rgba(0, 0, 0, 0.8) 36%,
      rgba(0, 0, 0, 0.64) 54%,
      rgba(0, 0, 0, 0.44) 72%,
      rgba(0, 0, 0, 0.2) 88%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .cambiate-hero-home__slide-scrim--bottom .cambiate-hero-home__slide-scrim-tint {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.88) 16%,
      rgba(0, 0, 0, 0.76) 34%,
      rgba(0, 0, 0, 0.58) 52%,
      rgba(0, 0, 0, 0.38) 68%,
      rgba(0, 0, 0, 0.18) 82%,
      rgba(0, 0, 0, 0.05) 94%,
      rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to top,
      #000 0%,
      rgba(0, 0, 0, 0.94) 32%,
      rgba(0, 0, 0, 0.58) 62%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to top,
      #000 0%,
      rgba(0, 0, 0, 0.94) 32%,
      rgba(0, 0, 0, 0.58) 62%,
      transparent 100%
    );
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cambiate-hero-home__slide-scrim-blur {
      display: none;
    }

    .cambiate-hero-home__slide-scrim--top .cambiate-hero-home__slide-scrim-tint {
      background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.76) 28%,
        rgba(0, 0, 0, 0.5) 54%,
        rgba(0, 0, 0, 0.22) 80%,
        rgba(0, 0, 0, 0) 100%
      );
    }

    .cambiate-hero-home__slide-scrim--bottom-video .cambiate-hero-home__slide-scrim-tint {
      background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0.68) 58%,
        rgba(0, 0, 0, 0.26) 84%,
        rgba(0, 0, 0, 0) 100%
      );
    }

    .cambiate-hero-home__slide-scrim--bottom .cambiate-hero-home__slide-scrim-tint {
      background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.84) 32%,
        rgba(0, 0, 0, 0.54) 58%,
        rgba(0, 0, 0, 0.16) 84%,
        rgba(0, 0, 0, 0) 100%
      );
    }
  }

  .cambiate-hero-home__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: var(--hh-slide-inset-x) var(--hh-slide-inset-x) var(--hh-slide-inset-bottom);
    background: none;
    pointer-events: none;
  }

  .cambiate-hero-home__stat {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 var(--hh-slide-inset-x);
  }

  .cambiate-hero-home__stat:first-child {
    padding-left: 0;
  }

  .cambiate-hero-home__stat-value {
    margin: 0;
    font-family: Carmensans, Arial, sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
  }

  .cambiate-hero-home__stat-label {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
    overflow-wrap: anywhere;
  }

  .cambiate-hero-home__stat-divider {
    width: 1px;
    flex-shrink: 0;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.2);
    margin: 4px 0;
  }

  .cambiate-hero-home__story-seg {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 8px 0;
    margin: -8px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .cambiate-hero-home__story-track {
    display: block;
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease;
  }

  .cambiate-hero-home__story-seg:hover .cambiate-hero-home__story-track {
    background: rgba(255, 255, 255, 0.48);
  }

  .cambiate-hero-home__story-fill {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transform-origin: left center;
    will-change: width;
  }

  @keyframes hh-story-progress {
    from { width: 0%; }
    to { width: 100%; }
  }

  /* Móvil: scaleX en capa compuesta (evita reflow por width cada frame) */
  .cambiate-hero-home.hh-stories-js--mobile .cambiate-hero-home__story-fill {
    width: 100%;
    transform: scaleX(0);
    will-change: transform;
  }

  /* Progreso animado (module.js); sin JS se usa el fallback :checked más abajo */
  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__story-fill {
    width: 0%;
    animation: none;
  }

  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__story-seg.is-done .cambiate-hero-home__story-fill {
    width: 100%;
  }

  .cambiate-hero-home.hh-stories-js.hh-stories-js--mobile .cambiate-hero-home__story-seg.is-done .cambiate-hero-home__story-fill {
    transform: scaleX(1);
  }

  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
    animation: hh-story-progress var(--hh-story-ms, 5000ms) linear forwards;
  }

  .cambiate-hero-home.hh-stories-js.hh-stories-js--mobile .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
    animation: none;
  }

  /* Stories JS: visibilidad e interacción gobernadas por aria-hidden (module.js) */
  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__slide {
    transition: none;
  }

  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__slide[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__slide[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .cambiate-hero-home.hh-stories-js .cambiate-hero-home__slide[aria-hidden="true"] .cambiate-hero-home__slide-video-open {
    visibility: hidden;
  }

  .cambiate-hero-home.hh-video-modal-open .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
    animation-play-state: paused;
  }

  /* Pausa total solo con pestaña oculta (module.js); hover/focus ralentizan vía playbackRate */
  .cambiate-hero-home.hh-stories-js.hh-stories-js--paused .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
    animation-play-state: paused;
  }

  .cambiate-hero-home.hh-stories-js.hh-stories-js--reduced .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
    width: 100%;
    animation: none;
  }

  .cambiate-hero-home.hh-stories-js.hh-stories-js--mobile.hh-stories-js--reduced .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
    transform: scaleX(1);
  }

  .cambiate-hero-home__story-seg:focus-visible {
    outline: none;
  }

  .cambiate-hero-home__story-seg:focus-visible .cambiate-hero-home__story-track {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
  }

  @media screen and (max-width: 991px) {
    .cambiate-hero-home__layout {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 20px;
      min-height: 0;
      max-height: none;
    }

    .cambiate-hero-home__panel {
      min-height: 0;
      max-height: none;
    }

    .cambiate-hero-home__panel--content {
      order: 1;
    }

    .cambiate-hero-home__panel--media {
      order: 2;
      width: 100%;
      aspect-ratio: 1 / 1;
      min-height: 0;
    }

    .cambiate-hero-home__story-stage {
      flex: 1 1 auto;
      min-height: 0;
      height: 100%;
    }

    .cambiate-hero-home__content {
      --hh-content-px: 24px;
      --hh-content-pt: 64px;
      --hh-content-pb: 28px;
      min-height: 0;
      height: auto;
      padding: var(--hh-content-pt) var(--hh-content-px) var(--hh-content-pb);
    }

    .cambiate-hero-home__content:has(.cambiate-hero-home__logo-strip) {
      --hh-content-pb: 0;
    }

    .cambiate-hero-home__logo-strip {
      margin-top: 48px;
      margin-bottom: 48px;
      padding-top: 0;
    }

    .cambiate-hero-home__story-viewport {
      flex: 1 1 auto;
      min-height: 0;
    }
  }

  @media screen and (max-width: 767px) {
    .cambiate-hero-home {
      --hh-px: max(16px, env(safe-area-inset-left, 0px));
      --hh-pr: max(16px, env(safe-area-inset-right, 0px));
    }

    .cambiate-hero-home__panel--media {
      aspect-ratio: 2 / 3;
    }

    .cambiate-hero-home__story-viewport {
      --hh-slide-inset-y: 20px;
      --hh-slide-inset-x: 24px;
      --hh-slide-inset-bottom: 48px;
      --hh-brand-gap: 1px;
      --hh-brand-mark-size: 36px;
    }

    .cambiate-hero-home__slide-video-open {
      --hh-play-size: clamp(56px, 20vw, 96px);
    }

    .cambiate-hero-home__slide:has(.cambiate-hero-home__overlay) .cambiate-hero-home__slide-video-open {
      top: 38%;
    }

    @supports (width: 1cqi) {
      .cambiate-hero-home__slide-video-open {
        --hh-play-size: clamp(56px, 20cqi, 96px);
      }
    }

    .cambiate-hero-home__slide-video-play::before {
      -webkit-backdrop-filter: blur(14px) saturate(150%);
      backdrop-filter: blur(14px) saturate(150%);
    }

    .cambiate-hero-home__story-progress {
      gap: 4px;
    }

    .cambiate-hero-home__slide-scrim--bottom {
      height: clamp(200px, 54%, 400px);
    }

    .cambiate-hero-home__slide-scrim--bottom-video {
      height: clamp(240px, 62%, 460px);
    }

    .cambiate-hero-home__overlay {
      flex-direction: column;
      gap: 24px;
    }

    .cambiate-hero-home__story-track {
      height: 4px;
    }

    .cambiate-hero-home__stat {
      padding: 0;
    }

    .cambiate-hero-home__stat-divider {
      width: 100%;
      height: 1px;
      margin: 0;
    }

    .cambiate-hero-home__cta-wrap {
      width: 100%;
      flex-direction: column;
    }

    .cambiate-hero-home__cta-wrap .menu-link.navbar-primary,
    .cambiate-hero-home__cta-wrap .menu-link.get-in-touch {
      width: 100%;
      justify-content: center;
    }

    /* Un solo botón play: sin preview inline ni controles nativos iOS */
    .cambiate-hero-home__slide-media {
      pointer-events: none;
    }

    .cambiate-hero-home__slide-media::-webkit-media-controls,
    .cambiate-hero-home__slide-media::-webkit-media-controls-start-playback-button,
    .cambiate-hero-home__slide-media::-webkit-media-controls-overlay-play-button {
      display: none !important;
      -webkit-appearance: none;
      opacity: 0;
      pointer-events: none;
    }

    .cambiate-hero-home__slide-video-open {
      perspective: none;
      transform: translate(-50%, -50%);
      transform-style: flat;
    }

    .cambiate-hero-home__slide-video-play {
      transform: none !important;
      transform-style: flat;
      will-change: auto;
    }

    .cambiate-hero-home__slide-video-open:hover .cambiate-hero-home__slide-video-play,
    .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play,
    .cambiate-hero-home__slide-video-open:active .cambiate-hero-home__slide-video-play {
      transform: none !important;
    }
  }

  @media screen and (max-width: 479px) {
    .cambiate-hero-home__slide-video-open {
      --hh-play-size: clamp(48px, 18vw, 80px);
    }

    @supports (width: 1cqi) {
      .cambiate-hero-home__slide-video-open {
        --hh-play-size: clamp(48px, 18cqi, 80px);
      }
    }

    .cambiate-hero-home__slide-video-open:hover .cambiate-hero-home__slide-video-play,
    .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play {
      transform: rotateX(6deg) rotateY(-8deg) scale(1.04);
    }
  }

  /* FOUC desktop: ocultar paneles hasta animación GSAP */
  @media (min-width: 768px) {
    .cambiate-hero-home.hh-entrance-pending:not(.hh-entrance-done):not(.hh-entrance-active) .cambiate-hero-home__panel--content,
    .cambiate-hero-home.hh-entrance-pending:not(.hh-entrance-done):not(.hh-entrance-active) .cambiate-hero-home__panel--media {
      opacity: 0;
      visibility: hidden;
    }
  }

  /* Entrada: GSAP controla opacidad; sin crossfade CSS en slides durante la secuencia */
  .cambiate-hero-home.hh-entrance-active .cambiate-hero-home__slide {
    transition: none !important;
  }

  .cambiate-hero-home.hh-entrance-active .cambiate-hero-home__story-fill {
    animation: none !important;
    width: 0% !important;
  }

  .cambiate-hero-home.hh-entrance-active.hh-stories-js--mobile .cambiate-hero-home__story-fill {
    transform: scaleX(0) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .cambiate-hero-home.hh-entrance-pending:not(.hh-entrance-done):not(.hh-entrance-active) .cambiate-hero-home__panel--content,
    .cambiate-hero-home.hh-entrance-pending:not(.hh-entrance-done):not(.hh-entrance-active) .cambiate-hero-home__panel--media {
      opacity: 1;
      visibility: visible;
    }

    .cambiate-hero-home__slide {
      transition: none;
    }
    .cambiate-hero-home.hh-stories-js .cambiate-hero-home__story-seg.is-current .cambiate-hero-home__story-fill {
      width: 100%;
      animation: none;
    }

    .cambiate-hero-home__slide-video-play {
      will-change: auto;
      transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.15s ease;
    }

    .cambiate-hero-home__slide-video-open:hover .cambiate-hero-home__slide-video-play,
    .cambiate-hero-home__slide-video-open:focus-visible .cambiate-hero-home__slide-video-play {
      transform: scale(1.04);
    }

    .cambiate-hero-home__slide-video-open:active .cambiate-hero-home__slide-video-play {
      transform: scale(0.97);
    }

  }
