/* =====================================================================
   Socivio — "Talk to us" page
   ===================================================================== */
.talk-hero .lead { max-width: 520px; }
.talk-badges { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.talk-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; font-size: .84rem; font-weight: 700; background: var(--card); border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(79, 70, 229, .08); }
.talk-badges i { color: var(--acc1); } .talk-badges li:nth-child(2) i { color: #ec4899; } .talk-badges li:nth-child(3) i { color: #10b981; }

/* chat mock-up */
.chat-card { position: relative; max-width: 470px; margin-left: auto; border-radius: 30px; overflow: hidden; background: var(--card); border: 1px solid var(--border);
    box-shadow: 0 46px 90px rgba(79, 70, 229, .25), 0 10px 24px rgba(15, 23, 42, .08); transform: rotate(1.5deg); transition: transform .5s; }
.chat-card:hover { transform: rotate(0); }
.cc-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.cc-av { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .4); }
.cc-head b { display: block; font-size: 1rem; } .cc-head small { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; opacity: .9; }
.cc-head small i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .3); animation: livepulse 2s infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
.cc-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; min-height: 290px; background: radial-gradient(260px 160px at 100% 0%, var(--acc-soft), transparent 70%), var(--bg); }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 20px; font-size: .9rem; line-height: 1.5; box-shadow: 0 6px 16px rgba(15, 23, 42, .06); animation: bubbleIn .6s cubic-bezier(.2, .8, .2, 1.2) both; }
.bubble.them { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--card); border: 1px solid var(--border); }
.bubble.me { align-self: flex-end; border-bottom-right-radius: 6px; color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.bubble:nth-child(2) { animation-delay: .5s; } .bubble:nth-child(3) { animation-delay: 1s; } .bubble:nth-child(4) { animation-delay: 1.5s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.bubble.typing { display: inline-flex; gap: 5px; padding: 14px 18px; } .bubble.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); opacity: .5; animation: typing 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; } .bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 30% { transform: translateY(-5px); opacity: 1; } }
.cc-input { display: flex; align-items: center; justify-content: space-between; margin: 0 18px 18px; padding: 12px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); color: var(--text-muted); font-size: .86rem; }
.cc-input i { font-size: 1.5rem; color: var(--acc1); animation: floaty 2.4s ease-in-out infinite; }

/* channel cards */
.chan { position: relative; height: 100%; display: flex; flex-direction: column; padding: 26px; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--tb) 40%, var(--card))); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s, border-color .3s; }
.chan::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--tb), transparent 70%); transition: transform .5s; }
.chan:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--t) 45%, var(--border)); box-shadow: 0 28px 52px var(--tb); } .chan:hover::after { transform: scale(1.5); }
.chan-ico { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, var(--t), var(--t2)); box-shadow: 0 12px 24px var(--tb); transition: transform .35s; }
.chan:hover .chan-ico { transform: rotate(-8deg) scale(1.08); }
.chan small { position: relative; z-index: 1; font-weight: 800; font-size: .72rem; letter-spacing: .9px; text-transform: uppercase; color: var(--t); }
.chan b { position: relative; z-index: 1; display: block; margin: 4px 0; font-size: 1.1rem; letter-spacing: -.3px; color: var(--text); word-break: break-word; }
.chan a { position: relative; z-index: 1; } .chan a:hover b { color: var(--t); }
.chan em { position: relative; z-index: 1; font-style: normal; color: var(--text-muted); font-size: .86rem; }

/* what happens next + quick links */
.talk-h { font-size: 1.25rem; font-weight: 800; letter-spacing: -.4px; margin-bottom: 18px; }
.next-steps { position: relative; padding-left: 4px; }
.ns-item { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.ns-item:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: repeating-linear-gradient(var(--acc1) 0 5px, transparent 5px 10px); opacity: .45; }
.ns-num { flex: none; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); box-shadow: 0 10px 22px rgba(99, 102, 241, .35); }
.ns-item b { display: flex; align-items: center; gap: 8px; margin-top: 2px; } .ns-item b i { color: var(--acc1); }
.ns-item p { margin: 3px 0 0; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-links a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; font-weight: 700; font-size: .88rem; color: var(--text); background: var(--card); border: 1px solid var(--border); transition: all .2s; }
.quick-links a > i:first-child { color: var(--acc1); font-size: 1.05rem; } .quick-links .ql-go { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all .2s; color: var(--acc1); }
.quick-links a:hover { border-color: var(--acc1); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(79, 70, 229, .12); } .quick-links a:hover .ql-go { opacity: 1; transform: none; }

/* form */
.talk-form { padding: 36px; position: relative; overflow: hidden; }
.talk-form::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #22d3ee, #6366f1, #d946ef); }
.tf-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; } .tf-head h4 { margin: 0; font-weight: 800; letter-spacing: -.4px; } .tf-head small { color: var(--text-muted); }
.tf-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--acc1), var(--acc2)); box-shadow: 0 12px 24px rgba(99, 102, 241, .35); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips label { margin: 0; cursor: pointer; } .topic-chips input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 30px; font-size: .84rem; font-weight: 700; color: var(--text-muted); background: var(--card-2); border: 1px solid var(--border); transition: all .2s; }
.topic-chips span:hover { color: var(--text); border-color: var(--acc1); }
.topic-chips input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--acc1), var(--acc2)); box-shadow: 0 10px 20px rgba(99, 102, 241, .35); }
.topic-chips input:focus-visible + span { outline: 3px solid var(--acc-soft); outline-offset: 2px; }
.opt { color: var(--text-muted); font-weight: 600; font-size: .75rem; }
.field { position: relative; } .field > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); transition: color .2s; pointer-events: none; }
.field.area > i { top: 18px; transform: none; }
.field .form-control { padding: .8rem 1rem .8rem 2.7rem; border-radius: 14px; background: var(--card-2); border: 1px solid var(--border); color: var(--text); transition: all .2s; }
.field .form-control:focus { background: var(--card); border-color: var(--acc1); box-shadow: 0 0 0 4px var(--acc-soft); } .field:focus-within > i { color: var(--acc1); }
.tf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; } .tf-foot small { color: var(--text-muted); max-width: 300px; line-height: 1.5; } .tf-foot a { color: var(--acc1); font-weight: 600; }
.talk-form .alert { border-radius: 16px; border: 0; font-weight: 600; }

@media (max-width: 991px) { .chat-card { margin: 0 auto; transform: none; } }
@media (max-width: 575px) { .talk-form { padding: 24px 20px; } .quick-links { grid-template-columns: 1fr; } .bubble { max-width: 92%; } }
@media (prefers-reduced-motion: reduce) { .bubble, .cc-input i, .cc-head small i, .bubble.typing span { animation: none; } }
