/* ============================================================
   CONTACT PAGE
   Matches the site's inner-page design language:
   - <section> with /blogbg.svg background (like #blog/#philosophy)
   - Big uppercase title (6.5rem, line-height 0.8) with .font-serif accent
   - data-split / reveal-* animations
   - .maxwidth subtitle (opacity 0.5)
   - Scroll-down arrow
   - Sentence-style form with underlined inputs (matches .link hover)
   ============================================================ */

/* ---------- Hero section ---------- */
#contact {
  background-image: url("/blogbg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding-bottom: 6rem;
  position: relative;
}

#contact .contact__intro {
  margin-top: 12rem;
  position: relative;
  text-align: center;
}

@media (max-width: 767.98px) {
  #contact {
    padding-bottom: 4rem;
  }
  #contact .contact__intro {
    margin-top: 10rem;
  }
}

#contact .contact__intro-title {
  font-size: 6.5rem;
  line-height: 0.8;
  margin-bottom: 2.5rem;
  text-align: center;
  text-transform: uppercase;
}

#contact .contact__intro-title .font-serif {
  font-size: 1.3em;
}

@media (max-width: 767.98px) {
  #contact .contact__intro-title {
    font-size: 3.25rem;
  }
}

#contact .contact__intro p {
  color: #414141;
  margin-left: auto;
  margin-right: auto;
  max-width: 23rem;
  opacity: 0.5;
}

/* Scroll-down arrow (matches .arrowlong-down from blog intro) */
#contact .contact__intro .arrowlong {
  margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
  #contact .contact__intro .arrowlong {
    left: 50%;
    margin-top: 2rem;
    position: relative;
    transform: translate(-50%);
  }
}

/* ---------- Form section ---------- */
#contact .contact__form-wrap {
  background-color: #f7f5f1;
  border-radius: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
  padding: 3.5rem 3.5rem 3rem;
}

@media (max-width: 767.98px) {
  #contact .contact__form-wrap {
    padding: 2rem 1.25rem 1.75rem;
  }
}

#contact .contact__form {
  margin: 0;
}

/* Form title */
#contact .contact__form-title {
  color: #3b3b3b;
  font-family: PP Mori, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 2.25rem;
  text-align: center;
  text-transform: uppercase;
}

#contact .contact__form-title .font-serif {
  font-size: 1.3em;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

@media (max-width: 767.98px) {
  #contact .contact__form-title {
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
  }
}

/* Row: two columns side-by-side on desktop, stacked on mobile */
#contact .contact__row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
}

#contact .contact__row:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  #contact .contact__row {
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-bottom: 1.25rem;
  }
}

/* Full-width group (textarea) */
#contact .contact__group--full {
  grid-column: 1 / -1;
}

/* Field label */
#contact .contact__label {
  color: #3b3b3b;
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Inputs / textarea — site-style underlined fields on a soft card */
#contact .contact__input {
  background-color: #fff;
  border: 0;
  border-bottom: 1px solid #d8d8d8;
  color: #3b3b3b;
  font-family: PP Mori, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  padding: 0.85rem 1rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
}

#contact .contact__input::placeholder {
  color: #a0a0a0;
}

#contact .contact__input:focus {
  border-bottom-color: #3b3b3b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#contact .contact__textarea {
  min-height: 120px;
  resize: vertical;
}

/* Status message */
#contact .contact__status {
  color: #462408;
  font-size: 1rem;
  margin-top: 1.5rem;
  min-height: 1.5rem;
  text-align: center;
}

#contact .contact__status.is--error {
  color: #b33a3a;
}

#contact .contact__status.is--success {
  color: #2e7d32;
}

/* Submit button (matches site .btn__icon rounded style + arrow) */
#contact .contact__actions {
  margin-top: 2rem;
  text-align: center;
}

#contact .contact__submit {
  background: #3b3b3b;
  border: 0;
  border-radius: 5rem;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: PP Mori, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1.1rem 2.5rem;
  text-transform: uppercase;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

#contact .contact__submit:hover {
  background: #000;
  transform: translateY(-2px);
}

#contact .contact__submit .icon-arrow {
  transition: transform 0.3s ease;
}

#contact .contact__submit:hover .icon-arrow {
  transform: translateX(4px);
}

/* ---------- Address block ---------- */
#contact .contact__address {
  border-top: 1px solid #d8d8d8;
  margin: 5rem auto 0;
  max-width: 900px;
  padding-top: 3rem;
  text-align: center;
}

#contact .contact__address-title {
  color: #a0a0a0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

#contact .contact__address p {
  color: #3b3b3b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

#contact .contact__address ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#contact .contact__address ul li {
  margin: 0 1rem 0.5rem;
}

#contact .contact__address ul li a {
  color: #3b3b3b;
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  #contact .contact__address {
    margin-top: 3.5rem;
    padding-top: 2rem;
  }
  #contact .contact__address ul li {
    display: block;
    margin: 0 0 0.75rem;
    width: 100%;
  }
}

/* ---------- Floating WhatsApp button ---------- */
#contact .whatsapp-float {
  bottom: 2rem;
  position: fixed;
  right: 2rem;
  z-index: 50;
}

#contact .whatsapp-float a {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  height: 56px;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 56px;
}

#contact .whatsapp-float a:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform: scale(1.08);
}

#contact .whatsapp-float svg {
  height: 30px;
  width: 30px;
}

@media (max-width: 767.98px) {
  #contact .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  #contact .whatsapp-float a {
    height: 48px;
    width: 48px;
  }
  #contact .whatsapp-float svg {
    height: 26px;
    width: 26px;
  }
}
