/* Ficha pública del profesional — misma familia visual que el directorio. */

.pp-main {
	width: min(980px, calc(100% - 40px));
	margin: 0 auto;
	padding: 36px 0 88px;
}

.pp-hero {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 20px;
	align-items: start;
	padding: 28px;
	border: 1px solid #e0e5e1;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 12px 36px rgb(16 22 35 / 5%);
}

.pp-avatar {
	width: 88px;
	height: 88px;
	position: relative;
}

.pp-avatar span,
.pp-avatar img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.pp-avatar span {
	display: grid;
	place-items: center;
	color: #fff;
	background: #62b55a;
	font-size: 1.5rem;
	font-weight: 700;
}

.pp-avatar img {
	position: absolute;
	inset: 0;
}

.pp-hero h1 {
	margin: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	line-height: 1.25;
}

.pp-hero h1 svg {
	color: #62b55a;
}

.pp-specialty {
	margin: 6px 0 0;
	color: #4b9b45;
	font-weight: 700;
	line-height: 1.4;
}

.pp-rating {
	margin-top: 8px;
	color: #667085;
	font-size: 0.95rem;
}

.pp-notice {
	margin-top: 18px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	border: 1px solid #d4e5d2;
	border-radius: 16px;
	padding: 16px 18px;
	background: #f1f8ef;
	color: #3f833a;
}

.pp-notice strong { color: #294b2a; }
.pp-notice span { color: #66756a; font-size: 0.88rem; line-height: 1.45; }
.pp-notice a {
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	border-radius: 10px;
	padding: 0 16px;
	color: #fff;
	background: #62b55a;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.pp-grid {
	margin-top: 18px;
	display: grid;
	gap: 16px;
}

.pp-card {
	padding: 24px;
	border: 1px solid #e0e5e1;
	border-radius: 22px;
	background: #fff;
}

.pp-card h2 {
	margin: 0 0 14px;
	font-size: 1.2rem;
	line-height: 1.3;
}

.pp-card p,
.pp-muted {
	margin: 0;
	color: #667085;
	line-height: 1.6;
}

.pp-tags,
.pp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pp-tag,
.pp-chip {
	border-radius: 999px;
	padding: 6px 12px;
	background: #f2faf3;
	color: #3f833a;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
}

.pp-edu {
	display: grid;
	gap: 12px;
}

.pp-edu article {
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8fbf8;
}

.pp-edu strong {
	display: block;
	color: #101623;
}

.pp-edu p {
	margin: 4px 0 0;
	color: #667085;
	font-size: 0.92rem;
}

.pp-ok { color: #3f833a; font-weight: 700; }
.pp-no { color: #94a3b8; }

.pp-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.pp-facts div {
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8fbf8;
}

.pp-facts strong {
	display: block;
	margin-bottom: 6px;
	color: #4b9b45;
	font-size: 0.82rem;
}

.pp-map {
	margin-top: 14px;
	overflow: hidden;
	border-radius: 14px;
}

.pp-map iframe {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
}

.pp-distance {
	margin-top: 14px;
	display: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f2faf3;
	color: #3f833a;
}

.pp-distance.is-visible { display: flex; }

.pp-travel {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pp-travel span {
	border-radius: 999px;
	padding: 5px 10px;
	background: #fff;
	color: #475569;
	font-size: 0.84rem;
	font-weight: 600;
}

.pp-actions {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pp-actions a {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	padding: 0 20px;
	font-weight: 700;
	text-decoration: none;
}

.pp-primary { color: #fff; background: #62b55a; }
.pp-outline { color: #3f833a; border: 1px solid #cfe0cf; background: #fff; }

@media (max-width: 720px) {
	.pp-main { width: calc(100% - 28px); padding-top: 24px; }
	.pp-hero { grid-template-columns: 1fr; }
	.pp-notice { grid-template-columns: auto 1fr; }
	.pp-notice a { grid-column: 1 / -1; justify-content: center; }
	.pp-facts { grid-template-columns: 1fr; }
	.pp-actions a { width: 100%; }
}
