/* Hero banner: foto de fondo con degradado + codigo/badge/titulo/ubicacion/
   precio superpuestos. */
.nh-ficha-banner {
	position: relative;
	min-height: 420px;
	background-color: var(--nh-color-olive, #6d6f52);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
}

.nh-ficha-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 20, 18, 0.8), rgba(20, 20, 18, 0.2));
}

.nh-ficha-banner__overlay {
	position: relative;
	z-index: 1;
	color: #fff;
	max-width: 1100px;
	margin: 0 auto;
	width: 100%;
	padding: 40px 24px;
}

.nh-ficha-banner__top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.nh-ficha-banner__codigo {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(2px);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 5px 12px;
	border-radius: 4px;
}

.nh-ficha-banner__badge {
	display: inline-block;
	background: var(--nh-color-gold, #c99a5b);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
}

.nh-ficha-banner__title {
	font-family: var(--nh-font-heading);
	font-size: 40px;
	margin: 0 0 10px;
	line-height: 1.1;
}

.nh-ficha-banner__address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	opacity: 0.92;
	margin: 0 0 18px;
}

.nh-ficha-banner__price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.nh-ficha-banner__price-uf {
	font-family: var(--nh-font-heading);
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}

.nh-ficha-banner__price-clp {
	font-size: 14px;
	opacity: 0.85;
}

.nh-ficha {
	background: var(--nh-color-bg);
	padding: 32px 24px 72px;
}

.nh-ficha__layout {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 48px;
	align-items: start;
}

.nh-ficha__description {
	color: var(--nh-color-text);
	line-height: 1.7;
	margin-bottom: 8px;
}

.nh-ficha__gallery-title {
	font-family: var(--nh-font-heading);
	font-size: 22px;
	margin: 40px 0 16px;
}

.nh-ficha__gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.nh-ficha__gallery-item img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

/* Detalle: 2-column icon/label/value grid. */
.nh-detalle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nh-detalle__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-bottom: 1px solid #eee9df;
	font-size: 14px;
}

.nh-detalle__item:nth-child(4n-1),
.nh-detalle__item:nth-child(4n) {
	background: var(--nh-color-bg, #faf7f2);
}

.nh-detalle__icon {
	color: var(--nh-color-gold-dark, #b6864a);
	font-size: 20px;
	width: 20px;
	flex-shrink: 0;
}

.nh-detalle__label {
	color: var(--nh-color-muted, #6b6b6b);
	min-width: 110px;
}

.nh-detalle__value {
	font-weight: 700;
	color: var(--nh-color-text, #2b2b2b);
	margin-left: auto;
	text-align: right;
}

/* Caracteristicas checklist. */
.nh-caracteristicas {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 20px;
	padding: 0;
	margin: 0;
}

.nh-caracteristicas li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--nh-color-text, #2b2b2b);
}

.nh-caracteristicas .dashicons {
	color: var(--nh-color-gold-dark, #b6864a);
	font-size: 18px;
	width: 18px;
	flex-shrink: 0;
}

.nh-ficha__sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nh-ficha__agent {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	text-align: center;
}

.nh-ficha__agent-heading {
	font-family: var(--nh-font-heading);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nh-color-muted, #6b6b6b);
	margin: 0 0 16px;
}

.nh-ficha__agent img {
	border-radius: 50%;
	width: 90px;
	height: 90px;
	object-fit: cover;
	margin: 0 auto 12px;
	display: block;
}

.nh-ficha__agent-name {
	font-weight: 700;
	font-size: 16px;
	margin: 0 0 8px;
}

.nh-ficha__agent-phones {
	list-style: none;
	padding: 0;
	margin: 0 0 6px;
	text-align: left;
}

.nh-ficha__agent-phones li,
.nh-ficha__agent-email {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--nh-color-text, #2b2b2b);
	margin: 4px 0;
}

.nh-ficha__agent-phones .dashicons,
.nh-ficha__agent-email .dashicons {
	color: var(--nh-color-gold-dark, #b6864a);
	font-size: 16px;
	width: 16px;
}

.nh-ficha__back {
	color: var(--nh-color-text);
	text-decoration: none !important;
	font-weight: 500;
	font-size: 14px;
}

.nh-ficha__back:hover {
	color: var(--nh-color-gold-dark);
}

@media (max-width: 860px) {
	.nh-ficha__layout {
		grid-template-columns: 1fr;
	}

	.nh-ficha-banner__title {
		font-size: 28px;
	}

	.nh-ficha-banner__overlay {
		padding: 28px 20px;
	}

	.nh-ficha__gallery,
	.nh-caracteristicas {
		grid-template-columns: repeat(2, 1fr);
	}

	.nh-detalle {
		grid-template-columns: 1fr;
	}
}

.nh-carousel-wrap {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nh-carousel {
	position: relative;
	background: #111;
}

.nh-carousel__track {
	display: flex;
	transition: transform 0.4s ease;
}

.nh-carousel__slide {
	flex: 0 0 100%;
}

.nh-carousel__slide img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	display: block;
}

.nh-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.85);
	color: var(--nh-color-text, #2b2b2b);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.nh-carousel__arrow:hover {
	background: #fff;
}

.nh-carousel__arrow--prev {
	left: 14px;
}

.nh-carousel__arrow--next {
	right: 14px;
}

.nh-carousel__counter {
	position: absolute;
	bottom: 14px;
	right: 14px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 13px;
	padding: 4px 12px;
	border-radius: 999px;
}

.nh-carousel__countbar {
	background: var(--nh-color-dark, #23262b);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.nh-carousel__countbar .dashicons {
	font-size: 16px;
	width: 16px;
}

@media (max-width: 600px) {
	.nh-carousel__slide img {
		height: 260px;
	}
}

.nh-whatsapp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 14px;
	padding: 12px 18px;
	background: #25d366;
	color: #fff;
	text-decoration: none !important;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	transition: background 0.2s ease;
	box-sizing: border-box;
}

.nh-whatsapp-btn:hover {
	background: #1ebc59;
	color: #fff;
}

.nh-whatsapp-btn i {
	font-size: 16px;
}

.nh-lead-form {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e6e1d8;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}

.nh-lead-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nh-lead-form input[type="text"],
.nh-lead-form input[type="email"],
.nh-lead-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd8cd;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
}

.nh-lead-form__submit {
	background: var(--nh-color-gold, #c99a5b);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.nh-lead-form__submit:hover {
	background: var(--nh-color-gold-dark, #b6864a);
}

.nh-lead-form__message {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 18px;
}

.nh-lead-form__message--ok {
	background: #e6f4ea;
	color: #1e6b34;
}

.nh-lead-form__message--error {
	background: #fbe8e6;
	color: #a3312a;
}
