/**
 * Meta service hero — Figma desktop 1920, mobile 390.
 */

.home-v2 .v2-section--meta-hero,
.v2-section--meta-hero {
  --v2-meta-header-overlap: calc(100vw * 70 / 390);
  position: relative;
  z-index: 1;
  padding: 0;
  margin-top: calc(-1 * var(--v2-meta-header-overlap));
  overflow: hidden;
}

.v2-meta-hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(100svh, calc(100vw * 1080 / 1920));
  min-height: max(100dvh, calc(100vw * 1080 / 1920));
  overflow-x: clip;
}

.v2-meta-hero {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: calc(100vw * 20 / 390);
  min-height: 100%;
  padding-top: calc(var(--v2-meta-header-overlap) + calc(100vw * 24 / 390));
  padding-bottom: calc(100vw * 48 / 390);
  box-sizing: border-box;
}

.v2-meta-hero__body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.v2-meta-hero__title-stage,
.v2-meta-hero__bottom {
  position: relative;
  z-index: 1;
}

.v2-section--meta-hero .v2-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(100vw * 8 / 390);
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-section--meta-hero .v2-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: calc(100vw * 8 / 390);
}

.v2-section--meta-hero .v2-breadcrumbs__link,
.v2-section--meta-hero .v2-breadcrumbs__current {
  font-size: calc(100vw * 14 / 390);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.v2-section--meta-hero .v2-breadcrumbs__link {
  color: rgba(32, 32, 32, 0.3);
}

.v2-section--meta-hero .v2-breadcrumbs__current {
  color: #202020;
}

.v2-section--meta-hero .v2-breadcrumbs__sep {
  display: block;
  width: calc(100vw * 7 / 390);
  height: auto;
  opacity: 1;
  filter: none;
}

.v2-meta-hero__title-stage {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vw * 220 / 390);
}

.v2-meta-hero__title-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(92vw, calc(100vw * 360 / 390));
  aspect-ratio: 1;
  background-image: var(--meta-hero-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: hidden;
}

.v2-meta-hero__title-visual--video {
  background-size: cover;
}

.v2-meta-hero__title-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.v2-meta-hero__title-video::-webkit-media-controls,
.v2-meta-hero__title-video::-webkit-media-controls-start-playback-button,
.v2-meta-hero__title-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

.v2-meta-hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(100vw * 12 / 390);
  width: 100%;
  margin: 0;
  font-size: calc(100vw * 40 / 390);
  font-weight: 500;
  line-height: 1;
}

.v2-meta-hero__title-part {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 46%;
}

