/**
 * Contact Us page styles
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.pyrotech-contact-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: #111827;
}

.pyrotech-contact-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.pyrotech-contact-hero__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pyrotech-contact-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.5) 50%,
		rgba(0, 0, 0, 0.3) 100%
	);
	pointer-events: none;
}

.pyrotech-contact-hero__inner {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 5vw, 48px);
	padding: clamp(120px, 14vh, 160px) clamp(20px, 5vw, 72px) clamp(40px, 5vh, 60px);
	max-width: var(--container-max-width);
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 1024px) {
	.pyrotech-contact-hero__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: clamp(48px, 6vw, 80px);
	}
}

/* Left content */
.pyrotech-contact-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: clamp(12px, 1.5vh, 20px);
	max-width: 480px;
	text-align: left;
}

@media (min-width: 1024px) {
	.pyrotech-contact-hero__content {
		flex: 1;
		padding-top: 0;
	}
}

.pyrotech-contact-hero__eyebrow {
	margin: 0;
	font-weight: 400;
	font-size: clamp(11px, 1vw, 14px);
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff;
}

.pyrotech-contact-hero__content .heading-common {
	font-size: clamp(28px, 4vw, 44px);
	margin: 0;
	text-align: left;
	text-transform: uppercase;
}

.pyrotech-contact-hero__content .heading-common-light {
	font-weight: 300;
	color: #ffffff;
	display: block;
}

.pyrotech-contact-hero__content .heading-common-line--heavy {
	font-weight: 700;
	color: #ffffff;
	display: block;
}

.pyrotech-contact-hero__lead {
	max-width: 420px;
	margin: 0;
	text-align: left;
	font-weight: 400;
	font-size: clamp(13px, 1.1vw, 15px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Form
   ========================================================================== */

.pyrotech-contact-hero__form-wrap {
	background: #ffffff;
	border-radius: 16px;
	padding: clamp(16px, 2vw, 24px);
	width: 100%;
	max-width: 560px;
	box-sizing: border-box;
}

@media (min-width: 1024px) {
	.pyrotech-contact-hero__form-wrap {
		flex-shrink: 0;
	}
}

.pyrotech-contact-hero__notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
}

.pyrotech-contact-hero__notice--success {
	background: #d1fae5;
	color: #065f46;
}

.pyrotech-contact-hero__notice--error {
	background: #fee2e2;
	color: #991b1b;
}

.pyrotech-contact-form {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 24px);
}

