:root {
	--principal: #2E2E2E;
	--boton-fondo: #01B1A4;
	--boton-fondo-hover: #00EDDC;
	--boton-texto: #FFFFFF;
	--boton-texto-hover: #FFFFFF;
	--iconos: #01B1A4;
	--pie-fuente: #666666;
	--header-fondo: #FFFFFF;
	--header-menu: #444444;
	--header-menu-hover: #01B1A4;
	--footer-fondo: #f5f5f5;
	--footer-menu: #444444;
	--footer-menu-hover: #01B1A4;
	--fondo: #f0f0f0;
	--titulos: #000000;
	--texto: #212121;
	--servicio-fondo-imagen: #969696;
	--logo-height: 75px;
	--logo-margin: 10px;
	--header-height: 95px;
	--body-padding-top: 95px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

body {
	color: #333;
	background-color: var(--fondo);
	line-height: 1.6;
	padding-top: var(--body-padding-top);
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

header {
	background-color: var(--header-fondo);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	height: var(--header-height);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--logo-margin) 0;
	height: 100%;
}

.logo {
	padding: var(--logo-margin);
	height: var(--logo-height);
	margin-left: var(--logo-margin);
	display: flex;
	align-items: center;
}

.logo img {
	height: var(--logo-height);
	width: auto;
	object-fit: contain;
}

.main-nav ul {
	display: flex;
	list-style: none;
	margin-right: 10px;
}

.main-nav li {
	margin-left: 30px;
}

.main-nav a {
	font-weight: 500;
	color: var(--header-menu);
	transition: color 0.3s;
	position: relative;
	text-decoration: none;
}

.main-nav a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: var(--header-menu-hover);
	transition: width 0.3s ease;
}

.main-nav a:hover::after {
	width: 100%;
}

.main-nav a.active {
	color: var(--header-menu-hover);
}

.main-nav a.active::after {
	width: 100%;
}

.search-bar {
	display: flex;
	align-items: center;
}

.search-bar input {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-right: 5px;
}

.search-bar button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--header-menu);
	cursor: pointer;
	margin-right: 10px;
}

.hero {
	position: relative;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero.nosotros-hero,
.hero.contacto-hero {
	height: 300px;
}

.hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	transform: scale(1);
	transition: transform 5s ease-in-out, opacity 1s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
	z-index: 2;
	transform: scale(1.1);
}

.hero-slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.search-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	max-width: 800px;
	background: rgba(255, 255, 255, 0.95);
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 2;
}

.search-title {
	text-align: center;
	color: var(--titulos);
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	font-weight: 600;
}

.slider-controls {
	position: absolute;
	top: 50%;
	width: 100%;
	z-index: 4;
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
	transform: translateY(-50%);
}

.slider-arrow {
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s;
}

.slider-arrow:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.slider-bullets {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 10px;
}

.bullet {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color 0.3s;
}

.bullet.active {
	background-color: white;
}

.search-container h2 {
	color: #333;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 25px;
	text-align: center;
}

.search-form {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.search-form .form-group {
	width: 100%;
}

.search-form input,
.search-form select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	background-color: #fff;
	height: 45px;
}

.search-form select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 35px;
}

.full-width {
	grid-column: 1/-1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin: 0;
}

.search-btn {
	background-color: var(--boton-fondo);
	color: var(--boton-texto);
	border: none;
	padding: 12px 25px;
	height: 45px;
	border-radius: 4px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
}

.search-btn:hover {
	background-color: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
}

.featured {
	padding: 50px 0;
}

.section-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--titulos);
}

.properties-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 20px;
}

.property-card {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 0;
	display: block;
	text-decoration: none;
	color: inherit;
}

.property-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.property-card:hover .property-image img {
	transform: scale(1.05);
}

.property-img {
	height: 200px;
	position: relative;
}

.property-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.property-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	z-index: 1;
}

.tag-featured,
.property-tag {
	background-color: #ffd700;
	color: #333;
}

.property-details {
	padding: 20px;
	margin: 0;
}

.property-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 5px;
	color: var(--titulos);
}

.property-location {
	font-size: 14px;
	color: var(--texto);
	margin-bottom: 10px;
}

.property-features {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 13px;
	color: var(--texto);
}

.feature {
	display: flex;
	align-items: center;
	gap: 5px;
}

