.contact-details {
  position: relative;
  background: #243831;
  color: #eee6da;
  padding: 120px 7vw 130px;
  overflow: hidden;
}
.details-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.details-background-circle {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -260px;
  top: 70px;
  border: 1px solid rgba(238, 230, 218, 0.1);
  border-radius: 50%;
}
.details-background-circle::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: 95px;
  top: 95px;
  border: 1px dashed rgba(189, 103, 79, 0.2);
  border-radius: 50%;
}
.details-background-line {
  position: absolute;
  width: 1px;
  height: 100%;
  left: 58%;
  top: 0;
  background: rgba(238, 230, 218, 0.07);
}
.details-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(238, 230, 218, 0.14);
  color: rgba(238, 230, 218, 0.38);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.27em;
}
.details-header span:first-child {
  color: #d17a60;
}
.details-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52% 48%;
  padding: 95px 0 90px;
}
.details-statement {
  padding-right: 7vw;
}
.details-kicker {
  display: block;
  margin-bottom: 27px;
  color: #d17a60;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.details-statement h2 {
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 135px);
  font-weight: 500;
  line-height: 0.71;
  letter-spacing: -0.085em;
}
.details-statement h2 em {
  font-style: italic;
  color: #d17a60;
}
.details-statement p {
  max-width: 310px;
  margin: 38px 0 0 5px;
  color: rgba(238, 230, 218, 0.46);
  font-size: 8px;
  line-height: 1.9;
}
.details-card {
  align-self: end;
  margin-left: auto;
  width: 100%;
  max-width: 510px;
  border: 1px solid rgba(238, 230, 218, 0.2);
  background: rgba(238, 230, 218, 0.035);
  backdrop-filter: blur(4px);
}
.details-card-top {
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(238, 230, 218, 0.14);
  color: rgba(238, 230, 218, 0.4);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.details-list {
  padding: 5px 22px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(238, 230, 218, 0.1);
}
.detail-row:last-child {
  border-bottom: 0;
}
.detail-row > span {
  color: rgba(238, 230, 218, 0.34);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.detail-row a,
.detail-row strong {
  color: #eee6da;
  font-size: 8px;
  font-weight: 400;
  text-decoration: none;
  text-align: right;
}
.detail-row a {
  transition: color 0.25s ease;
}
.detail-row a:hover {
  color: #d17a60;
}
.details-card-bottom {
  display: flex;
  justify-content: space-between;
  padding: 19px 22px;
  border-top: 1px solid rgba(238, 230, 218, 0.14);
  color: rgba(238, 230, 218, 0.35);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.details-images {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  align-items: start;
  gap: 9px;
  padding-top: 15px;
}
.details-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #152821;
}
.details-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.details-image:hover img {
  transform: scale(1.055);
}
.details-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 20, 16, 0.58));
}
.details-image span {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  color: rgba(238, 230, 218, 0.68);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.details-image-one {
  height: 280px;
  margin-top: 55px;
}
.details-image-two {
  height: 215px;
}
.details-image-three {
  height: 310px;
  margin-top: 10px;
}
@media (max-width: 1050px) {
  .contact-details {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .details-layout {
    grid-template-columns: 50% 50%;
  }
  .details-statement {
    padding-right: 5vw;
  }
  .details-statement h2 {
    font-size: clamp(70px, 8vw, 110px);
  }
  .details-card {
    max-width: 450px;
  }
  .details-background-line {
    left: 55%;
  }
}
@media (max-width: 760px) {
  .contact-details {
    padding: 85px 20px 95px;
  }
  .details-header {
    font-size: 5px;
  }
  .details-header span:last-child {
    display: none;
  }
  .details-layout {
    display: block;
    padding: 65px 0 60px;
  }
  .details-statement {
    padding: 0 0 55px;
  }
  .details-statement h2 {
    font-size: 67px;
  }
  .details-statement p {
    font-size: 7.5px;
    margin-top: 28px;
  }
  .details-card {
    max-width: none;
  }
  .details-card-top {
    font-size: 4px;
    padding: 17px;
  }
  .details-list {
    padding: 4px 17px;
  }
  .detail-row {
    padding: 20px 0;
  }
  .detail-row > span {
    font-size: 4px;
  }
  .detail-row a,
  .detail-row strong {
    font-size: 7px;
  }
  .details-card-bottom {
    padding: 16px 17px;
    font-size: 4px;
  }
  .details-images {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .details-image-one {
    height: 270px;
    margin-top: 0;
    grid-row: span 2;
  }
  .details-image-two {
    height: 185px;
  }
  .details-image-three {
    height: 185px;
    margin-top: 0;
  }
  .details-background-circle {
    width: 420px;
    height: 420px;
    right: -260px;
    top: 300px;
  }
  .details-background-line {
    display: none;
  }
}
@media (max-width: 480px) {
  .contact-details {
    padding-left: 15px;
    padding-right: 15px;
  }
  .details-layout {
    padding-top: 55px;
  }
  .details-statement h2 {
    font-size: 54px;
  }
  .details-statement p {
    font-size: 7px;
  }
  .detail-row a,
  .detail-row strong {
    font-size: 6px;
  }
  .details-images {
    grid-template-columns: 1fr;
  }
  .details-image-one,
  .details-image-two,
  .details-image-three {
    height: 235px;
    grid-row: auto;
    margin: 0;
  }
  .details-background-circle {
    width: 300px;
    height: 300px;
    right: -210px;
  }
}
