body {
  --home-green: #205747;
  --home-dark: #123f33;
  --home-white: #fffefa;
}

.contact-hero {
  background-image: linear-gradient(rgb(0 0 0 / 2%), rgb(0 0 0 / 7%)), var(--contact-hero-image);
  background-position: center;
  background-size: cover;
  height: calc(100svh - 6.25rem);
  min-height: 43rem;
  position: relative;
}

.contact-hero .booking-callout {
  bottom: 20%;
  right: 11%;
}

.contact-hero .booking-bar {
  bottom: 9.5%;
}

.contact-hero__dots {
  bottom: 2rem;
  display: flex;
  gap: 0.75rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.contact-hero__dots span {
  background: #f2eee6;
  border-radius: 50%;
  height: 0.85rem;
  width: 0.85rem;
}

.contact-hero__dots span:first-child {
  background: var(--home-green);
}

.contact-icon-sprite {
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.contact-section {
  background: #fff;
  padding-block: clamp(4rem, 5vw, 6rem);
}

.contact-container {
  align-items: center;
  display: grid;
  gap: clamp(4rem, 9vw, 10rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(32rem, 1.05fr);
  margin-inline: auto;
  max-width: 1640px;
  padding-inline: clamp(1.5rem, 7vw, 8rem);
}

.contact-details {
  color: #58756c;
}

.contact-details .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.contact-details h1,
.contact-form-card h2 {
  font-family: var(--font-serif);
  font-weight: 500;
}

.contact-details h1 {
  color: var(--home-green);
  font-size: clamp(2.2rem, 2.7vw, 2.35rem);
  font-style: italic;
  line-height: 1;
  margin: 0 0 0.9rem;
}

.contact-details__lead {
  color: #48685f;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  line-height: 1.15;
  margin: 0 0 2.7rem;
  max-width: 42rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.9rem;
  line-height: 1.45;
}

.contact-list svg {
  fill: none;
  flex: 0 0 auto;
  height: 1.4rem;
  margin-top: 0.05rem;
  stroke: var(--home-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.4rem;
}

.contact-list svg .is-filled {
  fill: var(--home-green);
  stroke: none;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--home-green);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--home-green);
  border-radius: 1.2rem;
  color: #fff;
  overflow: hidden;
  padding: clamp(2.1rem, 2.7vw, 2.5rem);
  position: relative;
}

.contact-form-card::before {
  background: url('../images/blog/pattern.png') left bottom / contain no-repeat;
  bottom: -8rem;
  content: '';
  height: 25rem;
  left: -5rem;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
  width: 28rem;
}

.contact-form-card h2 {
  font-size: clamp(2rem, 2.35vw, 2.2rem);
  line-height: 1;
  margin: 0 0 1.3rem;
  position: relative;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  position: relative;
}

.contact-form__row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
}

.contact-form input,
.contact-form textarea {
  background: #fff;
  border: 0;
  border-radius: 0.55rem;
  color: #294d43;
  font: inherit;
  min-height: 2.8rem;
  padding: 0.85rem 1.2rem;
  resize: vertical;
  width: 100%;
}

.contact-form textarea {
  height: 7rem;
  min-height: 7rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9d9d9d;
  opacity: 1;
}

.contact-form button {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  min-height: 2.8rem;
  padding: 0.75rem 1.25rem;
  transition: background-color 200ms ease, color 200ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #fff;
  color: var(--home-green);
}

.contact-form__trap {
  height: 1px;
  left: -10000px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.contact-notice {
  border-radius: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  position: relative;
}

.contact-notice--success {
  background: #e9fff4;
  color: #164b38;
}

.contact-notice--error {
  background: #fff1ed;
  color: #7b2d1e;
}

.contact-map {
  height: clamp(28rem, 34vw, 39rem);
  overflow: hidden;
}

.contact-map iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

@media (max-width: 1100px) {
  .contact-container {
    gap: 4rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
    padding-inline: 3rem;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    background-position: 58% center;
    height: 48rem;
    min-height: 0;
  }

  .contact-hero .booking-callout {
    display: none;
  }

  .contact-hero .booking-bar {
    bottom: 1.25rem;
  }

  .contact-hero__dots {
    bottom: 22rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    margin-inline: auto;
    max-width: 720px;
    padding-inline: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding-block: 4.5rem;
  }

  .contact-container {
    gap: 3.5rem;
    padding-inline: 1.25rem;
  }

  .contact-form-card {
    border-radius: 0.85rem;
    padding: 2.25rem 1.25rem 1.5rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-list li,
  .contact-list span {
    overflow-wrap: anywhere;
  }

  .contact-map {
    height: 27rem;
  }
}