.property-price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	font-size: 2rem;
	font-weight: bold;
	color: var(--iconos);
	margin-bottom: 0.5rem;
}

.property-price-valor {
	font-size: 2rem;
	font-weight: bold;
	color: var(--iconos);
	line-height: 1;
	text-align: left;
}

.property-price-info {
	font-size: 15px;
	color: var(--texto);
	font-weight: 500;
	margin-top: 2px;
	text-align: left;
}

.property-type {
	font-size: 12px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 4px;
	background-color: #f0f0f0;
	color: var(--texto);
	margin-top: 0.5rem;
	display: inline-block;
	float: none;
}

.view-all {
	display: block;
	text-align: center;
	margin-top: 30px;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 500;
	text-decoration: none;
	background-color: var(--boton-fondo);
	color: var(--boton-texto);
	transition: all 0.3s ease;
}

.view-all:hover {
	background-color: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
}

.services {
	padding: 50px 0;
	background-color: #dedede;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.service-card {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	padding: 30px;
	text-align: center;
}

.service-img {
	width: 200px;
	height: 200px;
	margin: 0 auto 20px;
	text-align: center;
	background-color: var(--servicio-fondo-imagen);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.service-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	max-width: 160px;
	max-height: 160px;
}

.service-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--titulos);
}

.service-desc {
	font-size: 14px;
	color: var(--texto);
	margin-bottom: 20px;
}

.contact-btn {
	display: inline-block;
	padding: 8px 20px;
	background-color: var(--boton-fondo);
	color: var(--boton-texto);
	border: none;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
}

.contact-btn:hover {
	background-color: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
	text-decoration: none;
}

.property-types {
	padding: 50px 0;
}

.types-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.type-card {
	text-align: center;
	padding: 20px;
	border: 1px solid #eee;
	transition: all 0.3s;
	border-radius: 8px;
}

.type-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.type-icon {
	font-size: 40px;
	color: var(--iconos);
	margin-bottom: 15px;
	transition: color 0.3s;
	border-radius: 8px;
	background-color: #f8f9fa;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
}

.type-card:hover .type-icon {
	color: color-mix(in srgb, var(--iconos) 85%, black);
}

.type-name {
	font-size: 16px;
	font-weight: 500;
	color: var(--texto);
}

footer {
	background-color: var(--footer-fondo);
	padding: 50px 0 20px;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}

.footer-section h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--titulos);
	position: relative;
	padding-bottom: 10px;
}

.footer-section h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: #01B1A4;
}

.office-info p {
	margin-bottom: 10px;
	font-size: 14px;
	color: var(--texto);
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	font-size: 14px;
	color: var(--texto);
	transition: color 0.3s;
}

.footer-links a:hover {
	color: var(--footer-menu-hover);
}

.company-info p {
	font-size: 14px;
	color: var(--texto);
	margin-bottom: 5px;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #01B1A4;
	font-size: 14px;
	color: var(--texto);
}

