.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem; /* 20px */
	background: transparent;
}

.form-group.full,
.form-checks,
.form-boton,
.form-legal {
	grid-column: 1 / -1;
}

/* Asegura que los inputs normales ocupan una sola columna */
.form-group {
	width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	background: #ffffff99;
	padding: 1.34rem 1.125rem; /* 21.5px 18px */
	color: #000000;
	font-family: 'Korolev', sans-serif;
	font-size: 1.3125rem; /* 21px */
	font-weight: 700;
	line-height: 1.8375rem; /* 29.4px */
	letter-spacing: 0.105px;
	border: none;
	width: 100%;
}

select {
	background: #53696F66;
	border: none;
	color: #fff;
	font-family: 'Korolev', sans-serif;
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: 0.105px;
	padding: 0 1.125rem;
	background-image: url("/wp-content/uploads/2025/07/fl-ab-bl.svg");
	background-position: right 20px center;
	background-repeat: no-repeat;
	background-size: 16px 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	line-height: 1.2;
	display: flex;
	align-items: center;
	height: 2.7rem;
}

.stypre select:focus {
	background: #53696F66 !important;
	color: #000 !important;
	background-image: url("/wp-content/uploads/2025/07/fl-ab-bl.svg") !important;
	background-position: right 20px center !important;
	background-repeat: no-repeat !important;
	background-size: 16px 12px !important;
}

select option {
	background: #53696F66 !important;
	color: #fff !important;
	font-family: 'Korolev', sans-serif;
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: 0.105px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
	outline: none;
 	background: #ffffff99;
	color: #000;
	opacity: 1;
}

.stypre input[type="text"]:focus,
.stypre input[type="email"]:focus,
.stypre input[type="tel"]:focus,
.stypre input[type="select"]:focus,
.stypre textarea:focus {
	outline: none;
 	background: #53696F66 !important;
}

textarea {
	padding: 0.625rem 1.125rem; /* 10px 18px */
	resize: vertical;
	min-height: 8rem;
}

::placeholder {
	color: #000;
	font-family: 'Korolev', sans-serif;
	font-size: 1.3125rem;
	font-weight: 700;
	line-height: 1.8375rem;
	letter-spacing: 0.105px;
	opacity: 1;
}

.form-checks {
	display: flex;
	flex-direction: column;
	gap: 1.25rem; 
	margin-top: 1rem;
}

.checkbox-item p {
	align-items: flex-start;
	font-size: 0.9rem;
	cursor: pointer;
	color: #282727;
	font-family: 'Besley', serif;
	font-weight: 500;
	line-height: 1.03125rem;
}

/* Estilo personalizado para checkbox */
.form-checks input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid #000;
	border-radius: 3px;
	margin-right: 10px;
	position: relative;
	cursor: pointer;
	vertical-align: middle;
	background-color: transparent;
}

/* Marca de verificación */
.form-checks input[type="checkbox"]:checked::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 6px;
	width: 6px;
	height: 12px;
	border: solid #000;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Label adaptado al estilo checkbox */

.form-legal {
	color: #282727;
	font-family: 'Besley', serif;
	font-size: 0.9375rem; /* 15px */
	font-style: normal;
	font-weight: 500;
	line-height: 1.1rem;
	margin-top: 2.5rem; /* 40px + 20gap */
}

.form-boton {
	margin-top: 2.5rem; /* 40px + 20gap */
}

input[type="submit"] {
	background: transparent;
	border: 1px solid #000;
	color: #000 !important;
	font-family: 'Korolev', sans-serif;
	font-size: 1rem; /* 16px */
	font-weight: 700;
	letter-spacing: 0.48px;
	padding: 0.75rem 1.5rem; /* 12px 24px */
	cursor: pointer;
	line-height: 1rem;
	border-radius: 36px;
	opacity: 1 !important;
}

input[type="submit"]:hover {
	background-color: transparent !important;
}

.texto-marcador {
	background: transparent !important; 
	border: none !important;             
	box-shadow: none !important;         
	color: #f9ff00 !important;           
	font-family: Korolev !important; 
	font-size: 1.3125rem !important;    
	padding: 0 0 1.4rem 0 !important;               
	margin: 0 !important;                 
	white-space: nowrap !important;      
}

.texto-marcador::before {
	display: none !important;             
}

.stypre input, .stypre textarea {
	background: #53696F66 !important;
}

.stypre input::placeholder, .stypre textarea::placeholder {
	color: #fff !important;
	opacity: 1 !important;
}

/* Responsive */
@media (max-width: 767px) {
	.form-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.form-group input[type="text"],
	.form-group input[type="email"],
	.form-group input[type="tel"],
	.form-group textarea {
		font-family: Korolev;
		font-size: 14px;
		font-style: normal;
		font-weight: 700;
		line-height: 19.6px;
		letter-spacing: 0.07px;
		color: var(--Negro, #000);
		background-color: #ffffff99;
		padding: 5px 18px;
		border: none;
	}

	.form-group textarea {
		padding: 10px 18px;
	}

	.form-group input::placeholder,
	.form-group textarea::placeholder {
		font-family: Korolev;
		font-size: 14px;
		font-style: normal;
		font-weight: 700;
		line-height: 19.6px;
		letter-spacing: 0.07px;
		color: var(--HAKO-GREY, #797979);
	}

	.form-checks {
		gap: 20px;
		margin-top: 34px;
		background-color: transparent;
	}

	.checkbox-item p,
	.form-legal {
		font-family: Besley !important;
		font-size: 11px !important;
		font-style: normal !important;
		font-weight: 400 !important;
		line-height: 15px !important;
		letter-spacing: -0.1px !important;
		color: #282727 !important;
	}

	.form-checks input[type="checkbox"] {
		width: 18px;
		height: 18px;
		border: 1px solid #282727;
	}

	.form-checks input[type="checkbox"]:checked::before {
		border-color: #282727;
	}

	input[type="submit"] {
		font-family: Korolev;
		font-size: 12px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
		letter-spacing: 0.36px;
		color: var(--Negro, #000);
		background-color: transparent;
		padding: 8px 16px;
		border: 1px solid var(--Negro, #000);
		cursor: pointer;
	}

	.form-boton {
		margin-top: 30px;
	}

	.form-legal {
		margin-top: 40px;
	}

	#map {
		height: 360px;
	}

	.texto-marcador {
		font-size: 14px !important;
		padding: 0 0 24px 0 !important;
	}
	
	.checkbox-item p {
		display: flex;
		align-items: flex-start;
		margin: 0;
	}

	.wpcf7-list-item.first.last input {
		float: left;
	}
	
	select, select:focus {
		background: #53696F66;
		border: none;
		color: #fff;
		font-family: 'Korolev', sans-serif;
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.07px;
		padding: 0 18px;
		background-image: url("/wp-content/uploads/2025/07/fl-ab-bl.svg");
		background-position: right 20px center;
		background-repeat: no-repeat;
		background-size: 16px 12px;
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;
		line-height: 19.6px;
		display: flex;
		align-items: center;
		height: 40px;
	}
	
	select option {
		height: 40px;
		font-size: 14px;
	}
}

