/* ========================================
   FRIEND BACK HOME — Real Estate
   Warm saffron theme, consistent with sports/food pages
   ======================================== */

:root {
  --re-ink: #1C1917;
  --re-deep: #92400E;
  --re-primary: #D97706;
  --re-gold: #F59E0B;
  --re-paper: #FDF8F0;
  --re-line: #E7DDD0;
  --re-muted: #78716C;
}

* { box-sizing: border-box; }
body { margin: 0; background: #FEFDF8; color: var(--re-ink); font-family: Inter, -apple-system, system-ui, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.re-shell { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── INTRO ── */
.re-intro { text-align: center; padding: 64px 20px 40px; background: linear-gradient(135deg, #FFF0E6 0%, #FFFBEB 100%); }
.re-intro__copy { max-width: 760px; margin: 0 auto; }
.re-back { display: inline-flex; align-items: center; gap: 6px; color: var(--re-deep); text-decoration: none; font-size: .88rem; font-weight: 500; margin-bottom: 20px; }
.re-back:hover { text-decoration: underline; }
.re-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--re-primary); margin: 0 0 12px; }
.re-intro h1 { margin: 0 0 14px; color: var(--re-deep); font: 700 2.3rem/1.2 "Playfair Display", Georgia, serif; }
.re-intro__copy > p { max-width: 640px; margin: 0 auto 14px; color: var(--re-muted); font-size: 1.05rem; line-height: 1.65; }
.re-intro__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 20px auto 14px; padding: 15px 34px; border: none; border-radius: 100px; background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-deep) 100%); color: #fff; font-size: 1rem; font-weight: 600; text-decoration: none; box-shadow: 0 8px 22px rgba(146, 64, 14, .28); transition: transform .2s ease, box-shadow .2s ease; }
.re-intro__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(146, 64, 14, .36); }
.re-intro__cta:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(146, 64, 14, .28); }
.re-intro__note { font-size: .82rem !important; color: var(--re-muted); }

/* ── SECTION HEADINGS ── */
.re-section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.re-section-head--left { text-align: left; margin-left: 0; }
.re-tag { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--re-primary); margin: 0 0 10px; }
.re-section-head h2 { margin: 0 0 12px; color: var(--re-deep); font: 700 1.85rem/1.25 "Playfair Display", Georgia, serif; }
.re-section-head p { margin: 0; color: var(--re-muted); font-size: 1rem; line-height: 1.6; }

/* ── SERVICES ── */
.re-services { padding: 60px 0; }
.re-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.re-card { display: flex; flex-direction: column; border: 1px solid var(--re-line); border-radius: 16px; background: #fff; padding: 26px 24px; box-shadow: 0 1px 4px rgba(28,25,23,.06); transition: transform .25s, box-shadow .25s; }
.re-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(217,119,6,.12); }
.re-card__icon { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.re-card h3 { margin: 0 0 6px; color: var(--re-ink); font-size: 1.2rem; font-weight: 700; }
.re-card__lead { margin: 0 0 14px; color: var(--re-muted); font-size: .92rem; line-height: 1.5; }
.re-card ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.re-card li { position: relative; padding-left: 24px; color: #57534E; font-size: .9rem; line-height: 1.45; }
.re-card li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--re-primary); font-weight: 700; }
.re-card__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border: 1.5px solid var(--re-primary); border-radius: 100px; background: #fff; color: var(--re-deep); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.re-card__cta::after { content: "\2192"; transition: transform .2s ease; }
.re-card__cta:hover { background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-deep) 100%); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(146, 64, 14, .28); }
.re-card__cta:hover::after { transform: translateX(3px); }
.re-card__cta:active { transform: translateY(0); }

/* ── STEPS ── */
.re-steps { padding: 60px 0; background: var(--re-paper); }
.re-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: none; }
.re-step-list li { background: #fff; border: 1px solid var(--re-line); border-radius: 14px; padding: 24px 22px; }
.re-step-num { display: inline-block; font: 700 1rem/1 "Playfair Display", Georgia, serif; color: #fff; background: var(--re-deep); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.re-step-list h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--re-ink); }
.re-step-list p { margin: 0; color: var(--re-muted); font-size: .92rem; line-height: 1.55; }

/* ── TRUST ── */
.re-trust { padding: 60px 0; }
.re-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.re-trust-item { text-align: center; padding: 22px 18px; border: 1px solid var(--re-line); border-radius: 14px; background: #fff; }
.re-trust-item span { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.re-trust-item h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--re-ink); }
.re-trust-item p { margin: 0; color: var(--re-muted); font-size: .88rem; line-height: 1.5; }

/* ── ENQUIRY FORM ── */
.re-enquiry { padding: 20px 0 72px; }
.re-form-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--re-line); border-radius: 20px; padding: 36px 32px; box-shadow: 0 8px 28px rgba(217,119,6,.10); }
.re-form-card .re-section-head { margin-bottom: 26px; }
.re-field { margin-bottom: 18px; }
.re-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.re-field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 600; color: #44403C; }
.re-field label span { color: var(--re-primary); }
.re-field input, .re-field select, .re-field textarea { width: 100%; min-height: 44px; padding: 11px 13px; border: 1.5px solid var(--re-line); border-radius: 10px; color: #44403C; background: #fff; }
.re-field textarea { min-height: auto; resize: vertical; line-height: 1.5; }
.re-field input:focus, .re-field select:focus, .re-field textarea:focus { outline: 2px solid rgba(217,119,6,.25); border-color: var(--re-primary); }
.re-field input.re-invalid, .re-field select.re-invalid, .re-field textarea.re-invalid { border-color: #DC2626; }
.re-form-error { margin: 0 0 16px; padding: 11px 14px; border-radius: 10px; background: #FEF2F2; border: 1px solid #FCA5A5; color: #B91C1C; font-size: .88rem; }
.re-submit { width: 100%; margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border: none; border-radius: 100px; background: linear-gradient(135deg, #25D366 0%, #1DA851 100%); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(29, 168, 81, .28); transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.re-submit svg { flex: 0 0 auto; }
.re-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29, 168, 81, .36); }
.re-submit:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(29, 168, 81, .28); }
.re-submit:disabled { opacity: .7; cursor: default; transform: none; box-shadow: 0 6px 16px rgba(29, 168, 81, .2); }
.re-form-note { margin: 12px 0 0; text-align: center; color: var(--re-muted); font-size: .78rem; line-height: 1.5; }

@media (max-width: 560px) {
  .re-intro h1 { font-size: 1.85rem; }
  .re-field-row { grid-template-columns: 1fr; }
  .re-form-card { padding: 28px 20px; }
}
