/* ::-webkit-scrollbar {
  display: none;
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior-y: none;
} */

.hero,
.static-hero {
  position: relative;
  min-height: 100lvh !important;
}

.hero {
  position: sticky !important;
  top: 0;
  overflow-x: hidden;
}

.static-hero {
  margin-top: -100lvh;
  overflow: hidden;
}

.hero__video-wrapper {
  position: fixed;
  pointer-events: none;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
}

.hero__video {
  position: absolute;
  left: 50%;
  width: 103.78svh;
  height: 58.35svh;
}

.hero__slides-wrapper {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.hero__slide-content,
.static-hero__inner {
  padding-top: 6.5rem;
  padding-bottom: 1.5rem;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.paragraph,
.paragraph--mini {
  text-align: center;
  color: #666666;
  margin: 0;
  margin-top: 0.75rem;
}

.paragraph--mini {
  font-size: 0.875rem;
}

.headline,
.headline--mini {
  font-size: 2rem;
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
  margin: 0;
}

.headline--mini {
  font-size: 1.25rem;
}

.dark .paragraph,
.dark .paragraph--mini {
  color: #999999;
}

.dark .headline,
.dark .headline--mini {
  color: white;
}

.app_name {
  width: 100%;
}

.app_version {
  width: 8rem;
  margin-top: -1rem;
  margin-inline: auto;
  display: block;
}

.app_pills {
  display: flex;
  gap: 0.5rem;
  line-height: 0;
  justify-content: center;
}

.app_pill-link svg {
  width: 100%;
}

.static__app .paragraph {
  margin: 0;
  margin-bottom: 0.75rem;
  max-width: 14rem;
  margin-inline: auto;
}

.static-hero,
.advantages {
  background-color: #191919;
  position: relative;
}

.advantages {
  padding-block: 5rem;
}

.advantages__inner > .headline {
  margin-bottom: 2rem;
}

.advantages__grid {
  display: grid;
  gap: 0.75rem;
}

.advantage-card {
  position: relative;
  min-height: 16.25rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #272727;
}

.advantage-card__content {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  max-width: 12rem;
}

.advantage-card__content .headline--mini,
.advantage-card__content .paragraph--mini {
  text-align: start;
}

.advantage-card__content .headline--mini {
  font-size: 1.125rem;
}

.advantage__mobile-background,
.advantage__desktop-background {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.advantage__desktop-background {
  display: none;
}

.advantage-card:nth-child(3) .advantage__mobile-background,
.advantage-card:nth-child(3) .advantage__desktop-background {
  object-position: top;
}

.advantages__contact {
  display: grid;
  margin-top: 5rem;
  text-align: center;
}

.advantages__contact-content {
  display: contents;
}

.advantages__contact-content .headline {
  grid-row: 1;
  margin-bottom: 1.5rem;
}

.advantages__contact-image {
  grid-row: 2;
  width: 13.5rem;
  margin-inline: auto;
}

.advantages__contact-content .paragraph {
  max-width: 22rem;
  margin-inline: auto;
}

.advantages__contact-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.advantages__social,
.advantages__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.125rem;
  border-radius: 0.75rem;
}

.advantages__social {
  flex: 0 0 3.125rem;
  background: white;
}

.advantages__social img,
.advantages__whatsapp img {
  width: 1.5rem;
}

.advantages__whatsapp {
  flex: 1;
  gap: 0.5rem;
  color: white !important;
  background: #39ae41;
}

.advantages__request {
  font-size: 1.25rem;
  display: inline-block;
  margin-top: 1.5rem;
  color: white !important;
  text-decoration: underline;
}

.static-hero .hero__row {
  position: relative;
  z-index: 9;
}

.static__media {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
}

.static__phone,
.static__drop-wrap {
  position: absolute;
}

.static__drop {
  display: block;
  width: 100%;
  animation: drop-float 7s ease-in-out infinite alternate;
  will-change: transform;
}

.static__drop-wrap:nth-child(even) .static__drop {
  animation-name: drop-float-reverse;
  animation-duration: 8s;
}

@keyframes drop-float {
  from {
    transform: translate3d(-0.35rem, 0.5rem, 0) rotate(-1.5deg);
  }
  to {
    transform: translate3d(0.5rem, -0.5rem, 0) rotate(1.5deg);
  }
}

@keyframes drop-float-reverse {
  from {
    transform: translate3d(0.5rem, -0.35rem, 0) rotate(1.5deg);
  }
  to {
    transform: translate3d(-0.5rem, 0.5rem, 0) rotate(-1.5deg);
  }
}

.static__phone {
  width: 23svh;
  margin-top: 12svh;
}

.static__drop-wrap:nth-child(2) {
  width: 23svh;
  left: -2rem;
  top: 31svh;
}

.static__drop-wrap:nth-child(3) {
  width: 18svh;
  right: -1rem;
  top: 27svh;
}

.static__drop-wrap:nth-child(4) {
  width: 16svh;
  left: 1rem;
  bottom: 29svh;
}

.static__drop-wrap:nth-child(5) {
  width: 17svh;
  right: 1rem;
  bottom: 22svh;
}

.static__drop-wrap:nth-child(6) {
  width: 9svh;
  right: -1.5rem;
  bottom: 39svh;
}

@media (min-width: 768px) {
  .app_name {
    height: auto;
  }

  .headline,
  .paragraph {
    text-align: start;
  }

  .app_version {
    margin-inline: unset;
    margin-left: auto;
    margin-top: -3rem;
    width: 16rem;
  }

  .row-app_text {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }

  .row-app_text .paragraph {
    max-width: 17rem;
    font-size: 1.25rem;
    margin: 0;
  }

  .hero__video {
    width: 1228px;
    height: 691px;
  }

  .hero__slide-content:nth-child(2) {
    justify-content: end;
  }

  .row-advant_content .paragraph {
    max-width: 18rem;
  }

  .advantages__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .advantages__contact {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
  }

  .advantages__contact-content {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

  .advantages__contact-image {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 22rem);
  }

  .advantages__contact-content .headline,
  .advantages__contact-content .paragraph {
    text-align: left;
    margin-inline: 0;
  }
}

@media (min-width: 1024px) {
  .static-hero__inner {
    padding: 12.5rem 5rem 4rem;
  }

  .static-hero .headline {
    max-width: 26rem;
    font-size: 4rem;
    font-weight: 500;
  }

  .static__app .paragraph {
    max-width: 18rem;
    margin-inline: 0;
  }

  .static__app .app_pills {
    justify-content: flex-start;
  }

  .static__media {
    left: 40%;
    width: 60%;
  }

  .static__phone {
    width: 22rem;
    margin-top: 0;
  }

  .static__drop-wrap:nth-child(2) {
    width: 17.5rem;
    right: 62%;
    left: auto;
    top: 11%;
  }

  .static__drop-wrap:nth-child(3) {
    width: 12rem;
    right: auto;
    left: 66%;
    top: 5%;
  }

  .static__drop-wrap:nth-child(4) {
    width: 13.5rem;
    left: 5%;
    bottom: 25%;
  }

  .static__drop-wrap:nth-child(5) {
    width: 11.5rem;
    right: auto;
    left: 62%;
    bottom: 22%;
  }

  .static__drop-wrap:nth-child(6) {
    width: 7rem;
    right: auto;
    left: 72%;
    bottom: 40%;
  }

  .hero__video {
    width: 1536px;
    height: 864px;
  }

  .app_version {
    width: 20rem;
  }

  .advantages {
    padding-block: 8rem;
  }

  .advantages__inner > .headline {
    margin-bottom: 3rem;
    text-align: left;
  }

  .advantage-card {
    min-height: 20rem;
    place-content: end;
  }

  .advantages__contact {
    margin-top: 8rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(30rem, 1.2fr);
    gap: 4rem;
  }

  .advantages__contact-content {
    grid-column: 1;
    grid-row: 1;
    max-width: 32rem;
  }

  .advantages__contact-content .headline {
    font-size: 4rem;
    font-weight: 500;
  }

  .advantages__contact-content .paragraph {
    max-width: 29rem;
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .advantages__contact-image {
    grid-column: 2;
    grid-row: 1;
    width: 22rem;
    max-width: none;
  }

  .advantages__contact-buttons {
    max-width: 26rem;
  }

  .advantage__desktop-background {
    display: block;
  }

  .advantage__mobile-background {
    display: none;
  }

  .advantage-card__content {
    max-width: 16rem;
  }

  .advantage-card__content .paragraph--mini br {
    display: none;
  }

  .hero__video {
    top: 30%;
  }
}

/* Layout fixes independent of the original scroll choreography. */
.app_pills {
  min-width: 0;
}
.app_pill-link {
  min-width: 0;
  max-width: 10.6875rem;
}
.app_pill-link svg {
  height: auto;
}
.advantage-card {
  min-width: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .advantages__contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

/* Readable first paint and no-JS/error fallback: later scenes stay below the hero. */
.home:not(.garson-motion-ready) .hero {
  position: relative !important;
}
.home:not(.garson-motion-ready) .hero__slides-wrapper {
  height: auto;
  overflow: visible;
  padding-inline: 0;
}
.home:not(.garson-motion-ready) .hero__slide-content {
  position: relative;
  height: auto;
  min-height: 45svh;
  justify-content: center;
}
.home:not(.garson-motion-ready) .hero__slide-content:first-child {
  height: 100svh;
  justify-content: space-between;
}
.home:not(.garson-motion-ready) .hero__video-wrapper {
  position: absolute;
  top: 0;
  height: 100svh;
  overflow: clip;
}
.home:not(.garson-motion-ready) .hero__video {
  translate: -50% 0;
  background: url("../../frames/hero-phone/frame_001.jpg") center / 100% 100%
    no-repeat;
}
.home:not(.garson-motion-ready) .static-hero {
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .static__drop {
    animation: none;
  }
}

/* Future scenes become visible only when their scroll timeline starts. */
.garson-motion-ready .hero__slide-content:not(:first-child) {
  visibility: hidden;
}
