/*
 * Página de promoción – calcada del Figma «Proyecto» (lienzo de 1440 px).
 * Cada medida lleva al lado el dato del Figma del que sale.
 */

.zq-f {
	--zq-ink: #101215;        /* var(--dark-10) */
	--zq-gris: #909295;       /* var(--dark-6) */
	--zq-negro: #000;
	--zq-rojo: #e40000;
	--zq-radio: 20px;         /* Foto_Promociones */
	--zq-geist: "Geist", var(--e-global-typography-text-font-family, sans-serif), sans-serif;
	--zq-inter: "Inter", var(--e-global-typography-text-font-family, sans-serif), sans-serif;
	color: #000;
	font-family: var(--zq-geist);
}

.zq-f *,
.zq-f *::before,
.zq-f *::after {
	box-sizing: border-box;
}

/* Lienzo de 1440 px centrado: las posiciones x del Figma se aplican dentro. */
.zq-f-canvas {
	position: relative;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.zq-f-row {
	display: flex;
	align-items: flex-start;
}

.zq-f-center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*
 * En pantallas de más de 1440 px, las secciones con foto se anclan al borde por el que sale
 * su bloque negro (como en el Figma, donde la foto toca el borde): zona 1 a la derecha,
 * urbanización y zona 2 a la izquierda.
 */
.zq-f-zona > .zq-f-canvas {
	margin-right: 0;
	margin-left: auto;
}

.zq-f-urb > .zq-f-canvas,
.zq-f-zona2 > .zq-f-canvas {
	margin-left: 0;
	margin-right: auto;
}

/* Escala opcional de todo el diseño (Qobrix → Ajustes → Escala). */
.zq-f {
	zoom: var(--zq-escala, 1);
}

/* Los bloques negros salen hasta el borde de la pantalla sin crear barra horizontal. */
body:has(.zq-f) {
	overflow-x: clip;
}

/* Tipografía ------------------------------------------------------------- */
.zq-f .zq-f-h {                       /* H4: Geist Regular 40 / 1.4 */
	margin: 0;
	color: var(--zq-ink);
	font-family: var(--zq-geist);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.zq-f .zq-f-hc {                      /* Inter Light 35 / 1.4, centrado */
	margin: 0;
	color: #000;
	font-family: var(--zq-inter);
	font-size: 35px;
	font-weight: 300;
	line-height: 1.4;
	text-align: center;
}

.zq-f .zq-f-sub {                     /* Geist 17 / 1.5 */
	margin: 8px 0 0;
	color: var(--zq-ink);
	font-size: 17px;
	line-height: 1.5;
}

.zq-f .zq-f-txt {                     /* Geist 21 / 1.4, párrafos separados por una línea */
	margin-top: 12px;
	color: #000;
	font-size: 21px;
	line-height: 1.4;
}

.zq-f .zq-f-txt--22 {
	font-size: 22px;
}

.zq-f .zq-f-txt p {
	margin: 0 0 1.4em;
}

.zq-f .zq-f-txt p:last-child {
	margin-bottom: 0;
}

.zq-f .zq-f-h3 {                      /* «Comodidades»: Geist Medium 24 / 1.4 */
	margin: 1.4em 0 0;
	color: #000;
	font-family: var(--zq-geist);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
}

.zq-f .zq-f-h3 + p {
	margin-top: 0;
}

.zq-f-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #000;
	border-radius: 10px;
	font-family: var(--zq-geist);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .42px;
	text-decoration: none;
	text-transform: uppercase;
}

.zq-f .zq-f-btn--blanco {
	width: 210px;
	height: 40px;
	background: #fff;
	color: #000;
}

/* Fotos con bloque negro ------------------------------------------------- */
.zq-f-foto {
	position: relative;
	z-index: 0;
	flex: 0 0 auto;
}

.zq-f-foto .zq-f-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--zq-radio);
}

.zq-f-foto::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 100vw;
	border-radius: var(--zq-radio);
	background: var(--zq-negro);
}

/* 01. Portada (1440 × 781, capa rgba(0,0,0,.3); texto en x=111, y≈274) ---- */
.zq-f-hero {
	position: relative;
	height: 781px;
	background: #222 center / cover no-repeat;
}

.zq-f-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .3);
}

.zq-f-hero .zq-f-canvas {
	height: 100%;
}

.zq-f-hero__txt {
	position: absolute;
	top: 274px;
	left: 111px;
	width: 486px;
	color: #fff;
}

.zq-f .zq-f-hero__title {             /* Geist SemiBold 40 / 1.2 */
	margin: 0;
	color: #fff;
	font-family: var(--zq-geist);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
}

.zq-f .zq-f-hero__ubi {               /* Geist 20 / 1.2, tras dos saltos de 12 px */
	margin: 29px 0 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
}

.zq-f .zq-f-hero__sub {               /* Geist Medium 16 / 1.2, caja de 35 px */
	min-height: 35px;
	margin: 98px 0 3px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

/* 02. Zona: texto x=40 (748) · foto x=803 (612 × 738) · negro x=849 (679 × 818) */
.zq-f-zona {
	padding-top: 210px;
}

.zq-f-zona__txt {
	flex: 0 0 748px;
	margin-left: 40px;
}

.zq-f-zona__txt .zq-f-txt {
	max-width: 714px;
}

.zq-f-foto--zona {
	width: 612px;
	height: 738px;
	margin: 40px 0 40px 15px;
}

.zq-f-foto--zona::before {
	top: -40px;
	bottom: -40px;
	left: 46px;
}

/* 03. Características: 4 tarjetas 300 × 100, borde 0,5 px, radio 10 ------- */
.zq-f-caract {
	padding-top: 92px;
}

.zq-f-cards {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 20px;
}

.zq-f-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 300px;
	height: 100px;
	border: .5px solid #000;
	border-radius: 10px;
}

.zq-f-card__label {                   /* Geist 22 / 1.4, icono a 25 px */
	display: flex;
	align-items: center;
	gap: 25px;
	color: var(--zq-ink);
	font-size: 22px;
	line-height: 1.4;
	white-space: nowrap;
}

.zq-f-card .zq-f-card__label {
	text-transform: uppercase;
}

