@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap");

/* ============================================================
   Dawson Consultation Request Form
============================================================ */

.dcrf-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 70px 46px 90px;
  color: #183247;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  line-height: 1.5;
  box-sizing: border-box;
}

.dcrf-wrap *,
.dcrf-wrap *::before,
.dcrf-wrap *::after {
  box-sizing: border-box;
}

/* Intro */
.dcrf-intro {
  max-width: 1180px;
  margin: 0 0 58px;
}

.dcrf_main_concern label {
	margin-top: 20px !important;
}

.dcrf-eyebrow {
    margin-bottom: 25px !important;
  margin: 0 0 16px;
  color: #183247 !important;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.3;
  font-weight: 500 !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dcrf-intro h2 {
    padding-top: 25px !important;
  max-width: 980px;
  margin: 0 0 28px;
  color: #183247 !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 60px !important;
  line-height: 1.08;
  font-weight: 400;
}

.dcrf-intro p {
  max-width: 1040px;
  margin: 0;
  color: #263238;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 300;
}

/* Messages */
.dcrf-message {
  width: 100%;
  margin: 0 0 38px;
  padding: 24px 28px;
  border-radius: 8px;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 300;
}

.dcrf-message--success {
  background: rgba(164, 186, 183, 0.22);
  border: 1px solid rgba(30, 111, 122, 0.26);
  color: #183247;
}

.dcrf-message--error {
  background: rgba(185, 144, 84, 0.10);
  border: 1px solid rgba(185, 144, 84, 0.28);
  color: #183247;
}

/* Form Card */
.dcrf-form {
  width: 100%;
  max-width: 1360px;
  margin: 0;
  padding: 50px;
  background: #FBF7EF;
  border: 1px solid rgba(185, 144, 84, 0.24);
  border-radius: 10px;
  font-family: "Source Sans 3", Arial, sans-serif !important;
}

/* Honeypot */
.dcrf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Layout */
.dcrf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
  margin: 0 0 30px;
}

.dcrf-field {
  margin: 0 0 30px;
}

.dcrf-grid .dcrf-field {
  margin: 0;
}

/* Labels */
.dcrf-field label,
.dcrf-field legend {
  display: block;
  margin: 0 0 11px;
  color: #183247;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.35;
  font-weight: 500 !important;
}

.dcrf-field label span {
  color: #B99054;
}

/* Inputs */
.dcrf-field input,
.dcrf-field select,
.dcrf-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(24, 50, 71, 0.20);
  border-radius: 6px;
  background-color: #ffffff;
  color: #183247;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 300;
  box-shadow: 0 4px 14px rgba(24, 50, 71, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.dcrf-field input,
.dcrf-field select {
  min-height: 58px;
  padding: 0 18px;
}

.dcrf-field textarea {
  min-height: 160px;
  padding: 18px;
  resize: vertical;
}

.dcrf-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #183247 50%),
    linear-gradient(135deg, #183247 50%, transparent 50%);
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    7px 7px,
    7px 7px;
  background-repeat: no-repeat;
  padding-right: 48px;
}

.dcrf-field input::placeholder,
.dcrf-field textarea::placeholder {
  color: rgba(24, 50, 71, 0.42);
}

.dcrf-field input:focus,
.dcrf-field select:focus,
.dcrf-field textarea:focus {
  outline: none;
  border-color: #1E6F7A;
  box-shadow: 0 0 0 3px rgba(30, 111, 122, 0.13);
  background-color: #ffffff;
}

/* Checkbox Section */
.dcrf-checkboxes {
  margin: 4px 0 32px;
  padding: 30px;
  border: 1px solid rgba(185, 144, 84, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.dcrf-checkboxes legend {
    margin-left: -40px !important;
  padding: 0 10px;
  margin: 0 0 20px;
  color: #183247;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.35;
  font-weight: 600;
}

.dcrf-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 34px !important;
}

.dcrf-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #263238;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 300;
  cursor: pointer;
}

.dcrf-checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  accent-color: #1E6F7A;
  cursor: pointer;
}

/* Consent */
.dcrf-consent {
  margin: 34px 0 34px;
  padding: 24px 26px;
  background: rgba(164, 186, 183, 0.17);
  border: 1px solid rgba(30, 111, 122, 0.18);
  border-radius: 8px;
}

.dcrf-consent label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  color: #263238;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
  cursor: pointer;
}

.dcrf-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 3px 0 0;
  accent-color: #1E6F7A;
  cursor: pointer;
}

/* Submit Button */
.dcrf-submit {
  width: fit-content;
  max-width: 100%;
  min-width: 190px;
  margin: 0;
  padding: 18px 34px;
  background: #1E6F7A;
  color: #ffffff !important;
  border: 1px solid #1E6F7A;
  border-radius: 4px;
  font-family: "Source Sans 3", Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1;
  font-weight: 500 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dcrf-submit:hover,
.dcrf-submit:focus {
  background: #183247;
  border-color: #183247;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.dcrf-submit:focus-visible {
  outline: 3px solid #B99054;
  outline-offset: 4px;
}

/* ============================================================
   Responsive
============================================================ */

@media (max-width: 1100px) {
  .dcrf-wrap {
    padding: 64px 34px 76px;
  }

  .dcrf-intro h2 {
    font-size: 56px;
  }

  .dcrf-intro p {
    font-size: 21px;
  }

  .dcrf-form {
    padding: 40px;
  }
}

@media (max-width: 800px) {
  .dcrf-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .dcrf-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .dcrf-wrap {
    padding: 54px 22px 64px;
  }

  .dcrf-intro {
    margin-bottom: 42px;
  }

  .dcrf-eyebrow {
    font-size: 14px;
    letter-spacing: 0.18em;
  }

  .dcrf-intro h2 {
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
  }

  .dcrf-intro p {
    font-size: 18px;
    line-height: 1.55;
  }

  .dcrf-message {
    padding: 20px;
    font-size: 18px;
  }

  .dcrf-form {
    padding: 28px 22px;
  }

  .dcrf-field {
    margin-bottom: 26px;
  }

  .dcrf-field label,
  .dcrf-field legend,
  .dcrf-checkboxes legend {
    font-size: 17px;
  }

  .dcrf-field input,
  .dcrf-field select,
  .dcrf-field textarea,
  .dcrf-checkbox-grid label {
    font-size: 17px;
  }

  .dcrf-field input,
  .dcrf-field select {
    min-height: 56px;
  }

  .dcrf-field textarea {
    min-height: 140px;
  }

  .dcrf-checkboxes {
    padding: 24px 20px;
  }

  .dcrf-consent {
    padding: 22px 20px;
  }

  .dcrf-consent label {
    font-size: 16px;
  }

  .dcrf-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}