/* =========================================================
   Listing Real Estate — design tokens
   Extracted from the brand mockup.
   ========================================================= */

:root {
	/* Surfaces */
	--listing-dark: #0A0F13;        /* header, footer, hero overlays */
	--listing-dark-deep: #090D12;
	--listing-panel: #0C0D0B;       /* filter panel */
	--listing-border: #2A2F35;      /* borders on dark */

	/* Text */
	--listing-white: #F3F1F1;
	--listing-off-white: #EAE8E6;
	--listing-light-gray: #CACACA;  /* nav */
	--listing-gray: #8F9399;        /* muted */

	/* Gold */
	--listing-gold: #B07D3C;        /* accent on dark */
	--listing-gold-light: #BA8542;  /* hover on dark */
	--listing-gold-button: #A4712F;
	--listing-gold-border: #7A5A2B;
	--listing-gold-dark: #6F4B23;   /* gold text on light — 7.8:1 */
	--listing-gold-deep: #503B1E;

	/* Light surfaces */
	--listing-paper: #ffffff;
	--listing-wash: #F6F5F3;
	--listing-line: #E2E0DC;

	/* Body copy on light surfaces */
	--listing-text: #4A4A4A;

	/* Alias cortos. Viven acá y no dentro de cada componente: repetidos en
	   tres selectores, uno terminó sin --gold-dark y el botón de los
	   formularios se volvía transparente al pasar el mouse. */
	--navy: var( --listing-dark );
	--navy-soft: var( --listing-dark-deep );
	--gold: var( --listing-gold );
	--gold-dark: var( --listing-gold-dark );
	--ink: var( --listing-dark );
	--muted: var( --listing-gray );
	--line: var( --listing-line );
	--paper: var( --listing-paper );
	--wash: var( --listing-wash );
}

/* =========================================================
   Listing Real Estate — propiedades
   Tokens follow the header: navy var(--listing-dark), gold var(--listing-gold),
   Cormorant Garamond for display, Montserrat for UI.
   ========================================================= */

.lst-page {
	--navy: var(--listing-dark);
	--navy-soft: var(--listing-dark-deep);
	--gold: var(--listing-gold);
	--gold-dark: var(--listing-gold-dark);
	--ink: var(--listing-dark);
	--muted: var(--listing-gray);
	--line: var(--listing-line);
	--paper: var(--listing-paper);
	--wash: var(--listing-wash);

	max-width: 1400px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	font-family: Montserrat, system-ui, sans-serif;
	color: var(--ink);
}

/* ---------- Page head ---------- */

.lst-page__head {
	border-bottom: 1px solid var(--line);
	padding-bottom: 22px;
	margin-bottom: 34px;
}

.lst-page__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp( 2.4rem, 5vw, 3.5rem );
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.05;
	margin: 0;
	color: var(--navy);
}

.lst-page__count {
	margin: 8px 0 0;
	font-size: .82rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.lst-page__count strong { color: var(--gold-dark); }

/* ---------- Layout ---------- */

.lst-layout {
	display: grid;
	grid-template-columns: 280px minmax( 0, 1fr );
	gap: 40px;
	align-items: start;
}

/* ---------- Sidebar ---------- */

.lst-sidebar { position: sticky; top: 24px; }

.lst-filters {
	background: var(--paper);
	border: 1px solid var(--line);
}

.lst-filters__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 16px 18px;
	background: var(--navy);
}

.lst-filters__top h2 {
	margin: 0;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
}

.lst-filters__reset {
	font-size: .7rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
}

.lst-filters__reset:hover { text-decoration: underline; }

.lst-facet { border-bottom: 1px solid var(--line); }

.lst-facet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--navy);
}

.lst-facet__head::-webkit-details-marker { display: none; }

.lst-facet__head .lst-ico {
	width: 15px;
	height: 15px;
	flex: none;
	transform: rotate( 90deg );
	transition: transform .2s ease;
	color: var(--gold-dark);
}

.lst-facet[open] > .lst-facet__head .lst-ico { transform: rotate( -90deg ); }

.lst-facet__list {
	list-style: none;
	margin: 0;
	padding: 0 18px 16px;
}

.lst-facet__list--child {
	padding: 6px 0 0 18px;
	border-left: 1px solid var(--line);
	margin: 4px 0 6px 6px;
}

.lst-check {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 5px 0;
	font-size: .84rem;
	color: var(--ink);
	cursor: pointer;
}

