/**
 * Contact us page — mobile + desktop.
 */

.page-contact-us .site-main {
	background-color: #f5f5f5;
}

.oten-contact {
	background: #f5f5f5;
}

.oten-contact__inner {
	box-sizing: border-box;
	padding: 24px 16px 48px;
}

.oten-contact__header {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.oten-contact__title-group {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
}

.oten-contact__title-block {
	text-align: center;
}

.oten-contact__accent-bar {
	display: block;
	flex-shrink: 0;
	width: 3px;
	height: 25px;
	background-color: var(--oten-brand);
	border-radius: 0;
}

.oten-contact__title {
	margin: 0 0 6px;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--oten-ink);
	text-align: center;
}

.oten-contact__subtitle {
	margin: 0;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: #6b6b6b;
	text-align: center;
}

/* Info cards */
.oten-contact__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.oten-contact__card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 12px;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.oten-contact__card:hover,
.oten-contact__card:focus-visible {
	background-color: #faf7f5;
}

.oten-contact__card:focus-visible {
	outline: 2px solid var(--oten-brand);
	outline-offset: -2px;
}

.oten-contact__card-icon-wrap {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(96, 15, 34, 0.08);
}

.oten-contact__card-icon {
	display: block;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.oten-contact__card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	text-align: right;
}

.oten-contact__card-label {
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--oten-ink);
	text-align: right;
}

.oten-contact__card-value {
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--oten-brand);
	overflow-wrap: anywhere;
	text-align: right;
}

/* Map */
.oten-contact__map-col {
	margin-top: 32px;
}

.oten-contact__map {
	position: relative;
	overflow: hidden;
	background: #e9e2d6;
}

.oten-contact__map-frame {
	display: block;
	width: 100%;
	height: 220px;
	border: 0;
}

/* Form */
.oten-contact__form-box {
	margin-top: 24px;
	padding: 16px;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.oten-contact__form-title-group {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 16px;
}

.oten-contact__form-title {
	margin: 0;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 400;
	color: var(--oten-ink);
	text-align: right;
}

.oten-contact__form-title-accent {
	color: var(--oten-brand);
}

.oten-contact__notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	text-align: right;
}

.oten-contact__notice--success {
	background: #eaf6ec;
	color: #256b32;
}

.oten-contact__notice--error {
	background: #fbeaea;
	color: #a32424;
}

.oten-contact__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.oten-contact__form-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.oten-contact__field {
	display: block;
}

.oten-contact__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.oten-contact__input {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #e5e5e5;
	padding: 12px 14px;
	background: #fff;
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 400;
	color: var(--oten-ink);
	text-align: right;
	transition: border-color 0.2s ease;
}

.oten-contact__input::placeholder {
	color: #999;
	text-align: right;
}

.oten-contact__input:focus {
	outline: none;
	border-color: var(--oten-brand);
}

.oten-contact__input--phone {
	direction: rtl;
}

.oten-contact__textarea {
	resize: vertical;
	min-height: 140px;
}

.oten-contact__submit {
	display: inline-flex;
	align-self: center;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	padding: 13px 32px;
	border: 0;
	background: var(--oten-brand);
	font-family: Kalameh, IRANYekanX, Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1;
	font-weight: 400;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.oten-contact__submit:hover,
.oten-contact__submit:focus-visible {
	background-color: var(--oten-brand-dark);
}

.oten-contact__submit:focus-visible {
	outline: 2px solid var(--oten-brand);
	outline-offset: 2px;
}

.oten-contact__submit-icon {
	display: block;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
}

.oten-contact__submit.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.oten-contact__submit.is-loading .oten-contact__submit-icon {
	display: none;
}

.oten-contact__submit.is-loading::before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: oten-contact-spin 0.7s linear infinite;
}

@keyframes oten-contact-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (min-width: 768px) {
	.oten-contact__inner {
		width: min(1476px, calc(100% - 60px));
		margin-inline: auto;
		padding: 40px 0 80px;
	}

	.oten-contact__header {
		margin-bottom: 40px;
	}

	.oten-contact__accent-bar {
		height: 32px;
	}

	.oten-contact__title {
		font-size: 26px;
	}

	.oten-contact__subtitle {
		font-size: 16px;
	}

	.oten-contact__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 48px;
		align-items: stretch;
	}

	.oten-contact__content,
	.oten-contact__map-col {
		min-width: 0;
	}

	.oten-contact__map-col {
		display: flex;
		margin-top: 0;
	}

	.oten-contact__map {
		position: relative;
		flex: 1 1 auto;
		width: 100%;
		min-height: 100%;
	}

	.oten-contact__map-frame {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.oten-contact__cards {
		gap: 16px;
	}

	.oten-contact__card {
		padding: 22px 24px;
	}

	.oten-contact__card-icon-wrap {
		width: 44px;
		height: 44px;
	}

	.oten-contact__card-icon {
		width: 22px;
		height: 22px;
	}

	.oten-contact__card-label,
	.oten-contact__card-value {
		font-size: 16px;
	}

	.oten-contact__form-box {
		margin-top: 32px;
		padding: 24px;
	}

	.oten-contact__form-title {
		font-size: 20px;
	}

	.oten-contact__form-row {
		flex-direction: row;
		gap: 16px;
	}

	.oten-contact__form-row .oten-contact__field {
		flex: 1 1 0;
		min-width: 0;
	}

	.oten-contact__textarea {
		min-height: 180px;
	}
}
