/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Tours Form Widget
   ═══════════════════════════════════════════════════════════════ */

.hgb-tform-section {
	padding-top: 3.5rem;
	padding-bottom: 4rem;
	background-color: #ece8df;
	border-top: 1px solid #d3c4b9;
	font-family: "Montserrat", sans-serif;
	box-sizing: border-box;
}

@media (min-width: 1024px) {
	.hgb-tform-section {
		padding-top: 4.5rem;
		padding-bottom: 5rem;
	}
}

.hgb-tform__container {
	width: 100%;
	max-width: 1024px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

.hgb-tform__card {
	background-color: #ffffff;
	border: 2px solid #d3c4b9;
	border-radius: 8px;
	padding: 2rem 1.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
	.hgb-tform__card {
		padding: 3rem;
	}
}

/* Header */
.hgb-tform__header {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

.hgb-tform__eyebrow {
	display: block;
	color: #825500;
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 0.12em;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

.hgb-tform__title {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: clamp(1.375rem, 3vw, 2rem);
	line-height: 1.25;
	font-weight: 700;
	color: #321d08;
	text-transform: uppercase;
	margin: 0 0 0.5rem 0;
}

.hgb-tform__lozenge-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 16rem;
	margin: 0 auto 0.75rem auto;
}

.hgb-tform__lozenge-divider::before,
.hgb-tform__lozenge-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: #d3c4b9;
}

.hgb-tform__diamond {
	color: #825500;
	font-weight: 700;
	padding-inline: 0.75rem;
	font-size: 0.875rem;
}

.hgb-tform__desc {
	font-size: 13px;
	line-height: 1.55;
	color: #4f453d;
	margin: 0;
}

/* Form Grid */
.hgb-tform__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.hgb-tform__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.hgb-tform__field {
	display: flex;
	flex-direction: column;
}

.hgb-tform__field--full {
	grid-column: 1 / -1;
}

.hgb-tform__label {
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.08em;
	font-weight: 700;
	text-transform: uppercase;
	color: #321d08;
	margin-bottom: 0.5rem;
}

.hgb-tform__input-wrap {
	position: relative;
	width: 100%;
}

.hgb-tform__input-icon {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	color: #81756c;
	font-size: 20px;
	pointer-events: none;
}

.hgb-tform__input,
.hgb-tform__select,
.hgb-tform__textarea {
	width: 100%;
	padding: 0.625rem 1rem 0.625rem 2.5rem;
	background-color: #fdf9f0;
	border: 1px solid #d3c4b9;
	border-radius: 4px;
	color: #1c1c16;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	line-height: 20px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hgb-tform__select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	padding-right: 2rem;
}

.hgb-tform__select-arrow {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	color: #81756c;
	font-size: 20px;
	pointer-events: none;
}

.hgb-tform__field-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.hgb-tform__field-group input,
.hgb-tform__field-group select {
	padding-left: 0.75rem;
}

.hgb-tform__textarea {
	padding: 0.75rem 1rem;
	resize: vertical;
}

.hgb-tform__input:focus,
.hgb-tform__select:focus,
.hgb-tform__textarea:focus {
	border-color: #825500;
	box-shadow: 0 0 0 1px #825500;
}

/* Footer & Submit */
.hgb-tform__footer {
	padding-top: 1rem;
	border-top: 1px solid #d3c4b9;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}

@media (min-width: 640px) {
	.hgb-tform__footer {
		flex-direction: row;
	}
}

.hgb-tform__guarantee {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 13px;
	color: #4f453d;
}

.hgb-tform__guarantee .hgb-ms {
	color: #825500;
	font-size: 20px;
}

.hgb-tform__submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	background-color: #825500;
	color: #ffffff;
	border-radius: 4px;
	border: none;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
}

@media (min-width: 640px) {
	.hgb-tform__submit {
		width: auto;
	}
}

.hgb-tform__submit:hover {
	background-color: #fdba56;
	color: #291800;
	transform: translateY(-1px);
}

.hgb-tform__submit .hgb-ms {
	font-size: 18px;
}