.lst-check input {
	appearance: none;
	width: 16px;
	height: 16px;
	flex: none;
	border: 1.5px solid var(--listing-line);
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.lst-check input:checked {
	border-color: var(--gold-dark);
	background: var(--gold);
}

.lst-check input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.lst-check:hover { color: var(--gold-dark); }

/* ---------- Currency toggle ---------- */

.lst-money { display: flex; padding: 0 18px 12px; gap: 0; }

.lst-money__opt { flex: 1; }
.lst-money__opt input { position: absolute; opacity: 0; pointer-events: none; }

.lst-money__opt span {
	display: block;
	text-align: center;
	padding: 8px 0;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .08em;
	border: 1px solid var(--line);
	cursor: pointer;
	transition: all .15s ease;
}

.lst-money__opt:first-child span { border-right: 0; }
.lst-money__opt input:checked + span {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* ---------- Price range ---------- */

.lst-range { display: flex; gap: 10px; padding: 0 18px 16px; }
.lst-range label { flex: 1; }

.lst-range__lbl {
	display: block;
	font-size: .64rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 5px;
}

.lst-range input {
	width: 100%;
	padding: 8px 10px;
	font-size: .84rem;
	font-family: inherit;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
}

.lst-range input:focus { outline: none; border-color: var(--gold); }

/* ---------- Pills ---------- */

.lst-pills { padding: 0 18px 14px; }

.lst-pills__lbl {
	display: block;
	font-size: .64rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 7px;
}

.lst-pills__row { display: flex; gap: 6px; flex-wrap: wrap; }
.lst-pill input { position: absolute; opacity: 0; pointer-events: none; }

.lst-pill span {
	display: block;
	min-width: 38px;
	text-align: center;
	/* Con padding horizontal en cero, «Todos» tocaba el borde: el min-width
	   alcanzaba para «1+» pero no para una palabra. */
	padding: 7px 10px;
	font-size: .78rem;
	border: 1px solid var(--line);
	cursor: pointer;
	transition: all .15s ease;
}

.lst-pill input:checked + span {
	background: var(--gold);
	border-color: var(--gold-dark);
	color: #fff;
	font-weight: 600;
}

/* ---------- Buttons ---------- */

.lst-btn {
	display: inline-block;
	padding: 13px 30px;
	background: var(--gold);
	color: #fff;
	border: 0;
	font-family: inherit;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .18s ease;
}

.lst-btn:hover { background: var(--gold-dark); color: #fff; }
.lst-btn--block { width: 100%; }
.lst-btn--sm { padding: 8px 18px; }

/* ---------- Sort bar ---------- */

.lst-results__bar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
}

.lst-sort { display: flex; align-items: center; gap: 10px; }

.lst-sort__lbl {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.lst-sort select {
	padding: 9px 14px;
	font-family: inherit;
	font-size: .82rem;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	cursor: pointer;
}

.lst-sort select:focus { outline: none; border-color: var(--gold); }

/* ---------- Grid ---------- */

.lst-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 320px, 1fr ) );
	gap: 28px;
}

/* ---------- Card ---------- */

.lst-card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	transition: box-shadow .22s ease, transform .22s ease;
}

.lst-card:hover {
	box-shadow: 0 14px 34px rgba( 15, 23, 41, .13 );
	transform: translateY( -3px );
}

.lst-card__head { padding: 20px 20px 14px; }

.lst-card__title {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.42rem;
	font-weight: 600;
	line-height: 1.24;
}

.lst-card__title a { color: var(--navy); text-decoration: none; }
.lst-card__title a:hover { color: var(--gold-dark); }

.lst-card__ref {
	margin: 7px 0 0;
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------- Media / carousel ---------- */

.lst-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wash);
}

.lst-card__media:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.lst-slides, .lst-slide { position: absolute; inset: 0; margin: 0; }

.lst-slide {
	opacity: 0;
	transition: opacity .32s ease;
	pointer-events: none;
}

.lst-slide.is-active { opacity: 1; pointer-events: auto; }
.lst-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lst-slide--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	color: #c8ccd3;
}

.lst-slide--empty .lst-ico { width: 54px; height: 54px; }

.lst-nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 0;
	background: rgba( 255, 255, 255, .86 );
	color: var(--navy);
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s ease, background .2s ease;
}