.zq-f-card__value {                   /* Inter SemiBold 20 / 1.4 */
	color: #000;
	font-family: var(--zq-inter);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.zq-f-card .zq-f-card__value {
	text-transform: uppercase;
}

.zq-f .zq-icon {
	display: block;
	flex: 0 0 auto;
	color: var(--zq-ink);
}

/* 07. Lista de propiedades: 1311 px, cabecera negra 50 px, filas 45 px ---- */
.zq-f-prop {
	padding-top: 62px;
}

.zq-f-prop .zq-f-hc {
	height: 60px;
}

.zq-f .zq-propiedades-wrap {
	width: 1311px;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 11px;
	overflow: visible;
}

.zq-f .zq-propiedades {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0 11px;
	table-layout: fixed;
}

.zq-f .zq-propiedades thead tr:first-child th {
	border-top: 0;
}

.zq-f-prop .zq-propiedades-wrap {
	margin-top: 0;          /* el espaciado de 11 px lo da la propia tabla */
}

/* Columnas centradas sobre las posiciones del Figma. */
/* Anchos en % para que la tabla ocupe siempre el 100 % sin cortarse (portátil incluido). */
.zq-f .zq-propiedades th:nth-child(1) { width: 9%; }
.zq-f .zq-propiedades th:nth-child(2) { width: 13%; }
.zq-f .zq-propiedades th:nth-child(3) { width: 10%; }
.zq-f .zq-propiedades th:nth-child(4) { width: 11%; }
.zq-f .zq-propiedades th:nth-child(5) { width: 11%; }
.zq-f .zq-propiedades th:nth-child(6) { width: 10%; }
.zq-f .zq-propiedades th:nth-child(7) { width: 12%; }
.zq-f .zq-propiedades th:nth-child(8) { width: 10%; }
.zq-f .zq-propiedades th.zq-col-ver { width: 14%; }

.zq-f .zq-propiedades th {
	height: 50px;
	padding: 0 6px;
	border: 0;
	background: #000;
	color: #fff;
	font-family: var(--zq-geist);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}

.zq-f .zq-propiedades td {
	height: 45px;
	padding: 0 6px;
	border: 0;
	background: transparent;
	color: #4e4e4e;
	font-family: var(--zq-inter);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}

.zq-f .zq-propiedades tbody tr:nth-child(odd) td,
.zq-f .zq-propiedades tbody tr:nth-child(even) td {
	background: transparent;
}

.zq-f .zq-propiedades .zq-estado-sold td,
.zq-f .zq-propiedades .zq-estado-reserved td {
	color: #000;
	font-weight: 600;
	opacity: .3;
}

.zq-f .zq-propiedades .zq-estado-sold td:last-child span {
	color: var(--zq-rojo);
	text-decoration: line-through;
}

/* 03. Urbanización: foto x=28 (568 × 686) · negro x=-128 (630 × 760) · texto x=635 (763) */
.zq-f-urb {
	padding-top: 127px;
}

.zq-f-foto--urb {
	width: 568px;
	height: 686px;
	margin: 37px 0 37px 28px;
}

.zq-f-foto--urb::before {
	top: -37px;
	bottom: -37px;
	right: 94px;
}

.zq-f-urb__txt {
	flex: 0 0 763px;
	margin-left: 39px;
}

.zq-f-urb__txt .zq-f-txt p:first-child + p {
	margin-top: 0;
}

/* 04. Galería: 1251 px en x=95, dos fotos 601 × 408, hueco 46, radio 16 --- */
.zq-f-gal {
	padding-top: 87px;
}

.zq-f-gal__grid {
	display: flex;
	gap: 46px;
	width: 1251px;
	max-width: calc(100% - 40px);
	margin-left: 95px;
}

.zq-f-gal__item {
	display: block;
	flex: 0 1 601px;
	height: 408px;
}

.zq-f-gal__item .zq-f-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

/* 05. Localización: texto x=41 (763) · mapa x=862 (612 × 627), radio 20 --- */
.zq-f-loc {
	padding-top: 170px;
}

.zq-f-loc__txt {
	flex: 0 0 763px;
	margin: 21px 0 0 41px;
}

.zq-f-loc__txt .zq-f-txt {
	margin-top: 50px;
}

.zq-f-dists {
	display: grid;
	grid-template-columns: repeat(3, 250px);
	row-gap: 12px;
	margin-top: 50px;
}

.zq-f-dist {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100px;
}

.zq-f-mapa {
	flex: 0 0 612px;
	height: 627px;
	margin: 40px 0 36px 58px;
	overflow: hidden;
	border-radius: var(--zq-radio);
}

.zq-f-mapa iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 06. Zona 2: foto x=0 (581 × 868) · negro x=-87 (634 × 947) · texto x=666 (732) */
.zq-f-zona2 {
	padding-top: 85px;
}

.zq-f-foto--zona2 {
	width: 581px;
	height: 868px;
	margin: 40px 0 39px;
}

.zq-f-foto--zona2::before {
	top: -40px;
	bottom: -39px;
	right: 34px;
}

.zq-f-zona2__txt {
	flex: 0 0 732px;
	margin: 71px 0 0 85px;
}

.zq-f-zona2__txt .zq-f-txt {
	max-width: 714px;
}

/* 08. Contacta: formulario de 695 px, campos con línea inferior ---------- */
.zq-f-contacto {
	padding: 151px 0 120px;
	scroll-margin-top: 100px;
}

.zq-f-form {
	width: 695px;
	max-width: 100%;
	margin-top: 64px;
	text-align: left;
}

.zq-f-form form p {
	margin: 0;
}

.zq-f-form .zq-campos {               /* rejilla 2 × 320 px, hueco 55 px */
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 55px;
	row-gap: 63px;
}

.zq-f-form .zq-campo--ancho {
	grid-column: 1 / -1;
}

.zq-f-form input[type="text"],
.zq-f-form input[type="email"],
.zq-f-form input[type="tel"],
.zq-f-form textarea {
	display: block;
	width: 100%;
	height: 73px;
	padding: 0 10px;
	border: 0;
	border-bottom: .5px solid #000;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #000;
	font-family: var(--zq-geist);
	font-size: 16px;
	line-height: 1.4;
}

.zq-f-form textarea {
	height: 111px;
	padding-top: 79px;
	resize: vertical;
}

.zq-f-form ::placeholder {
	color: var(--zq-gris);
	opacity: 1;
}

.zq-f-form input:focus,
.zq-f-form textarea:focus {
	outline: none;
	border-bottom-color: #000;
	border-bottom-width: 1px;
}

.zq-f-form input[type="submit"],
.zq-f-form button[type="submit"] {
	display: block;
	width: 295px;
	height: 56px;
	margin: 63px auto 0;
	border: 1px solid #000;
	border-radius: 10px;
	background: #000;
	color: #fff;
	cursor: pointer;
	font-family: var(--zq-geist);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .42px;
	text-transform: uppercase;
}

.zq-f-aviso {
	padding: 16px;
	border: 1px dashed #c00;
	color: #c00;
}

/* Pantallas medianas: se escala el lienzo de 1440 manteniendo proporciones */
@media (max-width: 1439px) and (min-width: 1100px) {
	.zq-f-zona__txt { flex-basis: 52%; margin-left: 2.8vw; }
	.zq-f-foto--zona { width: 42.5vw; height: 51.25vw; margin-left: 1vw; }
	.zq-f-foto--urb { width: 39.4vw; height: 47.6vw; margin-left: 2vw; }
	.zq-f-urb__txt { flex-basis: 53%; margin-left: 2.7vw; }
	.zq-f-zona2__txt { flex-basis: 50.8%; margin-left: 5.9vw; }
	.zq-f-foto--zona2 { width: 40.3vw; height: 60.3vw; }
	.zq-f-loc__txt { flex-basis: 53%; margin-left: 2.8vw; }
	.zq-f-mapa { flex-basis: 42.5vw; height: 43.5vw; margin-left: 4vw; }
	.zq-f-gal__grid { margin-left: auto; margin-right: auto; }
	.zq-f-cards { flex-wrap: wrap; }
}

/* Tableta y móvil: una columna, fotos arriba, medidas proporcionales ------ */
@media (max-width: 1099px) {
	.zq-f-row { flex-direction: column; }
	.zq-f-canvas { padding: 0 20px; }
	.zq-f-hero { height: 75vh; min-height: 520px; }
	.zq-f-hero__txt { top: auto; bottom: 60px; left: 20px; width: calc(100% - 40px); }
	.zq-f .zq-f-hero__title { font-size: 32px; }
	.zq-f .zq-f-hero__sub { margin-top: 40px; }
	.zq-f .zq-f-h { font-size: 30px; }
	.zq-f .zq-f-hc { font-size: 28px; }
	.zq-f .zq-f-txt, .zq-f .zq-f-txt--22 { font-size: 17px; }
	.zq-f .zq-f-h3 { font-size: 20px; }
	.zq-f-zona, .zq-f-urb, .zq-f-loc, .zq-f-zona2, .zq-f-contacto { padding-top: 80px; }
	.zq-f-caract, .zq-f-prop, .zq-f-gal { padding-top: 60px; }
	.zq-f-zona__txt, .zq-f-urb__txt, .zq-f-loc__txt, .zq-f-zona2__txt { flex-basis: auto; width: 100%; margin: 0; }
	.zq-f-foto--zona, .zq-f-foto--urb, .zq-f-foto--zona2 { width: calc(100% - 24px); height: auto; aspect-ratio: 4 / 5; margin: 0 0 48px; }
	.zq-f-foto--zona { order: -1; margin-top: 24px; }
	.zq-f-foto--zona::before { left: 24px; top: -24px; bottom: -24px; }
	.zq-f-foto--urb, .zq-f-foto--zona2 { margin: 24px 0 48px 24px; }
	.zq-f-foto--urb::before, .zq-f-foto--zona2::before { right: 24px; top: -24px; bottom: -24px; }
	.zq-f-cards { flex-wrap: wrap; }
	.zq-f-card { width: calc(50% - 8px); }
	.zq-f-card__label { gap: 12px; font-size: 16px; }
	.zq-f-card__value { font-size: 17px; }
	.zq-f-dists { grid-template-columns: repeat(2, 1fr); }
	.zq-f-mapa { flex-basis: auto; width: 100%; height: 360px; margin: 32px 0 0; }
	.zq-f-gal__grid { flex-direction: column; gap: 20px; width: 100%; max-width: 100%; margin: 0; }
	.zq-f-gal__item { flex: none; height: auto; aspect-ratio: 601 / 408; }
	.zq-f .zq-propiedades-wrap { width: 100%; }
	.zq-f .zq-propiedades th, .zq-f .zq-propiedades td { font-size: 15px; }
	.zq-f .zq-propiedades th { height: 42px; }
	.zq-f-form .zq-campos { grid-template-columns: 1fr; row-gap: 24px; }
	.zq-f-form input[type="submit"], .zq-f-form button[type="submit"] { width: 100%; }
}

@media (max-width: 767px) {
	.zq-f .zq-propiedades { table-layout: auto; border-spacing: 0; margin: 0; }
	.zq-f .zq-propiedades th { width: auto !important; }
	.zq-f .zq-propiedades td { height: auto; color: inherit; font-size: 15px; white-space: normal; }
	.zq-f .zq-propiedades .zq-estado-sold td { opacity: .45; }
	.zq-f-card { width: 100%; }
}

/* Portada bajo el menú (margen negativo = alto del menú, ajustable en Qobrix → Ajustes) */
.zq-bajo-menu {
	margin-top: calc(-1 * var(--zq-menu-h, 0px));
}

/* Formulario de Elementor Pro (global «Form_contacto») con el estilo del diseño:
   695 px, dos columnas de 320 px con 55 px de hueco, filas cada 136 px. */
.zq-f-form .elementor-widget,
.zq-f-form .elementor-element,
.zq-f-form .elementor-widget-form {
	width: 100% !important;
	max-width: 100% !important;
	--width: 100%;
}

.zq-f-form .elementor-form-fields-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 !important;
	row-gap: 63px;
}