.pyrotech-contact-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 600px) {
	.pyrotech-contact-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.pyrotech-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

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

.pyrotech-contact-form__label {
	font-weight: 500;
	font-size: clamp(11px, 0.9vw, 12px);
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #374151;
}

.pyrotech-contact-form__input,
.pyrotech-contact-form__textarea {
	width: 100%;
	padding: 12px 0;
	border: none;
	border-bottom: 1px solid #e5e7eb;
	background: transparent;
	font-family: inherit;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.5;
	color: #111827;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.pyrotech-contact-form__input::placeholder,
.pyrotech-contact-form__textarea::placeholder {
	color: #9ca3af;
}

.pyrotech-contact-form__input:focus,
.pyrotech-contact-form__textarea:focus {
	outline: none;
	border-color: #3b82f6;
}

/* Validation error state */
.pyrotech-contact-form__field--error .pyrotech-contact-form__label {
	color: #b91c1c;
}

.pyrotech-contact-form__field--error .pyrotech-contact-form__input,
.pyrotech-contact-form__field--error .pyrotech-contact-form__textarea {
	border-bottom-color: #dc2626;
	color: #111827;
}

.pyrotech-contact-form__textarea {
	resize: vertical;
	min-height: 100px;
}

.pyrotech-contact-form__submit {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #3b82f6;
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-weight: 600;
	font-size: clamp(14px, 1vw, 16px);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.pyrotech-contact-form__submit:hover {
	background: #2563eb;
}

.pyrotech-contact-form__submit:active {
	transform: scale(0.98);
}

.pyrotech-contact-form__submit-icon {
	flex-shrink: 0;
}

/* ==========================================================================
   Info Bar
   ========================================================================== */

.pyrotech-contact-hero__info-bar {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(24px, 4vw, 48px);
	padding: clamp(48px, 3vh, 72px) clamp(20px, 5vw, 72px);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 900px) {
	.pyrotech-contact-hero__info-bar {
		justify-content: space-between;
	}
}

.pyrotech-contact-hero__info-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

a.pyrotech-contact-hero__info-item:hover {
	color: #ffffff;
}

.pyrotech-contact-hero__info-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	opacity: 0.85;
}

.pyrotech-contact-hero__info-item--email {
	text-transform: lowercase;
}

/* ==========================================================================
   Mobile adjustments
   ========================================================================== */

@media (max-width: 767px) {
	.pyrotech-contact-hero__info-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.pyrotech-contact-faq-wrap {
	background: #f2f5fb;
	padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.pyrotech-contact-faq.pyrotech-products-faq {
	margin-top: 0;
	padding-top: 0;
}

.pyrotech-contact-faq .pyrotech-products-faq__layout {
	max-width: var(--container-max-width);
	margin: 0 auto;
}

.pyrotech-contact-faq .pyrotech-products-faq__label {
	background: transparent;
	border: none;
	padding: 0;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #3b82f6;
}

/* ==========================================================================
   Google Maps Section
   ========================================================================== */

.pyrotech-contact-map {
	position: relative;
	background: #e5e7eb;
}

.pyrotech-contact-map__container {
	position: relative;
	width: 100%;
	height: clamp(350px, 45vw, 480px);
}

.pyrotech-contact-map__embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pyrotech-contact-map__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	filter: grayscale(15%);
}

.pyrotech-contact-map__info {
	position: absolute;
	top: 50%;
	right: clamp(20px, 5vw, 72px);
	transform: translateY(-50%);
	background: #ffffff;
	border-radius: 12px;
	padding: clamp(20px, 3vw, 32px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	max-width: 320px;
	width: calc(100% - 40px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pyrotech-contact-map__title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.3;
	color: #111827;
}

.pyrotech-contact-map__address {
	margin: 0;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(13px, 1vw, 14px);
	line-height: 1.55;
	color: #4b5563;
}

.pyrotech-contact-map__email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	font-size: clamp(13px, 1vw, 14px);
	line-height: 1.4;
	color: #4b5563;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pyrotech-contact-map__email:hover {
	color: #3b82f6;
}

.pyrotech-contact-map__email svg {
	flex-shrink: 0;
	color: #9ca3af;
}

.pyrotech-contact-map__directions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-weight: 500;
	font-size: clamp(13px, 1vw, 14px);
	line-height: 1.4;
	color: #3b82f6;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pyrotech-contact-map__directions:hover {
	color: #2563eb;
}

.pyrotech-contact-map__directions svg {
	flex-shrink: 0;
}

/* Mobile: Info card below map */
@media (max-width: 767px) {
	.pyrotech-contact-map__container {
		height: auto;
		display: flex;
		flex-direction: column;
	}

	.pyrotech-contact-map__embed {
		position: relative;
		height: 300px;
	}

	.pyrotech-contact-map__info {
		position: relative;
		top: auto;
		right: auto;
		transform: none;
		max-width: none;
		width: 100%;
		border-radius: 0;
		box-shadow: none;
		border-top: 1px solid #e5e7eb;
	}
}

/* ========================================
   Locations / India Map Section
======================================== */
.pyrotech-locations {
	background: #F2F5FB;
	padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 72px);
	padding-bottom: 0px;
}

.pyrotech-locations__inner {
	max-width: var(--container-max-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 60px);
	align-items: center;
}

@media (min-width: 1024px) {
	.pyrotech-locations__inner {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: clamp(40px, 4vw, 80px);
	}
}

/* Left side: Heading and Cards */
.pyrotech-locations__left {
	flex: 1;
	min-width: 0;
}

.pyrotech-locations__eyebrow {
	margin: 0 0 12px;
	font-weight: 500;
	font-size: clamp(11px, 1vw, 13px);
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #0364B8;
}

.pyrotech-locations__title {
	margin: 0 0 clamp(32px, 4vw, 48px);
	font-size: clamp(28px, 3.5vw, 44px);
	line-height: 1.1;
	font-weight: 300;
	text-transform: uppercase;
}

.pyrotech-locations__title-light {
	display: block;
	color: #1a1a1a;
}

.pyrotech-locations__title-heavy {
	display: block;
	font-weight: 700;
	color: #0364B8;
}

/* Cards container */
.pyrotech-locations__cards {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 40px;
}

@media (min-width: 600px) {
	.pyrotech-locations__cards {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

/* Individual card */
.pyrotech-locations__card {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	padding: 12px 12px 16px;
	max-width: 280px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pyrotech-locations__card-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 16px;
}

.pyrotech-locations__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pyrotech-locations__card-title {
	margin-bottom: 2px !important;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
}

.pyrotech-locations__card-address {
	font-style: normal;
	font-size: 13px;
	color: #6b7280;
}

.pyrotech-locations__card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #0364B8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pyrotech-locations__card-link:hover {
	color: #0364B8;
}

.pyrotech-locations__card-link svg {
	flex-shrink: 0;
}

/* Right side: Map */
.pyrotech-locations__right {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: center;
}

@media (min-width: 1024px) {
	.pyrotech-locations__right {
		max-width: 500px;
	}
}

.pyrotech-locations__map-wrap {
	position: relative;
	width: 100%;
}

.pyrotech-locations__map {
	width: 100%;
	height: auto;
	display: block;
	opacity: 0.7;
}

/* Location Pin */
.pyrotech-locations__pin {
	position: absolute;
	cursor: pointer;
	z-index: 2;
	top: var(--pin-top);
	left: var(--pin-left);
}

.pyrotech-locations__pin:hover {
	z-index: 10;
}

.pyrotech-locations__pin > img {
	width: 24px;
	height: 24px;
	filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(1500%) hue-rotate(195deg) brightness(95%) contrast(95%);
	transition: transform 0.2s ease;
}

.pyrotech-locations__pin:hover > img {
	transform: scale(1.15);
}

/* Pin card (popup on hover) - default opens to the right */
.pyrotech-locations__pin-card {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	transform: none;
	background: #ffffff;
	border-radius: 10px;
	padding: 12px;
	min-width: 220px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

/* Card opens to the left for right-side pins */
.pyrotech-locations__pin--card-left .pyrotech-locations__pin-card {
	left: auto;
	right: 0;
}

.pyrotech-locations__pin:hover .pyrotech-locations__pin-card {
	opacity: 1;
	visibility: visible;
}

.pyrotech-locations__pin-card-image {
	width: 70px;
	height: 70px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}

.pyrotech-locations__pin-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pyrotech-locations__pin-card-content {
	flex: 1;
	min-width: 0;
}

.pyrotech-locations__pin-card-title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.pyrotech-locations__pin-card-name {
	margin: 0 0 8px;
	font-size: 12px;
	color: #6b7280;
}

.pyrotech-locations__pin-card-phone,
.pyrotech-locations__pin-card-email {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #6b7280;
	text-decoration: none;
	margin-bottom: 4px;
}

.pyrotech-locations__pin-card-phone:hover,
.pyrotech-locations__pin-card-email:hover {
	color: #0364B8;
}

.pyrotech-locations__pin-card-phone svg,
.pyrotech-locations__pin-card-email svg {
	flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.pyrotech-locations__card {
		max-width: 100%;
	}

	.pyrotech-locations__pin {
		top: var(--pin-top-mob);
		left: var(--pin-left-mob);
	}

	.pyrotech-locations__pin > img {
		width: 16px;
		height: 16px;
	}

	.pyrotech-locations__pin-card {
		min-width: 160px;
		padding: 10px;
		bottom: calc(100% + 6px);
	}

	.pyrotech-locations__pin-card-title {
		font-size: 12px;
	}

	.pyrotech-locations__pin-card-name {
		font-size: 11px;
		margin-bottom: 6px;
	}

	.pyrotech-locations__pin-card-phone,
	.pyrotech-locations__pin-card-email {
		font-size: 10px;
	}
}