/* Contact Split (content-contact-split.php) and the Contact Form 7 form inside it. */

.contact-split.section-design {
  padding-top: 90px;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-split h1 {
  margin: 18px 0 22px;
  font-size: 86px;
}

/* Contact details with round icons */
.contact-details {
  margin-top: 40px;
  border-top: 1px solid #d3cbbf;
}
.contact-detail {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #d3cbbf;
  color: #100f0e;
}
.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #100f0e;
}
.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f2eee6;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail b {
  display: block;
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #796e65;
}
.contact-detail b + span {
  font-size: 16.5px;
  font-weight: 500;
  color: #100f0e;
}
a.contact-detail:hover b + span {
  color: #b45f06;
}
.contact-split .social-icons {
  margin-top: 26px;
}

/* White form card with an orange line along the top */
.form-card {
  position: relative;
  padding: 44px 44px 40px;
  background-color: #ffffff;
  border: 1px solid #d3cbbf;
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(16, 15, 14, 0.08);
}
.form-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #b45f06;
}
.form-card h2 {
  font-size: 36px;
}
.form-card-note {
  margin: 6px 0 26px;
  font-size: 14.5px;
}
.form-card-note span,
.form-field .req {
  margin-left: 2px;
  color: #b45f06;
}

/* =====  Form fields (Contact Form 7)  ======== */

.form-card .wpcf7 form {
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field.form-field-full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: #100f0e;
}
.form-field .wpcf7-form-control-wrap {
  display: block;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15.5px;
  color: #100f0e;
  background-color: #fcfbf8;
  border: 1px solid #cfc6b8;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea {
  min-height: 140px;
  height: 140px;
  resize: vertical;
}
.form-field select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23796e65' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #b45f06;
  box-shadow: 0 0 0 3px rgba(180, 95, 6, 0.15);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.form-foot small {
  max-width: 300px;
  font-size: 12.5px;
  color: #7d746b;
}
.form-foot .wpcf7-submit {
  cursor: pointer;
}
.form-foot .wpcf7-spinner {
  margin: 0 0 0 8px;
}

/* Messages from Contact Form 7 */
.form-card .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 13px;
  color: #b3261e;
}
.form-card .wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  color: #2e2b27;
  background-color: #e9e3d7;
  border: 0;
  border-left: 3px solid #b45f06;
}


/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .contact-split h1 {
    font-size: 70px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .contact-split h1 {
    font-size: 52px;
  }
  .form-card {
    padding: 32px 22px 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Small fixes for Contact Form 7's markup */
.form-field textarea {
  display: block;
}
.form-foot .wpcf7-submit {
  line-height: normal;
}
.form-card .wpcf7 form .wpcf7-response-output:empty {
  display: none;
}