/* Media queries para asegurar que properties-grid respete el número de columnas configurado */
@media (min-width: 1200px) {
	.properties-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.properties-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 991px) and (min-width: 768px) {
	.properties-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 767px) {
	.properties-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width:992px) {

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

	.types-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width:768px) {
	.hero {
		min-height: 100vh;
		padding: var(--body-padding-top) 0 40px 0;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}

	.hero-slider {
		display: block !important;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
	}

	.search-container {
		position: relative;
		z-index: 10;
		top: unset;
		left: unset;
		transform: none;
		width: 90%;
		max-width: 100%;
		padding: 1.5rem;
		margin: 20px auto;
		background: rgba(255, 255, 255, 0.95);
		border-radius: 8px;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		flex-shrink: 0;
	}

	.search-form {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.slider-controls {
		display: flex !important;
		z-index: 3;
	}

	.slider-bullets {
		display: flex !important;
		z-index: 3;
	}

	.full-width {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap: 10px;
	}

	.search-btn {
		grid-column: 1/-1;
		width: 100%;
		margin-top: 10px;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.main-nav {
		display: block;
		position: fixed;
		top: var(--header-height);
		left: -100%;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: var(--header-fondo);
		transition: 0.3s ease;
		z-index: 1000;
		overflow-y: auto;
	}

	.main-nav.active {
		left: 0;
	}

	.main-nav ul {
		display: flex;
		flex-direction: column;
		padding: 20px;
		margin: 0;
	}

	.main-nav li {
		margin: 15px 0;
		width: 100%;
	}

	.main-nav a {
		display: block;
		padding: 10px;
		color: var(--header-menu);
		font-size: 18px;
		width: 100%;
	}

	.main-nav a:hover {
		color: var(--header-menu-hover);
	}
}

@media (max-width:576px) {
	.properties-grid {
		grid-template-columns: 1fr !important;
	}

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

	.main-nav {
		top: var(--header-height);
		height: calc(100vh - var(--header-height));
	}

	.hero {
		min-height: 100vh;
		padding: var(--body-padding-top) 0 20px 0;
	}

	.search-container {
		width: 95%;
		padding: 1.2rem;
		margin: 10px auto;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}

	.slider-arrow {
		width: 35px;
		height: 35px;
		font-size: 14px;
	}

	.bullet {
		width: 10px;
		height: 10px;
	}
}

@media (max-width:480px) {
	.hero {
		min-height: 100vh;
		padding: var(--body-padding-top) 0 15px 0;
	}

	.search-container {
		width: 98%;
		padding: 1rem;
		margin: 5px auto;
		max-height: calc(100vh - 80px);
	}

	.search-title {
		font-size: 1.4rem;
		margin-bottom: 1rem;
	}

	.search-form {
		gap: 8px;
	}

	.search-form input,
	.search-form select {
		padding: 10px 12px;
		font-size: 14px;
		height: 42px;
	}

	.search-btn {
		height: 42px;
		padding: 10px 20px;
		font-size: 14px;
		grid-column: 1/-1;
		width: 100%;
		margin-top: 10px;
	}

	.slider-arrow {
		width: 30px;
		height: 30px;
		font-size: 12px;
	}

	.bullet {
		width: 8px;
		height: 8px;
	}
}

@media (max-width:360px) {
	.hero {
		min-height: 100vh;
		padding: var(--body-padding-top) 0 10px 0;
	}

	.search-container {
		width: 100%;
		padding: 0.8rem;
		margin: 0;
		border-radius: 0;
		max-height: calc(100vh - 60px);
	}

	.search-title {
		font-size: 1.2rem;
		margin-bottom: 0.8rem;
	}

	.search-form {
		gap: 6px;
	}

	.search-form input,
	.search-form select {
		padding: 8px 10px;
		font-size: 13px;
		height: 38px;
	}

	.search-btn {
		height: 38px;
		padding: 8px 15px;
		font-size: 13px;
		grid-column: 1/-1;
		width: 100%;
		margin-top: 10px;
	}

	.slider-arrow {
		width: 28px;
		height: 28px;
		font-size: 11px;
	}

	.bullet {
		width: 6px;
		height: 6px;
	}
}

.listings {
	padding: 50px 0;
	background-color: var(--fondo);
}

.listings h2 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 30px;
	color: #333;
}

.property-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 30px;
	margin-bottom: 40px;
}

/* Media queries para asegurar que property-grid respete el número de columnas configurado */
@media (min-width: 1200px) {
	.property-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.property-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 991px) and (min-width: 768px) {
	.property-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 767px) {
	.property-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 576px) {
	.property-grid {
		grid-template-columns: 1fr !important;
	}
}

.property-image {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.property-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
	transform: scale(1.05);
}

.property-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	z-index: 1;
}

.tag-featured {
	background-color: #ffd700;
	color: #333;
}

.property-card {
	background-color: #FFffff;
	display: block;
	text-decoration: none;
	color: inherit;
}

.property-card .property-details {
	padding: 20px;
	margin: 0;
    background-color: none !important;
}

.property-card .property-title {
	font-size: 18px;
	font-weight: 600;
	<!-- margin-bottom: 2.5px; -->
	line-height: 1.4;
}

.property-card .property-address {
	font-size: 14px;
	color: var(--texto);
	<!-- margin-bottom: 3.75px; -->
}

.property-card .property-location {
	font-size: 14px;
	color: var(--texto);
	margin-bottom: 3.75px;
}

.property-card .property-features {
	display: flex;
	flex-wrap: wrap;
	gap: 3.75px;
	margin-bottom: 5px;
	padding-bottom: 3.75px;
	<!-- border-bottom: 1px solid #eee; -->
}

.property-feature {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: var(--texto);
}

.property-feature i {
	color: var(--iconos);
	font-size: 14px;
	transition: color 0.3s;
}

