/* Section headers: vertical media, speech bubble and mascot. */
.section-main-hero--with-video {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100svh;
  max-height: none;
}

.section-main-hero--with-video .section-hero-content {
  display: flex;
  flex: 1;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  padding: 2.5rem 1.5rem 3rem;
}

.section-main-hero--with-video .section-hero-grid {
  width: 100%;
  grid-template-columns: minmax(0, 280px) minmax(0, 350px) minmax(0, 240px);
  gap: clamp(2rem, 4.5vw, 4rem);
}

.section-hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
}

.section-hero-volume {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 220px;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 100px;
  color: #fff;
  background: rgb(43 0 74 / 25%);
}

.section-hero-volume__toggle {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.section-hero-volume__toggle svg {
  width: 24px;
  height: 24px;
}

.section-hero-volume input {
  width: 100%;
  min-width: 0;
  margin: 0;
  accent-color: #00e2b6;
  cursor: pointer;
}

.section-hero-volume input:focus-visible {
  outline: 2px solid #00e2b6;
  outline-offset: 4px;
}

.section-hero-volume__value {
  min-width: 3ch;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.section-hero-volume :disabled {
  opacity: 0.45;
  cursor: wait;
}

.section-hero-phone {
  position: relative;
  width: 100%;
  max-width: 260px;
  padding: 8px;
  overflow: hidden;
  border: 2px solid #a4a29d;
  border-radius: 40px;
  background: #242424;
  box-shadow: inset 0 0 0 2px #55534f, 0 12px 28px rgb(43 0 74 / 18%);
}

.section-hero-phone--youtube {
  min-width: 220px;
}

.section-hero-phone::before,
.section-hero-phone::after {
  position: absolute;
  z-index: 1;
  height: 3px;
  background: #777570;
  content: "";
  pointer-events: none;
}

.section-hero-phone::before {
  top: 3px;
  left: calc(50% - 18px);
  width: 36px;
  border-radius: 3px;
}

.section-hero-phone::after {
  right: 3px;
  bottom: 42px;
  width: 3px;
  height: 26px;
  border-radius: 3px;
}

.section-hero-phone__screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 0;
  border-radius: 30px;
  background: #321252;
}

.section-main-hero--with-video .home-hero-card {
  min-height: 0;
  padding: 2.5rem;
  border-radius: 24px;
  overflow-wrap: anywhere;
}

.section-main-hero--with-video .home-hero-card h1 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.section-main-hero--with-video .home-hero-card::before {
  top: 72%;
  right: -40px;
  bottom: auto;
  left: auto;
  border: 20px solid transparent;
  border-left-color: #00e2b6;
}

.section-main-hero--with-video .home-hero-palta .hero-image {
  width: 100%;
  min-width: 0;
  max-width: 240px;
}

@media (max-width: 992px) {
  .section-main-hero--with-video {
    min-height: 0;
  }

  .section-main-hero--with-video .section-hero-content {
    max-width: 760px;
    padding: 2rem 1.5rem 3rem;
  }

  .section-main-hero--with-video .section-hero-grid {
    grid-template-columns: 220px minmax(0, 280px) minmax(0, 150px);
    gap: 1.5rem;
  }

  .section-main-hero--with-video .home-hero-card {
    padding: 1.75rem;
  }

  .section-main-hero--with-video .home-hero-card h1 {
    font-size: 1.5rem;
  }

  .section-main-hero--with-video .home-hero-card p {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .section-main-hero--with-video .home-hero-card::before {
    right: -28px;
    border-width: 14px;
  }
}

@media (max-width: 600px) {
  .section-main-hero--with-video {
    padding-bottom: 0 !important;
  }

  .section-main-hero--with-video .section-hero-content {
    padding: 0.75rem 1.375rem 4rem;
  }

  .section-main-hero--with-video .section-hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 0.75rem 0;
    max-width: 420px;
    margin: 0 auto;
  }

  .section-main-hero--with-video .home-hero-message {
    grid-area: 1 / 1 / 2 / -1;
    align-self: start;
    justify-content: flex-start;
    width: 72%;
  }

  .section-main-hero--with-video .home-hero-palta {
    grid-area: 1 / 2 / 2 / -1;
    align-self: start;
    z-index: 1;
    margin-top: 0.75rem;
    margin-bottom: -1.5rem;
    transform: translateX(0.5rem);
  }

  .section-hero-media {
    grid-area: 2 / 1 / 3 / -1;
  }

  .section-hero-phone {
    width: 52%;
    max-width: 180px;
    padding: 6px;
    border-radius: 28px;
  }

  .section-hero-phone__screen {
    aspect-ratio: 9 / 19;
    border-radius: 20px;
  }

  .section-main-hero--with-video .home-hero-card {
    padding: 1.625rem 1.5rem;
    padding-right: 2rem;
    border-radius: 14px;
  }

  .section-main-hero--with-video .home-hero-card::before {
    display: none;
  }

  .section-main-hero--with-video .home-hero-card h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 5.6vw, 1.4rem);
    line-height: 1;
  }

  .section-main-hero--with-video .home-hero-card p {
    font-size: 0.5625rem;
  }
}

.section-hero-media[hidden] {
  display: none !important;
}

.section-main-hero--with-video .section-hero-scroll {
  display: none !important;
}
