/* Contact page */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ct-form, .ct-done { grid-column: 1; padding: clamp(20px, 3vw, 34px); display: grid; gap: 20px; }
.ct-form[hidden], .ct-done[hidden], .ct-err[hidden] { display: none; }
.ct-side { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 16px; position: sticky; top: 96px; }
.ct-fs { border: 0; padding: 0; margin: 0; min-width: 0; } .ct-fs legend { font: 600 15px var(--font-h); margin-bottom: 12px; padding: 0; color: var(--ink); }
html[dir=rtl] .ct-fs legend { font-family: Cairo, sans-serif; }
.ct-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.ct-opt { cursor: pointer; position: relative; } .ct-opt input, .ct-pill input { position: absolute; opacity: 0; pointer-events: none; }
.ct-opt > span { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 13px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); transition: border-color .2s, background .2s, transform .2s; min-height: 64px; }
.ct-opt svg { grid-row: 1 / span 2; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: linear-gradient(140deg, rgba(122,92,255,.35), rgba(34,211,238,.22)); stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-opt b { font: 600 14.5px var(--font-h); } html[dir=rtl] .ct-opt b { font-family: Cairo, sans-serif; }
.ct-opt small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.ct-opt:hover > span { transform: translateY(-2px); }
.ct-opt input:checked + span { border-color: var(--violet); background: rgba(122, 92, 255, .2); box-shadow: 0 0 0 3px rgba(122, 92, 255, .22); }
.ct-opt input:focus-visible + span, .ct-pill input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ct-pills { display: flex; flex-wrap: wrap; gap: 8px; } .ct-pill { cursor: pointer; position: relative; }
.ct-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-weight: 500; transition: background .2s, border-color .2s; }
.ct-pill input:checked + span { background: linear-gradient(100deg, var(--violet-d), #2a8fe6); border-color: transparent; color: #fff; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-f { display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
.ct-f input, .ct-f textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); color: var(--ink); font: 400 16px/1.5 var(--font-b); transition: border-color .2s, box-shadow .2s; }
html[dir=rtl] .ct-f input, html[dir=rtl] .ct-f textarea { font-family: Cairo, sans-serif; }
html[data-theme=light] .ct-f input, html[data-theme=light] .ct-f textarea { background: rgba(255, 255, 255, .85); }
.ct-f textarea { resize: vertical; min-height: 140px; }
.ct-f input:focus, .ct-f textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(122, 92, 255, .25); }
.ct-count { justify-self: end; color: var(--muted); font-size: 12px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.ct-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #7a5cff; flex: none; } .ct-consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.ct-err { padding: 12px 14px; border-radius: 12px; background: rgba(255, 90, 90, .14); border: 1px solid rgba(255, 90, 90, .45); color: #ff9a9a; font-size: 14.5px; }
html[data-theme=light] .ct-err { color: #b3261e; }
.ct-form .btn { justify-self: start; }
.ct-card { padding: 22px; display: grid; gap: 8px; } .ct-card .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(122,92,255,.4), rgba(34,211,238,.25)); border: 1px solid var(--line); }
.ct-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-card p { color: var(--muted); font-size: 15px; } .ct-card p a { color: var(--cyan); }
.ct-mail { color: var(--cyan); font: 600 17px var(--font-h); direction: ltr; unicode-bidi: plaintext; word-break: break-all; } html[dir=rtl] .ct-mail { display: block; text-align: right; }
.ct-done { text-align: center; justify-items: center; } .ct-done .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22d3ee, #7a5cff); } .ct-done .ok svg { width: 30px; stroke: #fff; fill: none; stroke-width: 2; }
.ct-done p { color: var(--muted); max-width: 52ch; } .ct-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ct-faq { display: grid; gap: 12px; margin-top: 26px; max-width: 860px; }
.ct-faq details { padding: 0; } .ct-faq summary { cursor: pointer; padding: 18px 22px; font: 600 16.5px var(--font-h); list-style: none; display: flex; justify-content: space-between; gap: 14px; min-height: 56px; align-items: center; }
html[dir=rtl] .ct-faq summary { font-family: Cairo, sans-serif; }
.ct-faq summary::-webkit-details-marker { display: none; } .ct-faq summary::after { content: "+"; font-size: 22px; color: var(--cyan); transition: transform .25s; } .ct-faq details[open] summary::after { transform: rotate(45deg); }
.ct-faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } .ct-side { grid-column: 1; grid-row: auto; position: static; } .ct-row { grid-template-columns: 1fr; } }
