/**
 * PyroTech — Get In Touch (footer contact section)
 */

.pyrotech-contact {
	position: relative;
	overflow: hidden;
}

.forminator-ui#forminator-module-179.forminator-design--flat .forminator-label {
	font-weight: 500 !important;
}

/* Fixed vertical tab — markup in footer; styles here so it works on every template (hero.css is front-page only) */
.pyrotech-hero__tab {
	writing-mode: vertical-rl;
	background: #2563eb;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	padding: 16px 12px;
	border-radius: 0 10px 10px 0;
	text-decoration: none;
	z-index: 99999;
	display: block;
	position: fixed;
	left: 0;
	top: 45%;
	box-sizing: border-box;
}

.pyrotech-hero__tab:hover,
.pyrotech-hero__tab:focus-visible {
	background: #1e40af;
	color: #fff;
}

/* Fixed bottom-right WhatsApp — outside #smooth-wrapper (see footer partial) */
.whatsapp-float {
	position: fixed;
	right: max(24px, env(safe-area-inset-right, 0px));
	bottom: max(24px, env(safe-area-inset-bottom, 0px));
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	outline: none;
}

.whatsapp-float:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.whatsapp-float img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.pyrotech-contact__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.pyrotech-contact__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.55);
}

.pyrotech-contact__inner {
	position: relative;
	z-index: 2;
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 80px 24px 96px;
	box-sizing: border-box;
}

.pyrotech-contact__layout {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 48px;
}

.pyrotech-contact__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	flex: 1 1 0;
	min-width: 0;
	max-width: 520px;
}

.pyrotech-contact__kicker {
	
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 16px;
}

.pyrotech-contact__title {
	
	font-weight: 400;
	font-size: 30px;
	
	
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 16px;
}

.pyrotech-contact__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.pyrotech-contact__desc {
	
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	
	color: #ffffff;
	margin: 0 0 16px;
	max-width: 100%;
	text-transform: none;
}

.pyrotech-contact__tag {
	display: inline-block;
	padding: 6px 12px;
	background: #ffffff52;
	font-weight: 500;
	font-size: 13px;
	text-transform: uppercase;
	color: #fff;
}

/* Form panel */
.pyrotech-contact__form-wrap {
	flex: 0 0 auto;
	width: 100%;
	max-width: 544px;
}

.pyrotech-contact__form {
	background: #fff;
	border-radius: 10px;
	border-top: 4px solid #0364b8;
	padding: 24px;
	box-sizing: border-box;
	min-height: 521px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
}

.pyrotech-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 28px;
}

.pyrotech-contact__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.pyrotech-contact__field--full {
	grid-column: 1 / -1;
}

.pyrotech-contact__label {
	
	font-weight: 500;
	font-size: 12px;
	line-height: 150%;
	
	text-transform: uppercase;
	color: #000000;
	margin: 0;
}

.pyrotech-contact__input,
.pyrotech-contact__textarea {
	
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	
	color: #000000;
	width: 100%;
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0;
	padding: 8px 0;
	background: transparent;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.2s ease;
}

.pyrotech-contact__input::placeholder,
.pyrotech-contact__textarea::placeholder {
	color: #0000004d;
}

.pyrotech-contact__textarea {
	min-height: 80px;
	resize: vertical;
}

.pyrotech-contact__field--error .pyrotech-contact__label {
	color: #b91c1c;
}

.pyrotech-contact__field--error .pyrotech-contact__input,
.pyrotech-contact__field--error .pyrotech-contact__textarea {
	border-bottom-color: #dc2626;
	color: #000000;
}

/* Submit uses shared .pyrotech-cta-big (main.css); keep form layout only */
.pyrotech-contact__submit.pyrotech-cta-big {
	align-self: flex-start;
	margin-top: 0;
}

.pyrotech-contact__notice {
	
	font-size: 14px;
	margin: 0;
	padding: 12px;
	border-radius: 8px;
}

.pyrotech-contact__notice--success {
	background: rgba(34, 197, 94, 0.15);
	color: #166534;
}

.pyrotech-contact__notice--error {
	background: rgba(220, 38, 38, 0.12);
	color: #991b1b;
}

.pyrotech-contact__desc-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

@media (max-width: 1024px) {
	.pyrotech-contact__layout {
		flex-direction: column;
	}

	.pyrotech-contact__copy {
		max-width: none;
	}

	.pyrotech-contact__form-wrap {
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.pyrotech-contact__inner {
		padding: 56px 20px 72px;
	}

	.pyrotech-contact__title {
		font-size: 22px;
	}

	.pyrotech-contact__grid {
		grid-template-columns: 1fr;
	}

	.pyrotech-contact__field--full {
		grid-column: 1;
	}

	.pyrotech-contact__form {
		min-height: 0;
	}
}