.property-feature:hover i {
	color: color-mix(in srgb, var(--iconos) 85%, black);
}

.property-price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	font-size: 2rem;
	font-weight: bold;
	color: var(--iconos);
	margin-bottom: 0.5rem;
}

.property-type {
	font-size: 12px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 4px;
	background-color: #f0f0f0;
	color: var(--texto);
	margin-top: 0.5rem;
	display: inline-block;
	float: none;
}

.property-card .view-details {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	<!-- padding: 2px 5px; -->
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	margin-top: 3.75px;
	background-color: var(--boton-fondo);
	color: var(--boton-texto);
	border: none;
}

.view-details {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	margin-top: 15px;
	background-color: var(--boton-fondo);
	color: var(--boton-texto);
	border: none;
}

.view-details:hover {
	background-color: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
	text-decoration: none;
}

.no-results {
	grid-column: 1/-1;
	text-align: center;
	padding: 30px;
	background-color: #f9f9f9;
	border-radius: 8px;
	color: var(--texto);
}

.sort-section {
	margin-bottom: 30px;
	display: flex;
	justify-content: flex-end;
}

.sort-select {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	font-size: 14px;
	color: #333;
	min-width: 200px;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

.pagination-container {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.pagination {
	display: flex;
	list-style: none;
	gap: 5px;
}

.pagination li {
	display: inline-block;
}

.pagination li a,
.pagination li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	font-size: 14px;
	transition: all 0.3s;
}

.pagination li.active a,
.pagination li.active span {
	background-color: var(--boton-fondo);
	border-color: var(--boton-fondo);
	color: var(--boton-texto);
}

.pagination li a:hover {
	background-color: var(--boton-fondo-hover);
	border-color: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
}

.pagination li.disabled span {
	color: #999;
	cursor: not-allowed;
	background-color: #f5f5f5;
}

@media (max-width:992px) {
	.search-form {
		grid-template-columns: repeat(2, 1fr);
	}

	.full-width {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width:768px) {
	.search-form {
		grid-template-columns: 1fr;
	}

	.full-width {
		grid-template-columns: 1fr;
	}

	.sort-section {
		text-align: left;
		margin-bottom: 20px;
	}

	.pagination li a,
	.pagination li span {
		width: 30px;
		height: 30px;
		font-size: 12px;
	}
}

.feature i,
.property-feature i {
	color: var(--iconos);
	font-size: 14px;
	transition: color 0.3s;
}

.feature:hover i,
.property-feature:hover i {
	color: color-mix(in srgb, var(--iconos) 85%, black);
}

.property-container {
	display: flex;
	gap: 30px;
	margin: 20px 0;
}

.property-left {
	flex: 1;
	max-width: 65%;
}

.property-right {
	flex: 0 0 35%;
	position: sticky;
	top: 20px;
	align-self: flex-start;
	height: fit-content;
}

@media (max-width:991px) {
	.property-container {
		flex-direction: column;
		gap: 20px;
	}

	.property-left,
	.property-right {
		max-width: 100%;
		width: 100%;
		flex: 1 1 auto;
	}

	.property-right {
		position: static;
	}

	.property-details {
		width: 100%;
	}

	.details-table {
		width: 100%;
	}

	.details-table td {
		padding: 12px;
	}

	.property-features {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 15px;
	}

	.feature {
		width: 100%;
	}

	.property-description {
		width: 100%;
	}

	.location {
		width: 100%;
	}

	.map-container {
		width: 100%;
	}
}

@media (max-width:576px) {
	.property-container {
		gap: 15px;
		margin: 10px 0;
	}

	.property-left {
		padding: 0;
	}

	.main-image {
		height: 250px;
	}

	.thumbnails {
		gap: 5px;
	}

	.thumbnail {
		width: 60px;
		height: 45px;
	}

	.property-title {
		font-size: 20px;
		margin-bottom: 15px;
	}

	.property-address {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.property-features {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 0;
	}

	.feature {
		padding: 8px 0;
		border-bottom: 1px solid #eee;
	}

	.feature:last-child {
		border-bottom: none;
	}

	.details-table td {
		padding: 10px;
		font-size: 14px;
	}

	.property-description {
		font-size: 14px;
		line-height: 1.5;
	}

	.map-container {
		height: 200px;
	}
}

.gallery-container {
	position: relative;
	margin-bottom: 15px;
	border-radius: 5px;
	overflow: hidden;
	background-color: var(--8);
}

.main-image {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}

.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--4);
	font-size: 20px;
	transition: all 0.3s ease;
	z-index: 10;
}

.gallery-nav:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.gallery-prev {
	left: 15px;
}

.gallery-next {
	right: 15px;
}

.gallery-nav i {
	pointer-events: none;
}

.price-tag {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 4px 10px;
	border-radius: 10px;
	font-weight: bold;
}

.price-tag .label {
	font-size: 12px;
	display: block;
	text-align: center;
	color: var(--5);
}

.price-tag .price {
	font-size: 20px;
	color: var(--4);
}

.thumbnails {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	overflow-x: auto;
	padding-bottom: 5px;
}

.thumbnail {
	width: 80px;
	height: 60px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.thumbnail.active {
	border-color: var(--6);
	transform: translateY(-5px);
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.property-title {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.property-title i {
	margin-right: 10px;
	color: var(--iconos);
}

.property-title h2 {
	font-size: 18px;
	font-weight: normal;
	color: var(--4);
}

.property-address {
	font-size: 16px;
	color: var(--5);
	margin-bottom: 15px;
}

.property-features {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--8);
}

.feature {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--5);
}

.feature i {
	margin-right: 5px;
	color: var(--iconos);
}

.property-price {
	font-size: 24px;
	font-weight: bold;
	color: var(--iconos);
}

.property-description {
	margin-bottom: 30px;
	margin-top: 10px;
	line-height: 1.6;
	color: var(--5);
	font-size: 14px;
}

.property-details {
	margin-bottom: 5px;
	border-radius: 0;
	padding: 20px;
	box-shadow: none;
	border: none;
}

.details-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0px;
}

.details-table tr {
	transition: all 0.3s ease;
}

.details-table tr:hover {
	background-color: var(--boton-fondo-hover);
	border-radius: 5px;
}

.details-table tr:hover td {
	color: var(--boton-texto-hover);
}

.details-table td {
	padding: 12px 15px;
	font-size: 14px;
	color: var(--5);
	border-bottom: 1px solid var(--8);
}

.details-table tr:last-child td {
	border-bottom: none;
}

.details-table td:first-child {
	color: var(--6);
	font-weight: 500;
	width: 40%;
}

.details-table td:last-child {
	text-align: right;
	color: var(--4);
	font-weight: 500;
}

.location {
	margin-bottom: 30px;
}

.location-address {
	margin-bottom: 15px;
	font-size: 14px;
	color: var(--texto);
}

.map-container {
	width: 100%;
	height: 250px;
	background-color: var(--8);
	border-radius: 5px;
	overflow: hidden;
}

.map-preview {
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.success-message {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.98);
	z-index: 100;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 20px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.success-message img {
	width: 48px;
	height: 48px;
	margin-bottom: 1rem;
}

.success-message p {
	color: var(--texto);
	font-size: 1.2em;
	text-align: center;
	margin: 0;
}

.success-message .close-success {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #666;
	padding: 0;
	line-height: 1;
}

.loading-message {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.98);
	z-index: 100;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 20px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loading-message p {
	color: var(--texto);
	font-size: 1.2em;
	text-align: center;
	margin-top: 1rem;
}

.contact-form-container {
	position: relative;
	width: 100%;
}

.contact-form {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	width: 100%;
}

.agency-info {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.agency-logo {
	width: 80px;
	height: auto;
	object-fit: contain;
}

.agency-details h3 {
	margin: 0;
	font-size: 18px;
	color: var(--titulos);
}

.agency-details p {
	margin: 5px 0 0;
	font-size: 14px;
	color: var(--texto);
}

.contact-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.whatsapp-btn,
.phone-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px;
	border-radius: 4px;
	font-size: 14px;
	text-decoration: none;
	color: var(--boton-texto);
	background: var(--boton-fondo);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.whatsapp-btn:hover,
.phone-btn:hover {
	background: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
}

.form-group {
	margin-bottom: 15px;
}

.form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

textarea.form-control {
	height: 100px;
	resize: vertical;
}

.captcha-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

#captchaCanvas {
	border: 1px solid #ddd;
	border-radius: 4px;
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background: var(--boton-fondo);
	color: var(--boton-texto);
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.submit-btn:hover {
	background: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
}

@media (max-width:991px) {
	.property-container {
		flex-direction: column;
	}

	.property-right {
		width: 100%;
		max-width: none;
	}
}

@media (max-width:576px) {
	.contact-form {
		padding: 15px;
	}

	.agency-info {
		flex-direction: column;
		text-align: center;
	}

	.agency-logo {
		width: 120px;
		margin-bottom: 10px;
	}

	.contact-buttons {
		flex-direction: column;
	}

	.whatsapp-btn,
	.phone-btn {
		width: 100%;
	}
}

hr {
	border: none;
	height: 2px;
	background-color: var(--principal);
	margin: 20px 0;
}

.property-description {
	margin-bottom: 30px;
	line-height: 1.6;
	color: var(--5);
	font-size: 14px;
}

.inmoup-provider {
	margin-top: 15px;
}

.provider-text {
	font-size: 0.8em;
	margin-bottom: 5px;
	color: #666666;
}

.inmoup-logo {
	max-width: 100px;
	height: auto;
	display: block;
	transition: opacity 0.3s ease;
}

.inmoup-logo:hover {
	opacity: 0.8;
}

.whatsapp-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 64px;
	height: 64px;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: transform 0.2s ease;
}

.whatsapp-button:hover {
	transform: scale(1.1);
}

.whatsapp-button img {
	width: 40px;
	height: 40px;
}

.loader {
	border: 4px solid #f3f3f3;
	border-radius: 50%;
	border-top: 4px solid #3498db;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.captcha-group {
	margin-bottom: 15px;
}

.captcha-container {
	background: #fff;
}

#refreshCaptcha {
	background: #f8f9fa;
	border: 1px solid #ddd;
	cursor: pointer;
	color: #333;
}

#refreshCaptcha:hover {
	background: var(--principal);
	color: #fff;
}

