/* =====================================================================
   Directline — contact page (contact.html)
   hero with three direct lines (WhatsApp, call, mail) · a message builder
   told as a short chat that ends with the message opened, ready, in
   WhatsApp or the mail app · Doha / Dubai with their local time · what
   happens after you write.
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.25; margin-top: 14px; letter-spacing: -.5px; }
.ct-h2 span { color: var(--purple); }
.ct-head { margin-bottom: 44px; }

/* ======================= hero ======================= */
.ct-hero { position: relative; overflow: hidden; background: var(--brand-grad); color: #fff; padding: 90px 0 100px; }
.ct-glow { position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgb(243 239 48 / .16), transparent 60%); pointer-events: none; }
.motion-ok .ct-glow { animation: ct-drift 14s ease-in-out infinite alternate; }
.motion-paused .ct-glow { animation-play-state: paused; }
@keyframes ct-drift { to { translate: 220px 120px; } }
.ct-hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.ct-title { font-size: clamp(44px, 6vw, 96px); line-height: 1.12; margin: 22px 0 24px; letter-spacing: -1px; }
.ct-title > span { display: block; }
.ct-title em { font-style: normal; color: var(--lime); }
.ct-lead { color: #cfc2dd; font-size: 18px; line-height: 1.9; max-width: 560px; }
.motion-ok .ct-title > span { animation: ct-rise 1.1s cubic-bezier(.22,1,.36,1) both; }
.motion-ok .ct-title > span + span { animation-delay: .14s; }
.motion-ok .ct-lead { animation: ct-rise 1.1s .3s cubic-bezier(.22,1,.36,1) both; }
@keyframes ct-rise { from { opacity: 0; translate: 0 50px; } }

.ct-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ct-line { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 20px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
  backdrop-filter: blur(10px); transition: background .3s, color .3s, translate .4s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.ct-line:hover, .ct-line:focus-visible { background: var(--lime); color: var(--ink); translate: -8px 0; box-shadow: 0 20px 40px rgb(0 0 0 / .25); }
.ct-ic { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: rgb(255 255 255 / .12); transition: background .3s; }
.ct-line:hover .ct-ic { background: var(--ink); }
.ct-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-line-txt { flex: 1; display: grid; }
.ct-line-txt b { font-size: 20px; }
.ct-line-txt small { font-size: 15px; opacity: .75; text-align: right; }
.ct-go { font: 28px/1 Arial, sans-serif; transition: transform .3s; }
.ct-line:hover .ct-go { transform: translate(-4px, -4px); }
.motion-ok .ct-lines li { animation: ct-rise .9s cubic-bezier(.22,1,.36,1) both; }
.motion-ok .ct-lines li:nth-child(1) { animation-delay: .35s; } .motion-ok .ct-lines li:nth-child(2) { animation-delay: .45s; } .motion-ok .ct-lines li:nth-child(3) { animation-delay: .55s; }

/* ======================= chat ======================= */
.ct-chat-sec { padding: 120px 0; }
.ct-chat-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.ct-chat-side { position: sticky; top: 130px; }
.ct-chat-side > p:not(.eyebrow) { color: #5d5168; font-size: 16px; margin: 18px 0 26px; max-width: 420px; }
.ct-progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; max-width: 320px; }
.ct-progress li { flex: 1; height: 6px; border-radius: 6px; background: #e3dbf3; transition: background .4s; }
.ct-progress li.on { background: var(--purple); } .ct-progress li.done { background: var(--lime); box-shadow: inset 0 0 0 1px #d6d23a; }

.ct-chat { border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--border), 0 40px 80px rgb(42 22 77 / .10); overflow: hidden; display: flex; flex-direction: column; min-height: 560px; }
.ct-chat-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--border); background: #faf8fd; }
.ct-avatar { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; position: relative; }
.ct-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ct-chat-head b { display: block; font-size: 16px; } .ct-chat-head small { color: var(--muted); font-size: 13px; }
.ct-chat-head small::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ec46d; margin-left: 6px; }
.ct-restart { margin-right: auto; background: none; font-size: 13px; color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.ct-log { flex: 1; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; scroll-behavior: smooth; }
.ct-b { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 16px; line-height: 1.8; }
.ct-b.bot { align-self: flex-start; background: #f1ecf8; border-start-start-radius: 6px; }
.ct-b.me { align-self: flex-end; background: var(--ink); color: #fff; border-start-end-radius: 6px; }
.motion-ok .ct-b { animation: ct-pop .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes ct-pop { from { opacity: 0; translate: 0 12px; scale: .96; } }
.ct-skip { opacity: .6; font-style: italic; }
.ct-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.ct-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9b88b5; animation: ct-dot 1s infinite; }
.ct-typing i:nth-child(2) { animation-delay: .15s; } .ct-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ct-dot { 50% { translate: 0 -4px; opacity: .5; } }
.ct-b.card { max-width: 92%; background: #fffde0; box-shadow: inset 0 0 0 2px var(--lime); }
.ct-msg { font-size: 15px; white-space: normal; }

.ct-input { border-top: 1px solid var(--border); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 76px; background: #fff; }
.ct-input input, .ct-input textarea { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; font-size: 16px; background: #faf8fd; color: var(--ink); outline: none; resize: none; }
.ct-input input:focus, .ct-input textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px #5530831f; }
.ct-send { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 22px/1 Arial, sans-serif; flex-shrink: 0; }
.ct-send:hover { background: var(--purple); }
.ct-skip-btn { background: none; color: var(--muted); font-size: 14px; padding: 8px 6px; }
.ct-skip-btn:hover { color: var(--purple); }
.ct-opts { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.ct-opt { padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #cfc3e0; font-size: 15px; font-weight: 500; transition: background .2s, color .2s, box-shadow .2s; }
.ct-opt:hover { box-shadow: inset 0 0 0 2px var(--purple); }
.ct-opt[aria-pressed="true"] { background: var(--purple); color: #fff; box-shadow: none; }
.ct-opt[aria-pressed="true"]::before { content: '✓ '; }
.ct-none, .ct-other { background: #f6f3fa; }
.ct-row { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.ct-next-btn { padding: 12px 22px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; transition: opacity .2s; }
.ct-next-btn:disabled { opacity: .35; cursor: not-allowed; }
.ct-final { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.ct-out { flex: 1 1 180px; display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; transition: translate .2s, box-shadow .2s; }
.ct-out:hover { translate: 0 -3px; box-shadow: 0 12px 24px rgb(42 22 77 / .15); }
.ct-out.wa { background: #25d366; color: #0b2e18; } .ct-out.mail { background: var(--ink); color: #fff; } .ct-out.copy { background: #f1ecf8; color: var(--ink); justify-content: center; flex-basis: 120px; }
.ct-out span { font: 22px/1 Arial, sans-serif; }
.ct-noscript { padding: 20px; }

/* ======================= offices ======================= */
.ct-offices { padding: 40px 0 110px; }
.ct-off-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-off { position: relative; overflow: hidden; border-radius: 26px; padding: 40px; min-height: 280px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.ct-off + .ct-off { background: #e3dbf3; color: var(--ink); }
.ct-off-en { font-size: 12px; letter-spacing: 3px; opacity: .7; }
.ct-off h3 { font-size: clamp(40px, 4.6vw, 70px); line-height: 1.15; }
.ct-off-time { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.ct-off-time b { font-size: 30px; font-variant-numeric: tabular-nums; color: var(--lime); }
.ct-off + .ct-off .ct-off-time b { color: var(--purple); }
.ct-off-time span { font-size: 14px; opacity: .75; }
.ct-off-big { position: absolute; top: -30px; left: 10px; font: 700 220px/1 'IBM Plex Sans Arabic', Arial, sans-serif; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .16); letter-spacing: -8px; }
.ct-off + .ct-off .ct-off-big { -webkit-text-stroke-color: rgb(85 48 131 / .18); }

/* ======================= next ======================= */
.ct-next { padding: 40px 0 130px; }
.ct-next-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.ct-next-list li { padding: 30px 0 0 30px; position: relative; }
.ct-next-list li::before { content: ''; position: absolute; top: -8px; right: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--ink); }
.ct-n { font-size: 14px; color: var(--purple); font-weight: 700; letter-spacing: 1px; }
.ct-next-list h3 { font-size: 24px; margin: 10px 0 8px; }
.ct-next-list p { color: #5d5168; }

/* ======================= responsive ======================= */
@media (max-width: 1000px) {
  .ct-hero-inner, .ct-chat-grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-chat-side { position: static; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .ct-hero { padding: 56px 0 60px; }
  .ct-line { padding: 14px 16px; gap: 14px; border-radius: 16px; }
  .ct-ic { width: 46px; height: 46px; border-radius: 12px; }
  .ct-line-txt b { font-size: 17px; }
  .ct-chat-sec { padding: 80px 0; }
  .ct-chat { min-height: 500px; border-radius: 22px; }
  .ct-log { padding: 18px 14px; max-height: 420px; }
  .ct-b { max-width: 90%; font-size: 15px; }
  .ct-opt { font-size: 14px; padding: 9px 13px; }
  .ct-off-grid, .ct-next-list { grid-template-columns: 1fr; }
  .ct-off { padding: 28px; min-height: 220px; }
  .ct-off-big { font-size: 160px; }
  .ct-next-list li { padding: 26px 0 24px; border-bottom: 1px solid var(--border); }
}
