.xg-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(6px); /* Aplica desenfoque */
	background-color: rgba(255, 255, 255, 0.3); /* Ligero fondo blanco translúcido */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.xg-modal-content {
	background: #fff;
	padding: 10px;
	max-width: 600px;
	width: 90%;
	position: relative;
	animation: fadeIn 0.3s ease-out;
	box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.xg-modal-close {}

.xg-hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/*
 * Formulario
 */
.wpcf7 p {
	margin-bottom: 0;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	background-color: #ffffff;
	border: none;
	padding: 0px;
	width: 100%;
	font-size: 14px;
}

.wpcf7 .wpcf7-acceptance {
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7 input[type="submit"] {
	margin-top: 15px;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
	width: 100%;
	border: 1px solid var(--border-color);
	border-radius: 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	font-size: 12px;
}


.sub-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  font-family: sans-serif;
  max-width: 600px;
  margin: 0 auto;
  font-size: 14px;
}

.sub-form-col {
	padding: 5px 10px 10px;
	border: 1px solid var(--border-color);
	border-bottom: none;
}

.sub-form-col:first-child {
  border-right: none;
}

.col-acepta {
	padding: 20px 10px;
}

.col-acepta {
	border-left: 1px solid var(--border-color) !important;
}

.col-submit {
	padding: 0;
	border: none;
}
.col-submit input[type="submit"] {
	margin-top: 0;
}

.col-1 {
  grid-column: span 1;
}

.col-2,
.col-acepta,
.col-submit {
  grid-column: span 2;
}

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

.checkbox-row input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
	.sub-form {
		grid-template-columns: 1fr;
	}
	.sub-form-col:not(.col-submit) {
		border-bottom: none;
	}
	.sub-form-col:first-child {
	  border-right: 1px solid var(--border-color);
	}

	.sub-form-col,
	.sub-form-submit {
		grid-column: span 1 !important;
	}
}
