/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

.contact-section {
  position: relative;
  background-color: hsl(44, 14%, 32%);
  padding-top: 80px;
}

.contact-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.contact-wave svg {
  display: block;
  width: 100%;
  height: 90px;
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 4rem 6rem;
}

.contact-left {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-top: 1rem;
}

.contact-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: #f0ebe3;
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.01em;
  text-align: center;
}

.contact-heading em {
  font-style: italic;
}

.contact-subtext {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(240, 235, 227, 0.8);
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

.contact-subtext strong {
  font-weight: 500;
}

.contact-right {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-legend {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(240, 235, 227, 0.85);
  margin-bottom: 0.5rem;
  padding: 0;
}

.contact-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(240, 235, 227, 0.85);
}

.contact-required {
  font-size: 0.85rem;
  opacity: 0.7;
}

.contact-input {
  background: transparent;
  border: 1.5px solid rgba(240, 235, 227, 0.35);
  border-radius: 50px;
  padding: 0.75rem 1.2rem;
  color: #f0ebe3;
  font-family: 'Alegreya', Georgia, serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-input:focus {
  border-color: rgba(240, 235, 227, 0.7);
}

.contact-input::placeholder {
  color: rgba(240, 235, 227, 0.3);
}

.contact-textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 130px;
}

.contact-submit {
  align-self: flex-start;
  background: rgba(240, 235, 227, 0.9);
  color: #3b3526;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: background 0.25s ease;
}

.contact-submit:hover {
  background: #f5f0eb;
}

/* LOCATION SECTION */
.contact-location-section {
  background-color: #ede8e0;
  padding: 5rem 4rem 6rem;
  margin-top: -2px;
}

.contact-location-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.contact-location-left {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.contact-location-monogram {
  width: 110px;
  height: auto;
  margin-bottom: 0.4rem;
}

.contact-location-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: hsl(23, 32%, 40%);
  margin: 0;
  line-height: 1.15;
  border-bottom: 1.5px solid hsl(23, 32%, 60%);
  padding-bottom: 0.6rem;
  display: inline-block;
}

.contact-location-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: hsl(23, 32%, 35%);
  letter-spacing: 0.02em;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

.contact-location-note {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: hsl(23, 32%, 40%);
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

.contact-location-right {
  flex: 1;
}

.contact-map {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-inner {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 2rem 4rem;
  }

  .contact-left {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .contact-right {
    width: 100%;
  }

  .contact-submit {
    margin-bottom: 5rem;
  }

  .contact-heading {
    font-size: 2.2rem;
  }

  .contact-location-section {
    padding: 3rem 1.5rem 4rem;
  }

  .contact-location-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .contact-location-left {
    flex: none;
    width: 100%;
    align-items: center;
  }

  .contact-map {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .contact-name-row {
    grid-template-columns: 1fr;
  }
}
