/*
 * Inprodi Emergency — "already traveling and need help" band: eyebrow + 2-row
 * title (Geist uppercase + Angelface script accent — the brand heading system
 * shared with the CTA / band / about sections) + subtitle, then a row of
 * WhatsApp contact cards (one per country/region). Namespaced under
 * .inprodi-emergency, no global reset.
 *
 * Dark band (matches Footer/CTA — this sits right before the Footer at the
 * end of Contacto, so it should melt into it with no visible seam). Cards are
 * vertical tiles (icon, country, phone, then a real pill button), using the
 * same dark-button token as Cards/About/CTA. Icons use the real WhatsApp
 * glyph in the site's warm gold accent (#f2d8b3).
 */

.inprodi-emergency,
.inprodi-emergency *,
.inprodi-emergency *::before,
.inprodi-emergency *::after {
	box-sizing: border-box;
}

.inprodi-emergency {
	width: 100%;
	background-color: #f8eee7;
	color: #1c3f58;
	padding-top: 64px; /* mobile rhythm; 96px from md up */
	padding-bottom: 64px;
}

.inprodi-emergency__container {
	width: 100%;
	max-width: 80rem; /* max-w-7xl, matches the shared grid */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.inprodi-emergency__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	margin-bottom: 2.75rem;
}

.inprodi-emergency__eyebrow {
	color: #cf8a44;
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

/* Brand heading system (Geist uppercase statement + Angelface script accent),
   matching the CTA / band / about sections. Replaces the retired Playfair. */
.inprodi-emergency__title {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #3e2618;
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	font-size: 2.375rem; /* 38px mobile */
	line-height: 1.1;
}

.inprodi-emergency__title span {
	text-transform: none;
	letter-spacing: normal;
	text-indent: 0;
}

.inprodi-emergency__title .inprodi-emergency__title-it {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1em;
	line-height: 1.05;
	margin-top: 0.08em;
}

.inprodi-emergency__subtitle {
	margin: 0;
	max-width: 32rem;
	color: rgba( 28, 63, 88, 0.62 );
	font-family: var(--nk-font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
}

.inprodi-emergency__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 44rem;
	margin-left: auto;
	margin-right: auto;
}

.inprodi-emergency__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 36px 28px;
	background-color: #fbf4ea;
	border: 1px solid rgba( 28, 63, 88, 0.1 );
	border-radius: 20px;
	text-decoration: none;
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.inprodi-emergency__card:hover,
.inprodi-emergency__card:focus-visible {
	border-color: rgba( 28, 63, 88, 0.22 );
	background-color: #fbf4ea;
	box-shadow: 0 14px 32px rgba( 28, 63, 88, 0.1 );
	transform: translateY( -2px );
}

.inprodi-emergency__ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: rgba( 207, 138, 68, 0.14 );
	color: #cf8a44;
}

.inprodi-emergency__country {
	color: #3e2618;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	letter-spacing: 0.02em;
	font-size: 1.1875rem; /* 19px */
	line-height: 1.3;
}

.inprodi-emergency__phone {
	color: rgba( 28, 63, 88, 0.6 );
	font-family: var(--nk-font-sans);
	font-size: 0.9375rem; /* 15px */
	line-height: 1.4;
}

.inprodi-emergency__cta {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 12px;
	border: 1px solid #1c3f58;
	background-color: #1c3f58;
	color: #ffffff;
	font-family: var(--nk-font-sans);
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.inprodi-emergency__card:hover .inprodi-emergency__cta {
	background-color: #163150;
	border-color: #163150;
}

.inprodi-emergency__cta svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

.inprodi-emergency__card:hover .inprodi-emergency__cta svg {
	transform: scale( 1.08 );
}

@media ( min-width: 640px ) {
	.inprodi-emergency__container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media ( min-width: 768px ) {
	.inprodi-emergency {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.inprodi-emergency__title {
		font-size: 3.5rem; /* 56px */
	}

	.inprodi-emergency__head {
		margin-bottom: 3.5rem;
	}

	.inprodi-emergency__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media ( min-width: 1024px ) {
	.inprodi-emergency__container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.inprodi-emergency__card,
	.inprodi-emergency__cta svg {
		transition: none;
	}
}
