/* Hero-only Instagram links; the SVGs preserve the Figma artwork. */
.rd-hero-social {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.rd-hero-social__link {
  position: absolute;
  display: grid;
  align-items: center;
  width: 185px;
  min-height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  pointer-events: auto;
  transition: filter 160ms ease;
}

.rd-hero-social__link--dima {
  left: var(--hero-social-x, 58%);
  top: var(--hero-social-y, 73%);
}

.rd-hero-social__link--sijer {
  left: var(--hero-social-x, 79%);
  top: var(--hero-social-y, 87%);
  width: 149px;
}

.rd-hero-social__link picture,
.rd-hero-social__link img {
  display: block;
  width: 100%;
}

.rd-hero-social__link img {
  height: auto;
}

.rd-hero-social__link:hover {
  filter: brightness(1.08) drop-shadow(0 3px 5px rgb(0 0 0 / 20%));
}

.rd-hero-social__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  /* Reserve a clear band for both links above the full-width tour button. */
  .rd-hero__content {
    padding-bottom: 210px;
  }

  .rd-hero__actions {
    position: absolute;
    right: clamp(18px, 5vw, 56px);
    bottom: 24px;
    left: clamp(18px, 5vw, 56px);
    width: auto;
  }

  .rd-hero__actions .rd-button {
    width: 100%;
  }

  .rd-hero__actions .rd-button[href="#services"] {
    display: none;
  }

  .rd-hero-social__link--dima {
    width: 182px;
  }

  .rd-hero-social__link--sijer {
    width: 146px;
  }
}

@media (max-width: 760px) {
  .rd-hero__actions {
    right: 18px;
    left: 18px;
  }

  .rd-hero-social__link--dima {
    width: clamp(120px, 31vw, 182px);
    left: var(--hero-social-x, 37%);
    top: var(--hero-social-y, calc(100% - 196px));
  }

  .rd-hero-social__link--sijer {
    width: clamp(100px, 25vw, 146px);
    left: var(--hero-social-x, 75%);
    top: var(--hero-social-y, calc(100% - 132px));
  }
}
