.contact-page .contact-main {
  position: relative;
  z-index: 2;
  min-height: 1216px;
  overflow: hidden;
  background: var(--white) url("../images/Web-Sochifo-18.png") center 285px / 100% auto no-repeat;
}

.contact-section {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.contact-intro {
  padding-inline: 20px;
  margin: 0 auto 37px;
  text-align: center;
}

.contact-intro__title {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #7ec3d2;
  font-family: var(--condensed-font);
  font-size: clamp(31px, 2.65vw, 38px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.contact-intro__dot {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
}

.contact-intro__lead {
  margin: 8px 0 0;
  color: #171313;
  font-family: var(--condensed-font);
  font-size: clamp(23px, 2.15vw, 31px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.016em;
  line-height: 1.16;
}

.contact-intro__lead a {
  overflow-wrap: anywhere;
}

.contact-intro__lead a:hover,
.contact-intro__lead a:focus-visible,
.venue-card address a:hover,
.venue-card address a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.venue-layout {
  display: grid;
  width: min(calc(100% - 60px), 1228px);
  margin-inline: auto;
  align-items: start;
  grid-template-columns: 458px minmax(0, 1fr);
  gap: 24px;
}

.venue-card {
  position: relative;
  width: 100%;
  aspect-ratio: 458 / 722;
  color: var(--white);
  text-align: center;
}

.venue-card::before {
  position: absolute;
  z-index: 0;
  top: 8.45%;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent url("../images/background/Web-Sochifo-11.png") center / 100% 100% no-repeat;
  content: "";
}

.venue-card__photo {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 86.68%;
  height: auto;
  transform: translateX(-50%);
}

.venue-card__content {
  position: absolute;
  z-index: 2;
  top: 59.2%;
  right: 20px;
  left: 20px;
}

.venue-card h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--condensed-font);
  font-size: 49px;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.venue-card address {
  margin: 30px 0 0;
  font-family: var(--condensed-font);
  font-size: 30px;
  font-stretch: condensed;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.venue-card address a {
  display: inline-block;
}

.venue-map {
  width: 100%;
  height: 654px;
  min-width: 0;
  margin-top: 68px;
  overflow: hidden;
  background: #d8eef6;
}

.venue-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.venue-map iframe:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: -3px;
}

.contact-page .site-footer {
  z-index: 3;
}

@media (min-width: 901px) {
  .contact-page .site-footer {
    min-height: 218px;
    margin-top: -96px;
  }

  .contact-page .site-footer__content {
    min-height: 218px;
  }
}

@media (min-width: 1200px) {
  .contact-intro {
    transform: translateX(-34px);
  }

  .venue-layout {
    transform: translateX(4px);
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-main {
    min-height: 0;
    background-size: auto 100%;
  }

  .contact-section {
    padding-bottom: 100px;
  }

  .contact-intro {
    margin-bottom: 48px;
  }

  .venue-layout {
    width: min(calc(100% - 40px), 850px);
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .venue-card {
    width: min(100%, 458px);
  }

  .venue-map {
    height: clamp(390px, 62vw, 520px);
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .contact-page .hero {
    height: 300px;
    min-height: 300px;
  }

  .contact-section {
    padding-top: 10px;
  }
}

@media (max-width: 680px) {
  .contact-intro__title {
    gap: 15px;
    font-size: clamp(28px, 8.3vw, 34px);
  }

  .contact-intro__dot {
    width: 20px;
    height: 20px;
  }

  .contact-intro__lead {
    max-width: 530px;
    margin: 13px auto 0;
    font-size: clamp(20px, 5.9vw, 25px);
    line-height: 1.25;
  }
}

@media (max-width: 560px) {
  .contact-page .hero {
    height: 300px;
    min-height: 300px;
  }

  .contact-section {
    padding-top: 10px;
    padding-bottom: 190px;
  }

  .contact-intro {
    padding-inline: 8px;
    margin-bottom: 42px;
  }

  .venue-layout {
    width: calc(100% - 28px);
    gap: 42px;
  }

  .venue-card h2 {
    font-size: clamp(31px, 9.5vw, 40px);
  }

  .venue-card address {
    margin-top: 18px;
    font-size: clamp(19px, 6vw, 23px);
  }

  .venue-map {
    height: 360px;
  }
}

@media (max-width: 370px) {
  .contact-intro__title {
    gap: 11px;
    font-size: 27px;
  }

  .contact-intro__dot {
    width: 17px;
    height: 17px;
  }
}