.zq-f-form .elementor-field-group {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.zq-f-form .elementor-field-group.elementor-col-50 {
	width: calc(50% - 27.5px);
}

.zq-f-form .elementor-field-group .elementor-field-textual,
.zq-f-form .elementor-field-group input.elementor-field:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.zq-f-form .elementor-field-group select.elementor-field {
	width: 100% !important;
	height: 73px;
	min-height: 0;
	padding: 0 10px !important;
	border: 0 !important;
	border-bottom: .5px solid #000 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #000;
	font-family: var(--zq-geist);
	font-size: 16px !important;
	line-height: 1.4;
}

.zq-f-form textarea.elementor-field {
	height: 111px !important;
	padding: 79px 10px 0 !important;
	resize: none;
}

.zq-f-form .elementor-field::placeholder {
	color: var(--zq-gris);
	opacity: 1;
}

/* Aceptación de la política: casilla normal y texto al lado. */
.zq-f-form .elementor-field-type-acceptance .elementor-field-subgroup {
	display: flex;
	align-items: center;
	gap: 10px;
}

.zq-f-form .elementor-field-type-acceptance input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
}

.zq-f-form .elementor-field-type-acceptance label {
	color: #000;
	font-family: var(--zq-geist);
	font-size: 14px;
	line-height: 1.4;
}

/* Aviso de reCAPTCHA de Elementor: sin línea ni caja de campo. */
.zq-f-form .elementor-field-type-recaptcha_v3,
.zq-f-form .elementor-field-type-recaptcha {
	color: var(--zq-gris);
	font-size: 13px;
}

.zq-f-form .elementor-field-type-submit {
	justify-content: center;
	margin-top: 0 !important;
}

.zq-f-form .elementor-button[type="submit"] {
	width: 295px !important;
	height: 56px;
	flex: 0 0 auto !important;
	border: 1px solid #000 !important;
	border-radius: 10px !important;
	background: #000 !important;
	color: #fff !important;
	font-family: var(--zq-geist);
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: .42px;
	text-transform: uppercase;
}

