/* ==========================================================
   IMISI FOUNDATION — CONTACT SECTION
   03 / Start a Conversation
   ========================================================== */

.contact-section {
  --teal: #0a6970;
  --green: #0c9268;
  --lime: #bed639;
  --bone: #f4f1e8;
  --charcoal: #3f3f3f;

  position: relative;

  padding: 12vh 6vw 9vh;

  background: #ffffff;
  color: var(--charcoal);

  overflow: hidden;
}

/* ==========================================================
   HEADER
   ========================================================== */

.contact-section__header {
  display: flex;
  justify-content: space-between;

  margin-bottom: clamp(70px, 10vh, 130px);

  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-section__header span:first-child {
  color: var(--teal);
}

.contact-section__header span:last-child {
  color: rgba(63, 63, 63, 0.4);
}

/* ==========================================================
   LAYOUT
   ========================================================== */

.contact-section__layout {
  display: grid;

  grid-template-columns:
    minmax(320px, 0.85fr)
    minmax(400px, 1.15fr);

  gap: clamp(70px, 10vw, 170px);

  width: min(1500px, 100%);
  margin: 0 auto;
}

/* ==========================================================
   INTRO
   ========================================================== */

.contact-section__intro {
  max-width: 650px;
}

.contact-section__label {
  margin: 0 0 22px;

  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: var(--green);
}

.contact-section__intro h2 {
  margin: 0;

  font-family: "Marcellus", serif;
  font-size: clamp(4rem, 6vw, 7rem);
  font-weight: 400;

  line-height: 0.9;
  letter-spacing: -0.045em;
}

.contact-section__intro h2 span {
  color: var(--green);
  font-style: italic;
}

.contact-section__lead {
  max-width: 510px;

  margin: 40px 0 0;

  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;

  color: rgba(63, 63, 63, 0.67);
}

/* ==========================================================
   DETAILS
   ========================================================== */

.contact-section__details {
  margin-top: 75px;

  border-top: 1px solid rgba(63, 63, 63, 0.14);
}

.contact-section__detail {
  display: grid;

  grid-template-columns: 100px 1fr;

  gap: 20px;

  padding: 20px 0;

  border-bottom: 1px solid rgba(63, 63, 63, 0.14);
}

.contact-section__detail > span {
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;

  letter-spacing: 0.13em;
  text-transform: uppercase;

  color: rgba(63, 63, 63, 0.4);
}

.contact-section__detail a,
.contact-section__detail p {
  margin: 0;

  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;

  color: var(--teal);
  text-decoration: none;
}

.contact-section__detail a:hover {
  color: var(--green);
}

.contact-section__socials {
  display: flex;
  flex-wrap: wrap;

  gap: 20px;
}

.contact-section__socials a {
  font-size: 0.72rem;
}

/* ==========================================================
   FORM WRAPPER
   ========================================================== */

.contact-section__form-wrap {
  padding: clamp(30px, 4vw, 55px);

  background: var(--bone);

  border: 1px solid rgba(63, 63, 63, 0.1);
}

.contact-section__form-heading {
  display: flex;
  justify-content: space-between;

  margin-bottom: 45px;

  font-family: "Manrope", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-section__form-heading span:first-child {
  color: var(--teal);
}

.contact-section__form-heading span:last-child {
  color: rgba(63, 63, 63, 0.35);
}

/* ==========================================================
   FORM FIELDS
   ========================================================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-form__field label {
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(63, 63, 63, 0.5);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;

  padding: 13px 0;

  border: 0;
  border-bottom: 1px solid rgba(63, 63, 63, 0.22);

  outline: none;

  background: transparent;

  border-radius: 0;

  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;

  color: var(--charcoal);

  transition:
    border-color 0.3s ease,
    padding 0.3s ease;
}

.contact-form__field textarea {
  resize: vertical;

  min-height: 120px;

  line-height: 1.6;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(63, 63, 63, 0.32);
}

.contact-form__field select {
  cursor: pointer;

  appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--teal) 50%),
    linear-gradient(135deg, var(--teal) 50%, transparent 50%);

  background-position:
    calc(100% - 6px) 50%,
    calc(100% - 1px) 50%;

  background-size:
    6px 6px,
    6px 6px;

  background-repeat: no-repeat;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--teal);

  padding-left: 8px;
}

/* ==========================================================
   FORM BOTTOM
   ========================================================== */

.contact-form__bottom {
  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  gap: 30px;

  padding-top: 15px;
}

.contact-form__bottom p {
  max-width: 220px;

  margin: 0;

  font-family: "Manrope", sans-serif;
  font-size: 0.65rem;
  line-height: 1.6;

  color: rgba(63, 63, 63, 0.42);
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 22px;

  padding: 17px 23px;

  border: 0;

  background: var(--teal);
  color: var(--bone);

  font-family: "Manrope", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.3s ease,
    gap 0.3s ease;
}

.contact-form__submit:hover {
  background: var(--green);

  gap: 30px;
}

.contact-form__submit span {
  font-size: 1rem;
}

/* ==========================================================
   CLOSING
   ========================================================== */

.contact-section__closing {
  display: flex;
  align-items: center;
  gap: 25px;

  margin-top: 110px;
}

.contact-section__closing-line {
  width: 80px;
  height: 1px;

  background: var(--teal);
}

.contact-section__closing p {
  margin: 0;

  font-family: "Marcellus", serif;
  font-size: 1.15rem;
}

.contact-section__closing strong {
  color: var(--teal);
  font-weight: 400;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 950px) {
  .contact-section__layout {
    grid-template-columns: 1fr;

    gap: 80px;
  }

  .contact-section__intro {
    max-width: 750px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 75px 5vw 90px;
  }

  .contact-section__header span:last-child {
    display: none;
  }

  .contact-section__intro h2 {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }

  .contact-section__lead {
    font-size: 0.9rem;
  }

  .contact-section__details {
    margin-top: 55px;
  }

  .contact-section__form-wrap {
    padding: 28px 20px;
  }

  .contact-section__form-heading span:last-child {
    display: none;
  }

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

  .contact-form__bottom p {
    max-width: 100%;
  }

  .contact-form__submit {
    justify-content: space-between;
  }

  .contact-section__closing {
    margin-top: 80px;
  }
}
