/**
 * Supply Chain Map – premium layout for About Us and Contact pages.
 */

/* ==========================================================================
   About page – map section wrapper
   ========================================================================== */

.about-map-section {
	padding: 3rem 0 2.5rem;
	background: transparent;
	position: relative;
}

.about-map-section__header {
	text-align: center;
	max-width: 32em;
	margin: 0 auto 1.5rem;
}

.about-map-section__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-text);
}

/* Gold decorative underline */
.about-map-section__title::after {
	content: '';
	display: block;
	width: 40px;
	height: 2px;
	background: var(--color-accent, #b8860b);
	margin: 0.75rem auto 0;
	border-radius: 2px;
}

.about-map-section__subtitle {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-text-muted, #5c5c5c);
	letter-spacing: 0.02em;
	margin: 0;
}

/* ==========================================================================
   Map card container
   ========================================================================== */

.about-map-wrapper {
	width: 100%;
	max-width: 640px;
	margin: 0 auto 1.25rem;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.04),
		0 8px 24px rgba(0, 0, 0, 0.07),
		0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Map canvas – aspect-ratio keeps all countries visible, no clip
   ========================================================================== */

.about-map {
	width: 100%;
	aspect-ratio: 720 / 360;
	min-height: 180px;
	background: #c8dde8;
	touch-action: pan-y;
	display: block;
}

.about-map svg {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   Animated pulse ring on each supply chain pin
   ========================================================================== */

@keyframes map-pin-pulse {
	0%   { r: 8;  opacity: 0.6; }
	80%  { r: 22; opacity: 0; }
	100% { r: 22; opacity: 0; }
}

.map-pin-pulse {
	animation: map-pin-pulse 2s ease-out infinite;
}

/* ==========================================================================
   Legend cards below the map
   ========================================================================== */

.about-map-messages {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.625rem;
	max-width: 640px;
	margin: 0 auto;
}

.about-map-messages__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	padding: 0.75rem 0.875rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	font-size: 0.775rem;
	line-height: 1.45;
	letter-spacing: 0.01em;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-map-messages__item:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(184, 134, 11, 0.1);
	transform: translateY(-1px);
}

.about-map-messages__pin {
	flex-shrink: 0;
	width: 9px;
	height: 9px;
	margin-top: 0.3rem;
	border-radius: 50%;
	background: var(--color-accent, #b8860b);
	box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.about-map-messages__label {
	font-weight: 700;
	font-family: var(--font-heading);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	color: var(--color-text, #0f0f0f);
	white-space: nowrap;
}

.about-map-messages__text {
	color: var(--color-text-muted, #5c5c5c);
	flex: 1;
	min-width: 0;
	line-height: 1.5;
}

/* ==========================================================================
   Contact page – supply chain journey cards
   ========================================================================== */

.contact-journey {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.625rem;
	margin-bottom: 1.5rem;
}

/* About page: 4 columns to match the wider layout */
.contact-journey--about {
	grid-template-columns: repeat(4, 1fr);
	max-width: 640px;
	margin: 0 auto;
}

.contact-journey__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 0.875rem 1rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(184, 134, 11, 0.12);
	border-left: 3px solid var(--color-accent, #b8860b);
	transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.contact-journey__item:hover {
	box-shadow: 0 6px 20px rgba(184, 134, 11, 0.1);
	transform: translateY(-2px);
}

.contact-journey__step {
	flex-shrink: 0;
	font-family: var(--font-heading, 'Cormorant Garamond', serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	color: var(--color-accent, #b8860b);
	opacity: 0.55;
	letter-spacing: 0.02em;
	margin-top: 2px;
}

.contact-journey__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.contact-journey__name {
	font-family: var(--font-heading, 'Cormorant Garamond', serif);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--color-text, #0f0f0f);
	display: block;
}

.contact-journey__desc {
	font-size: 0.78rem;
	color: var(--color-text-muted, #5c5c5c);
	line-height: 1.45;
	letter-spacing: 0.01em;
}

@media (max-width: 600px) {
	.contact-journey--about {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.contact-journey,
	.contact-journey--about {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
	.about-map-section {
		padding: 2rem 0 1.75rem;
	}

	.about-map-section__header {
		margin-bottom: 1.25rem;
		padding: 0 1rem;
	}

	.about-map-wrapper {
		border-radius: 12px;
		margin-bottom: 0.875rem;
	}

	.about-map {
		min-height: 160px;
	}

	.about-map-messages {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
		padding: 0 0.5rem;
	}

	.about-map-messages__item {
		padding: 0.625rem 0.75rem;
	}
}