@media (max-width: 1099px) {
	.zq-f-form .elementor-field-group.elementor-col-50 { width: 100%; }
	.zq-f-form .elementor-form-fields-wrapper { row-gap: 24px; }
	.zq-f-form .elementor-button[type="submit"] { width: 100% !important; }
}


/* ======================================================================
 * 2.5.3 – Ajustes pedidos sobre el Figma
 * ==================================================================== */

/* Tipografía: textos a 16 px y títulos a 30 px. */
.zq-f .zq-f-h,
.zq-f .zq-f-hc {
	font-size: 30px;
}

.zq-f .zq-f-txt,
.zq-f .zq-f-txt--22,
.zq-f .zq-f-sub {
	font-size: 16px;
}

.zq-f .zq-f-h3 {
	font-size: 18px;
}

.zq-f-prop .zq-f-hc {
	height: auto;
}

/*
 * Fotos de zona, urbanización y zona 2: misma altura que su bloque de texto.
 * El bloque negro sobresale 15 px por arriba y 15 px por abajo.
 */
@media (min-width: 1100px) {
	.zq-f-zona .zq-f-row,
	.zq-f-urb .zq-f-row,
	.zq-f-zona2 .zq-f-row {
		align-items: stretch;
	}

	.zq-f-zona__txt,
	.zq-f-urb__txt,
	.zq-f-zona2__txt {
		margin-top: 15px;
		margin-bottom: 15px;
		align-self: center;
	}

	.zq-f .zq-f-foto--zona,
	.zq-f .zq-f-foto--urb,
	.zq-f .zq-f-foto--zona2 {
		height: auto;
		min-height: 0;
		margin-top: 15px;
		margin-bottom: 15px;
	}

	.zq-f .zq-f-foto--zona .zq-f-img,
	.zq-f .zq-f-foto--urb .zq-f-img,
	.zq-f .zq-f-foto--zona2 .zq-f-img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.zq-f .zq-f-foto--zona::before,
	.zq-f .zq-f-foto--urb::before,
	.zq-f .zq-f-foto--zona2::before {
		top: -15px;
		bottom: -15px;
	}
}

@media (max-width: 1099px) {
	.zq-f .zq-f-h,
	.zq-f .zq-f-hc { font-size: 26px; }
	.zq-f .zq-f-foto--zona::before,
	.zq-f .zq-f-foto--urb::before,
	.zq-f .zq-f-foto--zona2::before { top: -15px; bottom: -15px; }
}

/*
 * Formulario global de Elementor: mismo ancho que en la home (695 px).
 * Se fuerzan al 100 % todos sus envoltorios (contenedores, widget, formulario),
 * sin tocar las columnas de los campos (elementor-col-50 / 100).
 */
.zq-f .zq-f-form :is(.e-con, .e-con-inner, .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-element, .elementor-widget, .elementor-widget-container, .elementor-form, .elementor-form-fields-wrapper):not(.elementor-field-group) {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	--width: 100%;
	--container-widget-width: 100%;
	--content-width: 100%;
	--container-max-width: 100%;
	flex: 1 1 100%;
}

.zq-f .zq-f-form :is(.e-con, .e-con-inner):not(.elementor-field-group) {
	/* Si el formulario global va en un contenedor en fila junto a otro elemento, apilarlos
	   para que el formulario no se quede a la mitad del ancho. */
	flex-direction: column !important;
	flex-wrap: nowrap !important;
}

.zq-f .zq-f-form :is(.elementor-section, .elementor-container) {
	flex-wrap: wrap !important;
}

.zq-f .zq-f-form :is(.e-con, .e-con-inner, .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap):not(.elementor-field-group) {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/*
 * Clases para montar la plantilla a mano en Elementor (Avanzado → Clases CSS del widget Imagen):
 *   zq-bloque-dcha → bloque negro detrás, saliendo hacia la derecha hasta el borde de la pantalla
 *   zq-bloque-izda → bloque negro detrás, saliendo hacia la izquierda
 * El negro sobresale 15 px por arriba y por abajo. Variables ajustables en el widget:
 *   --zq-bloque-desplazamiento (46px por defecto), --zq-bloque-sobresale (15px), --zq-bloque-radio (20px)
 */
.zq-bloque-dcha,
.zq-bloque-izda {
	position: relative;
	z-index: 0;
	margin-top: var(--zq-bloque-sobresale, 15px);
	margin-bottom: var(--zq-bloque-sobresale, 15px);
}

.zq-bloque-dcha::before,
.zq-bloque-izda::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: calc(-1 * var(--zq-bloque-sobresale, 15px));
	bottom: calc(-1 * var(--zq-bloque-sobresale, 15px));
	width: 100vw;
	border-radius: var(--zq-bloque-radio, 20px);
	background: #000;
}

.zq-bloque-dcha::before {
	left: var(--zq-bloque-desplazamiento, 46px);
}

.zq-bloque-izda::before {
	right: var(--zq-bloque-desplazamiento, 46px);
}

.zq-bloque-dcha img,
.zq-bloque-izda img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--zq-bloque-radio, 20px);
}

body:has(.zq-bloque-dcha, .zq-bloque-izda) {
	overflow-x: clip;
}

/* Plantilla editable: la imagen con bloque negro ocupa todo el alto de su columna. */
.elementor-widget-image.zq-bloque-dcha,
.elementor-widget-image.zq-bloque-izda {
	flex-grow: 1;
}

.elementor-widget-image.zq-bloque-dcha .elementor-widget-container,
.elementor-widget-image.zq-bloque-izda .elementor-widget-container,
.elementor-widget-image.zq-bloque-dcha .elementor-widget-container > a,
.elementor-widget-image.zq-bloque-izda .elementor-widget-container > a {
	display: block;
	height: 100%;
}

.zq-mapa-redondo iframe {
	border-radius: 20px;
}

/* La foto no impone altura: mide lo que mida el texto de al lado (mínimo 240 px). */
.elementor-widget-image.zq-bloque-dcha,
.elementor-widget-image.zq-bloque-izda {
	min-height: 240px;
}

.elementor-widget-image.zq-bloque-dcha img,
.elementor-widget-image.zq-bloque-izda img {
	position: absolute;
	inset: 0;
}

@media (max-width: 767px) {
	.elementor-widget-image.zq-bloque-dcha,
	.elementor-widget-image.zq-bloque-izda {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

/* ======================================================================
 * 2.8.0 – Lista de propiedades: filas enlazadas y vendidas en desplegable
 * ==================================================================== */
.zq-fila-enlace {
	cursor: pointer;
}

.zq-fila-enlace:hover td,
.zq-fila-enlace:focus-visible td {
	background: rgba(0, 0, 0, .04) !important;
}

.zq-propiedades td a {
	color: inherit;
	text-decoration: none;
}

.zq-vendidas {
	margin-top: 24px;
}

.zq-vendidas > summary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: .5px solid #000;
	border-radius: 10px;
	cursor: pointer;
	font-family: var(--zq-geist, sans-serif);
	font-size: 15px;
	list-style: none;
}

.zq-vendidas > summary::-webkit-details-marker {
	display: none;
}

.zq-vendidas > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s;
}

