/* ===========================
   CONTACT.CSS — Kteam Architects
   =========================== */


/* ============================================================
   NAV
   ============================================================ */
.nav--cream {
  background: var(--color-cream);
}


/* ============================================================
   INTRO
   ============================================================ */
.ct-intro__main {
  gap: 48px;
}

.ct-intro__h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.23vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: #000;
  margin: 0;
}

.ct-intro__body {
display: flex;
justify-content:center;
}

.ct-intro__text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-gray);
  margin: 0;
	    max-width: 520px;
}


/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.ct-form-section {
  position: relative;
  overflow: hidden;
}

.ct-form-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ct-form-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.ct-form-section__inner {
  position: relative;
  z-index: 1;
  align-items: stretch;
  min-height: 768px;
}

.ct-form-section__rail {
  border-right-color: rgba(255, 255, 255, 0.2);
}


/* ============================================================
   FORM CARD
   ============================================================ */
.ct-form {
  background: #fff;
  width: 588px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 24px;
  align-self: center;
  margin: clamp(40px, 5.3vw, 80px) auto;
}

.ct-form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-form__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #292929;
}

.ct-form__input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  padding: 12px;
}

.ct-form__input-wrap--textarea {
  align-items: flex-start;
}

.ct-form__input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #292929;
  background: transparent;
  resize: none;
}

.ct-form__input::placeholder {
  color: #d1d1d1;
  font-weight: 300;
}

.ct-form__textarea {
  height: 100px;
  line-height: 1.65;
}

.ct-form__footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-gray);
}

.ct-form__checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  cursor: pointer;
  accent-color: #000;
}

.ct-form__submit {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ct-form__submit:hover {
  opacity: 0.8;
}


/* ============================================================
   AREAS WE SERVE
   ============================================================ */
.ct-areas__main {
  gap: 48px;
}

.ct-areas__heading {
  max-width: 706px;
}

.ct-areas__h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.59vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  color: #000;
  margin: 0;
}

.ct-areas__grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--color-border);
}

.ct-areas__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--color-border);
}

.ct-areas__cell {
  padding: 24px;
  border-right: 1px solid var(--color-border);
	margin: 24px 0;
}

.ct-areas__cell--last {
  border-right: none;
}

.ct-areas__cell span {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-gray);
}

.ct-areas__map {
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: #f3f0e1;
	    filter: grayscale(1);
}

.ct-areas__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ct-areas__map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-black);
  text-decoration: underline;
}


/* ============================================================
   MOBILE — @media (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {

  /* INTRO */
  .ct-intro__body {
    max-width: 100%;
  }

  /* FORM SECTION */
  .ct-form-section__inner {
    flex-direction: column;
    min-height: unset;
  }

  .ct-form-section__rail {
    display: none;
  }

  .ct-form-section__heading {
    padding: 48px 16px 24px;
  }

  .ct-form {
    width: 100%;
    margin: 0;
    padding: 16px;
  }

  /* AREAS */
  .ct-areas__grid {
    overflow-x: auto;
  }

  .ct-areas__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .ct-areas__cell:nth-child(2) {
    border-right: none;
  }

  .ct-areas__cell--last {
    border-right: none;
  }

  .ct-areas__map {
    height: 400px;
  }
}
