/* ================================================================
 * Haika Curvana — صفحهٔ «تماس با ما» (مطابق موکاپ «نخ طلایی»)
 * هیروِ تیره · کانال‌های کوک‌شده · فرم با چیپ موضوع · نوار نقشه · سوالات پرتکرار
 * RTL/LTR · واکنش‌گرا · رنگ‌ها از برند Curvana (cv-*)
 * ================================================================ */

.hctc {
	--c-plum:    var(--cv-plum, #6B2D5C);
	--c-plum2:   var(--cv-plum-2, #8C4178);
	--c-plumdk:  var(--cv-plumdk, #3A1730);
	--c-night:   var(--cv-night, #241019);
	--c-rose:    var(--cv-rose, #E7A6AE);
	--c-gold:    var(--cv-gold, #C9A24B);
	--c-goldsoft:var(--cv-gold-soft, #E3CD9A);
	--c-cream:   var(--cv-cream, #FBF6F1);
	--c-mist:    var(--cv-mist, #F3E9EF);
	--c-ink:     var(--cv-ink, #2B1A2E);
	--c-grad:    var(--cv-grad, linear-gradient(135deg,#6B2D5C 0%,#A85283 60%,#E7A6AE 100%));
	display: block;
	color: var(--c-ink);
}

/* باز کردن wrapper پیش‌فرض صفحه تا تمام‌عرض شود */
body.page-template-page-contact .haika-single-content { max-width: none; width: 100%; padding: 0; }
body.page-template-page-contact .haika-single-header { display: none; }

/* ═══════════════ HERO ═══════════════ */
.hctc__hero {
	position: relative; overflow: hidden;
	background: var(--c-night);
	color: #fff;
	padding: 70px 44px;
	text-align: center;
}
.hctc__hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hctc__hero-eng {
	position: relative; font-family: 'Poppins', sans-serif;
	letter-spacing: .34em; font-size: 11px; color: var(--c-gold); font-weight: 600;
	display: block; margin-bottom: 16px;
}
.hctc__hero-title { position: relative; margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; color: #fff; }
.hctc__hero-title em { font-style: normal; color: var(--c-rose); }
.hctc__hero-desc { position: relative; color: #cbb3c2; font-size: 15px; max-width: 480px; margin: 0 auto; line-height: 1.9; }

/* ═══════════════ WRAP (کانال‌ها | فرم) ═══════════════ */
.hctc__wrap {
	display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px;
	padding: 50px 44px 64px; background: var(--c-cream);
	position: relative; overflow: hidden;
	max-width: 1240px; margin: 0 auto;
}

/* ── کانال‌ها ── */
.hctc__channels { position: relative; }
.hctc__channels-thread { position: absolute; top: 30px; bottom: 30px; inset-inline-end: 31px; width: 24px; height: auto; pointer-events: none; }
.hctc__ch {
	display: flex; gap: 16px; align-items: flex-start;
	background: #fff; border-radius: 18px; padding: 18px 20px;
	box-shadow: 0 6px 18px rgba(58,23,48,.07);
	margin-bottom: 16px; position: relative; z-index: 2;
	transition: transform .2s; text-decoration: none; color: inherit;
}
.hctc__ch:hover { transform: translateY(-3px); }
.hctc__ch-ic {
	width: 46px; height: 46px; border-radius: 50%; flex: none;
	background: var(--c-mist); display: flex; align-items: center; justify-content: center;
	border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--c-goldsoft);
}
.hctc__ch-ic svg { width: 21px; height: 21px; color: var(--c-plum); }
.hctc__ch-body { min-width: 0; }
.hctc__ch-body b { display: block; font-size: 14.5px; color: var(--c-plumdk); font-weight: 800; }
.hctc__ch-body p { font-size: 13px; color: #6d5d68; margin: 2px 0 4px; line-height: 1.7; }
.hctc__ch-val { font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--c-plum); font-weight: 600; display: inline-block; }

.hctc__hours {
	background: var(--c-mist); border-radius: 18px; padding: 18px 20px;
	font-size: 13px; color: var(--c-plumdk); position: relative; z-index: 2; line-height: 1.9;
}
.hctc__hours-sig { width: 48px; height: 10px; display: block; margin-bottom: 8px; }
.hctc__hours b { display: block; font-weight: 800; margin-bottom: 4px; }

/* ── فرم ── */
.hctc__form-card {
	position: relative; z-index: 2;
	background: #fff; border-radius: 22px; padding: 30px;
	box-shadow: 0 14px 36px rgba(58,23,48,.12);
}
.hctc__form-title {
	position: relative; display: inline-block; margin: 0 0 4px;
	font-size: 20px; font-weight: 900; color: var(--c-plumdk);
}
.hctc__form-title::after {
	content: ''; position: absolute; inset-inline-start: 0; top: 100%; margin-top: 2px;
	width: 80px; height: 11px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 11'%3E%3Cpath d='M3 4 C20 12 36 12 46 6 C56 0 68 1 77 7' fill='none' stroke='%23C9A24B' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left/contain;
}
.hctc__form-sub { font-size: 13px; color: #9b8a95; margin: 14px 0 22px; }

/* چیپ‌های موضوع */
.hctc__topics { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.hctc__topic {
	font-size: 12.5px; border: 1.5px solid #ddc9d6; border-radius: 30px;
	padding: 7px 16px; cursor: pointer; color: #5d4f5a; background: transparent;
	font-family: inherit; transition: all .2s;
}
.hctc__topic:hover { border-color: var(--c-plum); }
.hctc__topic.is-on { background: var(--c-plum); color: #fff; border-color: var(--c-plum); }

/* فیلدها */
.hctc__form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.hctc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hctc__field { display: flex; flex-direction: column; gap: 7px; }
.hctc__field--full { grid-column: 1 / -1; }
.hctc__label { font-size: 12.5px; font-weight: 700; color: var(--c-plumdk); }
.hctc__label em { color: var(--c-plum); font-style: normal; }
.hctc__field input,
.hctc__field textarea {
	width: 100%; border: 1.5px solid #e3d2dd; border-radius: 14px;
	padding: 12px 16px; font-family: inherit; font-size: 13.5px; color: var(--c-ink);
	outline: none; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.hctc__field textarea { min-height: 62px; height: 62px; resize: vertical; line-height: 1.7; }
.hctc__field input::placeholder,
.hctc__field textarea::placeholder { color: #b3a3ad; }
.hctc__field input:focus,
.hctc__field textarea:focus { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(201,162,75,.14); }

/* دکمهٔ ارسال (پلام) */
.hctc__submit {
	width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	margin-top: 6px; padding: 15px 32px; border: 0; border-radius: 44px;
	background: var(--c-plum); color: #fff; cursor: pointer;
	font-family: inherit; font-size: 15px; font-weight: 700;
	box-shadow: 0 10px 26px rgba(107,45,92,.32);
	transition: background .2s, transform .2s, box-shadow .2s;
}
.hctc__submit:hover { background: var(--c-plumdk); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(107,45,92,.42); }
.hctc__submit-spin { display: none; animation: hctc-spin 0.7s linear infinite; }
.hctc__submit.is-loading .hctc__submit-arrow { display: none; }
.hctc__submit.is-loading .hctc__submit-spin { display: inline-block; }
@keyframes hctc-spin { to { transform: rotate(360deg); } }

.hctc__note {
	display: flex; align-items: center; gap: 8px; justify-content: center;
	font-size: 11.5px; color: #9b8a95; margin-top: 13px;
}
.hctc__note svg { color: var(--c-gold); flex: none; }

.hctc__feedback {
	margin-top: 6px; padding: 12px 16px; border-radius: 14px; font-size: 13px; line-height: 1.7;
	background: var(--c-mist); color: var(--c-plumdk);
}
.hctc__feedback.is-success { background: rgba(63,157,107,.10); color: #2f7d55; }
.hctc__feedback.is-error { background: rgba(192,57,43,.08); color: #c0392b; }
.hctc__feedback[hidden] { display: none; }

/* ═══════════════ نوار نقشه ═══════════════ */
.hctc__map { position: relative; height: 230px; overflow: hidden; background: var(--c-mist); }
.hctc__map-grid {
	position: absolute; inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent 0 38px, rgba(107,45,92,.06) 38px 39px),
		repeating-linear-gradient(90deg, transparent 0 38px, rgba(107,45,92,.06) 38px 39px);
}
.hctc__map-roads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hctc__map-pin { position: absolute; top: 46%; inset-inline-end: 50%; transform: translate(50%, -100%); text-align: center; z-index: 3; }
.hctc__map-balloon {
	width: 54px; height: 54px; border-radius: 50% 50% 50% 6px; background: var(--c-plum);
	transform: rotate(45deg); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 14px 30px rgba(58,23,48,.3); margin: 0 auto;
}
.hctc__map-balloon svg { transform: rotate(-45deg); width: 26px; height: 26px; }
.hctc__map-lbl {
	background: #fff; border-radius: 30px; padding: 6px 16px; font-size: 12px; font-weight: 700;
	color: var(--c-plumdk); box-shadow: 0 8px 20px rgba(58,23,48,.15); margin-top: 12px; white-space: nowrap;
}

/* ═══════════════ سوالات پرتکرار ═══════════════ */
.hctc__faq { background: #fff; padding: 54px 44px; text-align: center; }
.hctc__faq-eng { font-family: 'Poppins', sans-serif; letter-spacing: .34em; font-size: 11px; color: var(--c-gold); font-weight: 600; display: block; margin-bottom: 10px; }
.hctc__faq-title { font-size: 25px; font-weight: 900; color: var(--c-plumdk); margin: 0; }
.hctc__faq-sig { width: 84px; height: 16px; margin: 10px auto 22px; display: block; }
.hctc__faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto 26px; }
.hctc__faq-q {
	background: var(--c-cream); border-radius: 16px; padding: 18px;
	font-size: 13.5px; font-weight: 700; color: var(--c-plumdk);
	display: flex; align-items: center; gap: 11px; text-align: right;
	text-decoration: none; transition: transform .2s;
}
.hctc__faq-q:hover { transform: translateY(-3px); }
.hctc__faq-q svg { width: 18px; height: 18px; color: var(--c-gold); flex: none; }
.hctc__faq-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 13px 30px; border-radius: 44px; border: 1.5px solid #d9c4d2;
	color: var(--c-plumdk); background: transparent; text-decoration: none;
	font-size: 14px; font-weight: 700; transition: all .2s;
}
.hctc__faq-btn:hover { border-color: var(--c-plum); color: var(--c-plum); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
	.hctc__wrap { grid-template-columns: 1fr; gap: 24px; padding: 36px 20px 48px; }
	.hctc__channels-thread { display: none; }
	.hctc__hero { padding: 54px 20px; }
	.hctc__faq-grid { grid-template-columns: 1fr; }
	.hctc__faq { padding: 40px 20px; }
}
@media (max-width: 560px) {
	.hctc__row { grid-template-columns: 1fr; }
	.hctc__form-card { padding: 22px 18px; }
}

/* LTR */
html[dir="ltr"] .hctc__faq-q { text-align: left; }
