:root {
  --contact-brown: #5c3917;
  --contact-copper: #cc9159;
}

.contact-hero__frame {
  background-image:
    linear-gradient(90deg, rgba(16, 12, 8, 0.08) 28%, rgba(16, 12, 8, 0.72) 100%),
    url("/assets/canva-aerial.webp");
  background-position: center;
  background-size: cover;
}

.contact-hero__copy {
  top: 45%;
}

.contact-hero__copy h1 {
  font-size: clamp(48px, 4.8vw, 76px);
}

.contact-intro p {
  max-width: 920px;
  margin-inline: auto;
  text-transform: none;
}

.contact-intro .ornament--vintage {
  margin-inline: auto;
}

.contact-details {
  overflow: hidden;
  padding: clamp(70px, 8vw, 122px) 24px;
  border-block: 1px solid rgba(118, 80, 32, 0.72);
  background: var(--contact-brown);
}

.contact-details__inner {
  display: grid;
  width: min(100%, 1220px);
  align-items: center;
  margin-inline: auto;
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-details__card {
  position: relative;
  z-index: 2;
  margin-right: -68px;
  padding: clamp(44px, 5vw, 72px);
  border: 1px solid rgba(143, 91, 28, 0.98);
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.contact-details__eyebrow,
.contact-route__eyebrow,
.contact-booking__eyebrow {
  margin-bottom: 18px;
  color: var(--contact-copper);
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-details__card h2 {
  max-width: 440px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.3vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.contact-details__lead {
  max-width: 500px;
  margin-bottom: 34px;
  color: var(--paper-muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
}

.contact-details__address {
  display: flex;
  margin-bottom: 34px;
  flex-direction: column;
  gap: 4px;
  color: var(--paper-muted);
  font-size: 19px;
  font-style: normal;
  line-height: 1.4;
}

.contact-details__name {
  margin-bottom: 5px;
  color: var(--paper);
  font-size: 26px;
}

.contact-details__address a,
.contact-details__text-link {
  width: fit-content;
  color: var(--paper);
  font: 600 13px/1.5 var(--sans);
  letter-spacing: 0.035em;
  text-decoration-color: rgba(207, 154, 92, 0.55);
  text-underline-offset: 5px;
}

.contact-details__address a:first-of-type {
  margin-top: 13px;
}

.contact-details__address a:hover,
.contact-details__address a:focus-visible,
.contact-details__text-link:hover,
.contact-details__text-link:focus-visible {
  color: var(--contact-copper);
}

.contact-details__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-details__image {
  position: relative;
  z-index: 1;
  margin: 0;
}

.contact-details__image img {
  width: 100%;
  min-height: 620px;
  border: 1px solid rgba(143, 91, 28, 0.98);
  object-fit: cover;
}

.contact-route {
  display: grid;
  min-height: 440px;
  place-items: center;
  align-content: center;
  padding: clamp(72px, 8vw, 118px) 24px;
  border-bottom: 1px solid rgba(118, 80, 32, 0.72);
  background: var(--green);
  text-align: center;
}

.contact-route .ornament {
  margin-bottom: 28px;
}

.contact-route__eyebrow {
  margin-bottom: 12px;
}

.contact-route h2 {
  margin-bottom: 18px;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 400;
  line-height: 0.96;
}

.contact-route > p:last-of-type {
  margin-bottom: 34px;
  color: var(--paper-muted);
  font-size: clamp(19px, 1.7vw, 24px);
}

.contact-route__button {
  min-width: 220px;
}

.contact-booking {
  display: flex;
  width: min(calc(100% - 48px), 1220px);
  min-height: 290px;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  margin-inline: auto;
  padding: clamp(58px, 6vw, 88px) 0;
}

.contact-booking h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
}

.contact-booking__button {
  min-width: 248px;
  flex: 0 0 auto;
  border: 1px solid rgba(207, 154, 92, 0.72);
}

@media (max-width: 900px) {
  .contact-details__inner {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
  }

  .contact-details__card {
    margin: 0 28px -56px;
  }

  .contact-details__image img {
    min-height: 520px;
  }

  .contact-booking {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .contact-hero__frame {
    background-image:
      linear-gradient(180deg, rgba(17, 13, 9, 0.08) 20%, rgba(17, 13, 9, 0.52) 53%, rgba(17, 13, 9, 0.96) 84%),
      url("/assets/canva-aerial.webp");
    background-position: center, 48% center;
    background-size: 100% 100%, auto 108%;
  }

  .contact-hero__copy {
    top: auto;
  }

  .contact-hero__copy h1 {
    font-size: clamp(44px, 12.8vw, 58px);
  }

  .contact-intro p br {
    display: none;
  }

  .contact-details {
    padding: 58px 20px;
  }

  .contact-details__card {
    margin: 0 0 -34px;
    padding: 38px 26px 42px;
  }

  .contact-details__card h2 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .contact-details__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-details__actions .button {
    width: 100%;
  }

  .contact-details__text-link {
    align-self: center;
  }

  .contact-details__image img {
    min-height: 380px;
  }

  .contact-route {
    min-height: 400px;
  }

  .contact-route > p:last-of-type {
    max-width: 290px;
  }

  .contact-booking {
    width: calc(100% - 40px);
    min-height: 0;
    gap: 34px;
    padding: 64px 0;
    text-align: center;
  }

  .contact-booking h2 {
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .contact-booking__button {
    width: 100%;
    min-width: 0;
  }
}
