/*
Theme Name: HostLab
Theme URI: https://hostlab.cl
Author: HostLab
Description: Tema de bloques (FSE) para hostlab.cl — gestion premium de arriendos temporales.
Version: 1.0.7
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostlab
*/

.hostlab-hidden-field {
	display: none;
}

html {
	scroll-behavior: smooth;
}

@font-face {
	font-family: 'Grift';
	src: url('fonts/Grift-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Grift';
	src: url('fonts/Grift-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Grift';
	src: url('fonts/Grift-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Grift';
	src: url('fonts/Grift-ExtraBold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

.wpcf7 label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 16px;
	color: #14121F;
}
.wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance):not(.hostlab-hidden-field) {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid #d8d8de;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.wpcf7-textarea {
	height: 80px;
}
.wpcf7-radio .wpcf7-list-item {
	margin-right: 16px;
}
.wpcf7-submit {
	display: block;
	margin: 24px auto 0;
	padding: 12px 32px;
	background-color: #c7f36b;
	color: #14121F;
	border: none;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
}
#comuna-visible {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid #d8d8de;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
	background-color: #fff;
}
.wpcf7 p {
	margin-bottom: 20px;
}

.wpcf7-list-item-label {
	font-weight: 400;
}

.hostlab-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}
.hostlab-menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #14121F;
}

@media (max-width: 782px) {
	.hostlab-menu-toggle {
		display: flex;
	}
	#hostlab-nav {
		display: none !important;
		width: 100% !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 1.25rem !important;
		padding-top: 1.5rem;
	}
	#hostlab-nav.is-open {
		display: flex !important;
	}
}

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.hostlab-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 10, 92, 0.6);
	align-items: center;
	justify-content: center;
	z-index: 2000;
}
.hostlab-modal.is-open {
	display: flex;
}
.hostlab-modal__box {
	background: #ffffff;
	border-radius: 20px;
	padding: 40px;
	max-width: 360px;
	width: 90%;
	text-align: center;
}
.hostlab-modal__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #14121F;
	margin-bottom: 8px;
}
.hostlab-modal__close {
	margin-top: 24px;
	padding: 10px 28px;
	background-color: #c7f36b;
	color: #14121F;
	border: none;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
}