/**
 * Contact Us — Snappy-inspired layout, D’Stations tokens (violet, dst-panel, emerald).
 *
 * @package DStations
 */

.dst-contact-page {
	box-sizing: border-box;
	width: 100%;
}

.dst-contact-page__shell {
	box-sizing: border-box;
}

/* ----- Hero (lavender band, reference-style top section) ----- */
.dst-contact-hero {
	background: linear-gradient(
		165deg,
		rgba(237, 233, 254, 0.95) 0%,
		rgba(245, 243, 255, 0.88) 42%,
		rgba(250, 250, 249, 0.65) 100%
	);
	border-bottom: 1px solid rgba(196, 181, 253, 0.35);
}

.dst-contact-hero__intro {
	max-width: 36rem;
}

.dst-contact-hero__title {
	margin: 0.75rem 0 0;
}

.dst-contact-hero__highlights {
	display: grid;
	gap: 1rem;
	margin-top: 2rem;
}

@media (min-width: 640px) {
	.dst-contact-hero__highlights {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

.dst-contact-hero__highlight {
	padding: 1rem 1rem 1.125rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(196, 181, 253, 0.4);
	box-shadow: 0 4px 20px -8px rgba(76, 29, 149, 0.08);
}

.dst-contact-hero__highlight-title {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #4c1d95;
}

.dst-contact-hero__highlight-text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #57534e;
}

/* Two columns: intro left, form right */
.dst-contact-hero__grid.dst-contact-page__grid {
	display: grid;
	align-items: start;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.dst-contact-hero__grid.dst-contact-page__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 3rem;
		align-items: start;
	}

	.dst-contact-hero__form {
		margin-top: -0.5rem;
	}
}

/* Floating card (elevated panel) */
.dst-contact-form-card {
	position: relative;
	z-index: 2;
	padding: 1.5rem 1.5rem 1.75rem;
	box-shadow:
		0 28px 60px -22px rgba(76, 29, 149, 0.22),
		0 12px 32px -16px rgba(15, 23, 42, 0.1),
		inset 0 1px 0 0 rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) {
	.dst-contact-form-card {
		padding: 2rem 2.25rem 2.25rem;
	}
}

.dst-contact-form__submit {
	width: 100%;
	justify-content: center;
}

.dst-contact-form__textarea {
	min-height: 8.75rem;
}

/* ----- Location row (map + copy) ----- */
.dst-contact-location {
	background-color: #fafaf9;
	border-bottom: 1px solid rgba(231, 229, 228, 0.9);
}

.dst-contact-location__grid {
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.dst-contact-location__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 3rem;
	}
}

.dst-contact-location__map {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid rgba(196, 181, 253, 0.45);
	box-shadow:
		0 20px 45px -20px rgba(76, 29, 149, 0.15),
		0 0 0 1px rgba(76, 29, 149, 0.04);
}

.dst-contact-location__iframe {
	display: block;
	width: 100%;
	height: 16rem;
	border: 0;
}

@media (min-width: 900px) {
	.dst-contact-location__iframe {
		height: 20rem;
	}
}

.dst-contact-location__copy {
	padding: 0.25rem 0;
}

.dst-contact-location__label {
	margin: 0;
}

/* ----- Shared grid fallback (hero uses combined selector above) ----- */
.dst-contact-page__grid:not(.dst-contact-hero__grid) {
	display: grid;
	align-items: start;
}

@media (min-width: 1024px) {
	.dst-contact-page__grid:not(.dst-contact-hero__grid) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.dst-contact-page__aside {
	width: 100%;
}

.dst-contact-page__aside ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dst-contact-page__touch-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.dst-contact-page__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.dst-contact-page__block {
	width: 100%;
	box-sizing: border-box;
}

.dst-contact-page__block--narrow {
	display: block;
}

/* Form fieldset */
.dst-contact-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.dst-contact-form fieldset legend {
	padding: 0;
}

.dst-contact-form > p {
	margin: 0 0 1.25rem;
}

.dst-contact-form > fieldset {
	margin-bottom: 1.25rem;
}

.dst-contact-form fieldset > p {
	margin: 0 0 0.75rem;
}

.dst-contact-form fieldset > p:last-child {
	margin-bottom: 0;
}
