.contact {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: transparent;
  padding: clamp(5rem, 8vw, 6rem) clamp(2rem, 8vw, 6rem) clamp(5rem, 8vw, 6rem)
    clamp(2.5rem, 6vw, 5.5rem);
}

.contact__overlay {
  display: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0;
  margin-right: auto;
}

.contact__content {
  max-width: min(720px, 65vw);
  color: #ffffff;
  padding-top: clamp(3.5rem, 9vw, 7rem);
}

.contact__title {
  font-family: "Elms Sans", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.32;
  margin-bottom: 0.85rem;
  max-width: 42ch;
}

.contact__title-line {
  white-space: nowrap;
}

.contact__divider {
  display: block;
  width: 48px;
  height: 3px;
  background-color: #2a9d8f;
  margin-bottom: 1.85rem;
}

.contact__text {
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact__text:last-of-type {
  margin-bottom: 1.75rem;
}

.contact__btn {
  display: inline-block;
  padding: 0.8rem 1.85rem;
  background-color: #fdf6ee;
  color: #2a9d8f;
  font-family: "Elms Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact__btn:hover,
.contact__btn:focus-visible {
  background-color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .contact {
    align-items: flex-start;
    min-height: auto;
    background-color: #fdf6ee;
    background-image: none;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 1.75rem)
      clamp(2.5rem, 6vw, 3.5rem);
  }

  .contact__content {
    max-width: min(600px, 100%);
    padding-top: 0;
    color: #3d4947;
  }

  .contact__title {
    color: #191c1d;
  }

  .contact__divider {
    background-color: #2a9d8f;
  }

  .contact__text {
    color: #3d4947;
  }

  .contact__btn {
    color: #006d5b;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1rem, 4vw, 1.25rem)
      clamp(2rem, 5vw, 2.75rem);
  }

  .contact__content {
    max-width: 100%;
  }

  .contact__title {
    max-width: 100%;
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .contact__title-line {
    white-space: normal;
  }

  .contact__text {
    font-size: clamp(0.98rem, 3.6vw, 1.1rem);
  }
}
