/* =========================
   CONTACT
========================= */

#contact {
  background: white;
  color: var(--heading);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact-info > p:last-of-type {
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;

  margin-bottom: 1.75rem;
}

.contact-detail svg {
  width: 22px;
  height: 22px;

  flex-shrink: 0;

  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;

  margin-top: 2px;
}

.contact-detail strong {
  display: block;

  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--accent);

  margin-bottom: 0.25rem;
}

.contact-detail span {
  color: var(--body);
  line-height: 1.7;
}

/* =========================
   FORM
========================= */

.contact-form {
  background: white;

  padding: 2.5rem;

  border-radius: var(--radius);
  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;

  margin-bottom: 0.45rem;

  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;

  padding: 1rem;

  border-radius: 12px;
  border: 1px solid #d8d8d8;

  background: white;

  font: inherit;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.field select {
  color: var(--body);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;

  border-color: var(--accent);

  box-shadow: 0 0 0 4px rgba(102, 122, 99, 0.12);
}

/* =========================
   BUTTON
========================= */

.contact-form .btn {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.5rem;
  }

  .contact-info h3 {
    font-size: 2rem;
  }
}
