/**
 * صفحه تماس با ما کوش
 */

body.kowsh-contact-page-body {
	background: #fff;
}

body.kowsh-contact-page-body .site-main {
	padding: 0;
	background: #fff;
	overflow-x: hidden;
}

.kowsh-cp {
	--cp-ink: #1a1a1a;
	--cp-muted: #5a5a5a;
	--cp-line: rgba(26, 26, 26, 0.08);
	--cp-red: #9e0b0f;
	--cp-cream: #fff1e2;
	--cp-pad: 20px;
	--cp-max: 1120px;
	color: var(--cp-ink);
	overflow-x: hidden;
}

.kowsh-cp__mark {
	color: var(--cp-red);
}

.kowsh-cp__kicker {
	margin: 0 0 10px;
	color: var(--cp-red);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.kowsh-cp__title,
.kowsh-cp__heading,
.kowsh-cp__card h2 {
	margin: 0;
	color: var(--cp-ink);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.03em;
}

.kowsh-cp__title {
	font-size: clamp(1.7rem, 8vw, 3.2rem);
}

.kowsh-cp__heading {
	font-size: clamp(1.3rem, 5vw, 2rem);
}

.kowsh-cp__lead,
.kowsh-cp__card p,
.kowsh-cp__faq p {
	margin: 12px 0 0;
	color: var(--cp-muted);
	font-size: 0.95rem;
	line-height: 1.9;
}

.kowsh-cp__hero,
.kowsh-cp__channels,
.kowsh-cp__split,
.kowsh-cp__map,
.kowsh-cp__faq,
.kowsh-cp__extra {
	width: min(var(--cp-max), calc(100% - (var(--cp-pad) * 2)));
	margin-right: auto;
	margin-left: auto;
}

.kowsh-cp__hero {
	position: relative;
	padding: 128px 0 28px;
}

.kowsh-cp__hero::before {
	content: "";
	position: absolute;
	inset: 0 -40px auto;
	height: 80%;
	background:
		radial-gradient(ellipse 70% 50% at 90% 8%, rgba(158, 11, 15, 0.08), transparent 58%),
		radial-gradient(ellipse 50% 40% at 0% 90%, rgba(255, 241, 226, 0.95), transparent 64%);
	pointer-events: none;
	z-index: 0;
}

.kowsh-cp__hero > * {
	position: relative;
	z-index: 1;
}

.kowsh-cp__channels {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding-bottom: 28px;
}

.kowsh-cp__channel {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 76px;
	padding: 14px 16px;
	border: 1px solid var(--cp-line);
	border-radius: 20px;
	background: #fff;
	color: var(--cp-ink);
	text-decoration: none;
	text-align: right;
	cursor: pointer;
	font: inherit;
	width: 100%;
	-webkit-tap-highlight-color: transparent;
}

.kowsh-cp__channel span:last-child {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.kowsh-cp__channel strong {
	font-size: 0.98rem;
}

.kowsh-cp__channel em,
.kowsh-cp__channel bdi {
	color: var(--cp-muted);
	font-style: normal;
	font-size: 0.82rem;
	font-weight: 400;
}

.kowsh-cp__ico {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	border-radius: 14px;
	background: var(--cp-cream);
	color: var(--cp-red);
}

.kowsh-cp__ico svg {
	width: 20px;
	height: 20px;
}

.kowsh-cp__channel--call {
	background: var(--cp-red);
	border-color: var(--cp-red);
	color: #fff;
}

.kowsh-cp__channel--call .kowsh-cp__ico {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.kowsh-cp__channel--call bdi,
a.kowsh-cp__channel--call:hover,
a.kowsh-cp__channel--call:focus,
button.kowsh-cp__channel:hover,
button.kowsh-cp__channel:focus {
	color: inherit;
	text-decoration: none;
}

.kowsh-cp__channel--call bdi {
	color: #fff1e2;
}

a.kowsh-cp__channel,
a.kowsh-cp__channel:hover,
a.kowsh-cp__channel:focus,
button.kowsh-cp__channel:hover,
button.kowsh-cp__channel:focus {
	text-decoration: none;
	color: inherit;
}

a.kowsh-cp__channel--call,
a.kowsh-cp__channel--call:hover,
a.kowsh-cp__channel--call:focus {
	color: #fff;
	background: var(--cp-red);
}

.kowsh-cp__split {
	display: grid;
	gap: 18px;
	padding: 12px 0 36px;
}

.kowsh-cp__form-wrap,
.kowsh-cp__card {
	padding: 22px 18px;
	border: 1px solid var(--cp-line);
	border-radius: 22px;
	background: #fff;
}

.kowsh-cp__aside {
	display: grid;
	gap: 12px;
	align-content: start;
}

.kowsh-cp__card h2 {
	font-size: 1.05rem;
	margin-bottom: 12px;
}

.kowsh-cp__hours {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.kowsh-cp__hours li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--cp-line);
	font-size: 0.9rem;
}

.kowsh-cp__hours li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.kowsh-cp__hours span {
	color: var(--cp-muted);
}

.kowsh-cp__map-link {
	display: inline-flex;
	margin-top: 14px;
	color: var(--cp-red);
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
}

.kowsh-cp__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.kowsh-cp__form {
	position: relative;
	margin-top: 20px;
}

.kowsh-cp__fields {
	display: grid;
	gap: 12px;
}

.kowsh-cp__form label {
	display: grid;
	gap: 6px;
	font-size: 0.82rem;
	font-weight: 700;
}

.kowsh-cp__form input,
.kowsh-cp__form select,
.kowsh-cp__form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--cp-line);
	border-radius: 14px;
	background: #fff;
	color: var(--cp-ink);
	font: inherit;
	font-weight: 400;
}