.image-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	padding: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
	margin: 0 auto;
	display: block;
	width: 100%;
	height: calc(100% - 120px);
	object-fit: contain;
	padding: 20px;
	border-radius: 8px;
}

.modal-close {
	position: absolute;
	right: 25px;
	top: 10px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10000;
}

.modal-close:hover {
	color: #bbb;
}

.modal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	font-size: 24px;
	transition: all 0.3s ease;
	z-index: 10000;
}

.modal-nav:hover {
	background-color: rgba(255, 255, 255, 0.5);
}

.modal-prev {
	left: 20px;
}

.modal-next {
	right: 20px;
}

.modal-nav.disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.modal-nav.disabled:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.modal-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	height: 120px;
}

.modal-counter {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 5px;
}

.modal-thumbnails {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 5px;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	height: 70px;
}

.modal-thumbnails::-webkit-scrollbar {
	display: none;
}

.modal-thumbnail {
	width: 80px;
	height: 60px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 4px;
	transition: all 0.3s ease;
	opacity: 0.6;
	flex: 0 0 auto;
}

.modal-thumbnail:hover {
	opacity: 0.8;
}

.modal-thumbnail.active {
	border-color: #fff;
	opacity: 1;
}

.main-image {
	cursor: pointer;
	transition: opacity 0.3s;
}

