/**
 * Contact module — mobile-first B2B contact cards.
 */

body.fsp-contact {
	margin: 0;
	background: transparent;
	color: #0f172a;
	overflow-x: clip;
	max-width: 100%;
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;
}

.fsp-contact-shell {
	min-height: 100vh;
}

body.fsp-contact--hub .fsp-contact-shell {
	padding-bottom: 0;
}

body.fsp-contact--hub .fsp-contact-hero {
	width: 100%;
	margin-bottom: 0;
	padding: 0;
	text-align: center;
	align-items: center;
}

body.fsp-contact--hub .fsp-contact-hero__inner {
	width: 100%;
	max-width: 960px;
	margin-inline: auto;
	padding: 40px var(--fsp-page-pad-x, 20px) 32px;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

body.fsp-contact--hub .fsp-contact-hero.fsp-mhero--has-image {
	min-height: var(--fsp-module-hero-min);
	height: var(--fsp-module-hero-h);
	max-height: var(--fsp-module-hero-max);
}

body.fsp-contact--hub .fsp-mhero-copy h1 {
	font-size: clamp(1.5rem, 4.5vw, 2.1rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

body.fsp-contact--hub .fsp-mhero-lead {
	max-width: 36em;
	margin-inline: auto;
	font-size: clamp(0.95rem, 2.8vw, 1.08rem);
	line-height: 1.75;
	color: rgba(241, 245, 249, 0.92);
}

body.fsp-contact--hub .fsp-mhero-points {
	justify-content: center;
}

.fsp-contact-body {
	padding: 20px var(--fsp-page-pad-x, 20px) 48px;
}

.fsp-contact-body__inner {
	max-width: 880px;
	margin: 0 auto;
}

.fsp-contact-body__head {
	text-align: center;
	margin-bottom: 20px;
}

.fsp-contact-body__head h2 {
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 800;
}

.fsp-contact-body__head p {
	margin: 0;
	color: #64748b;
	line-height: 1.65;
}

.fsp-contact-panel {
	padding: 18px;
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.72));
	border: 1px solid rgba(203, 213, 225, 0.9);
	box-shadow:
		0 16px 40px rgba(15, 23, 42, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fsp-contact-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

.fsp-contact-card {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: start;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fsp-contact-card:hover {
	border-color: rgba(30, 64, 175, 0.28);
	box-shadow: 0 10px 28px rgba(30, 64, 175, 0.08);
	transform: translateY(-1px);
}

.fsp-contact-card__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	font-size: 18px;
	line-height: 1;
	color: var(--fsp-brand-blue, #1e40af);
	background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(255, 204, 0, 0.14));
	border: 1px solid rgba(30, 64, 175, 0.14);
}

.fsp-contact-card__label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
}

.fsp-contact-card__value {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.65;
	color: #0f172a;
	word-break: break-word;
}

.fsp-contact-card__value a {
	color: var(--fsp-brand-blue, #1e40af);
	text-decoration: none;
}

.fsp-contact-card__value a:hover {
	text-decoration: underline;
}

.fsp-contact-card__phones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fsp-contact-card__phone {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: var(--fsp-brand-blue, #1e40af);
	background: rgba(30, 64, 175, 0.08);
	border: 1px solid rgba(30, 64, 175, 0.16);
	direction: ltr;
	unicode-bidi: plaintext;
}

.fsp-contact-card__phone:hover {
	background: rgba(30, 64, 175, 0.14);
}

.fsp-contact-card--company {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(255, 255, 255, 0.9));
	border-color: rgba(30, 64, 175, 0.2);
}

.fsp-contact-card--company .fsp-contact-card__value {
	font-size: 1.05rem;
}

.fsp-contact-card--address {
	grid-column: 1 / -1;
}

.fsp-contact-card--address .fsp-contact-card__value {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
	color: #334155;
}

.fsp-contact-cta-wrap {
	margin-top: 24px;
	text-align: center;
}

.fsp-contact-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 400px;
	padding: 15px 24px;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	color: var(--fsp-brand-gold, #ffcc00);
	background: linear-gradient(135deg, var(--fsp-brand-blue, #1e40af), #172554);
	box-shadow: 0 10px 28px rgba(30, 64, 175, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fsp-contact-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(30, 64, 175, 0.34);
	color: #fff7cc;
}

@media (min-width: 640px) {
	.fsp-contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.fsp-contact-panel {
		padding: 22px;
	}
}

@media (max-width: 639px) {
	body.fsp-contact--hub .fsp-contact-hero__inner {
		padding: 28px var(--fsp-page-pad-x, 16px) 22px;
	}

	.fsp-contact-body {
		padding: 16px var(--fsp-page-pad-x, 16px) 40px;
	}

	.fsp-contact-panel {
		padding: 14px;
		border-radius: 16px;
	}

	.fsp-contact-card {
		grid-template-columns: 40px 1fr;
		gap: 12px;
		padding: 14px;
	}

	.fsp-contact-card__icon {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.fsp-contact-card__phones {
		flex-direction: column;
		align-items: stretch;
	}

	.fsp-contact-card__phone {
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
	}

	.fsp-contact-cta {
		max-width: none;
		width: 100%;
	}
}