.lst-card:hover .lst-nav,
.lst-nav:focus-visible { opacity: 1; }
.lst-nav:hover { background: #fff; }
.lst-nav .lst-ico { width: 17px; height: 17px; }
.lst-nav--prev { left: 10px; }
.lst-nav--prev .lst-ico { transform: rotate( 180deg ); }
.lst-nav--next { right: 10px; }

.lst-dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.lst-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, .55 );
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.lst-dot.is-active { background: #fff; transform: scale( 1.35 ); }

.lst-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 12px;
	background: var(--navy);
	color: #fff;
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lst-badge--pozo { left: auto; right: 12px; background: var(--gold-dark); }

/* ---------- Meta ---------- */

.lst-meta {
	list-style: none;
	margin: 0;
	padding: 16px 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 14px;
	flex: 1;
}

.lst-meta li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: .8rem;
	color: #454b52;
	min-width: 0;
}

.lst-meta span {
	/* Antes recortaba con puntos suspensivos y "1597 m² constr…" quedaba
	   ilegible. Mejor que ocupe dos líneas: la tarjeta crece unos píxeles
	   y el dato se entiende. */
	min-width: 0;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.lst-meta .lst-ico {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--gold-dark);
}

/* ---------- Card foot ---------- */

.lst-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 20px;
	border-top: 1px solid var(--line);
	background: var(--wash);
}

.lst-price {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.36rem;
	font-weight: 600;
	color: var(--navy);
}

.lst-card__link {
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold-dark);
	text-decoration: none;
	white-space: nowrap;
}

.lst-card__link:hover { color: var(--navy); }

/* ---------- Empty state ---------- */

.lst-empty {
	padding: 70px 30px;
	text-align: center;
	border: 1px solid var(--line);
	background: var(--paper);
}

.lst-empty h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.7rem;
	color: var(--navy);
	margin: 0 0 8px;
}

.lst-empty p { color: var(--muted); margin: 0 0 22px; font-size: .9rem; }

/* ---------- Pagination ---------- */

.lst-pagination { margin-top: 44px; }

.lst-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	margin: 0 3px;
	font-size: .84rem;
	color: var(--navy);
	text-decoration: none;
	border: 1px solid var(--line);
	transition: all .15s ease;
}

.lst-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-dark); }

.lst-pagination .page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.lst-pagination .page-numbers.dots { border-color: transparent; }

/* ---------- Responsive ---------- */

@media ( max-width: 1024px ) {
	.lst-layout { grid-template-columns: 1fr; gap: 26px; }
	.lst-sidebar { position: static; }
	.lst-nav { opacity: 1; }
}

@media ( max-width: 640px ) {
	.lst-page { padding: 30px 16px 56px; }
	.lst-grid { grid-template-columns: 1fr; gap: 22px; }
	.lst-meta { grid-template-columns: 1fr; }
	.lst-results__bar { justify-content: stretch; }
	.lst-sort { width: 100%; }
	.lst-sort select { flex: 1; }
}

@media ( prefers-reduced-motion: reduce ) {
	.lst-card, .lst-slide, .lst-nav, .lst-dot { transition: none; }
	.lst-card:hover { transform: none; }
}

/* =========================================================
   Single property
   ========================================================= */

.lst-page--embed { padding: 0; max-width: none; }

.lst-crumbs {
	display: flex;
	gap: 8px;
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 20px;
}

.lst-crumbs a { color: var(--gold-dark); text-decoration: none; }
.lst-crumbs a:hover { text-decoration: underline; }

.lst-single__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 28px;
}

.lst-single__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp( 1.9rem, 4vw, 2.9rem );
	font-weight: 600;
	line-height: 1.12;
	margin: 0;
	color: var(--navy);
	max-width: 44ch;
}

.lst-single__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 10px 0 0;
	font-size: .74rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.lst-tag {
	background: var(--gold-dark);
	color: #fff;
	padding: 3px 10px;
	letter-spacing: .1em;
}

.lst-single__price { text-align: right; }
.lst-price--lg { font-size: 2rem; display: block; }

.lst-single__op {
	font-size: .7rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-dark);
}

.lst-single__media {
	position: relative;
	/*
	 * Alto fijo en vez de proporción: con aspect-ratio y max-height juntos el
	 * navegador achica el ancho para respetar la proporción y la foto dejaba
	 * de llegar al borde. La imagen recorta con object-fit: cover.
	 */
	height: clamp( 320px, 44vw, 600px );
	width: 100%;
	overflow: hidden;
	background: var(--wash);
	margin-bottom: 34px;
}

