.hero:not(.cinema-active) .hero-actions .button {
  transition: transform .25s;
}

.hero:not(.cinema-active) .hero-actions .hero-cta {
  background: var(--ink-blue);
  color: var(--paper);
}

.hero:not(.cinema-active) .hero-actions .hero-cta:is(:hover, :focus-visible) {
  background: var(--navy);
}

/* The hero actions appear over time once the second scene reaches its buttons. */
.hero:not(.cinema-active) .hero-actions .button,
.cinema-active .hero-end-actions:not([data-awaiting]) .button {
  animation: method-action-enter 1.2s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes method-action-enter {
  from { opacity: 0; translate: 0 .75rem; }
  to { opacity: 1; translate: 0 0; }
}

body.motion-paused .hero .hero-actions .button,
.hero[data-skip-entrance] .hero-actions .button,
.hero .hero-actions .button:focus-visible {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body .hero .hero-actions .button { animation: none; }
}

.v4-examples-heading {
  margin-bottom: clamp(1.5rem, 4vw, 3.5rem);
}

.v4-example-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.v4-example-switch button {
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid #ffffff55;
  border-radius: 100px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: .95rem;
}

.v4-example-switch button[aria-pressed="true"] {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--navy);
}

.v2-example-copy h3 {
  max-width: 23ch;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
}

.v2-appointment-time .v4-demo-main {
  font: inherit;
  color: inherit;
}

.v2-demo-actions button[hidden],
#demo-main-unit[hidden] {
  display: none;
}

.v2-method {
  border-top: 0;
  padding-top: 0;
}

.v2-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v4-method-close {
  max-width: 48rem;
  margin: clamp(1.7rem, 3.5vw, 3.5rem) 0 0;
  padding: 1.15rem 0 0 1.2rem;
  border-left: 2px solid var(--blue);
  color: var(--navy);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .v2-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .v2-steps .v2-step {
    display: flex;
    grid-column: auto;
    padding: 1rem .9rem 0;
    border-right: 1px solid var(--line);
  }

  .v2-steps .v2-step:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .v2-steps .v2-step:nth-child(2n + 1) {
    padding-left: 0;
  }

  .v2-steps .v2-step .v2-step-art {
    margin: 1.1rem 0;
    height: clamp(100px, 26vw, 170px);
  }

  .v2-steps .v2-step h3 {
    min-height: 2.45em;
    align-self: stretch;
    margin-bottom: .7rem;
  }

  .v2-steps .v2-step .v3-phase-open {
    margin-top: auto;
  }
}

@media print {
  .hero .hero-actions .button { animation: none; }
  .v4-example-switch { display: none; }
  .v2-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .v2-example-copy h3 {
    grid-row: 1 / 4;
  }
}

@media (max-width: 800px) {
  .v2-steps .v2-step {
    align-items: stretch;
  }
}

.hero-underline {
  background-image: linear-gradient(var(--scene-underline, var(--lime)), var(--scene-underline, var(--lime)));
}

.hero-example-growth {
  --scene-accent: #e1caff;
  --scene-underline: #9eeaff;
}

.hero-example-operations {
  --scene-accent: #bdf6d5;
  --scene-underline: #f9dcff;
}

.cinema-active .hero-example .hero-description strong {
  color: var(--scene-accent, #a4dbff);
}

body .hero.cinema-active .hero-moment-title h1 {
  font-size: clamp(3.2rem, 9vw, 8.2rem);
}

.cinema-active .hero-moment-title h1 {
  background: #f7f8f2ee;
  color: var(--navy);
  padding: .18em .38em .23em;
  border-radius: .22em;
  box-shadow: 0 .14em .6em #0c123c20;
}

.cinema-active .hero-moment-title h1 strong {
  color: var(--blue);
}

.cinema-active .hero-moment-actions .hero-end-actions {
  margin: 0;
}

.hero-continue {
  display: none;
}

.cinema-active .hero-continue {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  margin: 1.45rem auto 0;
  padding: .48rem .85rem;
  border-radius: 999px;
  background: #0c123cc7;
  color: white;
  font-size: .92rem;
  line-height: 1.35;
}

.hero-continue span {
  font-size: 1.15em;
}

.v2-method-heading > p:last-child {
  max-width: 34rem;
}

.v4-method-close a,
.v6-project-next {
  display: block;
  width: fit-content;
  margin-top: .65rem;
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: .18em;
}

@media (max-width: 520px) {
  body .hero.cinema-active .hero-moment-title h1 {
    font-size: clamp(2.55rem, 9vw, 3.9rem);
  }
}

.cinema-active .hero-discover[hidden] {
  display: none;
}

.cinema-active .hero-discover.is-centered p {
  position: absolute;
  inset: 0;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  height: max-content;
  margin: auto;
  padding: .65rem 1.05rem .65rem .75rem;
  border-radius: 100px;
  background: var(--navy);
  color: var(--paper);
  font-size: clamp(.95rem, 2vw, 1.35rem);
  box-shadow: 0 8px 24px #0c123c35;
  white-space: nowrap;
}

.cinema-active .hero-discover.is-centered {
  inset: 0;
  display: block;
  pointer-events: none;
}

.cinema-active .hero-discover.is-centered .hero-skip {
  position: absolute;
  bottom: max(1.3rem, env(safe-area-inset-bottom));
  right: var(--gutter);
  pointer-events: auto;
}

.hero:not(.cinema-active) .hero-example {
  margin-top: .8rem;
}

.v2-step-number {
  font-size: clamp(1.2rem, 2.35vw, 2.4rem);
}

.v3-phase-dots {
  flex-wrap: wrap;
}

.v3-phase-dots button {
  width: auto;
  min-width: 52px;
  padding-inline: .65rem;
}

/* Illustrative cases */
.v4-example-switch[hidden],
.v6-example-instruction[hidden] {
  display: none;
}

#posibilidades:not(.v6-examples-enhanced) .v2-example-layout {
  display: block;
}

.v6-example-cases article + article {
  margin-top: 2.5rem;
}

.v6-examples-enhanced .v6-example-cases article {
  margin-top: 0;
}

.v6-example-cases .v2-example-copy strong {
  color: #9edbff;
}

.v6-example-cases > .v6-example-instruction {
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--lime);
}

.v6-example-cases > .v6-example-instruction span {
  margin-inline-end: .3rem;
  font-size: 1.15rem;
}

.v2-team-ticket > .v6-demo-team-title {
  font-size: 1.65rem;
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 600;
}

.v6-examples-next {
  margin-top: clamp(2rem, 4vw, 4rem);
}

.v6-examples-next .button {
  color: var(--navy);
  background: var(--lime);
}

@media print {
  .v6-examples-enhanced .v6-example-cases article[hidden] {
    display: block;
    margin-top: 1.5rem;
  }

  .v6-example-cases .v2-example-copy strong {
    color: var(--navy);
  }
}
