/* revolv® Property Management — v2.0.0 */

/* ── Reset & Base ───────────────────────────── */
#revolv-pm-app {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #2d3748;
	line-height: 1.6;
}
#revolv-pm-app *,
#revolv-pm-app *::before,
#revolv-pm-app *::after { box-sizing: border-box; }

/* ── Section headings ───────────────────────── */
.pm-section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
}
.pm-section-head h2 {
	font-size: 1.85rem;
	font-weight: 800;
	color: #1a202c;
	margin: 0 0 10px;
	line-height: 1.25;
}
.pm-section-head p {
	font-size: 1.05rem;
	color: #718096;
	margin: 0;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.pm-hero {
	background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
	border-radius: 16px;
	padding: 72px 40px;
	text-align: center;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}
.pm-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(ellipse at 30% 50%, rgba(232, 124, 42, .08) 0%, transparent 60%),
	            radial-gradient(ellipse at 70% 50%, rgba(232, 124, 42, .05) 0%, transparent 50%);
	pointer-events: none;
}
.pm-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.pm-hero-badge {
	display: inline-block;
	background: rgba(232, 124, 42, .15);
	color: #e87c2a;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .14em;
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 20px;
	border: 1px solid rgba(232, 124, 42, .25);
}
.pm-hero h1 {
	font-size: 2.6rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 16px;
	line-height: 1.2;
}
.pm-hero-sub {
	font-size: 1.1rem;
	color: #a0aec0;
	margin: 0 0 32px;
	line-height: 1.65;
}
.pm-hero-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
.pm-btn-primary {
	display: inline-block;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: #e87c2a;
	border: 2px solid #e87c2a;
	border-radius: 8px;
	text-decoration: none;
	transition: background .2s, transform .15s;
}
.pm-btn-primary:hover { background: #cf6a1e; border-color: #cf6a1e; transform: translateY(-1px); }
.pm-btn-ghost {
	display: inline-block;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: transparent;
	border: 2px solid rgba(255,255,255,.25);
	border-radius: 8px;
	text-decoration: none;
	transition: border-color .2s, background .2s;
}
.pm-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ══════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════ */
.pm-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin: -28px 40px 48px;
	position: relative;
	z-index: 2;
	box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.pm-stat {
	text-align: center;
	padding: 28px 16px;
}
.pm-stat:not(:last-child) {
	border-right: 1px solid #e2e8f0;
}
.pm-stat-num {
	display: block;
	font-size: 2.2rem;
	font-weight: 800;
	color: #e87c2a;
	line-height: 1;
	margin-bottom: 6px;
}
.pm-stat-label {
	display: block;
	font-size: .82rem;
	color: #718096;
	font-weight: 600;
	letter-spacing: .02em;
}

/* ══════════════════════════════════════════════
   DUAL PATH (Owner / Tenant)
   ══════════════════════════════════════════════ */
.pm-paths {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 64px;
}
.pm-path {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 36px 32px;
	text-align: center;
	transition: box-shadow .25s, border-color .25s;
}
.pm-path:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,.07);
	border-color: #e87c2a;
}
.pm-path-icon { margin-bottom: 16px; }
.pm-path h3 { font-size: 1.2rem; font-weight: 800; color: #1a202c; margin: 0 0 10px; }
.pm-path p { font-size: .95rem; color: #718096; margin: 0 0 16px; line-height: 1.55; }
.pm-path-link {
	font-size: .95rem;
	font-weight: 700;
	color: #e87c2a;
	text-decoration: none;
	transition: color .2s;
}
.pm-path-link:hover { color: #cf6a1e; }

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.pm-services { margin-bottom: 64px; }
.pm-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.pm-svc-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px 24px;
	transition: box-shadow .25s, border-color .25s, transform .2s;
}
.pm-svc-card:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,.07);
	border-color: #e87c2a;
	transform: translateY(-2px);
}
.pm-svc-icon { margin-bottom: 14px; }
.pm-svc-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a202c; margin: 0 0 8px; }
.pm-svc-card p { font-size: .9rem; color: #718096; margin: 0; line-height: 1.55; }

/* ══════════════════════════════════════════════
   WHY REVOLV
   ══════════════════════════════════════════════ */
.pm-why { margin-bottom: 64px; }
.pm-why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.pm-why-card {
	background: #f7fafc;
	border-radius: 12px;
	padding: 28px 26px;
	border: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.pm-why-card:hover {
	border-color: #e2e8f0;
	box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.pm-why-num {
	font-size: .8rem;
	font-weight: 800;
	color: #e87c2a;
	letter-spacing: .06em;
	margin-bottom: 10px;
}
.pm-why-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a202c; margin: 0 0 8px; }
.pm-why-card p { font-size: .9rem; color: #718096; margin: 0; line-height: 1.5; }

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */
.pm-testimonials { margin-bottom: 64px; }
.pm-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.pm-testimonial-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 26px;
}
.pm-testimonial-stars { margin-bottom: 12px; display: flex; gap: 2px; }
.pm-testimonial-body {
	font-size: .9rem;
	color: #4a5568;
	line-height: 1.6;
	margin: 0 0 14px;
	font-style: italic;
}
.pm-testimonial-name {
	font-size: .82rem;
	font-weight: 700;
	color: #1a202c;
}

/* ══════════════════════════════════════════════
   ESTIMATE CTA
   ══════════════════════════════════════════════ */
.pm-estimate {
	background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
	border-radius: 14px;
	padding: 48px 36px;
	text-align: center;
	margin-bottom: 64px;
	position: relative;
	overflow: hidden;
}
.pm-estimate::after {
	content: '';
	position: absolute;
	bottom: -40px;
	right: -40px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(232,124,42,.12) 0%, transparent 70%);
	pointer-events: none;
}
.pm-estimate-inner { position: relative; z-index: 1; }
.pm-estimate h2 { color: #fff; font-size: 1.6rem; font-weight: 800; margin: 0 0 10px; }
.pm-estimate p { color: #cbd5e0; margin: 0 0 24px; font-size: 1rem; }
.pm-btn-outline {
	display: inline-block;
	padding: 14px 32px;
	font-size: .95rem;
	font-weight: 700;
	color: #e87c2a;
	background: transparent;
	border: 2px solid #e87c2a;
	border-radius: 8px;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.pm-btn-outline:hover { background: #e87c2a; color: #fff; }

/* ══════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════ */
.pm-faq { margin-bottom: 64px; }
.pm-faq-list {
	max-width: 760px;
	margin: 0 auto;
}
.pm-faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: border-color .2s;
}
.pm-faq-item:hover { border-color: #cbd5e0; }
.pm-faq-q {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	font-size: .98rem;
	font-weight: 700;
	color: #1a202c;
	background: #fff;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	line-height: 1.4;
	transition: background .15s;
}
.pm-faq-q:hover { background: #f7fafc; }
.pm-faq-q::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 400;
	color: #a0aec0;
	flex-shrink: 0;
	margin-left: 16px;
	transition: transform .25s;
}
.pm-faq-q[aria-expanded="true"]::after {
	content: '\2212';
	color: #e87c2a;
}
.pm-faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease, padding .3s ease;
}
.pm-faq-a.open {
	max-height: 300px;
}
.pm-faq-a p {
	padding: 0 22px 18px;
	margin: 0;
	font-size: .92rem;
	color: #718096;
	line-height: 1.6;
}

/* ══════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════ */
.pm-contact {
	background: #f7fafc;
	border-radius: 16px;
	padding: 48px 40px;
}
.pm-contact-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}
.pm-contact-text h2 {
	font-size: 1.6rem;
	font-weight: 800;
	color: #1a202c;
	margin: 0 0 12px;
	line-height: 1.3;
}
.pm-contact-text > p {
	font-size: .98rem;
	color: #718096;
	margin: 0 0 24px;
	line-height: 1.6;
}
.pm-contact-trust { display: flex; flex-direction: column; gap: 10px; }
.pm-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .9rem;
	font-weight: 600;
	color: #2d3748;
}

/* Form fields */
.pm-form { display: flex; flex-direction: column; gap: 12px; }
.pm-form-row { display: flex; gap: 12px; }
.pm-field { flex: 1; position: relative; }

.pm-form input[type="text"],
.pm-form input[type="email"],
.pm-form input[type="tel"],
.pm-form select,
.pm-form textarea {
	width: 100%;
	padding: 13px 16px;
	font-size: .95rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	font-family: inherit;
	background: #fff;
	color: #2d3748;
}
.pm-form input:focus,
.pm-form select:focus,
.pm-form textarea:focus {
	border-color: #e87c2a;
	box-shadow: 0 0 0 3px rgba(232, 124, 42, .1);
}
.pm-form select { cursor: pointer; }
.pm-form textarea { resize: vertical; }

.pm-submit-btn {
	display: block;
	width: 100%;
	padding: 15px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	background: #e87c2a;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s, transform .15s;
}
.pm-submit-btn:hover { background: #cf6a1e; transform: translateY(-1px); }
.pm-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Toast ───────────────────────────────────── */
.pm-toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: #276749;
	color: #fff;
	padding: 14px 28px;
	border-radius: 10px;
	font-weight: 600;
	font-size: .95rem;
	z-index: 99999;
	box-shadow: 0 8px 24px rgba(0,0,0,.15);
	animation: pm-toast-in .35s ease;
}
@keyframes pm-toast-in {
	from { opacity: 0; transform: translateX(-50%) translateY(20px); }
	to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Validation errors ───────────────────────── */
.pm-field-error { border-color: #e53e3e !important; box-shadow: 0 0 0 3px rgba(229, 62, 62, .1) !important; }
.pm-error-msg { display: block; color: #e53e3e; font-size: .78rem; margin-top: 4px; font-weight: 500; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 960px) {
	.pm-stats { margin-left: 0; margin-right: 0; }
	.pm-contact-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
	.pm-hero { padding: 52px 24px; border-radius: 12px; }
	.pm-hero h1 { font-size: 1.9rem; }
	.pm-hero-sub { font-size: 1rem; }

	.pm-stats { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
	.pm-stat:nth-child(1),
	.pm-stat:nth-child(2) { border-bottom: 1px solid #e2e8f0; }
	.pm-stat:nth-child(2) { border-right: none; }

	.pm-paths { grid-template-columns: 1fr; }

	.pm-services-grid { grid-template-columns: 1fr 1fr; }

	.pm-why-grid { grid-template-columns: 1fr; }

	.pm-testimonials-grid { grid-template-columns: 1fr; }

	.pm-form-row { flex-direction: column; }

	.pm-contact { padding: 36px 24px; }
}

@media (max-width: 480px) {
	#revolv-pm-app { padding: 0 14px 40px; }
	.pm-hero { padding: 40px 18px; }
	.pm-hero h1 { font-size: 1.55rem; }
	.pm-hero-badge { font-size: .68rem; }
	.pm-hero-actions { flex-direction: column; align-items: stretch; }
	.pm-btn-primary, .pm-btn-ghost { text-align: center; }

	.pm-stats { grid-template-columns: 1fr 1fr; }
	.pm-stat { padding: 20px 12px; }
	.pm-stat-num { font-size: 1.7rem; }

	.pm-services-grid { grid-template-columns: 1fr; }

	.pm-section-head h2 { font-size: 1.45rem; }

	.pm-estimate { padding: 36px 20px; }
}