.zq-vendidas[open] > summary::after {
	transform: rotate(-135deg) translateY(-2px);
}

.zq-vendidas > summary + table {
	margin-top: 12px;
}

/* La tabla de vendidas comparte columnas con la de arriba, sin repetir la cabecera. */
.zq-propiedades--vendidas thead th {
	height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.zq-propiedades--vendidas thead tr {
	visibility: collapse;
}

/* ======================================================================
 * Página de cada inmueble (vivienda)
 * ==================================================================== */
.zq-v {
	--zq-v-lado: max(20px, calc((100vw - var(--zq-caja, 1140px)) / 2));
	background: #f4f4f4;
	color: #000;
	font-family: var(--zq-geist, sans-serif);
}

.zq-v-canvas {
	max-width: var(--zq-caja, 1140px); /* ancho de la Caja de Elementor */
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

@media (min-width: 1181px) {
	.zq-v-canvas { padding: 0; }
}

/* Cabecera: texto a la izquierda, foto a sangre a la derecha. */
.zq-v-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 500px;
	margin-top: calc(var(--zq-menu-h, 80px) * -1);
}

.zq-v-hero__txt {
	display: flex;
	flex-direction: column;
	padding: calc(var(--zq-menu-h, 80px) + 6px) 30px 20px var(--zq-v-lado);
	border-bottom: 1px solid #000;
	margin-right: 30px;
}

.zq-v-hero__img {
	position: relative;
	min-height: 500px;
}

.zq-v-hero__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zq-v-volver {
	align-self: flex-start;
	color: #000;
	font-size: 15px;
	text-decoration: none;
}

.zq-v .zq-v-titulo {
	margin: 52px 0 18px;
	font-family: var(--zq-geist);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.1;
	color: #000;
}

.zq-v-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.zq-v-meta span {
	padding: 5px 12px;
	border: 1px solid #000;
	border-radius: 999px;
	font-size: 15px;
	line-height: 1.2;
}

.zq-v .zq-v-meta .zq-v-estado--available {
	background: #fff;
	color: #000;
}

.zq-v .zq-v-meta [class*="zq-v-estado--reserv"],
.zq-v .zq-v-meta [class*="zq-v-estado--under"],
.zq-v .zq-v-meta [class*="zq-v-estado--offer"] {
	background: #000;
	color: #fff;
}

.zq-v-estado--sold {
	border-color: var(--zq-rojo, #c00) !important;
	color: var(--zq-rojo, #c00);
}

.zq-v-ubi {
	margin: 12px 0 0;
	color: #555;
	font-size: 16px;
}

.zq-v-hero__pie {
	margin-top: auto;
	padding-top: 60px;
}

.zq-v-precio {
	font-size: 16px;
	font-weight: 500;
}

.zq-v-precio small {
	font-size: 8px;
	font-weight: 400;
}

.zq-v-claves {
	display: flex;
	gap: 40px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.zq-v-claves li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
}

.zq-v-ico {
	flex: none;
}

.zq-v-botones {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 44px;
}

/* Botones con la tipografía y el tamaño de los botones de la web (globales de Elementor). */
.zq-v .zq-v-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 1px solid #000;
	border-radius: 8px;
	background: #fff;
	color: #000;
	font-family: var(--e-global-typography-accent-font-family, var(--zq-geist)), sans-serif;
	font-size: var(--e-global-typography-accent-font-size, 15px);
	font-weight: var(--e-global-typography-accent-font-weight, 500);
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	line-height: 1.2;
	transition: background .2s, color .2s;
}

.zq-v .zq-v-btn:hover,
.zq-v .zq-v-btn:focus {
	background: #000;
	color: #fff;
}

/* Descripción; debajo, Detalles y Superficies en dos bloques. */
.zq-v .zq-v-h2 {
	margin: 0 0 16px;
	font-family: var(--zq-geist);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	color: inherit;
}

.zq-v .zq-v-h2--centro {
	text-align: center;
}

.zq-v .zq-v-h3 {
	margin: 0 0 10px;
	font-family: var(--zq-geist);
	font-size: 20px;
	font-weight: 500;
}

.zq-v-desc {
	padding-top: 70px;
}

.zq-v-desc .zq-f-txt {
	max-width: none;
	font-size: 16px;
	line-height: 1.45;
}

.zq-v-datos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: 50px 0 70px;
}

.zq-v-dl {
	margin: 0;
}

.zq-v-dl div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 0;
	border-bottom: 1px solid #d6d6d6;
	font-size: 16px;
}

.zq-v-dl dt {
	color: #555;
}

.zq-v-dl dd {
	margin: 0;
	font-weight: 500;
	text-align: right;
}

/* Galería de la promoción a ancho completo: 5 fotos ampliables. */
.zq-v-galeria {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 280px 280px;
	gap: 8px;
}

.zq-v-galeria__foto {
	display: block;
	overflow: hidden;
	cursor: zoom-in;
}

.zq-v-galeria__foto:first-child {
	grid-row: span 2;
}

.zq-v-galeria__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}

.zq-v-galeria__foto:hover img {
	transform: scale(1.04);
}

.zq-v-planos {
	padding-top: 40px;
}

.zq-v-planos__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.zq-v-planos__grid a {
	background: #fff;
	cursor: zoom-in;
}

.zq-v-planos__grid img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: contain;
}

/* Mapa a media pantalla con bloque negro detrás (como en las demás secciones) y,
   en la otra mitad, el formulario. */
.zq-v-contacto {
	display: grid;
	grid-template-columns: minmax(0, 600px) minmax(0, 650px);
	justify-content: start;
	align-items: center;
	gap: clamp(60px, 12vw, 235px);
	max-width: 1620px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 50px 20px 100px;
}

/* Mapa con bloque negro detrás que sale hasta el borde izquierdo de la pantalla. */
.zq-v-mapa {
	position: relative;
	z-index: 0;
	height: 650px;
}

.zq-v-mapa::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -30px;
	bottom: -30px;
	left: -100vw;
	right: 90px;
	border-radius: 0 30px 30px 0;
	background: #000;
}

.zq-v-mapa iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 20px;
}

.zq-v-contacto__form {
	min-width: 0;
	text-align: center;
}

.zq-v-contacto__form .zq-v-form {
	text-align: left;
}

.zq-v-contacto--sin-mapa {
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
	padding-left: var(--zq-v-lado);
}

/* El formulario global trae relleno lateral del 25 %: en media pantalla, a todo el ancho. */
.zq-v .zq-v-form {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 30px 0 0;
	padding: 0;
}

