.content-shell--wide {
  width: min(1540px, 100%);
}

.contacts-page {
  width: min(1540px, 100%);
  margin: 0 auto;
  color: var(--theme-text);
}

.contacts-page h1,
.contacts-page h2,
.contacts-page p {
  margin-top: 0;
}

.contacts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: clamp(48px, 8vw, 150px);
  align-items: end;
  padding: clamp(28px, 5vw, 76px) 0 clamp(82px, 9vw, 150px);
}

.contacts-kicker {
  margin-bottom: 28px;
  color: var(--theme-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contacts-hero h1 {
  max-width: 930px;
  margin: 0;
  font-size: var(--theme-h1);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.contacts-hero__lead {
  max-width: 560px;
  margin-bottom: 5px;
  color: var(--theme-muted);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.65;
}

.contacts-section {
  margin-bottom: clamp(88px, 10vw, 170px);
}

.contacts-section__heading {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.contacts-section__heading .contacts-kicker {
  margin-bottom: 7px;
}

.contacts-section h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -.048em;
  line-height: 1.02;
}

.contacts-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contacts-channel-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  min-height: 178px;
  padding: clamp(24px, 2.4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24, 29, 44, .78), rgba(9, 12, 22, .64));
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.contacts-channel-card::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 167, 255, .12), transparent 68%);
  content: "";
  pointer-events: none;
}

.contacts-channel-card:hover,
.contacts-channel-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(169, 191, 255, .46);
  background: linear-gradient(145deg, rgba(29, 35, 53, .84), rgba(10, 14, 25, .72));
}

.contacts-channel-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 16px;
  color: #b8c8ff;
  background: rgba(139, 167, 255, .08);
}

.contacts-channel-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.contacts-channel-card__body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contacts-channel-card__body small {
  color: var(--theme-muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contacts-channel-card__body strong {
  overflow-wrap: anywhere;
  color: var(--theme-text);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 520;
  letter-spacing: -.025em;
}

.contacts-channel-card__body > span {
  color: var(--theme-muted);
  font-size: .92rem;
  line-height: 1.45;
}

.contacts-channel-card__arrow {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .55);
  font-size: 1.25rem;
  transition: color 180ms ease, transform 180ms ease;
}

.contacts-channel-card:hover .contacts-channel-card__arrow,
.contacts-channel-card:focus-visible .contacts-channel-card__arrow {
  transform: translate(2px, -2px);
  color: #fff;
}

.contacts-office {
  display: grid;
  grid-template-columns: minmax(360px, .75fr) minmax(0, 1.25fr);
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(10, 13, 23, .58);
}

.contacts-office__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4.2vw, 70px);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  background: linear-gradient(145deg, rgba(25, 30, 46, .86), rgba(8, 11, 20, .76));
}

.contacts-office__info .contacts-kicker {
  margin-bottom: 24px;
}

.contacts-office__lead {
  max-width: 540px;
  margin: 26px 0 38px;
  color: var(--theme-muted);
  line-height: 1.65;
}

.contacts-facts {
  display: grid;
  width: 100%;
  margin: 0 0 42px;
}

.contacts-facts > div {
  display: grid;
  grid-template-columns: minmax(110px, .45fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.contacts-facts dt,
.contacts-details dt {
  color: var(--theme-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contacts-facts dd,
.contacts-details dd {
  margin: 0;
  color: var(--theme-text);
  line-height: 1.5;
}

.contacts-route-button {
  margin-top: auto;
}

.contacts-map {
  position: relative;
  min-height: 480px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0b0e17;
}

.contacts-map::after {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 12, .16);
  content: "";
  pointer-events: none;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  opacity: .88;
}

.contacts-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}

.contacts-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 26px;
  min-height: 190px;
  padding: 34px clamp(24px, 3vw, 48px) 20px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.contacts-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.contacts-steps li > span {
  padding-top: 3px;
  color: #a9bfff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.contacts-steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 520;
}

.contacts-steps p {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--theme-muted);
  line-height: 1.6;
}

.contacts-details {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 130px);
  padding: clamp(32px, 4.2vw, 68px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 27, 42, .72), rgba(8, 11, 20, .66));
}

.contacts-details .contacts-kicker {
  margin-bottom: 22px;
}

.contacts-details__list {
  margin: 0;
}

.contacts-details__list > div {
  display: grid;
  grid-template-columns: minmax(140px, .42fr) minmax(0, 1fr);
  gap: 26px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.contacts-socials {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin: -56px 0 clamp(44px, 5vw, 84px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--theme-muted);
}

.contacts-socials > span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contacts-socials > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.contacts-socials a {
  color: var(--theme-text);
  font-size: .9rem;
  transition: color 160ms ease;
}

.contacts-socials a:hover,
.contacts-socials a:focus-visible {
  color: #a9bfff;
}

@media (max-width: 980px) {
  .contacts-hero,
  .contacts-section__heading,
  .contacts-details {
    grid-template-columns: 1fr;
  }

  .contacts-hero {
    gap: 32px;
  }

  .contacts-office {
    grid-template-columns: 1fr;
  }

  .contacts-office__info {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 430px;
  }

  .contacts-steps {
    grid-template-columns: 1fr;
  }

  .contacts-steps li,
  .contacts-steps li:first-child {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .contacts-steps li:first-child {
    border-top: 0;
  }
}

@media (max-width: 720px) {
  .contacts-hero {
    padding-top: 14px;
  }

  .contacts-channel-grid {
    grid-template-columns: 1fr;
  }

  .contacts-channel-card {
    min-height: 0;
    border-radius: 20px;
  }

  .contacts-office,
  .contacts-details {
    border-radius: 22px;
  }

  .contacts-facts > div,
  .contacts-details__list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contacts-socials {
    display: grid;
    margin-top: -40px;
  }

  .contacts-socials > div {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .contacts-channel-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 22px 18px;
  }

  .contacts-channel-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .contacts-channel-card__body strong {
    font-size: 1rem;
  }

  .contacts-office__info,
  .contacts-details {
    padding: 28px 22px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 350px;
  }

  .contacts-steps li {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts-channel-card,
  .contacts-channel-card__arrow {
    transition: none;
  }
}
