/* Home Seller Pro — requirements form (public page and agent panel). Gold + tints; black only for text. */
.hsp-rf {
	--hsp-ink: var(--wp--preset--color--contrast, #1b1b1f);
	--hsp-muted: var(--wp--preset--color--contrast-2, #4a4a52);
	--hsp-strong: var(--wp--preset--color--accent-strong, #6f560d);
	--hsp-tint: var(--wp--preset--color--accent-soft, #fbf5e1);
	--hsp-tint-2: var(--wp--preset--color--accent-light, #efe0ae);
	--hsp-gold: var(--hsp-accent, #d3af37);
	display: grid; gap: 22px; max-width: 900px; margin: 0 auto; color: var(--hsp-ink); font-size: 16px; line-height: 1.5; box-sizing: border-box;
}
.hsp-rf *, .hsp-rf *::before, .hsp-rf *::after { box-sizing: border-box; }
.hsp-rf__group { background: #fff; border: 1px solid var(--hsp-tint-2); border-top: 4px solid var(--hsp-gold); border-radius: var(--hsp-radius, 10px); padding: 22px 24px 26px; }
.hsp-rf--panel .hsp-rf__group { border-top-width: 1px; padding: 16px 18px 20px; }
.hsp-rf__title { margin: 0 0 16px; font-size: 1.2rem; line-height: 1.3; }
.hsp-rf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.hsp-rf__field { display: grid; gap: 6px; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
.hsp-rf__field--wide { grid-column: 1 / -1; }
.hsp-rf__label { font-weight: 700; font-size: .92rem; padding: 0; }
.hsp-rf__req { color: var(--hsp-strong); }
.hsp-rf__help { margin: -2px 0 4px; font-size: .86rem; color: var(--hsp-muted); }
.hsp-rf__input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--hsp-tint-2); border-radius: 8px; background: var(--hsp-tint); color: var(--hsp-ink); font: inherit; }
textarea.hsp-rf__input { min-height: 110px; line-height: 1.5; }
.hsp-rf__input:focus { background: #fff; border-color: var(--hsp-strong); outline: 3px solid color-mix(in srgb, var(--hsp-gold) 45%, transparent); outline-offset: 0; }
.hsp-rf__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hsp-rf__sub { display: grid; gap: 4px; font-size: .86rem; color: var(--hsp-muted); }
.hsp-rf__affix { display: flex; align-items: stretch; }
.hsp-rf__affix .hsp-rf__input { border-radius: 8px 0 0 8px; min-width: 0; }
.hsp-rf__affix > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--hsp-tint-2); border-left: 0; border-radius: 0 8px 8px 0; background: #fff; color: var(--hsp-muted); font-weight: 700; }

/* Chips (radio/checkbox pills). The input stays in the tab order, visually hidden. */
.hsp-rf__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hsp-rf__chip { position: relative; display: inline-flex; margin: 0; }
.hsp-rf__chip input, .hsp-rf__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.hsp-rf__chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--hsp-tint-2); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.hsp-rf__chip span:hover { background: var(--hsp-tint); }
.hsp-rf__chip input:checked + span { background: var(--hsp-gold); border-color: var(--hsp-gold); color: var(--hsp-accent-text, #1a1a1a); }
.hsp-rf__chip input:focus-visible + span, .hsp-rf__seg input:focus-visible + span { outline: 3px solid var(--hsp-strong); outline-offset: 2px; }

/* Locations tree. */
.hsp-rf__tree { max-height: 330px; overflow: auto; padding: 10px 14px; border: 1px solid var(--hsp-tint-2); border-radius: 8px; background: var(--hsp-tint); }
.hsp-rf__tree ul { list-style: none; margin: 0; padding: 0; }
.hsp-rf__tree ul ul { padding-left: 24px; }
.hsp-rf__tree-l0 { columns: 2 260px; column-gap: 24px; }
.hsp-rf__tree-l0 > li { break-inside: avoid; padding: 4px 0; }
.hsp-rf__tree-l0 > li > .hsp-rf__check { font-weight: 700; }
.hsp-rf__check { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.hsp-rf__check input { width: 18px; height: 18px; margin: 0; accent-color: var(--hsp-strong); flex: none; }

/* Features: No matter | Nice | Must. */
.hsp-rf__feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.hsp-rf__feat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--hsp-tint-2); }
.hsp-rf__feat-name { font-weight: 600; min-width: 0; }
.hsp-rf__seg { display: inline-flex; flex: none; border: 1px solid var(--hsp-tint-2); border-radius: 999px; overflow: hidden; background: #fff; }
.hsp-rf__seg label { position: relative; margin: 0; }
.hsp-rf__seg span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.hsp-rf__seg label + label span { border-left: 1px solid var(--hsp-tint-2); }
.hsp-rf__seg input:checked + span { background: var(--hsp-tint-2); }
.hsp-rf__seg input[value="must"]:checked + span { background: var(--hsp-gold); color: var(--hsp-accent-text, #1a1a1a); }

.hsp-rf__consent { padding: 16px 18px; border-radius: 8px; background: var(--hsp-tint); border: 1px solid var(--hsp-tint-2); }
.hsp-rf__consent .hsp-rf__check { align-items: flex-start; }
.hsp-rf__consent .hsp-rf__check input { margin-top: 3px; }
.hsp-rf__consent a { color: var(--hsp-ink); text-decoration-color: var(--hsp-gold); text-decoration-thickness: 2px; }
.hsp-rf__actions { margin: 0; }
.hsp-rf__submit { min-height: 54px; padding: 0 34px; border: 0; border-radius: 10px; background: var(--hsp-gold); color: var(--hsp-accent-text, #1a1a1a); font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.hsp-rf__submit:hover { background: var(--hsp-strong); color: #fff; }
.hsp-rf__submit:focus-visible { outline: 3px solid var(--hsp-strong); outline-offset: 2px; }
.hsp-rf__msg { padding: 14px 18px; border-radius: 8px; border: 1px solid #e8b4ae; background: #fdf1f0; color: #7d1d16; }
.hsp-rf__msg ul { margin: 6px 0 0 18px; padding: 0; }
.hsp-rf__hello { margin: 0; font-size: 1.05rem; }
.hsp-rf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hsp-rf--done { text-align: center; padding: 40px 24px; background: var(--hsp-tint); border: 1px solid var(--hsp-tint-2); border-top: 4px solid var(--hsp-gold); border-radius: 12px; }
.hsp-rf--done h2 { margin: 0 0 8px; }

@media (max-width: 640px) {
	.hsp-rf__group { padding: 16px 16px 20px; }
	.hsp-rf__grid, .hsp-rf__feats { grid-template-columns: minmax(0, 1fr); }
	.hsp-rf__submit { width: 100%; }
	.hsp-rf__feat { flex-wrap: wrap; }
}

/* Requirements form made with Contact Form 7 (ready-made Spanish / English forms). */
.hsp-rq { max-width: 720px; margin: 0 auto; color: var(--hsp-ink, #333); }
.hsp-rq__card { background: #fff; border: 1px solid var(--hsp-tint-2, #e8e0c8); border-radius: 8px; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); overflow: hidden; }
.hsp-rq__head { background: var(--hsp-accent, #d3af37); padding: 22px 28px; text-align: center; }
.hsp-rq__head h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--hsp-accent-text, #1b1b1f); }
.hsp-rq__head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hsp-accent-text, #1b1b1f); }
.hsp-rq__body { padding: 30px 28px 35px; }
.hsp-rq h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--hsp-accent-strong, #6f560d); }
.hsp-rq__hint { margin: -6px 0 10px; font-size: 13px; color: var(--hsp-muted, #666); }
.hsp-rq__row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
.hsp-rq__row > label, .hsp-rq__row > p > label { flex: 1 1 180px; min-width: 0; }
/* Robust when Contact Form 7 adds its automatic paragraphs (own forms, edited forms). */
.hsp-rq__row > p, .hsp-rq__pills > p { display: contents; }
.hsp-rq br { display: none; }
.hsp-rq p:empty { display: none; }
.hsp-rq .hsp-rq__body > p { margin: 0 0 24px; }
.hsp-rq label { display: block; font-size: 13px; font-weight: 600; color: var(--hsp-ink, #333); }
.hsp-rq__full { margin-bottom: 24px; }
.hsp-rq .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.hsp-rq input[type="text"], .hsp-rq input[type="email"], .hsp-rq input[type="tel"], .hsp-rq select { width: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid var(--hsp-accent, #d3af37); border-radius: 4px; font-size: 14px; background: #fff; color: inherit; }
.hsp-rq input:focus-visible, .hsp-rq select:focus-visible { outline: 3px solid var(--hsp-accent-strong, #6f560d); outline-offset: 1px; }
.hsp-rq__unit { display: flex; align-items: stretch; margin-top: 6px; }
.hsp-rq__unit .wpcf7-form-control-wrap { flex: 1; margin: 0; }
.hsp-rq__unit input[type="text"] { border-radius: 4px 0 0 4px; }
.hsp-rq__unit i { font-style: normal; display: grid; place-items: center; padding: 0 12px; background: var(--hsp-tint, #fbf5e1); border: 1px solid var(--hsp-accent, #d3af37); border-left: 0; border-radius: 0 4px 4px 0; font-size: 14px; color: var(--hsp-muted, #555); }
.hsp-rq__pills { margin-bottom: 26px; }
.hsp-rq__pills .wpcf7-list-item { display: inline-block; margin: 0 10px 10px 0; }
.hsp-rq__pills .wpcf7-list-item input { accent-color: var(--hsp-accent-strong, #6f560d); margin: 0; }
.hsp-rq__pills .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--hsp-accent, #d3af37); border-radius: 50px; font-size: 13px; font-weight: 600; cursor: pointer; background: #fff; }
.hsp-rq__pills .wpcf7-list-item label:has(input:checked) { background: var(--hsp-accent, #d3af37); color: var(--hsp-accent-text, #1b1b1f); }
.hsp-rq__consent { font-size: 13px; font-weight: 400; }
.hsp-rq__consent label { display: inline; font-weight: 400; }
.hsp-rq__submit { text-align: center; margin: 18px 0 0; }
.hsp-rq input[type="submit"] { background: var(--hsp-accent, #d3af37); color: var(--hsp-accent-text, #1b1b1f); border: 0; padding: 14px 40px; font-size: 16px; font-weight: 700; border-radius: 5px; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; }
.hsp-rq input[type="submit"]:hover { background: var(--hsp-accent-strong, #6f560d); color: #fff; }
/* Radio pills in forms created before 1.16.1 (no label element). */
.hsp-rq__pills .wpcf7-list-item:not(:has(label)) { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--hsp-accent, #d3af37); border-radius: 50px; font-size: 13px; font-weight: 600; background: #fff; }
.hsp-rq__pills .wpcf7-list-item:not(:has(label)):has(input:checked) { background: var(--hsp-accent, #d3af37); color: var(--hsp-accent-text, #1b1b1f); }
/* 2.8.0: checkbox lists, number/date/textarea fields and photo uploads (valuation, contact forms). */
.hsp-rq input[type="number"], .hsp-rq input[type="date"], .hsp-rq textarea { width: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid var(--hsp-accent, #d3af37); border-radius: 4px; font-size: 14px; background: #fff; color: inherit; font-family: inherit; }
.hsp-rq__unit input[type="number"] { border-radius: 4px 0 0 4px; }
.hsp-rq textarea:focus-visible, .hsp-rq input[type="number"]:focus-visible, .hsp-rq input[type="date"]:focus-visible { outline: 3px solid var(--hsp-accent-strong, #6f560d); outline-offset: 1px; }
.hsp-rq__checks { display: block; margin-bottom: 22px; }
.hsp-rq__checks .wpcf7-checkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.hsp-rq__checks .wpcf7-list-item { margin: 0; }
.hsp-rq__checks .wpcf7-list-item label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--hsp-tint-2, #efe0ae); border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; background: #fff; }
.hsp-rq__checks .wpcf7-list-item input { accent-color: var(--hsp-accent-strong, #6f560d); margin: 0; }
.hsp-rq__checks .wpcf7-list-item label:has(input:checked) { border-color: var(--hsp-accent, #d3af37); background: var(--hsp-tint, #fbf5e1); }
.hsp-rq__files { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 22px; }
.hsp-rq__files .wpcf7-form-control-wrap { margin: 0; }
.hsp-rq__files input[type="file"] { width: 100%; box-sizing: border-box; padding: 10px; border: 1px dashed var(--hsp-accent, #d3af37); border-radius: 6px; background: var(--hsp-tint, #fbf5e1); font-size: 13px; }
.hsp-rq__files input[type="file"]:focus-visible { outline: 3px solid var(--hsp-accent-strong, #6f560d); outline-offset: 1px; }
.hsp-rq h3 { font-size: 16px; margin: 26px 0 12px; }
/* 2.8.1: features never squeeze the name (narrow panel columns, long Spanish labels). */
.hsp-rf__feats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); }
.hsp-rf__feat { flex-wrap: wrap; }
.hsp-rf__feat-name { flex: 1 1 140px; overflow-wrap: anywhere; }
.hsp-rf__seg { max-width: 100%; }