.lst-single__media .lst-nav { opacity: 1; width: 42px; height: 42px; }

.lst-single__body {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 320px;
	gap: 40px;
	align-items: start;
}

/* ---------- Specs ---------- */

.lst-specs {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 118px, 1fr ) );
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.lst-specs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 10px;
	background: #fff;
	text-align: center;
}

.lst-specs .lst-ico { width: 22px; height: 22px; color: var(--gold-dark); }
.lst-specs strong { font-size: 1.05rem; color: var(--navy); }

.lst-specs span {
	font-size: .64rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------- Prose ---------- */

.lst-prose { font-size: .95rem; line-height: 1.75; color: #3a3f45; }
.lst-prose p { margin: 0 0 1.1em; }
.lst-prose h2, .lst-prose h3 {
	font-family: "Cormorant Garamond", Georgia, serif;
	color: var(--navy);
	margin: 1.6em 0 .5em;
}
.lst-prose img { max-width: 100%; height: auto; }

.lst-h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0 0 14px;
}

/* ---------- Map ---------- */

.lst-map-wrap { margin-top: 40px; }

.lst-map-addr {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .85rem;
	color: var(--muted);
	margin: 0 0 14px;
}

.lst-map-addr .lst-ico { width: 17px; height: 17px; color: var(--gold-dark); }

.lst-map {
	height: 380px;
	border: 1px solid var(--line);
	background: var(--wash);
	z-index: 0;
}

.lst-pin span {
	display: block;
	width: 22px;
	height: 22px;
	border-radius: 50% 50% 50% 0;
	transform: rotate( -45deg );
	background: var(--gold);
	border: 2.5px solid #fff;
	box-shadow: 0 3px 8px rgba( 15, 23, 41, .35 );
}

.lst-notice {
	padding: 14px 18px;
	background: #fff8e6;
	border-left: 3px solid var(--gold);
	font-size: .86rem;
}

/* ---------- CTA sidebar ---------- */

.lst-single__aside { position: sticky; top: 24px; }

.lst-cta {
	background: var(--navy);
	color: #fff;
	padding: 26px 24px;
}

.lst-cta__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.42rem;
	font-weight: 600;
	margin: 0 0 8px;
	color: #fff;
}

.lst-cta__text {
	font-size: .85rem;
	line-height: 1.6;
	color: rgba( 255, 255, 255, .78 );
	margin: 0 0 20px;
}

.lst-cta__line {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid rgba( 255, 255, 255, .14 );
	color: #fff;
	font-size: .88rem;
	text-decoration: none;
}

.lst-cta__line:hover { color: var(--gold); }

.lst-cta__hours {
	margin: 16px 0 0;
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba( 255, 255, 255, .6 );
}

.lst-btn--wa { background: #25d366; }
.lst-btn--wa:hover { background: #1da851; }

.lst-related { margin-top: 60px; }

/* =========================================================
   Contact block
   ========================================================= */

.lst-contact {
	display: grid;
	gap: 0;
	border: 1px solid var(--line);
	background: #fff;
}

.lst-contact__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 20px;
	border-bottom: 1px solid var(--line);
}

.lst-contact__lbl {
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.lst-contact__val { color: var(--navy); text-decoration: none; font-size: .92rem; }
.lst-contact__val:hover { color: var(--gold-dark); }
.lst-contact .lst-btn { margin: 18px 20px 20px; text-align: center; }

/* =========================================================
   WhatsApp float
   ========================================================= */

.lst-wa {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 0;
	height: 56px;
	padding: 0 16px;
	border-radius: 28px;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 22px rgba( 37, 211, 102, .42 );
	transition: gap .25s ease, padding .25s ease, background .2s ease;
}

.lst-wa svg { width: 26px; height: 26px; flex: none; }

.lst-wa__label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .06em;
	transition: max-width .25s ease;
}

.lst-wa:hover, .lst-wa:focus-visible {
	background: #1da851;
	gap: 10px;
	color: #fff;
}

.lst-wa:hover .lst-wa__label,
.lst-wa:focus-visible .lst-wa__label { max-width: 110px; }

/* =========================================================
   Responsive
   ========================================================= */

@media ( max-width: 1024px ) {
	.lst-single__body { grid-template-columns: 1fr; }
	.lst-single__aside { position: static; }
}

@media ( max-width: 640px ) {
	.lst-single__head { flex-direction: column; align-items: flex-start; }
	.lst-single__price { text-align: left; }
	.lst-single__media { height: clamp( 240px, 62vw, 420px ); }
	.lst-wa { right: 14px; bottom: 14px; }
}

/* =========================================================
   Editable sections (Nosotros / Servicios / Alianzas)
   ========================================================= */

.lst-section {
	--navy: var(--listing-dark);
	--gold: var(--listing-gold);
	--gold-dark: var(--listing-gold-dark);
	--ink: var(--listing-dark);
	--muted: var(--listing-gray);
	--line: var(--listing-line);
	--wash: var(--listing-wash);
	font-family: Montserrat, system-ui, sans-serif;
	color: var(--ink);
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 0 60px;
}

.lst-section__hero {
	margin-bottom: 46px;
	aspect-ratio: 21 / 7;
	overflow: hidden;
}

.lst-section__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lst-section__intro {
	max-width: 720px;
	margin: 0 auto 52px;
	text-align: center;
}

.lst-section__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp( 2rem, 4vw, 2.9rem );
	font-weight: 600;
	color: var(--navy);
	margin: 0 0 16px;
	position: relative;
	padding-bottom: 18px;
}

