.contact-closing {
  position: relative;
  height: 720px;
  background: #243831;
  color: #eee6da;
  overflow: hidden;
}
.contact-closing-image {
  position: absolute;
  inset: 0;
}
.contact-closing-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.contact-closing:hover .contact-closing-image img {
  transform: scale(1.035);
}
.contact-closing-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(24, 39, 33, 0.82),
      rgba(24, 39, 33, 0.48) 50%,
      rgba(24, 39, 33, 0.7)
    ),
    linear-gradient(0deg, rgba(24, 39, 33, 0.75), transparent 55%);
}
.contact-closing-frame {
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(238, 230, 218, 0.2);
  z-index: 2;
  pointer-events: none;
}
.contact-closing-frame::before,
.contact-closing-frame::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  border-color: #d17a60;
  border-style: solid;
}
.contact-closing-frame::before {
  left: -1px;
  top: -1px;
  border-width: 2px 0 0 2px;
}
.contact-closing-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.contact-closing-content {
  position: relative;
  z-index: 4;
  height: 100%;
  padding: 35px 7vw 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-closing-top,
.contact-closing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(238, 230, 218, 0.4);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.contact-closing-top span:first-child {
  color: #d17a60;
}
.contact-closing-main {
  width: 52%;
  margin-left: 8%;
  margin-top: auto;
  margin-bottom: auto;
}
.contact-closing-main > span {
  display: block;
  margin-bottom: 24px;
  color: #d17a60;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.contact-closing-main h2 {
  font-family: var(--font-display);
  font-size: clamp(82px, 9vw, 140px);
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: -0.09em;
}
.contact-closing-main h2 em {
  font-style: italic;
  color: #d17a60;
}
.contact-closing-main p {
  margin: 30px 0 0 5px;
  color: rgba(238, 230, 218, 0.58);
  font-size: 8px;
  line-height: 1.8;
}
.contact-closing-main a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  color: #eee6da;
  text-decoration: none;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.contact-closing-main a strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(238, 230, 218, 0.45);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
  color: #d17a60;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}
.contact-closing-main a:hover strong {
  background: #d17a60;
  color: #243831;
  transform: translate(4px, -4px);
}
.contact-closing-bottom {
  font-size: 5px;
}
@media (max-width: 1050px) {
  .contact-closing {
    height: 680px;
  }
  .contact-closing-content {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .contact-closing-main {
    width: 58%;
    margin-left: 5%;
  }
  .contact-closing-main h2 {
    font-size: clamp(72px, 8vw, 115px);
  }
}
@media (max-width: 700px) {
  .contact-closing {
    height: 670px;
  }
  .contact-closing-frame {
    inset: 15px;
  }
  .contact-closing-content {
    padding: 25px 20px;
  }
  .contact-closing-top,
  .contact-closing-bottom {
    font-size: 4px;
  }
  .contact-closing-top span:last-child,
  .contact-closing-bottom span:last-child {
    display: none;
  }
  .contact-closing-main {
    width: 100%;
    margin-left: 0;
  }
  .contact-closing-main > span {
    font-size: 5px;
    margin-bottom: 20px;
  }
  .contact-closing-main h2 {
    font-size: 68px;
  }
  .contact-closing-main p {
    font-size: 7px;
    max-width: 280px;
    margin-top: 25px;
  }
  .contact-closing-main a {
    font-size: 5px;
    margin-top: 25px;
  }
  .contact-closing-main a strong {
    width: 36px;
    height: 36px;
  }
  .contact-closing-overlay {
    background:
      linear-gradient(90deg, rgba(24, 39, 33, 0.88), rgba(24, 39, 33, 0.57)),
      linear-gradient(0deg, rgba(24, 39, 33, 0.82), transparent 65%);
  }
}
@media (max-width: 480px) {
  .contact-closing {
    height: 600px;
  }
  .contact-closing-frame {
    inset: 10px;
  }
  .contact-closing-content {
    padding: 20px 15px;
  }
  .contact-closing-main h2 {
    font-size: 54px;
  }
  .contact-closing-main p {
    font-size: 6.5px;
  }
  .contact-closing-main a strong {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}
