/* Contact page frontend */

.gaumantak-contact-page {
	--gm-bg: #faf7f2;
	--gm-bg-alt: #fff4e7;
	--gm-surface: #ffffff;
	--gm-primary: #7b1e1e;
	--gm-primary-dark: #5a1515;
	--gm-gold: #c89b3c;
	--gm-secondary: #8a6240;
	--gm-text: #2d2d2d;
	--gm-text-muted: #6b6560;
	--gm-border: #e8ddd0;
	--gm-radius: 12px;
	--gm-gap: 1.5rem;
	--gm-container: 1280px;
	--gm-shadow: 0 2px 12px rgba(123, 30, 30, 0.05);
}

.suyeswp-contact-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.suyeswp-contact-intro--solo {
	grid-template-columns: 1fr;
	max-width: 40rem;
}

.suyeswp-contact-intro__title,
.suyeswp-contact-intro__desc {
	text-align: left;
	margin-inline: 0;
}

.suyeswp-contact-intro__desc {
	max-width: 34rem;
}

.suyeswp-contact-detail {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.suyeswp-contact-detail__item {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	gap: 0.875rem;
	align-items: start;
}

.suyeswp-contact-detail__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--gm-bg-alt);
	color: var(--gm-primary);
	display: grid;
	place-items: center;
}

.suyeswp-contact-detail__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.suyeswp-contact-detail__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gm-gold);
	margin-bottom: 0.25rem;
}

.suyeswp-contact-detail__value {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--gm-text);
}

.suyeswp-contact-detail__value a {
	color: var(--gm-primary);
	text-decoration: none;
	font-weight: 600;
}

.suyeswp-contact-detail__value a:hover {
	color: var(--gm-primary-dark);
	text-decoration: underline;
}

.suyeswp-contact-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.suyeswp-contact-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 0.7rem;
	border-radius: 6px;
	border: 1px solid var(--gm-border);
	background: var(--gm-surface);
	color: var(--gm-text);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.suyeswp-contact-chip:hover {
	border-color: var(--gm-primary);
	color: var(--gm-primary);
	background: var(--gm-bg-alt);
}

.suyeswp-contact-chip svg {
	width: 0.875rem;
	height: 0.875rem;
}

.suyeswp-contact-chip--wa {
	border-color: #25d366;
	color: #128c7e;
}

.suyeswp-contact-chip--wa:hover {
	background: #e8f8ef;
	border-color: #128c7e;
	color: #075e54;
}

.suyeswp-contact-form {
	background: var(--gm-surface);
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	padding: clamp(1.5rem, 3.5vw, 2.25rem);
	box-shadow: var(--gm-shadow);
}

.suyeswp-contact-form__title {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: var(--gm-text);
	margin: 0 0 0.35rem;
}

.suyeswp-contact-form__desc {
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	color: var(--gm-text-muted);
	line-height: 1.55;
}

.suyeswp-contact-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.suyeswp-contact-form__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.suyeswp-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.suyeswp-contact-form__field--full {
	grid-column: 1 / -1;
}

.suyeswp-contact-form__field label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--gm-text);
}

.suyeswp-contact-form__field label .req {
	color: var(--gm-primary);
}

.suyeswp-contact-form__field input,
.suyeswp-contact-form__field select,
.suyeswp-contact-form__field textarea {
	font-family: inherit;
	font-size: 0.9375rem;
	padding: 0.7rem 0.875rem;
	border: 1.5px solid var(--gm-border);
	border-radius: 8px;
	background: var(--gm-bg);
	color: var(--gm-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.suyeswp-contact-form__field input:focus,
.suyeswp-contact-form__field select:focus,
.suyeswp-contact-form__field textarea:focus {
	outline: none;
	border-color: var(--gm-primary);
	box-shadow: 0 0 0 3px rgba(123, 30, 30, 0.12);
}

.suyeswp-contact-form__field textarea {
	resize: vertical;
	min-height: 7rem;
}

.suyeswp-contact-form__verify {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.suyeswp-contact-form__captcha {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--gm-primary);
	background: var(--gm-bg-alt);
	border: 1.5px dashed var(--gm-gold);
	border-radius: 8px;
	padding: 0.55rem 0.9rem;
	user-select: none;
	min-width: 5.5rem;
	min-height: 2.5rem;
}

.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	margin: 0;
	border: 1.5px solid var(--gm-border);
	border-radius: 8px;
	background: var(--gm-surface);
	color: var(--gm-primary);
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	line-height: 0;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh:hover,
.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh:focus {
	color: #fff;
	background: var(--gm-primary);
	border-color: var(--gm-primary);
	outline: none;
}

.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh:focus-visible {
	box-shadow: 0 0 0 3px rgba(123, 30, 30, 0.2);
}

.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh svg {
	width: 1.125rem;
	height: 1.125rem;
	display: block;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
}

.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh svg path,
.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh svg polyline,
.gaumantak-contact-page .suyeswp-contact-form__captcha-refresh svg line {
	fill: none;
	stroke: currentColor;
}

.suyeswp-contact-form__verify-input {
	flex: 1;
	min-width: 8rem;
	max-width: 10rem;
}

.suyeswp-contact-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.suyeswp-contact-form__note {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--gm-text-muted);
	line-height: 1.5;
}

.suyeswp-contact-form__note.is-success {
	color: #1b7a3d;
	font-weight: 600;
}

.suyeswp-contact-form__note.is-error {
	color: #b42318;
	font-weight: 600;
}

.suyeswp-contact-map {
	border-radius: var(--gm-radius);
	overflow: hidden;
	border: 1px solid var(--gm-border);
	box-shadow: var(--gm-shadow);
	background: var(--gm-bg-alt);
	aspect-ratio: 21 / 9;
	min-height: 240px;
}

.suyeswp-contact-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.suyeswp-ashrams-region {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.suyeswp-ashrams-region:last-child {
	margin-bottom: 0;
}

.suyeswp-ashrams-region__head {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--gm-border);
}

.suyeswp-ashrams-region__eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--gm-gold);
}

.suyeswp-ashrams-region__title {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	color: var(--gm-primary);
	margin: 0;
}

.suyeswp-ashrams-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.suyeswp-ashram-item__name {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--gm-text);
	margin: 0 0 0.5rem;
}

.suyeswp-ashram-item__address {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--gm-text-muted);
}

.suyeswp-ashram-item__pin {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--gm-secondary);
}

.suyeswp-ashram-item__pin span {
	color: var(--gm-text-muted);
	font-weight: 500;
}

@media (max-width: 1024px) {
	.suyeswp-contact-intro {
		grid-template-columns: 1fr;
	}

	.suyeswp-ashrams-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.suyeswp-contact-map {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	.suyeswp-contact-form__fields {
		grid-template-columns: 1fr;
	}

	.suyeswp-ashrams-grid {
		grid-template-columns: 1fr;
	}

	.suyeswp-contact-form__verify {
		flex-direction: column;
		align-items: stretch;
	}

	.suyeswp-contact-form__verify-input {
		max-width: none;
	}
}