.zq-v .zq-v-form .elementor-widget-form,
.zq-v .zq-v-form .elementor-widget-global {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Propiedades similares: bloque negro, letras blancas. */
.zq-v-similares {
	padding: 80px 0 100px;
	background: #000;
	color: #fff;
}

.zq-v-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-top: 40px;
}

.zq-v-card {
	flex: 0 1 calc((100% - 48px) / 3);
	min-width: 260px;
	display: flex;
	flex-direction: column;
	color: #fff !important;
	text-decoration: none !important;
}

.zq-v-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

.zq-v-card__ref {
	margin-top: 18px;
	color: #888;
	font-size: 12px;
	letter-spacing: 1px;
}

.zq-v-card__titulo {
	margin-top: 10px;
	font-size: 20px;
}

.zq-v-card__precio {
	margin-top: 10px;
	font-size: 17px;
	font-weight: 500;
}

.zq-v-card__claves {
	margin-top: 10px;
	color: #888;
	font-size: 13px;
}

/* Menos de 5 fotos: la rejilla se adapta sin dejar huecos. */
.zq-v-galeria--1 { grid-template-columns: 1fr; grid-template-rows: 560px; }
.zq-v-galeria--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 560px; }
.zq-v-galeria--2 .zq-v-galeria__foto:first-child { grid-row: auto; }
.zq-v-galeria--3 { grid-template-columns: 2fr 1fr; }
.zq-v-galeria--4 { grid-template-columns: 2fr 1fr 1fr; }
.zq-v-galeria--4 .zq-v-galeria__foto:nth-child(4) { grid-column: span 2; }

/* Visor de fotos. */
.zq-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .92);
}

.zq-lb[hidden] {
	display: none;
}

.zq-lb img {
	max-width: 90vw;
	max-height: 88vh;
	object-fit: contain;
}

.zq-lb button {
	position: absolute;
	padding: 10px 18px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
}

.zq-lb__x { top: 10px; right: 10px; }
.zq-lb__p { left: 10px; }
.zq-lb__n { right: 10px; }

@media (max-width: 1024px) {
	.zq-v-hero { grid-template-columns: 1fr; }
	.zq-v-hero__txt { margin-right: 0; padding-right: 20px; padding-left: 20px; }
	.zq-v-hero__img { min-height: 320px; }
	.zq-v-datos { gap: 40px; }
	.zq-v-galeria { grid-template-rows: 200px 200px; }
}