.v2-meta-hero__title-part--left {
  text-align: left;
  background: linear-gradient(180deg, #202020 0%, #868686 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.v2-meta-hero__title-line {
  display: inline;
}

.v2-meta-hero__title-line--muted {
  background: linear-gradient(180deg, #868686 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.v2-meta-hero__title-part--right {
  text-align: right;
  background: linear-gradient(180deg, #868686 0%, #202020 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Chrome cannot paint a parent's clipped gradient on transformed split words. */
.v2-meta-hero__title.is-letters-playing .v2-meta-hero__title-part--left .split-chars,
.v2-meta-hero__title.is-letters-revealed .v2-meta-hero__title-part--left .split-chars {
  background: none;
  -webkit-text-fill-color: #4f4f4f;
  color: #4f4f4f;
}

.v2-meta-hero__title.is-letters-playing .v2-meta-hero__title-line--muted .split-chars,
.v2-meta-hero__title.is-letters-revealed .v2-meta-hero__title-line--muted .split-chars {
  -webkit-text-fill-color: #777777;
  color: #777777;
}

.v2-meta-hero__title.is-letters-playing .v2-meta-hero__title-part--right .split-chars,
.v2-meta-hero__title.is-letters-revealed .v2-meta-hero__title-part--right .split-chars {
  background: none;
  -webkit-text-fill-color: #4f4f4f;
  color: #4f4f4f;
}

.v2-section--meta-hero .v2-meta-hero__title[data-animation='letters'] .split-line {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.v2-section--meta-hero [data-animation='letters'] .v2-meta-hero__title-part--right.split-line {
  margin-left: auto;
  text-align: right;
}

.v2-section--meta-hero [data-animation='letters'] .v2-meta-hero__title-part--right .split-line {
  margin-left: auto;
  text-align: right;
}

.v2-meta-hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: calc(100vw * 32 / 390);
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

.v2-meta-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(100vw * 24 / 390);
  width: 100%;
}

.v2-meta-hero__lead {
  margin: 0;
  max-width: 100%;
  font-size: calc(100vw * 14 / 390);
  font-weight: 400;
  line-height: 1.3;
  color: #202020;
}

.v2-meta-hero__lead-line {
  display: block;
}

.v2-meta-hero__cta .v2-btn--primary {
  --cta-size: calc(100vw * 60 / 390);
  display: inline-flex;
  width: auto;
  max-width: none;
  height: var(--cta-size);
}

.v2-meta-hero__cta .v2-btn--primary .v2-btn__text {
  flex: none;
  min-width: calc(100vw * 108 / 390);
  height: var(--cta-size);
  min-height: var(--cta-size);
  padding: calc(100vw * 14 / 390) calc(100vw * 28 / 390);
  font-size: calc(100vw * 16 / 390);
}

.v2-meta-hero__cta .v2-btn--primary .v2-btn__icon {
  width: var(--cta-size);
  min-width: var(--cta-size);
  height: var(--cta-size);
}

.v2-meta-hero__includes {
  min-width: 0;
  width: 100%;
}

.v2-meta-hero__includes-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: calc(100vw * 16 / 390);
}

.v2-meta-hero__includes-label {
  margin: 0;
  font-size: calc(100vw * 12 / 390);
  font-weight: 500;
  line-height: 1;
  color: rgba(32, 32, 32, 0.3);
  white-space: nowrap;
}

.v2-meta-hero__includes-panel {
  min-width: 0;
  width: 100%;
}

.v2-meta-hero__includes-line {
  border-bottom: 1px dotted rgba(32, 32, 32, 0.2);
}

.v2-meta-hero__includes-line--top {
  margin-bottom: 0;
}

.v2-meta-hero__includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v2-meta-hero__includes-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(100vw * 12 / 390);
  padding-block: calc(100vw * 14 / 390);
  border-bottom: 1px dotted rgba(32, 32, 32, 0.2);
}

.v2-meta-hero__includes-text {
  min-width: 0;
  font-size: calc(100vw * 14 / 390);
  font-weight: 500;
  line-height: 1;
  color: #202020;
}

.v2-meta-hero__includes-dot {
  flex-shrink: 0;
  width: calc(100vw * 8 / 390);
  height: calc(100vw * 8 / 390);
  border-radius: 50%;
  background: #44b949;
}

@media (max-width: 1023px) {
  .v2-meta-hero__stage {
    min-height: 0;
  }

  .v2-meta-hero {
    flex: none;
    gap: calc(100vw * 24 / 390);
    min-height: 0;
    padding-bottom: calc(100vw * 32 / 390);
  }

  .v2-meta-hero__body {
    flex: none;
    gap: calc(100vw * 24 / 390);
  }

  .v2-meta-hero__title-stage {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: calc(100vw * 20 / 390);
    min-height: 0;
  }

  .v2-meta-hero__title {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(100vw * 4 / 390);
    width: 100%;
    max-width: calc(100vw * 335 / 390);
    font-size: calc(100vw * 40 / 390);
    line-height: 1;
  }

  .v2-meta-hero__title-part {
    display: block;
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .v2-meta-hero__title-part--left {
    text-align: left;
  }

  .v2-meta-hero__title-part--left .v2-meta-hero__title-line {
    display: inline;
  }

  .v2-meta-hero__title-part--left .v2-meta-hero__title-line + .v2-meta-hero__title-line::before {
    content: ' ';
  }

  .v2-meta-hero__title-part--right {
    display: block;
    text-align: left;
    align-self: flex-start;
  }

  .v2-section--meta-hero [data-animation='letters'] .v2-meta-hero__title-part--right.split-line,
  .v2-section--meta-hero [data-animation='letters'] .v2-meta-hero__title-part--right .split-line {
    margin-left: 0;
    text-align: left;
  }

  .v2-meta-hero__title-visual {
    position: relative;
    top: auto;
    left: auto;
    align-self: center;
    width: calc(100vw * 240 / 390);
    max-width: none;
    margin: 0;
    aspect-ratio: 1;
    transform: none;
    overflow: visible;
    background-size: 390%;
  }

  .v2-meta-hero__title-visual--video {
    background-size: 390%;
  }

  .v2-meta-hero__title-video {
    transform: scale(3.9);
    transform-origin: center;
  }

  .v2-meta-hero__bottom {
    flex: none;
    gap: calc(100vw * 32 / 390);
    margin-top: 0;
  }

  .v2-meta-hero__intro {
    align-items: center;
    gap: calc(100vw * 24 / 390);
    text-align: center;
  }

  .v2-meta-hero__lead {
    max-width: calc(100vw * 335 / 390);
    text-align: center;
    line-height: 1.3;
  }

  .is-lang-uk .page-platform .v2-meta-hero__lead {
    max-width: calc(100vw * 356 / 390);
    font-size: calc(100vw * 13 / 390);
    line-height: 1.32;
  }

  .is-lang-uk .page-platform .v2-meta-hero__lead-line {
    display: inline;
  }

  .is-lang-uk .page-platform .v2-meta-hero__lead-line:not(:last-child)::after {
    content: ' ';
  }

  .v2-meta-hero__cta {
    width: 100%;
  }

  .v2-meta-hero__cta .v2-btn--primary {
    --cta-size: calc(100vw * 60 / 390);
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    height: var(--cta-size);
  }

  .v2-meta-hero__cta .v2-btn--primary .v2-btn__text {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    border-radius: 130px;
  }

  .v2-meta-hero__cta .v2-btn--primary .v2-btn__icon {
    flex: none;
  }

  .v2-meta-hero__includes {
    width: 100%;
  }

  .v2-meta-hero__includes-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: calc(100vw * 12 / 390);
  }

  .v2-meta-hero__includes-label {
    padding-top: 0;
  }

  .v2-meta-hero__includes-panel {
    width: 100%;
  }

  .v2-meta-hero__includes-item {
    gap: calc(100vw * 16 / 390);
    padding-block: calc(100vw * 16 / 390);
  }
}

@media (min-width: 1024px) {
  .home-v2 .v2-section--meta-hero,
  .v2-section--meta-hero {
    --v2-meta-header-overlap: clamp(62px, calc(100vw * 72 / 1920), 72px);
  }

  .v2-meta-hero__stage {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .v2-meta-hero {
    gap: clamp(20px, calc(100vw * 32 / 1920), 32px);
    padding-top: calc(var(--v2-meta-header-overlap) + clamp(16px, calc(100vw * 24 / 1920), 24px));
    padding-bottom: clamp(48px, calc(100vw * 60 / 1920), 60px);
  }

  .v2-section--meta-hero .v2-breadcrumbs__list {
    gap: clamp(8px, calc(100vw * 12 / 1920), 12px);
  }

  .v2-section--meta-hero .v2-breadcrumbs__item {
    gap: clamp(8px, calc(100vw * 12 / 1920), 12px);
  }

  .v2-section--meta-hero .v2-breadcrumbs__link,
  .v2-section--meta-hero .v2-breadcrumbs__current {
    font-size: clamp(16px, 1.042vw, 20px);
  }

  .v2-section--meta-hero .v2-breadcrumbs__sep {
    width: clamp(7px, calc(100vw * 7 / 1920), 7px);
  }

  .v2-meta-hero__title-stage {
    min-height: 0;
  }

  .v2-meta-hero__title-visual {
    width: clamp(601px, calc(100vw * 1544 / 1920), 1544px);
  }

  .v2-meta-hero__title {
    gap: clamp(120px, calc(100vw * 280 / 1920), 280px);
    font-size: clamp(48px, calc(100vw * 107 / 1920), 107px);
  }

  .v2-meta-hero__title-part {
    max-width: none;
    flex: 1 1 0;
  }

  .v2-meta-hero__title-part--left {
    flex-basis: var(--v2-grid-col-1, calc(100vw * 663 / 1920));
    max-width: var(--v2-grid-col-1, calc(100vw * 663 / 1920));
    padding-left: min(calc(100vw * 10 / 1920), 10px);
    box-sizing: border-box;
  }

  .v2-meta-hero__title-part--left .v2-meta-hero__title-line {
    display: inline;
  }

  .v2-meta-hero__title-part--left .v2-meta-hero__title-line + .v2-meta-hero__title-line::before {
    content: ' ';
  }

  .v2-meta-hero__title-line--muted {
    background: linear-gradient(180deg, #202020 0%, #868686 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .v2-meta-hero__title-part--right {
    flex-basis: var(--v2-grid-col-2, calc(100vw * 662 / 1920));
    max-width: var(--v2-grid-col-2, calc(100vw * 662 / 1920));
    padding-right: min(calc(100vw * 10 / 1920), 10px);
    box-sizing: border-box;
  }

  .v2-meta-hero__bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, calc(100vw * 40 / 1920), 40px);
    width: 100%;
    padding-top: clamp(16px, calc(100vw * 28 / 1920), 28px);
  }

  .v2-meta-hero__intro {
    flex: 0 1 auto;
    gap: clamp(24px, calc(100vw * 40 / 1920), 40px);
    max-width: calc(100vw * 374 / 1920);
  }

  .v2-meta-hero__lead {
    font-size: calc(100vw * 20 / 1920);
    line-height: 1.3;
  }

  .v2-meta-hero__lead-line {
    white-space: nowrap;
  }

  .v2-meta-hero__cta .v2-btn--primary {
    --cta-size: clamp(60px, 4.167vw, 80px);
  }

  .v2-meta-hero__cta .v2-btn--primary .v2-btn__text {
    min-width: clamp(130px, 9.792vw, 188px);
    padding: clamp(14px, 0.99vw, 19px) clamp(28px, 2.083vw, 40px);
    font-size: clamp(16px, 1.042vw, 20px);
  }

  .v2-meta-hero__includes {
    flex: 0 0 auto;
    margin-left: auto;
    width: 34.479vw;
    max-width: none;
  }

  .v2-meta-hero__includes-layout {
    grid-template-columns: 17.221% minmax(0, 1fr);
    gap: 3.625%;
    width: 100%;
    max-width: none;
    border-top: 1px dotted rgba(32, 32, 32, 0.2);
  }

  .v2-meta-hero__includes-label {
    font-size: calc(100vw * 14 / 1920);
    padding-top: calc(100vw * 20 / 1920);
  }

  .v2-meta-hero__includes-panel {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .v2-meta-hero__includes-line--top {
    display: none;
  }

  .v2-meta-hero__includes-item {
    gap: calc(100vw * 24 / 1920);
    min-height: calc(100vw * 64 / 1920);
    padding-block: 0;
  }

  .v2-meta-hero__includes-text {
    font-size: calc(100vw * 20 / 1920);
    white-space: nowrap;
  }

  .is-lang-uk .v2-meta-hero__includes-item {
    gap: calc(100vw * 20 / 1920);
  }

  .is-lang-uk .v2-meta-hero__includes-text {
    font-size: calc(100vw * 19 / 1920);
  }

  .v2-meta-hero__includes-dot {
    width: calc(100vw * 10 / 1920);
    height: calc(100vw * 10 / 1920);
  }
}
