/* Contact Card for Elementor */

.ecc-card {
	--ecc-ink: #CE3026;
	--ecc-paper: #FFFFFF;
	--ecc-accent: #CE3026;
	--ecc-tint: color-mix(in srgb, var(--ecc-accent) 12%, var(--ecc-paper));
	--ecc-line: #DCE7E6;
	--ecc-text: #1B2B30;
	--ecc-muted: #5E7378;

	display: grid;
	grid-template-columns: minmax(250px, 0.9fr) 1.6fr;
	margin: 2em 0;
	overflow: hidden;
	background: var(--ecc-paper);
	border: 1px solid var(--ecc-line);
	border-radius: 18px;
	box-shadow: 0 22px 40px -26px rgba(80, 20, 16, 0.45);
	color: var(--ecc-text);
	line-height: 1.5;
	box-sizing: border-box;
}

.ecc-card *,
.ecc-card *::before,
.ecc-card *::after {
	box-sizing: border-box;
}

/* ---------- Title panel ---------- */

.ecc-card .ecc-aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	padding: 36px 32px;
	background: var(--ecc-ink);
	color: #fff;
}

.ecc-card .ecc-title {
	margin: 0;
	padding: 0 0 18px;
	color: #fff;
	font-size: 1.85rem;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	position: relative;
}

/* short rule that separates title from supporting text */
.ecc-card .ecc-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 3px;
	border-radius: 3px;
	background: #F2B84B;
}

.ecc-card .ecc-desc {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.95rem;
}

/* ---------- Social ---------- */

.ecc-card .ecc-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ecc-card .ecc-social li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ecc-card .ecc-social-link {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 17px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ecc-card .ecc-social-link:hover,
.ecc-card .ecc-social-link:focus-visible {
	background: var(--ecc-brand, #fff);
	color: #fff;
	transform: translateY(-2px);
}

.ecc-card .ecc-social-link:focus-visible,
.ecc-card .ecc-value:focus-visible {
	outline: 2px solid #F2B84B;
	outline-offset: 3px;
}

/* ---------- Details ---------- */

.ecc-card .ecc-main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	align-content: center;
	gap: 24px 28px;
	padding: 36px;
}

.ecc-card .ecc-item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ecc-card .ecc-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--ecc-tint);
	color: var(--ecc-accent);
	font-size: 16px;
}

.ecc-card .ecc-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ecc-card .ecc-label {
	color: var(--ecc-muted);
	font-size: 0.82rem;
	line-height: 1.3;
}

.ecc-card .ecc-value {
	color: var(--ecc-text);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: break-word;
	box-shadow: none;
	border: 0;
	transition: color 0.2s ease;
}

.ecc-card .ecc-value:hover {
	color: var(--ecc-accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
	.ecc-card {
		grid-template-columns: 1fr;
	}
	.ecc-card .ecc-aside {
		padding: 28px 24px;
		gap: 24px;
	}
	.ecc-card .ecc-main {
		padding: 28px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecc-card .ecc-social-link,
	.ecc-card .ecc-value {
		transition: none;
	}
	.ecc-card .ecc-social-link:hover {
		transform: none;
	}
}