.lst-section__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 54px;
	height: 2px;
	background: var(--gold);
	transform: translateX( -50% );
}

.lst-blocks {
	display: grid;
	grid-template-columns: repeat( var( --cols, 3 ), minmax( 0, 1fr ) );
	gap: 30px;
}

.lst-block {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	transition: box-shadow .22s ease, transform .22s ease;
}

.lst-block:hover { box-shadow: 0 14px 32px rgba( 15, 23, 41, .1 ); transform: translateY( -3px ); }

.lst-block__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); }
.lst-block__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lst-block__body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }

.lst-block__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.34rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0 0 10px;
}

.lst-block__text { font-size: .89rem; line-height: 1.66; color: var(--listing-gray); flex: 1; }
.lst-block__text p { margin: 0 0 .8em; }

.lst-block__link {
	margin-top: 16px;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold-dark);
	text-decoration: none;
	align-self: flex-start;
}

.lst-block__link:hover { color: var(--navy); }

/* =========================================================
   Contact form
   ========================================================= */

.lst-form-wrap {
	font-family: Montserrat, system-ui, sans-serif;
	max-width: 780px;
	margin: 0 auto;
}

.lst-form__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0 0 8px;
}

.lst-form__text { color: var(--muted); font-size: .92rem; margin: 0 0 28px; }

.lst-form {
	background: #fff;
	border: 1px solid var(--line);
	padding: 28px 26px;
}

.lst-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; }

/* Un poco de aire extra entre filas de la grilla, donde se acumulan las pistas */
.lst-form__grid > .lst-field { margin-bottom: 34px; }

/* Campo suelto que ocupa media columna, sin envolverlo en una grilla de un
   solo hijo — eso dejaba la fila sin separación con lo que venía abajo. */
.lst-field--half { max-width: calc( 50% - 10px ); }
.lst-form__hp { position: absolute; left: -9999px; }

/* 18px quedaba corto cuando el campo lleva una pista debajo: el rótulo
   siguiente arrancaba pegado. */
.lst-field { margin: 0 0 26px; }

.lst-field label {
	display: block;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 6px;
}

.lst-field label span { color: var(--listing-gold-dark); }

.lst-field input,
.lst-field select,
.lst-field textarea {
	width: 100%;
	padding: 11px 13px;
	font-family: inherit;
	font-size: .92rem;
	color: var(--listing-dark);
	background: #fff;
	border: 1px solid var(--line);
	transition: border-color .16s ease;
}

.lst-field input:focus,
.lst-field select:focus,
.lst-field textarea:focus { outline: none; border-color: var(--gold); }

.lst-field textarea { resize: vertical; }

