- /*
 Theme Name:   WPResidence Child Theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WPResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.4.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


.elementor-element-a0f922c::before{
	  content: '';
    position: absolute;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(156, 126, 95, 0.1) 10px, rgba(156, 126, 95, 0.1) 11px) !important;
    pointer-events: none;
}


/* ═══════════════════════════════════════════════
   LSP — Contact Form 7 styling
   Matches landing page brand identity
   ═══════════════════════════════════════════════ */

/* ── Font loading (only if not already loaded on page) ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Scope everything under the CF7 wrapper ── */
.wpcf7 {
  --depth: #3A5068;
  --depth-deep: #2F4357;
  --slate: #5C7A96;
  --mist: #8BA5BB;
  --ivory: #F4F1EA;
  --linen: #E2DDD3;
  --bronze: #9C7E5F;

  background: var(--ivory);
  padding: 44px 40px 36px;
  position: relative;
  font-family: 'Inter', -apple-system, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Bronze corner brackets ── */
.wpcf7::before,
.wpcf7::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.wpcf7::before {
  top: 12px; left: 12px;
  border-top: 0.5px solid var(--bronze);
  border-left: 0.5px solid var(--bronze);
}
.wpcf7::after {
  bottom: 12px; right: 12px;
  border-bottom: 0.5px solid var(--bronze);
  border-right: 0.5px solid var(--bronze);
}

/* ── Form heading block ── */
.wpcf7 .lsp-form-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 12px;
}
.wpcf7 .lsp-form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--depth);
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}
.wpcf7 .lsp-form-sub {
  font-size: 13px;
  color: #6B6B68;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ── Field wrappers ── */
.wpcf7 .lsp-field {
  margin-bottom: 18px;
}
.wpcf7 .lsp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.wpcf7 .lsp-field-row .lsp-field {
  margin-bottom: 0;
}

/* ── Labels ── */
.wpcf7 .lsp-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin-bottom: 7px;
}
.wpcf7 .lsp-optional {
  color: #B5AE9E;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 11px;
}

/* ── Inputs, selects, textareas ── */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 11px 0;
  border: none;
  border-bottom: 0.5px solid #C7BFAF;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--depth);
  font-weight: 400;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.3s ease;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-bottom-color: var(--bronze);
  box-shadow: none;
}
.wpcf7 textarea {
  resize: vertical;
  min-height: 56px;
  line-height: 1.55;
  padding-top: 10px;
}

/* ── Custom select arrow ── */
.wpcf7 select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%239C7E5F' stroke-width='1' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

/* ── Submit button ── */
.wpcf7 .lsp-submit,
.wpcf7 input.wpcf7-submit {
  width: 100%;
  padding: 16px 24px;
  margin-top: 12px;
  background: var(--depth);
  color: var(--ivory);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s ease, letter-spacing 0.3s ease;
}
.wpcf7 .lsp-submit:hover,
.wpcf7 input.wpcf7-submit:hover {
  background: var(--depth-deep);
  letter-spacing: 5px;
}
.wpcf7 .lsp-submit:disabled,
.wpcf7 input.wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ── Footnote under submit ── */
.wpcf7 .lsp-form-note {
  font-size: 11px;
  color: #8A857A;
  margin: 18px 0 0;
  text-align: center;
  line-height: 1.55;
}

/* ── CF7 AJAX loader spinner ── */
.wpcf7 .wpcf7-spinner {
  background-color: var(--bronze);
  margin: 0 8px;
}

/* ── Validation error tips (per field) ── */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #C0796A;
  letter-spacing: 0.3px;
  margin-top: 6px;
  font-weight: 400;
}
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-bottom-color: #C0796A;
}

/* ── Response output at bottom of form ── */
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border: none;
  border-left: 2px solid var(--bronze);
  background: #FAF7F0;
  font-size: 13px;
  color: var(--depth);
  line-height: 1.6;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 15px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-left-color: #C0796A;
  background: #FBF0EE;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-left-color: var(--bronze);
  background: #FAF7F0;
}

/* ── Neutralize any residual CF7 paragraph wrapping ── */
.wpcf7 p {
  margin: 0;
}
.wpcf7 br {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .wpcf7 {
    padding: 36px 28px 28px;
  }
  .wpcf7 .lsp-field-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  .wpcf7 .lsp-field-row .lsp-field {
    margin-bottom: 18px;
  }
  .wpcf7 .lsp-form-title {
    font-size: 28px;
  }
}