.contacts {
  --contacts-orange: #fd6000;

  position: relative;
  max-width: 1920px;
  margin-inline: auto;
  background: #06121c;
  color: #fff;
  font-family: Manrope, sans-serif;
  overflow: hidden;
}

.contacts__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 28, 0.94) 0%, rgba(6, 18, 28, 0.86) 48%, rgba(6, 18, 28, 0.72) 100%),
    url("../../img/hero/bg-slide-01.webp") center / cover no-repeat;
  pointer-events: none;
}

.contacts__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 56px 52px 48px;
}

.contacts__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 36px 40px;
  align-items: stretch;
}

.contacts__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.contacts__eyebrow-label {
  color: #9aa6b2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.contacts__eyebrow-line {
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--contacts-orange);
}

.contacts__title {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.contacts__title span {
  color: var(--contacts-orange);
}

.contacts__lead {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.contacts__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 28px 0 0;
}

.contacts__fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.contacts__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(253, 96, 0, 0.14);
  color: var(--contacts-orange);
}

.contacts__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.contacts__fact-copy {
  min-width: 0;
}

.contacts__fact-copy a,
.contacts__fact-copy strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.contacts__fact-copy a:hover {
  color: var(--contacts-orange);
}

.contacts__fact-copy small,
.contacts__fact-copy span {
  display: block;
  margin-top: 4px;
  color: rgba(214, 220, 226, 0.74);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contacts__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.contacts__btn svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.contacts__btn--primary {
  border: 1px solid var(--contacts-orange);
  background: var(--contacts-orange);
  color: #fff;
}

.contacts__btn--primary:hover {
  background: #e45600;
  border-color: #e45600;
}

.contacts__btn--ghost {
  border: 1.5px solid var(--contacts-orange);
  background: transparent;
  color: #fff;
}

.contacts__btn--ghost:hover {
  background: rgba(253, 96, 0, 0.16);
}

.contacts__map {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.contacts__map-frame {
  position: relative;
  flex: 1;
  min-height: 300px;
  overflow: hidden;
}

.contacts__map-frame iframe {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 86px);
  border: 0;
}

.contacts__map-hit {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(50% + 43px);
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -100%);
  cursor: pointer;
}

.contacts__map-card {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 16px 40px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 16, 28, 0.94);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.contacts__map-card[hidden] {
  display: none;
}

.contacts__map-card::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--contacts-orange);
}

.contacts__map-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.contacts__map-card-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.contacts__map-card a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.contacts__map-card a:hover {
  color: var(--contacts-orange);
}

.contacts__map-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.contacts__map-card-close:hover {
  color: var(--contacts-orange);
}

.contacts__map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: #5c6b7a;
  font-size: 13px;
  font-weight: 600;
}

.contacts__map-bar a {
  color: #04182d;
  font-weight: 700;
  text-decoration: none;
}

.contacts__map-bar a:hover {
  color: var(--contacts-orange);
}

.contacts__staff {
  margin-top: 40px;
}

.contacts__staff-title {
  margin: 0 0 16px;
  color: #9aa6b2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.contacts__people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contacts__person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 16, 28, 0.72);
}

.contacts__person::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--contacts-orange);
}

.contacts__role {
  margin: 0;
  color: var(--contacts-orange);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.contacts__name {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.contacts__person a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.contacts__person a:hover {
  color: var(--contacts-orange);
}

@media (max-width: 1100px) {
  .contacts__inner {
    padding: 40px 20px 36px;
  }

  .contacts__layout,
  .contacts__people {
    grid-template-columns: 1fr 1fr;
  }

  .contacts__title {
    font-size: 42px;
  }

  .contacts__map {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .contacts__facts,
  .contacts__people,
  .contacts__layout {
    grid-template-columns: 1fr;
  }

  .contacts__title {
    font-size: 34px;
  }

  .contacts__actions {
    flex-direction: column;
  }

  .contacts__btn {
    width: 100%;
  }
}
