/* GB Popups */
.gb-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.gb-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.gb-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.gb-popup__box {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	max-width: 1000px;
	max-height: 92vh;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	transform: translateY(14px);
	transition: transform 0.35s ease;
}

.gb-popup.is-open .gb-popup__box {
	transform: translateY(0);
}

.gb-popup__media {
	flex: 1 1 45%;
	min-height: 320px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.gb-popup__content {
	flex: 1 1 55%;
	padding: 46px 42px;
	box-sizing: border-box;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	font-family: 'Century Gothic', sans-serif;
}

.gb-popup__close {
	position: absolute;
	top: 12px;
	right: 16px;
	z-index: 3;
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	color: #222;
	cursor: pointer;
}

.gb-popup__heading {
	margin: 0 0 16px;
	font-weight: 700;
	font-size: 30px;
	line-height: 1.2;
	text-transform: uppercase;
}

.gb-popup__heading--azul {
	color: #0C3762;
}

.gb-popup__heading--camel {
	color: #B28336;
}

.gb-popup__sub {
	margin: 0 0 22px;
	font-size: 20px;
	line-height: 1.4;
	color: #333;
}

/* Botón */
.gb-popup__btn {
	display: inline-block;
	align-self: center;
	margin-top: 10px;
	padding: 14px 32px;
	border-radius: 40px;
	color: #ffffff;
	font-size: 15px;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.gb-popup__btn:hover {
	opacity: 0.9;
}

.gb-popup__btn--azul {
	background: #0C3762;
}

.gb-popup__btn--camel {
	background: #B28336;
}

/* Formulario CF7 */
.gb-popup__form .gb-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
}

.gb-popup__form input[type=text],
.gb-popup__form input[type=tel],
.gb-popup__form input[type=email] {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	font-size: 15px;
	box-sizing: border-box;
}

.gb-popup__form .gb-form__accept {
	display: block;
	font-size: 14px;
	color: #444;
	line-height: 1.4;
}

.gb-popup__form input[type=submit] {
	width: 100%;
	margin-top: 4px;
	padding: 14px 20px;
	border: 0;
	border-radius: 4px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.gb-popup__form input[type=submit]:hover {
	opacity: 0.9;
}

.gb-popup--accent-camel .gb-popup__form input[type=submit] {
	background: #B28336;
}

.gb-popup--accent-azul .gb-popup__form input[type=submit] {
	background: #0C3762;
}

.gb-popup__form .wpcf7-not-valid-tip {
	font-size: 12px;
}

.gb-popup__form .wpcf7-response-output {
	font-size: 13px;
	margin: 10px 0 0;
}

@media (max-width: 780px) {
	.gb-popup__box {
		flex-direction: column;
		max-height: 90vh;
		overflow-y: auto;
	}
	.gb-popup__media {
		min-height: 170px;
		flex-basis: 170px;
	}
	.gb-popup__content {
		padding: 34px 26px;
	}
	.gb-popup__heading {
		font-size: 23px;
	}
}