.lst-alert { padding: 15px 18px; margin-bottom: 22px; font-size: .9rem; }
.lst-alert--ok { background: #edf7f0; border-left: 3px solid #2e9e5b; }
.lst-alert--error { background: #fdf0f0; border-left: 3px solid #c0392b; }
.lst-alert p { margin: 0 0 4px; }

/* =========================================================
   Social + footer strip
   ========================================================= */

.lst-social { display: flex; gap: 10px; }

.lst-social__link {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid rgba( 255, 255, 255, .22 );
	color: #fff;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.lst-social__link svg { width: 19px; height: 19px; }

.lst-social__link:hover {
	background: var(--listing-gold);
	border-color: var(--listing-gold);
	color: var(--listing-dark);
}


@media ( max-width: 900px ) {
	.lst-blocks { grid-template-columns: 1fr 1fr; }
}

@media ( max-width: 640px ) {
	.lst-blocks { grid-template-columns: 1fr; }
	.lst-form__grid { grid-template-columns: 1fr; }
	.lst-section__hero { aspect-ratio: 3 / 2; }
}

/* =========================================================
   Wide form (Vendé / Alquilá)
   ========================================================= */

.lst-form-wrap--wide { max-width: 940px; }

.lst-fieldset {
	border: 0;
	border-top: 1px solid var(--line, var(--listing-line));
	margin: 0 0 26px;
	padding: 22px 0 0;
}

.lst-fieldset:first-of-type { border-top: 0; padding-top: 0; }

.lst-fieldset legend {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--listing-dark);
	padding: 0 10px 0 0;
}

/* Se llama --4 por historia; ahora se acomoda a la cantidad de campos,
   que pasaron a ser cinco al sumar cocheras. */
.lst-form__grid--4 { grid-template-columns: repeat( auto-fit, minmax( 132px, 1fr ) ); }

.lst-hint {
	display: block;
	margin-top: 5px;
	font-size: .74rem;
	line-height: 1.5;
	color: var(--listing-gray);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

.lst-field--file input[type="file"] {
	padding: 22px;
	border: 1.5px dashed var(--listing-line);
	background: var(--listing-wash);
	cursor: pointer;
}

.lst-field--file input[type="file"]:hover { border-color: var(--listing-gold); background: #fbf7ef; }

.lst-form__alt {
	margin: 18px 0 0;
	font-size: .86rem;
	color: var(--listing-gray);
}

.lst-form__alt a { color: var(--listing-gold-dark); font-weight: 600; }

@media ( max-width: 780px ) {
	.lst-form__grid--4 { grid-template-columns: 1fr 1fr; }
}

@media ( max-width: 640px ) {
	.lst-form__grid--4 { grid-template-columns: 1fr; }
}
/* =========================================================
   Footer

   Reemplaza el bloque .lst-footer que ya está en listing.css
   (~líneas 1096-1160). Borrar el viejo, no agregar encima:
   las reglas de grilla anteriores pelean con estas.
   ========================================================= */

.lst-footer {
	background: var( --listing-dark );
	color: var( --listing-light-gray );
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: .875rem;
	line-height: 1.6;
	padding: 2.5rem 1.5rem 1.75rem;
}

.lst-footer a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.lst-footer a:hover,
.lst-footer a:focus-visible {
	color: var( --listing-gold );
}

.lst-footer__inner {
	max-width: 75rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: max-content minmax( 0, 1fr ) max-content;
	align-items: start;
	gap: 2rem 3rem;
}

/* --- Marca --- */

.lst-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	/* Ocupa las dos filas: así la altura de la primera la marca la
	   línea de contacto y no el bloque de marca, que es mucho más alto. */
	grid-row: 1 / span 2;
}

/* El SVG trae aire propio arriba (el texto arranca a ~20% del viewBox),
   así que se compensa para alinearlo con la línea de contacto. */
.lst-footer__logo {
	display: block;
	margin-top: -12px;
}

.lst-footer__logo img {
	display: block;
	width: 220px;
	height: auto;
}

.lst-footer__logo--text {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var( --listing-white );
}

.lst-footer__text {
	margin: 0;
	max-width: 26rem;
	color: var( --listing-gray );
}

/* --- Redes: borde dorado, debajo del logo --- */

.lst-social--footer {
	display: flex;
	flex-wrap: nowrap;
	gap: .625rem;
	/* Centrado respecto al logo, que es más ancho que la fila de iconos */
	align-self: center;
}

.lst-social--footer .lst-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var( --listing-gold );
	border-radius: 2px;
	color: var( --listing-off-white );
	transition: background-color .2s ease, color .2s ease;
}

.lst-social--footer .lst-social__link svg {
	width: 19px;
	height: 19px;
}

.lst-social--footer .lst-social__link:hover,
.lst-social--footer .lst-social__link:focus-visible {
	background: var( --listing-gold );
	color: var( --listing-dark ) !important;
}

/* --- Contacto en línea, separado por barras --- */

.lst-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: .5rem 0;
}

/* Separador generado, para que un campo vacío no deje una barra huérfana */
.lst-footer__contact li + li::before {
	content: "|";
	margin: 0 1.25rem;
	color: var( --listing-border );
}

/* --- Copyright --- */

.lst-footer__copy {
	margin: 0;
	text-align: right;
	color: var( --listing-gray );
}

/* --- Barra inferior --- */

.lst-footer__bottom {
	/* Segunda fila del grid: arranca donde el contacto y termina
	   donde el copyright, no debajo del logo. */
	grid-column: 2 / -1;
	grid-row: 2;
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid var( --listing-gold-border );
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
	text-align: center;
}

.lst-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem 1.5rem;
}