.main-image:hover {
	opacity: 0.9;
}

@keyframes zoom {
	from {
		transform: scale(0.95)
	}

	to {
		transform: scale(1)
	}
}

.modal-content {
	animation-name: zoom;
	animation-duration: 0.3s;
}

@media only screen and (max-width:768px) {
	.modal-content {
		padding: 10px;
		height: calc(100% - 100px);
	}

	.modal-footer {
		padding: 10px;
		height: 100px;
	}

	.modal-thumbnails {
		max-width: 100%;
		padding: 5px 0;
	}

	.modal-thumbnail {
		width: 60px;
		height: 45px;
	}

	.modal-counter {
		font-size: 14px;
		margin-bottom: 3px;
	}

	.modal-nav {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.modal-prev {
		left: 10px;
	}

	.modal-next {
		right: 10px;
	}

	.modal-close {
		right: 15px;
		top: 5px;
		font-size: 30px;
	}
}

.two-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.two-columns .column-image {
	flex: 0 0 33.333%;
	min-width: 300px;
}

.two-columns .column-text {
	flex: 0 0 calc(66.666% - 30px);
	min-width: 300px;
}

@media (max-width:768px) {
	.two-columns {
		flex-direction: column;
	}

	.two-columns .column-image,
	.two-columns .column-text {
		width: 100%;
		flex: 0 0 100%;
	}
}

.property-description h3,
.location h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--titulos);
}

