/**
 * Collaboration inquiry: featured + generic property detail (compact secondary — UI refinement).
 */

.plf-collab-section {
	box-sizing: border-box;
	max-width: 26rem;
	margin: 0.75rem 0 0.85rem;
	padding: 0;
	clear: both;
}

/* Featured collaboration now sits inside property-detail contact wrap */
.plf-contact-us-wrap--property-detail .plf-collab-section--featured-detail {
	margin-top: 0.3rem;
	margin-bottom: 0.2rem;
}

.plf-collab-section.plf-collab-section--open .plf-collab-intro {
	margin-bottom: 0;
}

.plf-collab-intro {
	margin-bottom: 0.45rem;
}

.plf-collab-heading {
	margin: 0 0 0.3rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	color: #50575e;
}

.plf-collab-lede {
	margin: 0 0 0.55rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #787c82;
}

.plf-collab-btn {
	display: inline-block;
	margin: 0;
	padding: 0.35rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.35;
	color: #fff;
	background: #2271b1;
	border: 1px solid #2271b1;
	border-radius: 4px;
	cursor: pointer;
}

.plf-collab-btn:hover,
.plf-collab-btn:focus {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.plf-collab-form {
	margin-top: 0.55rem;
}

.plf-collab-card-inner {
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.7rem 0.8rem 0.8rem;
	background: #f0f0f1;
	border: 1px solid #dcdcde;
	border-radius: 5px;
	box-shadow: none;
}

.plf-collab-section--success .plf-collab-card-inner {
	padding: 0.45rem 0.6rem 0.55rem;
	background: #f2f6fa;
	border-color: #c3d9ed;
}

.plf-collab-feedback {
	display: none;
	margin: 0 0 0.55rem;
	padding: 0.4rem 0.55rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	border-radius: 3px;
	border: 1px solid transparent;
}

.plf-collab-feedback.plf-collab-feedback--error,
.plf-collab-feedback.plf-collab-feedback--success {
	display: block;
}

.plf-collab-feedback.plf-collab-feedback--error {
	color: #842029;
	background: #fcf2f3;
	border-color: #e8b4b9;
}

.plf-collab-feedback.plf-collab-feedback--success {
	color: #0f5132;
	background: #e8f3ea;
	border-color: #a3cfab;
}

.plf-collab-section--success .plf-collab-feedback.plf-collab-feedback--success {
	margin-bottom: 0;
	padding: 0.32rem 0.5rem;
	font-size: 0.8rem;
	line-height: 1.35;
}

.plf-collab-fields {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.plf-collab-fields input[type="text"],
.plf-collab-fields input[type="email"],
.plf-collab-fields textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0.38rem 0.5rem;
	font-size: 0.875rem;
	line-height: 1.4;
	border: 1px solid #8c8f94;
	border-radius: 4px;
}

.plf-collab-fields textarea {
	min-height: 4.5rem;
	resize: vertical;
}

.plf-collab-submit {
	align-self: flex-start;
	margin-top: 0.1rem;
	padding: 0.38rem 0.85rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #fff;
	background: #2271b1;
	border: 1px solid #2271b1;
	border-radius: 4px;
	cursor: pointer;
}

.plf-collab-submit:hover:not(:disabled),
.plf-collab-submit:focus:not(:disabled) {
	background: #135e96;
	border-color: #135e96;
}

.plf-collab-submit:disabled {
	cursor: not-allowed;
	opacity: 0.85;
}

.plf-collab-submit.is-loading {
	opacity: 0.9;
}

/* Featured listing: same secondary tier as refined base */
.plf-collab-section--featured-detail .plf-collab-heading {
	font-size: 0.9rem;
	color: #646970;
}

.plf-collab-section--featured-detail .plf-collab-lede {
	font-size: 0.8rem;
}

/* Generic property — most secondary */
.plf-collab-section.plf-collab-section--secondary {
	max-width: 24rem;
	margin: 0.45rem 0 0.35rem;
	padding: 0;
}

/* Niche / industry utility row — must not compete with client inquiry */
.plf-collab-section.plf-collab-section--utility {
	max-width: 100%;
	margin: 0.3rem 0 0.2rem;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.plf-collab-section--utility .plf-collab-intro--compact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	margin-bottom: 0.12rem;
}

.plf-collab-section--utility.plf-collab-section--open .plf-collab-intro--compact {
	margin-bottom: 0;
}

.plf-collab-label {
	display: inline-block;
	margin: 0;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.35;
	color: #8c8f94;
}

.plf-collab-section--utility .plf-collab-btn {
	margin: 0;
	padding: 0.2rem 0.48rem;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.3;
	border-radius: 3px;
}

.plf-collab-section--featured-detail.plf-collab-section--utility .plf-collab-btn {
	background: #fff;
	color: #2271b1;
	border: 1px solid #c3d9ed;
}

.plf-collab-section--featured-detail.plf-collab-section--utility .plf-collab-btn:hover,
.plf-collab-section--featured-detail.plf-collab-section--utility .plf-collab-btn:focus {
	background: #f0f6fc;
	border-color: #2271b1;
	color: #135e96;
}

.plf-collab-section--utility .plf-collab-form {
	margin-top: 0.4rem;
}

.plf-collab-section--utility .plf-collab-card-inner {
	padding: 0.55rem 0.65rem 0.65rem;
	border-radius: 4px;
}

.plf-collab-section--secondary .plf-collab-intro {
	margin-bottom: 0.35rem;
}

.plf-collab-section--secondary .plf-collab-heading {
	font-size: 0.875rem;
	margin-bottom: 0.2rem;
	color: #787c82;
}

.plf-collab-section--secondary .plf-collab-lede {
	font-size: 0.78rem;
	line-height: 1.4;
	margin-bottom: 0.45rem;
	color: #8c8f94;
}

.plf-collab-section--secondary .plf-collab-btn {
	padding: 0.3rem 0.65rem;
	font-size: 0.78rem;
	background: #fff;
	color: #2271b1;
	border-color: #8cb8d9;
}

.plf-collab-section--secondary .plf-collab-btn:hover,
.plf-collab-section--secondary .plf-collab-btn:focus {
	background: #f0f6fc;
	color: #135e96;
	border-color: #2271b1;
}

.plf-collab-section--secondary .plf-collab-form {
	margin-top: 0.45rem;
}

.plf-collab-section--secondary .plf-collab-card-inner {
	padding: 0.6rem 0.7rem 0.7rem;
}

.plf-collab-section--secondary .plf-collab-fields {
	gap: 0.38rem;
}

.plf-collab-section--secondary .plf-collab-fields textarea {
	min-height: 4rem;
}

.plf-collab-section--secondary .plf-collab-submit {
	padding: 0.32rem 0.75rem;
	font-size: 0.8rem;
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.plf-collab-section--secondary .plf-collab-submit:hover:not(:disabled),
.plf-collab-section--secondary .plf-collab-submit:focus:not(:disabled) {
	background: #135e96;
	border-color: #135e96;
}

/* Generic detail carries both --secondary and --utility; win over .plf-collab-section--secondary * above */
.plf-collab-section.plf-collab-section--secondary.plf-collab-section--utility .plf-collab-intro.plf-collab-intro--compact {
	margin-bottom: 0.12rem;
}

.plf-collab-section.plf-collab-section--secondary.plf-collab-section--utility .plf-collab-btn {
	padding: 0.2rem 0.48rem;
	font-size: 0.72rem;
	background: #fff;
	color: #2271b1;
	border: 1px solid #8cb8d9;
}

.plf-collab-section.plf-collab-section--secondary.plf-collab-section--utility .plf-collab-btn:hover,
.plf-collab-section.plf-collab-section--secondary.plf-collab-section--utility .plf-collab-btn:focus {
	background: #f0f6fc;
	color: #135e96;
	border-color: #2271b1;
}

.plf-collab-section.plf-collab-section--secondary.plf-collab-section--utility .plf-collab-form {
	margin-top: 0.4rem;
}

.plf-collab-section.plf-collab-section--secondary.plf-collab-section--utility .plf-collab-card-inner {
	padding: 0.55rem 0.65rem 0.65rem;
}

@media (max-width: 600px) {
	.plf-collab-section {
		margin-top: 0.5rem;
		margin-bottom: 0.55rem;
		max-width: 100%;
	}

	.plf-contact-us-wrap--property-detail .plf-collab-section--featured-detail {
		margin-top: 0.25rem;
		margin-bottom: 0.15rem;
	}

	.plf-collab-section--secondary {
		margin-top: 0.4rem;
		margin-bottom: 0.3rem;
	}

	.plf-collab-section.plf-collab-section--utility {
		margin-top: 0.25rem;
		margin-bottom: 0.12rem;
	}

	.plf-collab-label {
		font-size: 0.7rem;
	}

	.plf-collab-heading {
		font-size: 0.9rem;
	}

	.plf-collab-lede {
		font-size: 0.78rem;
	}

	.plf-collab-card-inner {
		padding: 0.6rem 0.65rem 0.7rem;
	}

	.plf-collab-fields textarea {
		min-height: 3.75rem;
	}
}
