/* =========================================================
   تواصل معنا — تبني على home.css (hm-) وتضيف ct-
========================================================= */
.ct-hero { padding: 72px 0 130px; text-align: center; }
.ct-hero .hm-hero__desc { margin-inline: auto; max-width: 660px; }
.ct-hero .hm-hero__title { font-size: clamp(2rem, 4.6vw, 3.2rem); }

.ct-main { position: relative; z-index: 2; margin-top: -86px; padding-block: 0 90px; }
.ct-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 920px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-card { background: #fff; border: 1px solid #E6E0D5; border-radius: 22px; padding: 28px; box-shadow: 0 26px 54px rgba(10, 79, 86, .1); }
.ct-side { display: grid; gap: 22px; }
.ct-h { margin: 0; font-size: 1.45rem; font-weight: 900; color: #1E2A30; }
.ct-sub { margin: 6px 0 18px; color: #6E7A7E; }

/* التنبيه */
.ct-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; margin-bottom: 16px; background: #FDECEA; color: #9B1024; border: 1px solid rgba(180, 0, 32, .14); font-weight: 600; line-height: 1.8; }
.ct-alert svg { flex: none; margin-top: 3px; }

/* المواضيع */
.ct-topics { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-topics legend { width: 100%; margin-bottom: 8px; font-weight: 700; font-size: .92rem; color: #1E2A30; }
.ct-topic { position: relative; cursor: pointer; }
.ct-topic input { position: absolute; opacity: 0; pointer-events: none; }
.ct-topic span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid #E6E0D5; background: #fff; font-weight: 700; font-size: .92rem; color: #3A4549; transition: all .2s ease; }
.ct-topic:hover span { border-color: #4FB8C0; color: #116D76; }
.ct-topic input:checked + span { background: #116D76; border-color: #116D76; color: #fff; }
.ct-topic input:focus-visible + span { outline: 3px solid #D7C14D; outline-offset: 2px; }

/* الحقول */
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .ct-row { grid-template-columns: 1fr; } }
.ct-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.ct-field label { font-weight: 700; font-size: .92rem; color: #1E2A30; }
.ct-field input, .ct-field textarea { width: 100%; font: inherit; font-size: 1rem; color: #1E2A30; background: #F7F5F1; border: 1.5px solid #E6E0D5; border-radius: 14px; padding: 13px 15px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.ct-field input[dir="ltr"] { text-align: right; }
.ct-field textarea { resize: vertical; min-height: 150px; line-height: 1.9; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: #1A939E; background: #fff; box-shadow: 0 0 0 4px rgba(26, 147, 158, .12); }
.ct-count { align-self: flex-end; font-size: .8rem; color: #6E7A7E; }
.ct-submit { width: 100%; border: 0; }
.ct-submit[disabled] { opacity: .7; cursor: default; transform: none; }
.ct-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* تم الإرسال */
.ct-done { text-align: center; padding: 26px 6px; }
.ct-done .ic { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #E7F6EF; color: #12805C; box-shadow: 0 0 0 8px #F2FAF6; }
.ct-done h2 { margin: 0; font-size: 1.45rem; font-weight: 900; color: #1E2A30; }
.ct-done p { margin: 10px auto 20px; max-width: 460px; color: #6E7A7E; line-height: 2; }

/* البريد */
.ct-mail { text-align: center; background: linear-gradient(160deg, #0A4F56, #116D76); color: #fff; border: 0; }
.ct-mail .ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #D7C14D; }
.ct-mail h2 { margin: 0; font-size: 1.25rem; font-weight: 900; }
.ct-mail p { margin: 6px 0 16px; color: rgba(255,255,255,.82); }
.ct-mail__btn { width: 100%; word-break: break-all; }
.ct-copy { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: rgba(255,255,255,.88); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.ct-copy:hover { color: #D7C14D; }

/* روابط مفيدة */
.ct-links h2 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 800; color: #1E2A30; }
.ct-links a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid #EEE8DF; color: #1E2A30; font-weight: 800; }
.ct-links a:first-of-type { border-top: 0; }
.ct-links a:hover { color: #116D76; }
.ct-links .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #E8F4F5; color: #116D76; }
.ct-links small { display: block; font-weight: 500; color: #6E7A7E; font-size: .84rem; }
