/* Contacts page — brand gradient accents */

.op-contacts-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 18px;
}

.op-contacts-title::after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%);
}

.op-contacts-wrap__content--flex .op-row-link {
  transition: color 0.3s ease;
}

.op-contacts-wrap__content--flex .op-row-link svg {
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.op-contacts-wrap__content--flex .op-row-link span::after,
.op-contacts-wrap__content--flex .op-row-link .op-contacts-email-link::after {
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%) !important;
  background-color: transparent !important;
  height: 2px;
}

.op-contacts-wrap__content--flex .op-row-link:hover span,
.op-contacts-wrap__content--flex .op-row-link:focus-visible span,
.op-contacts-wrap__content--flex .op-row-link:hover .op-contacts-email-link,
.op-contacts-wrap__content--flex .op-row-link:focus-visible .op-contacts-email-link {
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.op-contacts-wrap__content--flex .op-row-link:hover svg,
.op-contacts-wrap__content--flex .op-row-link:focus-visible svg {
  transform: rotate(8deg) scale(1.06);
  filter: drop-shadow(0 6px 12px rgba(8, 108, 220, 0.28));
}

.op-contacts-email-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #092B96;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(91.91deg, #092B96 0%, #086CDC 100%) border-box;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(9, 43, 150, 0.12);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.op-contacts-email-reveal:hover,
.op-contacts-email-reveal:focus-visible {
  color: #fff;
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(8, 108, 220, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.op-contacts-wrap__content--flex .op-row-link .op-contacts-email-link {
  display: block;
  max-width: calc(100% - 27px);
  position: relative;
  color: #131313;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.op-contacts-wrap__content--flex .op-row-link .op-contacts-email-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: width 0.3s ease;
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%);
}

.op-contacts-wrap__content--flex .op-row-link:hover .op-contacts-email-link::after,
.op-contacts-wrap__content--flex .op-row-link:focus-within .op-contacts-email-link::after {
  width: 100%;
}

.op-contacts-wrap__content--form-title span {
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.op-contacts-wrap__content--flex .op-row-title--map {
  width: fit-content;
  max-width: 100%;
  color: #131313;
  text-decoration: none;
  transition: color 0.3s ease;
}

.op-contacts-wrap__content--flex .op-row-title--map span {
  display: block;
  max-width: calc(100% - 27px);
  position: relative;
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.op-contacts-wrap__content--flex .op-row-title--map span::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: width 0.3s ease;
  background: linear-gradient(91.91deg, #092B96 0%, #086CDC 100%);
}

.op-contacts-wrap__content--flex .op-row-title--map:hover span::after,
.op-contacts-wrap__content--flex .op-row-title--map:focus-visible span::after {
  width: 100%;
}

.op-contacts-wrap__content--flex .op-row-title--map svg {
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.op-contacts-wrap__content--flex .op-row-title--map:hover svg,
.op-contacts-wrap__content--flex .op-row-title--map:focus-visible svg {
  transform: rotate(8deg) scale(1.06);
  filter: drop-shadow(0 6px 12px rgba(8, 108, 220, 0.28));
}

@media (max-width: 767px) {
  .op-contacts-title {
    margin-left: auto;
    margin-right: auto;
  }

  .op-contacts-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .op-contacts-email-reveal {
    font-size: 15px;
  }
}