.kowsh-cp__form textarea {
	resize: vertical;
	min-height: 120px;
}

.kowsh-cp__form input:focus,
.kowsh-cp__form select:focus,
.kowsh-cp__form textarea:focus {
	outline: 2px solid rgba(158, 11, 15, 0.25);
	border-color: var(--cp-red);
}

.kowsh-cp__submit {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	margin-top: 14px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--cp-red);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.kowsh-cp__submit svg {
	width: 18px;
	height: 18px;
	transform: scaleX(-1);
}

.kowsh-cp__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.kowsh-cp__form-msg {
	margin: 12px 0 0;
	font-size: 0.88rem;
	line-height: 1.7;
}

.kowsh-cp__form-msg.is-ok {
	color: #1a1a1a;
}

.kowsh-cp__form-msg.is-err {
	color: var(--cp-red);
}

.kowsh-cp__map {
	margin-bottom: 36px;
	border-radius: 22px;
	overflow: hidden;
	background: var(--cp-cream);
	aspect-ratio: 16 / 10;
}

.kowsh-cp__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.kowsh-cp__faq {
	padding: 8px 0 48px;
}

.kowsh-cp__faq-list {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.kowsh-cp__faq details {
	border: 1px solid var(--cp-line);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.kowsh-cp__faq summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 18px;
	font-weight: 800;
	line-height: 1.7;
}

.kowsh-cp__faq summary::-webkit-details-marker {
	display: none;
}

.kowsh-cp__faq summary::after {
	content: "";
	float: left;
	width: 10px;
	height: 10px;
	margin-top: 8px;
	border-left: 2px solid var(--cp-red);
	border-bottom: 2px solid var(--cp-red);
	transform: rotate(-45deg);
}

.kowsh-cp__faq details[open] summary::after {
	transform: rotate(135deg);
	margin-top: 4px;
}

.kowsh-cp__faq p {
	padding: 0 18px 16px;
	margin: 0;
}

.kowsh-cp__extra {
	padding-bottom: 64px;
	color: var(--cp-muted);
	line-height: 1.9;
}

.kowsh-cp__toast {
	position: fixed;
	right: 16px;
	left: 16px;
	bottom: 18px;
	z-index: 40;
	padding: 12px 16px;
	border-radius: 14px;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	text-align: center;
}

@media (min-width: 480px) {
	.kowsh-cp {
		--cp-pad: 24px;
	}

	.kowsh-cp__hero {
		padding-top: 140px;
	}

	.kowsh-cp__channels {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 768px) {
	.kowsh-cp {
		--cp-pad: 40px;
	}

	.kowsh-cp__hero {
		padding: 168px 0 40px;
	}

	.kowsh-cp__title,
	.kowsh-cp__heading {
		max-width: 18ch;
	}

	.kowsh-cp__lead {
		max-width: 42rem;
		font-size: 1rem;
	}

	.kowsh-cp__channels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.kowsh-cp__split {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 24px;
		align-items: start;
	}

	.kowsh-cp__form-wrap,
	.kowsh-cp__card {
		padding: 28px 24px;
	}

	.kowsh-cp__fields {
		grid-template-columns: 1fr 1fr;
	}

	.kowsh-cp__field-full {
		grid-column: 1 / -1;
	}

	.kowsh-cp__submit {
		width: auto;
		min-width: 220px;
		justify-content: center;
		gap: 10px;
	}

	.kowsh-cp__map {
		aspect-ratio: 16 / 7;
		margin-bottom: 48px;
	}

	.kowsh-cp__faq {
		padding-bottom: 72px;
	}

	.kowsh-cp__toast {
		right: auto;
		left: 40px;
		width: max-content;
		max-width: 360px;
	}
}

@media (min-width: 1024px) {
	.kowsh-cp__channels {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.kowsh-cp__hero {
		padding-top: 176px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.kowsh-cp__channel:hover {
		border-color: var(--cp-red);
		transform: translateY(-2px);
	}

	.kowsh-cp__channel--call:hover {
		background: #7a0809;
	}

	.kowsh-cp__submit:hover {
		background: #7a0809;
	}
}