.lst-footer__legal-list li + li::before {
	content: "|";
	margin-right: 1.5rem;
	color: var( --listing-border );
}

.lst-footer__zonas {
	margin: 0;
	max-width: 52rem;
	font-size: .8125rem;
	color: var( --listing-gray );
}

/* --- Mobile --- */

@media ( max-width: 900px ) {
	.lst-footer {
		padding: 2.5rem 1.25rem 1.75rem;
	}

	.lst-footer__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 1.75rem;
		text-align: center;
	}

	.lst-footer__brand {
		align-items: center;
	}

	.lst-footer__text {
		text-align: center;
	}

	.lst-footer__contact {
		flex-direction: column;
		gap: .5rem;
	}

	.lst-footer__contact li + li::before {
		content: none;
	}

	.lst-footer__copy {
		text-align: center;
	}

	.lst-footer__brand {
		grid-row: auto;
	}

	.lst-footer__bottom {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}


/* =========================================================
   Misión / Visión / Valores
   ========================================================= */

.lre-about {
	max-width: 62rem;
	margin: 0 auto;
	color: var( --listing-text );
	font-family: "Montserrat", system-ui, sans-serif;
	line-height: 1.7;
}

.lre-about h2 {
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp( 1.75rem, 1.3rem + 1.6vw, 2.5rem );
	font-weight: 600;
	letter-spacing: .01em;
	color: var( --listing-dark );
	text-align: left !important;
	text-decoration: none !important;
	margin: 0 0 1rem;
}

.lre-about h3 {
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: var( --listing-dark );
	text-align: left !important;
	text-decoration: none !important;
	margin: 0 0 .4rem;
}

.lre-about p {
	font-size: 1.0625rem;
	color: var( --listing-text );
	text-align: left !important;
	margin: 0;
}

.lre-about .lre-statement {
	border-left: 2px solid var( --listing-gold );
	padding-left: 1.75rem;
	margin-bottom: 3.25rem;
}

.lre-about .lre-statement p {
	max-width: 46rem;
	font-size: 1.125rem;
}

.lre-about .lre-values {
	border-top: 1px solid var( --listing-line );
	padding-top: 2.75rem;
}

.lre-about .lre-values > h2 {
	margin-bottom: 2.25rem;
}

.lre-about .lre-values ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2.25rem 3rem;
	grid-template-columns: repeat( auto-fit, minmax( 15rem, 1fr ) );
}

.lre-about .lre-values li {
	padding-top: .75rem;
	border-top: 1px solid var( --listing-gold );
}

.lre-about .lre-values li p {
	font-size: 1rem;
}

@media ( max-width: 1024px ) {
	.lre-about .lre-statement {
		padding-left: 1.125rem;
		margin-bottom: 2.5rem;
	}
	.lre-about .lre-values ul {
		gap: 1.75rem;
	}
}


/* =========================================================
   Bloques de servicios
   ========================================================= */

.lre-servicios {
	max-width: 62rem;
	margin: 0 auto;
	display: grid;
	gap: 3rem;
	grid-template-columns: repeat( auto-fit, minmax( 20rem, 1fr ) );
}

.lre-servicios .lre-servicio {
	border-top: 2px solid var( --listing-gold );
	padding-top: 1.5rem;
}

.lre-servicios h2 {
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp( 1.5rem, 1.2rem + 1.2vw, 2rem );
	font-weight: 600;
	line-height: 1.25;
	color: var( --listing-dark ) !important;
	text-align: left !important;
	text-decoration: none !important;
	margin: 0 0 1rem;
	max-width: 20ch;
}