@media (max-width: 767px) {
	.zq-v .zq-v-titulo { font-size: 32px; margin-top: 30px; }
	.zq-v-claves { gap: 24px; }
	.zq-v-datos { grid-template-columns: 1fr; }
	.zq-v-galeria { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
	.zq-v-galeria__foto:first-child { grid-column: 1 / -1; grid-row: auto; }
	.zq-v-contacto { grid-template-columns: 1fr; gap: 60px; padding: 80px 20px 80px 0; }
	.zq-v-contacto__form { padding-left: 20px; }
	.zq-v-mapa { height: 360px; }
	.zq-v-card { flex-basis: 100%; }
}
/* 2.8.3 · Cabecera centrada en vertical y desplegables integrados en la tabla. */
.zq-propiedades thead th,
.zq-f .zq-propiedades th {
	vertical-align: middle !important;
	line-height: 1.2 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.zq-vendidas > summary {
	display: flex;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 16px 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	font-size: 16px;
}

.zq-vendidas {
	margin-top: 8px;
}

.zq-vendidas > summary + table {
	margin-top: 0;
}

/* Sin propiedades a la venta. */
.zq-propiedades td.zq-sin-propiedades,
.zq-f .zq-propiedades td.zq-sin-propiedades {
	padding: 24px 0;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	text-align: center !important;
}

/* Sin contorno azul al pulsar el desplegable (se mantiene con teclado). */
.zq-vendidas > summary:focus:not(:focus-visible) {
	outline: none;
}

/* Columna «Ver propiedad». */
.zq-propiedades td.zq-col-ver {
	white-space: nowrap;
}

.zq-propiedades .zq-ver-propiedad {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid currentColor;
	border-radius: 8px;
	color: #000 !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}

.zq-propiedades .zq-fila-enlace:hover .zq-ver-propiedad,
.zq-propiedades .zq-ver-propiedad:focus-visible {
	background: #000;
	color: #fff !important;
}

.zq-propiedades--vendidas .zq-ver-propiedad {
	opacity: .6;
}

@media (max-width: 1280px) {
	.zq-f .zq-propiedades th, .zq-f .zq-propiedades td { font-size: 16px; }
	.zq-propiedades .zq-ver-propiedad { padding: 5px 10px; font-size: 13px; }
}

.zq-propiedades .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Toda la web: cada página mide como mínimo el alto de la pantalla y el pie queda abajo. */
body {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body > * {
	flex-shrink: 0;
}

body > main,
body > #content,
body > .site-main,
body > [data-elementor-type="wp-page"],
body > [data-elementor-type="single-page"],
body > [data-elementor-type="single-post"],
body > [data-elementor-type="single"] {
	flex-grow: 1;
}

body > .elementor-location-footer,
body > footer,
body > #colophon {
	margin-top: auto;
}

/* Tabla de propiedades: dormitorios/baños con iconos, plano y estado en la columna del precio. */
.zq-propiedades th {
	line-height: 1.15;
}

.zq-dormbanos {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}

.zq-dormbanos > span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.zq-propiedades .zq-v-ico {
	width: 24px;
	height: 24px;
	color: #000;
}

.zq-propiedades .zq-ver-plano {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #000 !important;
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.zq-propiedades .zq-ver-plano .zq-v-ico {
	width: 20px;
	height: 20px;
}

.zq-propiedades .zq-vacio {
	color: #b3b3b3;
	font-weight: 500;
}

.zq-propiedades .zq-precio-estado {
	font-weight: inherit;
}

.zq-f .zq-propiedades .zq-estado-sold td:last-child span {
	color: inherit;
	text-decoration: none;
}

.zq-propiedades .zq-precio-estado--vendido {
	color: inherit;
	text-decoration: none;
}

.zq-propiedades--vendidas .zq-dormbanos .zq-v-ico,
.zq-propiedades--vendidas .zq-ver-plano {
	opacity: .6;
}

/* Cabecera de la tabla: 15 px / 500 y en dos líneas si no cabe, sin pisarse. */
.zq-f .zq-propiedades th,
.zq-propiedades th {
	font-size: 15px !important;
	font-weight: 500 !important;
	white-space: normal !important;
	overflow-wrap: break-word;
	hyphens: none;
	line-height: 1.2;
}

/* Planos en PDF en la ficha del inmueble. */
.zq-v-plano-pdf {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid #000;
	border-radius: 12px;
	background: #fff;
	color: #000 !important;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}

.zq-v-plano-pdf .zq-v-ico {
	flex: none;
	width: 26px;
	height: 26px;
}

.zq-v-plano-pdf span {
	flex: 1;
	min-width: 0;
	line-height: 1.25;
	font-size: 15px;
	font-weight: 500;
}

.zq-v-plano-pdf small {
	font-size: 12px;
	letter-spacing: 1px;
	opacity: .6;
}

.zq-v-plano-pdf:hover {
	background: #000;
	color: #fff !important;
}

.zq-v-planos {
	scroll-margin-top: 120px;
}

/* Planos de la ficha del inmueble: uno debajo de otro. */
.zq-v-planos__grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Tarjetas de planos: compactas, una debajo de otra. */
.zq-v-planos__grid {
	align-items: flex-start;
}

.zq-v .zq-v-plano-pdf {
	width: fit-content;
	min-width: 230px;
	max-width: 100%;
	box-sizing: border-box;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 12px;
	background: transparent;
}

.zq-v .zq-v-plano-pdf:hover {
	background: #000;
}

.zq-v .zq-v-plano-pdf .zq-v-ico {
	width: 24px;
	height: 24px;
}

.zq-v .zq-v-plano-pdf span {
	font-size: 15px;
	font-weight: 500;
}

/* ======================================================================
 * 2.12 – Tablet y móvil
 * ==================================================================== */

/* Tablet: la tabla a ancho completo de pantalla, sin cortes. */
@media (min-width: 768px) and (max-width: 1099px) {
	.zq-f .zq-propiedades-wrap,
	.zq-propiedades-wrap {
		align-self: flex-start;
		box-sizing: border-box;
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		padding: 0 12px;
	}

	.zq-f .zq-propiedades th,
	.zq-propiedades th {
		padding: 0 4px;
		font-size: 12px !important;
	}

	.zq-f .zq-propiedades td,
	.zq-propiedades td {
		padding: 0 4px;
		font-size: 14px;
	}

	.zq-dormbanos { gap: 8px; }
	.zq-dormbanos > span { gap: 4px; }
	.zq-propiedades .zq-v-ico { width: 18px; height: 18px; }

	.zq-propiedades .zq-ver-plano {
		flex-wrap: wrap;
		justify-content: center;
		gap: 2px 4px;
		font-size: 12px;
		white-space: normal;
		line-height: 1.2;
	}

	.zq-propiedades td.zq-col-ver { white-space: normal; }

	.zq-propiedades .zq-ver-propiedad {
		gap: 3px;
		padding: 5px 7px;
		font-size: 11px;
		white-space: nowrap;
	}
}

/* Móvil: cada inmueble en una tarjeta ordenada. */
@media (max-width: 767px) {
	.zq-propiedades-wrap {
		width: 100% !important;
		max-width: 480px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.zq-propiedades,
	.zq-propiedades tbody {
		display: block;
		width: 100%;
	}

	.zq-propiedades thead { display: none; }

	.zq-propiedades tr,
	.zq-f .zq-propiedades tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 16px;
		margin: 0 0 14px;
		padding: 18px;
		border: 1px solid #000;
		border-radius: 14px;
		background: #fff;
	}

	.zq-propiedades td,
	.zq-f .zq-propiedades td {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		height: auto;
		padding: 0;
		background: none !important;
		color: #000;
		font-size: 16px;
		font-weight: 600;
		text-align: left !important;
		white-space: normal;
	}

	.zq-propiedades td::before {
		content: attr(data-label);
		margin-bottom: 3px;
		color: #777;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: .5px;
		text-transform: uppercase;
	}

	/* Referencia arriba y precio destacado, a todo el ancho. */
	.zq-propiedades td:nth-child(1) {
		order: -2;
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: baseline;
		gap: 8px;
		font-size: 20px;
	}

	.zq-propiedades td:nth-child(7) {
		order: -1;
		grid-column: 1 / -1;
		padding-bottom: 12px;
		border-bottom: 1px solid #e2e2e2;
		font-size: 22px;
	}

	.zq-propiedades td:nth-child(2) { grid-column: 1 / -1; }
	.zq-propiedades td:nth-child(8) { grid-column: 1 / -1; }

	.zq-propiedades td.zq-col-ver {
		grid-column: 1 / -1;
		align-items: stretch;
	}

	.zq-propiedades td.zq-col-ver::before,
	.zq-propiedades td.zq-sin-propiedades::before { content: none; }

	.zq-propiedades .zq-ver-propiedad {
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
		padding: 12px;
		font-size: 15px;
	}

	.zq-propiedades td.zq-sin-propiedades {
		grid-column: 1 / -1;
		align-items: center;
		text-align: center !important;
	}

	.zq-propiedades--vendidas tr { opacity: .75; }

	/* Ficha del inmueble: cabecera y planos centrados. */
	.zq-v-hero__txt {
		align-items: center;
		text-align: center;
	}

	.zq-v-volver { align-self: center; }
	.zq-v-meta,
	.zq-v-claves,
	.zq-v-botones { justify-content: center; }

	.zq-v-planos { text-align: center; }
	.zq-v-planos__grid { align-items: center; }
}

/* Más sitio para «Ver planos (3)» y «Ver propiedad», sin que se monten. */
.zq-f .zq-propiedades th:nth-child(1) { width: 8%; }
.zq-f .zq-propiedades th:nth-child(2) { width: 12%; }
.zq-f .zq-propiedades th:nth-child(3) { width: 9%; }
.zq-f .zq-propiedades th:nth-child(4) { width: 9%; }
.zq-f .zq-propiedades th:nth-child(5) { width: 10%; }
.zq-f .zq-propiedades th:nth-child(6) { width: 10%; }
.zq-f .zq-propiedades th:nth-child(7) { width: 12%; }
.zq-f .zq-propiedades th:nth-child(8) { width: 14%; }
.zq-f .zq-propiedades th.zq-col-ver { width: 16%; }

.zq-propiedades td { overflow: hidden; }

.zq-propiedades .zq-ver-plano {
	flex-wrap: wrap;
	justify-content: center;
	max-width: 100%;
	white-space: normal;
	line-height: 1.2;
}

.zq-propiedades td.zq-col-ver {
	padding-left: 8px;
	padding-right: 4px;
}

.zq-propiedades .zq-ver-propiedad {
	max-width: 100%;
	box-sizing: border-box;
}

/* ======================================================================
 * Actualidad: entradas del widget «Publicaciones» de Elementor (y archivo del blog)
 * con el diseño del Figma: foto alta redondeada, fecha, título y extracto.
 * ==================================================================== */
.elementor-widget-posts .elementor-posts-container,
.elementor-widget-archive-posts .elementor-posts-container {
	--grid-column-gap: 35px;
	--grid-row-gap: 60px;
}

.elementor-widget-posts .elementor-post,
.elementor-widget-archive-posts .elementor-post {
	display: flex;
	flex-direction: column;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.elementor-widget-posts .elementor-post__thumbnail__link,
.elementor-widget-archive-posts .elementor-post__thumbnail__link {
	width: 100% !important;
	margin-bottom: 14px !important;
}

.elementor-widget-posts .elementor-post__thumbnail,
.elementor-widget-archive-posts .elementor-post__thumbnail {
	overflow: hidden;
	padding-bottom: 147% !important; /* 289 × 425 del Figma */
	border-radius: 16px;
}

.elementor-widget-posts .elementor-post__thumbnail img,
.elementor-widget-archive-posts .elementor-post__thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

/* Sin efecto al pasar el ratón (ni el nuestro ni el de Elementor). */
.elementor-widget-posts .elementor-post__thumbnail,
.elementor-widget-posts .elementor-post__thumbnail img,
.elementor-widget-archive-posts .elementor-post__thumbnail,
.elementor-widget-archive-posts .elementor-post__thumbnail img {
	transform: none !important;
	transition: none !important;
	filter: none !important;
	opacity: 1 !important;
}

/* La foto ocupa toda la caja (sin depender del centrado con transform de Elementor). */
.elementor-widget-posts .elementor-post__thumbnail,
.elementor-widget-archive-posts .elementor-post__thumbnail {
	position: relative !important;
}

.elementor-widget-posts .elementor-post__thumbnail img,
.elementor-widget-archive-posts .elementor-post__thumbnail img {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}

.elementor-widget-posts .elementor-post__text,
.elementor-widget-archive-posts .elementor-post__text {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
}

/* La fecha va encima del título. */
.elementor-widget-posts .elementor-post__meta-data,
.elementor-widget-archive-posts .elementor-post__meta-data {
	order: -1;
	margin: 0 0 10px !important;
	padding: 0 !important;
	border: 0 !important;
	color: #000 !important;
	font-family: var(--zq-geist, inherit);
	font-size: 11px !important;
	font-weight: 400;
	letter-spacing: .3px;
}

.elementor-widget-posts .elementor-post__title,
.elementor-widget-archive-posts .elementor-post__title {
	margin: 0 0 22px !important;
	font-family: var(--zq-geist, inherit);
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
}

.elementor-widget-posts .elementor-post__title a,
.elementor-widget-archive-posts .elementor-post__title a {
	color: #000 !important;
	text-decoration: none;
}

.elementor-widget-posts .elementor-post__excerpt,
.elementor-widget-archive-posts .elementor-post__excerpt {
	margin: 0 !important;
}

.elementor-widget-posts .elementor-post__excerpt p,
.elementor-widget-archive-posts .elementor-post__excerpt p {
	margin: 0;
	color: #000;
	font-size: 15px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Sin «Leer más»: toda la tarjeta (foto y título) ya enlaza a la entrada. */
.elementor-widget-posts .elementor-post__read-more,
.elementor-widget-archive-posts .elementor-post__read-more {
	display: none !important;
}

@media (max-width: 767px) {
	.elementor-widget-posts .elementor-post__thumbnail,
	.elementor-widget-archive-posts .elementor-post__thumbnail {
		padding-bottom: 110% !important;
	}
}

/* Páginas legales: menú sin el efecto de transparencia de Elementor al hacer scroll. */
body.zq-menu-sin-efecto .elementor-location-header .elementor-motion-effects-layer,
body.zq-menu-sin-efecto .elementor-location-header .elementor-motion-effects-container,
body.zq-menu-sin-efecto .elementor-location-header [data-settings*="background_motion_fx"] {
	opacity: 1 !important;
	transform: none !important;
}

body.zq-menu-sin-efecto .elementor-location-header .elementor-motion-effects-element {
	opacity: 1 !important;
}

/* Ficha del inmueble: cabecera con fondo negro y textos en blanco. */
.zq-v .zq-v-hero {
	background: #000;
	color: #fff;
}

.zq-v .zq-v-hero__txt {
	margin-right: 0;
	border-bottom: 0;
	padding-bottom: 50px;
}

.zq-v .zq-v-hero .zq-v-volver,
.zq-v .zq-v-hero .zq-v-titulo,
.zq-v .zq-v-hero .zq-v-precio,
.zq-v .zq-v-hero .zq-v-claves,
.zq-v .zq-v-hero .zq-v-ico {
	color: #fff !important;
}

.zq-v .zq-v-hero .zq-v-ubi {
	color: #bdbdbd;
}

.zq-v .zq-v-hero .zq-v-meta span {
	border-color: #fff;
	color: #fff;
}

.zq-v .zq-v-hero .zq-v-meta .zq-v-estado--available {
	background: #fff;
	color: #000;
}

.zq-v .zq-v-hero .zq-v-btn {
	border-color: #fff;
	background: #fff;
	color: #000 !important;
}

.zq-v .zq-v-hero .zq-v-btn:hover,
.zq-v .zq-v-hero .zq-v-btn:focus {
	background: transparent;
	color: #fff !important;
}

/* ======================================================================
 * 2.14.4 – Imagen con bloque negro: más alta (proporción como el mapa) y
 * texto con aire respecto a la imagen.
 * ==================================================================== */
@media (min-width: 768px) {
	.elementor-widget-image.zq-bloque-dcha,
	.elementor-widget-image.zq-bloque-izda {
		min-height: clamp(380px, 34vw, 640px);
	}

	/* Columna de texto junto a la imagen: respiro lateral y ancho de lectura cómodo. */
	.e-con:has(> .zq-bloque-dcha) ~ .e-con,
	.e-con:has(> .zq-bloque-izda) ~ .e-con,
	.e-con:has(+ .e-con > .zq-bloque-dcha),
	.e-con:has(+ .e-con > .zq-bloque-izda) {
		box-sizing: border-box;
		max-width: 640px;
		align-self: center;
	}

	.e-con:has(> .zq-bloque-izda) ~ .e-con {
		padding-left: clamp(24px, 4vw, 72px);
	}

	.e-con:has(+ .e-con > .zq-bloque-dcha) {
		padding-right: clamp(24px, 4vw, 72px);
	}
}

/* ======================================================================
 * 2.15.0 – Botón «Ver plano» de la cabecera del inmueble: fondo negro, borde y texto blancos.
 * ==================================================================== */
.zq-v .zq-v-hero .zq-v-btn--plano {
	border-color: #fff;
	background: #000;
	color: #fff !important;
}

.zq-v .zq-v-hero .zq-v-btn--plano:hover,
.zq-v .zq-v-hero .zq-v-btn--plano:focus {
	background: #fff;
	color: #000 !important;
}


/* ======================================================================
 * 2.15.5 – «Vendido»: fondo blanco y texto negro (sin rojo).
 * ==================================================================== */
.zq-v .zq-v-meta .zq-v-estado--sold,
.zq-v .zq-v-hero .zq-v-meta .zq-v-estado--sold {
	border-color: #fff !important;
	background: #fff;
	color: #000;
}
