/**
 * SemiConecta — single-listing (Fase 2 completa).
 */

/* ===== Hero ===== */
.listing-hero-section {
	position: relative;
	padding: calc(var(--header-h) + 80px) 0 60px;
	color: var(--white);
	overflow: hidden;
}
.listing-hero-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 20% 40%, rgba(255,213,0,.10), transparent 55%),
		linear-gradient(160deg, var(--navy-3) 30%, var(--ink-strong) 90%);
}
.listing-hero-inner {
	position: relative;
	display: flex;
	gap: 36px;
	align-items: center;
}
.listing-logo {
	width: 140px;
	height: 140px;
	display: grid;
	place-items: center;
	padding: 16px;
	background: var(--white);
	border: 2px solid rgba(255, 255, 255, .2);
	flex-shrink: 0;
}
.listing-logo img { width: 100%; height: 100%; object-fit: contain; }

.listing-heading h1 {
	color: var(--white);
	margin: 4px 0 12px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.listing-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--yellow);
	color: var(--ink);
	font-size: .8rem;
	font-weight: 900;
	border-radius: 50%;
	flex-shrink: 0;
}
.listing-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, .7);
	font-size: .92rem;
}
.listing-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.listing-meta-item svg { opacity: .7; }
.listing-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 700px) {
	.listing-hero-inner { flex-direction: column; text-align: center; }
	.listing-heading { display: flex; flex-direction: column; align-items: center; }
	.listing-meta-row { justify-content: center; }
	.listing-hero-actions { justify-content: center; }
}

/* ===== Grid de contenido ===== */
.listing-content { padding-top: clamp(40px, 5vw, 80px); }
.listing-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 60px;
	align-items: start;
}
.listing-main { min-width: 0; }
.listing-no-desc {
	color: var(--gray-500);
	font-style: italic;
	padding: 40px 0;
}

.listing-aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.listing-block {
	padding: 20px 0;
	border-bottom: 1px solid var(--gray-200);
}
.listing-block:last-child { border-bottom: 0; }
.listing-block h3 {
	font-size: 1rem;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.listing-block h3 svg { color: var(--ink-strong); }
.listing-coords code { display: block; margin-top: 6px; color: var(--gray-600); font-size: .9rem; }

@media (max-width: 900px) {
	.listing-grid { grid-template-columns: 1fr; }
	.listing-aside { position: static; }
}

/* ===== Mapa embebido ===== */
.listing-map-wrap {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--gray-200);
}
.listing-map-wrap h3 { margin-bottom: 16px; }
.listing-map {
	width: 100%;
	height: 380px;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
}
.listing-map .leaflet-tile-pane img { max-width: none !important; }

/* Pin personalizado */
.sc-pin {
	background: none;
	border: none;
}
.sc-pin span {
	display: block;
	width: 18px;
	height: 18px;
	background: var(--yellow);
	border: 3px solid var(--ink-strong);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

/* Contact block */
.listing-contact-item {
	display: block;
	padding: 6px 0;
	color: var(--ink-strong);
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
	border-bottom: 1px solid var(--gray-100);
}
.listing-contact-item:hover { color: var(--yellow-dark); }