.lre-servicios p {
	font-family: "Montserrat", system-ui, sans-serif !important;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var( --listing-text ) !important;
	text-align: left !important;
	margin: 0;
}

@media ( max-width: 1024px ) {
	.lre-servicios { gap: 2.25rem; }
}


/* =========================================================
   Ítem del menú con borde dorado (botón)

   Requiere la clase menu-cta en el ítem, desde
   Apariencia → Menús → campo "Clases CSS".
   Mismo borde y radio que los iconos del pie.
   ========================================================= */

.header-navigation .menu-cta > a,
.main-navigation .menu-cta > a {
	border: 1px solid var( --listing-gold );
	border-radius: 2px;
	padding: .5em 1.35em;
	color: var( --listing-gold ) !important;
	transition: background-color .2s ease, color .2s ease;
}

.header-navigation .menu-cta > a:hover,
.header-navigation .menu-cta > a:focus-visible,
.main-navigation .menu-cta > a:hover,
.main-navigation .menu-cta > a:focus-visible {
	background: var( --listing-gold );
	color: var( --listing-dark ) !important;
}


/* =========================================================
   Filtro — controles nuevos
   ========================================================= */

/*
 * Estos elementos cuelgan directo del <details>, no de .lst-facet__list,
 * así que no heredan su padding lateral de 18px y quedaban pegados al borde.
 */
.lst-facet > .lst-pills__lbl,
.lst-range-block,
.lst-barrios {
	padding-left: 18px;
	padding-right: 18px;
}

.lst-range-block {
	padding-bottom: 14px;
}

.lst-range-block + .lst-range-block {
	margin-top: .25rem;
}

/* La lista de barrios ya trae su propio sangrado; evitar duplicarlo */
.lst-barrios .lst-facet__list--child {
	padding-left: 18px;
}

.lst-barrios {
	margin-top: 1.25rem;
	padding-bottom: 14px;
}

.lst-barrios__hint {
	margin: .25rem 0 0;
	font-size: .8125rem;
	color: var( --listing-gray );
}

/* Separación entre el bloque Ciudad y el rótulo Barrio */
[data-facet="ubicacion"] .lst-facet__list + .lst-pills__lbl {
	display: block;
	margin-top: 1.25rem;
}

/*
 * Los radios se dibujan redondos y las casillas cuadradas. No es decoración:
 * es la única señal de que Operación, Categoría, Tipo y Ciudad admiten una
 * sola opción, mientras Barrio admite varias.
 */
.lst-check input[type="radio"],
.lst-pill input[type="radio"] {
	border-radius: 50%;
}

.lst-check input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var( --listing-paper, #fff );
}

.lst-check input[type="radio"] {
	position: relative;
}

/* hidden necesita esto: los li son display:list-item y ganan al atributo */
.lst-facet__list li[hidden],
.lst-barrios__hint[hidden] {
	display: none;
}

/* Etiqueta de estado comercial: reemplaza a la de operación */
.lst-badge--estado {
	background: var( --listing-gold );
	color: var( --listing-dark );
}

/* =========================================================
   Video y documentos de la ficha
   ========================================================= */

.lst-video {
	margin-bottom: 28px;
}

/* El embed responde al ancho del contenedor */
.lst-video iframe,
.lst-video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.lst-video figure,
.lst-video .wp-block-embed__wrapper {
	margin: 0;
}

.lst-docs {
	margin-top: 32px;
}

.lst-docs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.lst-docs__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border: 1px solid var( --listing-line );
	border-radius: 2px;
	text-decoration: none;
	color: var( --listing-dark );
	transition: border-color .2s ease;
}

.lst-docs__list a:hover {
	border-color: var( --listing-gold );
}

/* =========================================================
   Botón en estado de envío
   ========================================================= */

.lst-btn[aria-busy="true"] {
	position: relative;
	padding-left: 40px;
	cursor: progress;
	opacity: .85;
}

.lst-btn[aria-busy="true"]::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: lst-spin .7s linear infinite;
}

@keyframes lst-spin {
	to { transform: rotate( 360deg ); }
}

/* Respeta a quien pidió menos movimiento en el sistema */
@media ( prefers-reduced-motion: reduce ) {
	.lst-btn[aria-busy="true"]::before {
		animation-duration: 2.4s;
	}
}