.property-description {
	margin-bottom: 30px;
	line-height: 1.6;
	color: var(--texto);
	font-size: 14px;
}

.details-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0px;
}

.details-table tr {
	transition: all 0.3s ease;
}

.details-table tr:hover {
	background-color: var(--boton-fondo-hover);
	border-radius: 5px;
}

.details-table tr:hover td {
	color: var(--boton-texto-hover);
}

.details-table td {
	padding: 12px 15px;
	font-size: 14px;
	color: var(--texto);
	border-bottom: 1px solid var(--8);
}

.details-table tr:last-child td {
	border-bottom: none;
}

.details-table td:first-child {
	color: var(--titulos);
	font-weight: 500;
	width: 40%;
}

.details-table td:last-child {
	text-align: right;
	color: var(--texto);
	font-weight: 500;
}

.about-section {
	padding-top: 50px;
	padding-bottom: 60px;
}

.about-main-content {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 60px;
}

.about-services {
	margin-bottom: 60px;
}

.about-services h2 {
	font-size: 24px;
	margin-bottom: 30px;
	color: var(--titulos);
	text-align: center;
}

.service-card {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.service-card-content {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.service-card-icon {
	width: 50px;
	height: 50px;
	object-fit: contain;
	margin-right: 20px;
}

.service-card-text h3 {
	font-size: 20px;
	margin-bottom: 10px;
	color: var(--titulos);
}

.service-card-text p {
	color: var(--texto);
	line-height: 1.6;
}

.about-cta {
	background: var(--principal);
	padding: 60px;
	border-radius: 8px;
	text-align: center;
	color: #fff;
}

.about-cta h2 {
	font-size: 28px;
	margin-bottom: 20px;
}

.about-cta p {
	font-size: 18px;
	margin-bottom: 30px;
}

.about-cta .contact-btn {
	background: #fff;
	color: var(--principal);
	border: none;
	padding: 15px 40px;
	font-size: 18px;
}

.about-cta .contact-btn:hover {
	background: var(--boton-fondo-hover);
	color: var(--boton-texto-hover);
}

.features-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.features-col {
	flex: 1 1 300px;
	min-width: 250px;
}

.feature-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.7rem;
	font-weight: 400 !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.feature-item i {
	color: var(--iconos);
	margin-right: 8px;
	font-size: 1.2em;
	min-width: 22px;
	text-align: center;
}

.feature-item strong {
	font-weight: 700 !important;
}

.hr-ficha {
	border: none;
	height: 2px;
	width: 100%;
	background-color: var(--iconos);
	margin: 32px 0 24px 0;
}

@media (max-width:800px) {
	.features-columns {
		flex-direction: column;
		gap: 0;
		margin-bottom: 0;
	}

	.features-col {
		min-width: 100%;
		margin-bottom: 0;
	}
}

.breadcrumb a {
	color: var(--iconos);
	text-decoration: underline;
	transition: color 0.2s;
}

.breadcrumb a:hover {
	color: color-mix(in srgb, var(--iconos) 85%, black);
	text-decoration: underline;
}

.box-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.3em;
	font-weight: 700;
	color: var(--titulos);
	margin-bottom: 10px;
}

.box-header i {
	font-size: 1.2em;
	color: var(--titulos);
	min-width: 24px;
	text-align: center;
}

.box-header-red {
	color: var(--titulos);
}

.box-header-red i {
	color: var(--titulos);
}

.resumen-direccion {
	font-weight: bold;
	margin-top: 8px;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.resumen-precio {
	color: var(--titulos);
	font-size: 2em;
	font-weight: 700;
	margin-top: 8px;
	margin-bottom: 2px;
}

.resumen-tipo {
	color: #222;
	font-size: 1em;
	margin-bottom: 2px;
}

.photo-count-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 4px 10px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 1em;
	line-height: 1;
}

.photo-count-badge i {
	font-size: 1.1em;
	color: #fff;
}

@media (max-width:600px) {
	.photo-count-badge {
		font-size: 0.95em;
		padding: 2px 7px;
		top: 6px;
		right: 6px;
	}

	.photo-count-badge i {
		font-size: 1em;
	}
}