/* contact_us.css */

/*
  Font file needed:
  static/fonts/HV Harietta Bold.otf
*/

@font-face {
  font-family: "HV Harietta";
  src: url("/static/fonts/HV%20Harietta%20Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
}

/* PAGE */

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 56px;
  color: #2f2f2f;
}

/* TITLE + INTRO */

.contact-title {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  text-align: center;
  color: #2b2b2b;
  margin: 8px 0 18px;
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-subtitle {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  text-align: center;
  color: #2f2f2f;
  margin: 0 auto 8px;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 700;
}

.contact-phone {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  text-align: center;
  color: #2f2f2f;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 28px;
  letter-spacing: 0.5px;
}

/* FORM */

form.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.form-group label {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  color: #2f2f2f;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  padding: 11px 13px;
  border: 1px solid #d5d0c8;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
  color: #2f2f2f;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7B8C6E;
  box-shadow: 0 0 0 3px rgba(123, 140, 110, 0.18);
}

.form-group textarea {
  min-height: 150px;
}

/* Required badge */

.required-label {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Captcha */

.captcha-group {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Error summary */

.error-summary {
  max-width: 720px;
  margin: 0 auto 18px;
  background: #fff4f4;
  border: 1px solid #f1c0c0;
  color: #7b1c1c;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.error-summary p {
  margin: 0 0 8px;
}

.error-summary ul {
  margin: 8px 0 0 1.2rem;
  padding: 0;
}

/* Submit */

.submit-row {
  text-align: center;
}

.btn-submit {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif;
  display: inline-block;
  min-width: 180px;
  padding: 12px 36px;
  background: #7B8C6E;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.btn-submit:hover {
  background: #5a6650;
  transform: translateY(-1px);
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .contact-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 16px 14px 42px;
  }

  .contact-title {
    font-size: 1.55rem;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
  }

  .contact-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 8px;
  }

  .contact-phone {
    margin-bottom: 22px;
  }

  form.contact-form {
    gap: 14px;
  }

  .contact-form .row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .label-row {
    margin-bottom: 4px;
  }

  .required-label {
    position: static;
    font-size: 0.68rem;
    margin-left: auto;
    color: #999;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
    padding: 10px;
  }

  .captcha-group {
    justify-content: center;
  }

  .submit-row {
    margin-top: 6px;
  }

  .btn-submit {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .contact-title {
    font-size: 1.42rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }
}