/* =========================================================
   Aarohi v2: Mangalam Landmarks voice + chat assistant
   Built from the site's own language: charcoal + red bindu,
   Jost + Cormorant Garamond, the grid-pattern dark sections,
   and the "pill with red round chip" buttons.
   ========================================================= */
#aarohi-root {
  --a-red: #ea1c24; --a-red-deep: #7a0c10; --a-red-hover: #c9151c;
  --a-ink: #232323; --a-ink-2: #2e2e2e; --a-soft: #5c5c5c; --a-mute: #9a9590;
  --a-line: #e7e3df; --a-paper: #fff; --a-mist: #f6f4f1;
  --a-serif: var(--alt-font, "Cormorant Garamond"), Georgia, "Times New Roman", serif;
  --a-sans: var(--primary-font, "Jost"), "Segoe UI", Arial, sans-serif;
  font-family: var(--a-sans); color: var(--a-ink); -webkit-font-smoothing: antialiased;
}
#aarohi-root *, #aarohi-root *::before, #aarohi-root *::after { box-sizing: border-box; }
#aarohi-root button { font-family: inherit; cursor: pointer; }
#aarohi-root :focus-visible { outline: 2px solid var(--a-red); outline-offset: 2px; }
#aarohi-root [hidden] { display: none !important; }

/* WhatsApp stays on the right, stacked just above Aarohi */
.simple-whatsapp-btn { right: 38px !important; left: auto !important; bottom: 112px !important; }
@media (max-width: 520px) { .simple-whatsapp-btn { right: 27px !important; bottom: 96px !important; } }

/* ---------- Bindu orb ---------- */
.a-orb {
  position: relative; flex: none; display: block; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.55) 0 7%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 40% 35%, #ff5a5f 0%, var(--a-red) 42%, var(--a-red-deep) 100%);
  box-shadow: inset -6px -8px 18px rgba(60,0,4,.35), 0 8px 24px rgba(234,28,36,.28);
  transform: scale(var(--a-level, 1)); transition: transform .09s linear;
}

/* ---------- Site-style pill buttons (text + red round chip) ---------- */
.a-pill {
  position: relative; display: flex; align-items: center; width: 100%;
  height: 56px; padding: 0 64px 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: .01em; text-align: left;
  border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.a-pill .a-chipicon {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--a-red); color: #fff; box-shadow: 0 5px 10px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.a-pill .a-chipicon svg { width: 19px; height: 19px; }
.a-pill:hover .a-chipicon { transform: translateY(-50%) scale(1.06); }
.a-pill-dark { background: var(--a-ink); color: #fff; }
.a-pill-dark:hover { background: #000; }
.a-pill-light { background: #fff; color: var(--a-ink); border-color: var(--a-line); }
.a-pill-light:hover { border-color: var(--a-ink); }
.a-pill-light .a-chipicon { background: var(--a-mist); color: var(--a-ink); box-shadow: none; }

/* ---------- Launcher ---------- */
.a-launcher {
  position: fixed; right: 20px; bottom: 22px; z-index: 2147483000;
  display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.a-launcher-label {
  order: -1; background: var(--a-ink); color: #fff; font-size: 15px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 6px 18px rgba(0,0,0,.18); white-space: nowrap;
  transition: opacity .3s ease, transform .3s ease;
}
.a-launcher-label.a-hide { opacity: 0; transform: translateX(8px); pointer-events: none; }
.a-launcher:hover .a-launcher-label { opacity: 1; transform: none; }
#aarohi-root.a-open .a-launcher { opacity: 0; pointer-events: none; transform: scale(.8); }
@keyframes a-breathe-unused { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes a-ring { 0%,100% { opacity: .2; transform: scale(.94); } 50% { opacity: .9; transform: scale(1.04); } }

/* ---------- Panel ---------- */
.a-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 2147483001;
  width: 400px; height: min(680px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: var(--a-paper);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(20,10,10,.28), 0 2px 8px rgba(0,0,0,.08);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transform-origin: bottom right;
  transition: opacity .24s ease, transform .24s cubic-bezier(.2,.8,.2,1);
}
#aarohi-root.a-open .a-panel { opacity: 1; transform: none; pointer-events: auto; }
.a-grid {
  background-color: var(--a-ink);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Header */
.a-head { position: relative; flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; color: #fff; }
.a-head .a-orb { width: 36px; height: 36px; box-shadow: inset -3px -4px 8px rgba(60,0,4,.35); }
.a-head-text { flex: 1; min-width: 0; line-height: 1.15; }
.a-head-name { font-family: var(--a-serif); font-size: 26px; font-weight: 600; }
.a-head-sub { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 3px; white-space: nowrap; }
.a-head-sub img { height: 13px; width: auto; opacity: .85; }
.a-dot-live { width: 7px; height: 7px; border-radius: 50%; background: #3ccf6e; flex: none; }
.a-icon-btn {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 0; color: #fff; text-decoration: none; transition: background .15s;
}
.a-icon-btn:hover { background: rgba(255,255,255,.18); }
.a-icon-btn svg { width: 18px; height: 18px; }

.a-body { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }

/* ---------- Home ---------- */
.a-home { flex: 1; overflow-y: auto; display: flex; flex-direction: column; padding: 30px 26px 16px; }
.a-home-top { display: flex; align-items: center; gap: 18px; }
.a-home-top .a-orb { width: 74px; height: 74px; animation: a-breathe 5s ease-in-out infinite; }
.a-kicker { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--a-soft); }
.a-kicker::before { content: ""; width: 34px; height: 1px; background: var(--a-red); }
.a-hello { font-family: var(--a-serif); font-weight: 500; font-size: 40px; line-height: 1; margin: 6px 0 0; color: var(--a-ink); }
.a-intro { font-size: 15.5px; line-height: 1.6; color: var(--a-soft); margin: 22px 0 24px; max-width: 34ch; }
.a-actions { display: grid; gap: 10px; }
.a-suggest { margin-top: 24px; }
.a-suggest-title { font-size: 13px; color: var(--a-mute); margin-bottom: 10px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.a-chip {
  background: var(--a-mist); border: 1px solid transparent; color: var(--a-ink);
  font-size: 13.5px; padding: 8px 14px; border-radius: 999px; transition: border-color .15s, background .15s;
}
.a-chip:hover { border-color: var(--a-red); background: #fff; }
.a-fine { font-size: 11.5px; color: var(--a-mute); margin-top: auto; padding-top: 22px; line-height: 1.5; }

/* ---------- Thread (chat) ---------- */
.a-thread { flex: 1; min-height: 0; overflow-y: auto; display: none; padding: 18px 16px 8px; }
#aarohi-root.a-live .a-home { display: none; }
#aarohi-root.a-live .a-thread { display: block; }
.a-msg { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 10px; }
.a-msg-user { justify-content: flex-end; }
.a-msg-agent .a-av { width: 22px; height: 22px; margin-bottom: 4px; box-shadow: inset -2px -3px 5px rgba(60,0,4,.35); }
.a-msg-agent.a-cont .a-av { visibility: hidden; }
.a-bubble { max-width: 80%; font-size: 15px; line-height: 1.5; padding: 10px 14px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.a-msg-agent .a-bubble { background: var(--a-mist); border-bottom-left-radius: 6px; }
.a-msg-user .a-bubble { background: var(--a-ink); color: #fff; border-bottom-right-radius: 6px; }
.a-bubble a { color: var(--a-red); }
.a-msg-user .a-bubble a { color: #fff; }
.a-typing .a-bubble { display: inline-flex; gap: 5px; padding: 14px 16px; }
.a-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9b3ad; animation: a-dot 1.2s infinite; }
.a-typing i:nth-child(2) { animation-delay: .15s; } .a-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes a-dot { 0%,60%,100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.a-note { text-align: center; font-size: 12.5px; color: var(--a-mute); margin: 6px 0 12px; }

/* Project card, modelled on the site's project tiles */
.a-card { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px 30px; padding: 14px 12px 14px 16px; border: 1px solid var(--a-line); border-radius: 18px; background: #fff; text-decoration: none; color: inherit; transition: border-color .15s; }
.a-card:hover { border-color: var(--a-ink); }
.a-card-text { flex: 1; min-width: 0; }
.a-card-title { font-family: var(--a-serif); font-size: 23px; font-weight: 600; line-height: 1.05; color: var(--a-ink); }
.a-card-sub { font-size: 13px; color: var(--a-soft); margin-top: 4px; }
.a-card-go { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--a-red); color: #fff; display: flex; align-items: center; justify-content: center; }
.a-card-go svg { width: 17px; height: 17px; }

/* Quick replies above the composer */
.a-quick { flex: none; display: none; gap: 8px; overflow-x: auto; padding: 4px 14px 8px; scrollbar-width: none; }
.a-quick::-webkit-scrollbar { display: none; }
.a-quick .a-chip { flex: none; }
#aarohi-root.a-live.a-fresh .a-quick { display: flex; }

/* Composer */
.a-composer { flex: none; display: none; align-items: flex-end; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--a-line); background: #fff; }
#aarohi-root.a-live .a-composer { display: flex; }
.a-input { flex: 1; resize: none; border: 1px solid var(--a-line); border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 15px; line-height: 1.4; color: var(--a-ink); max-height: 110px; background: var(--a-mist); outline: none; }
.a-input:focus { border-color: var(--a-ink); background: #fff; }
.a-round { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 0; display: inline-flex; align-items: center; justify-content: center; }
.a-round svg { width: 19px; height: 19px; }
.a-send { background: var(--a-red); color: #fff; }
.a-send:hover { background: var(--a-red-hover); }
.a-send:disabled { background: #e9dfdf; cursor: default; }
.a-mic { background: var(--a-ink); color: #fff; }
.a-mic:hover { background: #000; }

.a-error { margin: 0 16px 10px; padding: 10px 14px; border-radius: 12px; background: #fdecec; color: #8a1016; font-size: 13.5px; line-height: 1.45; display: none; }
.a-error.a-show { display: block; }

/* ---------- Call: compact bar (transcript view) ---------- */
.a-callbar { flex: none; display: none; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; color: #fff; }
#aarohi-root.a-call .a-callbar { display: flex; }
#aarohi-root.a-call.a-full .a-callbar { display: none; }
.a-callbar .a-orb { width: 30px; height: 30px; }
.a-callbar-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.2; }
.a-callbar-text small { display: block; color: rgba(255,255,255,.6); font-size: 12px; margin-top: 2px; }
.a-callbtn { height: 36px; min-width: 36px; padding: 0 12px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; color: #fff; background: rgba(255,255,255,.1); }
.a-callbtn svg { width: 17px; height: 17px; }
.a-callbtn:hover { background: rgba(255,255,255,.2); }
.a-callbtn.a-red { background: var(--a-red); }
.a-callbtn.a-red:hover { background: var(--a-red-hover); }

/* ---------- Call: immersive full view ---------- */
.a-callfull { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; color: #fff; padding: 22px 24px 26px; }
#aarohi-root.a-call.a-full .a-callfull { display: flex; }
.a-cf-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.7); }
.a-timer { font-variant-numeric: tabular-nums; }
.a-cf-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.a-cf-orb { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.a-cf-orb .a-orb { width: 128px; height: 128px; box-shadow: inset -10px -12px 26px rgba(60,0,4,.4), 0 0 60px rgba(234,28,36,.45); }
.a-cf-orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(234,28,36,.35); transform: scale(var(--a-halo, 1)); transition: transform .12s linear; }
.a-cf-orb i:nth-child(2) { inset: 18px; border-color: rgba(234,28,36,.5); transform: scale(calc(var(--a-halo, 1) * .98)); }
.a-cf-orb i:nth-child(3) { inset: -22px; border-color: rgba(234,28,36,.18); transform: scale(calc(var(--a-halo, 1) * 1.02)); }
.a-cf-name { font-family: var(--a-serif); font-size: 34px; font-weight: 500; margin-top: 18px; }
.a-cf-status { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 4px; min-height: 20px; }
.a-caption { margin-top: 18px; max-width: 32ch; min-height: 3.2em; text-align: center; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.92); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.a-cf-controls { display: flex; align-items: center; gap: 18px; }
.a-cf-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.a-cf-btn svg { width: 22px; height: 22px; }
.a-cf-btn:hover { background: rgba(255,255,255,.2); }
.a-cf-btn[aria-pressed="true"] { background: #fff; color: var(--a-ink); }
.a-cf-end { width: 76px; border-radius: 999px; background: var(--a-red); }
.a-cf-end:hover { background: var(--a-red-hover); }
.a-cf-labels { display: flex; gap: 18px; margin-top: 8px; font-size: 11.5px; color: rgba(255,255,255,.55); }
.a-cf-labels span { width: 56px; text-align: center; }
.a-cf-labels span:nth-child(2) { width: 76px; }

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
  .a-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; }
  .a-launcher-label { display: none; }
  .a-hello { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  #aarohi-root *, #aarohi-root *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Aarohi photo avatar
   ========================================================= */
.a-ava { position: relative; flex: none; display: block; border-radius: 50%; overflow: hidden; background: var(--a-mist); }
.a-ava img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; user-select: none;
}

.a-ava-face img { object-position: 50% 30%; }

/* Greeting: a small, warm nod */

/* Listening: slow attentive breathing; speaking: she gently "leans in" with her voice */

.a-ava.a-speaking { box-shadow: 0 0 0 4px var(--a-red), 0 0 calc(30px + 40px * (var(--a-level, 1) - 1) * 20) rgba(234,28,36,.55) !important; }

@keyframes ap-breathe { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 0 -1px; scale: 1.012; } }
@keyframes ap-nod { 0%, 100% { translate: 0 0; } 40% { translate: 0 2px; } }

/* Launcher: frameless cut-out, the page shows around her */
.a-ava-launch {
  width: 100px; height: 94px; border-radius: 0; background: transparent; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}
.a-ava-launch img { filter: drop-shadow(0 4px 8px rgba(0,0,0,.28)); object-fit: contain; object-position: 50% 100%; transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.9,.25,1.12); }
.a-launcher.a-in .a-ava-launch img { transform: none; }
.a-launcher .a-ava-launch { transition: transform .25s ease; transform-origin: 50% 100%; }
.a-launcher:hover .a-ava-launch { transform: scale(1.05); }
.a-launcher { bottom: 0; right: 10px; align-items: flex-end; }
.a-launcher-label { margin-bottom: 40px; }
@media (max-width: 520px) { .a-ava-launch { width: 84px; height: 79px; } .a-launcher { right: 6px; } }

.a-ava-head { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.a-ava-home { width: 96px; height: 96px; background: #efe9e2; box-shadow: 0 0 0 1px var(--a-line); }
.a-ava-home img, .a-ava-call img { object-fit: cover; object-position: 50% 0; }
.a-ava-bar { width: 32px; height: 32px; }
.a-msg-agent .a-av { width: 28px; height: 28px; margin-bottom: 2px; box-shadow: none; }
.a-ava-call { width: 156px; height: 156px; background: #efe9e2; box-shadow: 0 0 0 4px rgba(234,28,36,.9), 0 0 50px rgba(234,28,36,.3); transition: box-shadow .12s linear; }
.a-cf-orb { width: 224px; height: 224px; }
.a-home-top { align-items: center; }

.simple-whatsapp-btn { right: 40px !important; left: auto !important; bottom: 104px !important; }
@media (max-width: 520px) { .simple-whatsapp-btn { right: 28px !important; bottom: 92px !important; } }

@media (prefers-reduced-motion: reduce) { .a-ava img { animation: none !important; transition: none !important; } }

/* Video clips sit over the photo and cross-fade */
.a-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.a-vid.a-on { opacity: 1; }

/* Photo puppet canvas sits exactly over the photo */
.a-ava canvas.a-pup { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; }
.a-ava.a-pup-on canvas.a-pup { opacity: 1; }
.a-ava.a-pup-on > img { visibility: hidden; }
.a-ava-launch canvas.a-pup { object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.28));
  transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.9,.25,1.12); }
.a-launcher.a-in .a-ava-launch canvas.a-pup { transform: none; }

/* Waveform + glow: 2026-style voice feedback instead of a moving mouth */
.a-wave { width: 220px; height: 44px; margin-top: 18px; display: block; }
.a-ava-call { transition: box-shadow .12s linear; }
.a-ava-call.a-listening { box-shadow: 0 0 0 4px rgba(255,255,255,calc(.35 + var(--a-in, 0) * .6)), 0 0 calc(24px + var(--a-in, 0) * 40px) rgba(255,255,255,calc(var(--a-in, 0) * .35)) !important; }
.a-cf-name { margin-top: 10px; }

/* Call screen fits any screen height: portrait, waveform and spacing shrink on short screens */
.a-callfull { overflow-y: auto; }
.a-cf-stage { min-height: 0; }
.a-cf-orb { width: min(224px, 30vh); height: min(224px, 30vh); flex: none; }
.a-ava-call { width: min(156px, 21vh); height: min(156px, 21vh); }
.a-cf-name { font-size: clamp(26px, 4.2vh, 34px); }
.a-caption { -webkit-line-clamp: 3; }
@media (max-height: 760px) {
  .a-callfull { padding: 14px 20px 16px; }
  .a-wave { margin-top: 10px; height: 36px; width: 200px; }
  .a-cf-name { margin-top: 6px; }
  .a-caption { margin-top: 10px; font-size: 15px; min-height: 0; }
  .a-cf-btn { width: 50px; height: 50px; }
  .a-cf-end { width: 68px; }
  .a-cf-labels span { width: 50px; } .a-cf-labels span:nth-child(2) { width: 68px; }
}
@media (max-height: 620px) {
  .a-cf-top { display: none; }
  .a-caption { -webkit-line-clamp: 2; }
  .a-cf-labels { display: none; }
}

/* v16: never let call-screen parts overlap. The stage keeps its natural size and the screen scrolls instead. */
.a-cf-stage { flex: 1 0 auto; justify-content: center; padding: 6px 0; }
.a-cf-orb i:nth-child(3) { inset: -14px; }
@media (max-height: 700px) {
  .a-cf-top { display: none; }
  .a-cf-orb { width: min(180px, 26vh); height: min(180px, 26vh); }
  .a-ava-call { width: min(124px, 18vh); height: min(124px, 18vh); }
  .a-wave { margin-top: 8px; height: 30px; }
  .a-cf-labels { display: none; }
  .a-cf-controls { margin-top: 6px; }
}

/* v17: shield the chatbot from the website's own styles (section padding, headings, buttons, links) */
#aarohi-root .a-panel { padding: 0 !important; margin: 0 !important; }
#aarohi-root div, #aarohi-root span, #aarohi-root p, #aarohi-root a, #aarohi-root button, #aarohi-root textarea {
  letter-spacing: normal; text-transform: none; text-shadow: none; line-height: inherit;
}
#aarohi-root .a-panel, #aarohi-root .a-launcher { line-height: 1.4; }
#aarohi-root p { margin: 0; }
#aarohi-root .a-intro { margin: 22px 0 24px; }
#aarohi-root .a-fine { margin: auto 0 0; }
#aarohi-root .a-hello { font-family: var(--a-serif); font-weight: 500; font-size: 40px; line-height: 1; color: var(--a-ink); margin: 6px 0 0; }
#aarohi-root button { min-width: 0; box-shadow: none; text-decoration: none; }
#aarohi-root .a-pill-dark, #aarohi-root .a-pill-light { box-shadow: none; }
#aarohi-root a:hover { text-decoration: none; }
#aarohi-root img, #aarohi-root canvas, #aarohi-root video { max-width: none; }
@media (max-width: 520px) { #aarohi-root .a-hello { font-size: 36px; } }

/* Voice limit reached: mic button looks inactive */
#aarohi-root .a-mic.a-mic-off { background: var(--a-mist); color: #b9b3ad; }

/* "Open website" card shown on the call screen (browsers block automatic tabs during a voice call) */
#aarohi-root .a-cf-link { width: 100%; max-width: 330px; display: none; margin-top: 12px; }
#aarohi-root .a-cf-link.a-show { display: block; animation: a-pop .35s cubic-bezier(.2,.9,.25,1.15); }
#aarohi-root .a-card-call { margin: 0; background: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
#aarohi-root .a-card-call .a-card-title { font-size: 19px; }
#aarohi-root .a-card-call .a-card-go { width: 42px; height: 42px; animation: a-nudge 1.6s ease-in-out infinite; }
@keyframes a-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes a-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(234,28,36,.5); } 50% { box-shadow: 0 0 0 8px rgba(234,28,36,0); } }
/* while the open-website card is up, it takes the caption's place so the call buttons stay visible */
#aarohi-root.a-has-link .a-caption { display: none; }
#aarohi-root .a-card-call { padding: 10px 10px 10px 14px; }
#aarohi-root .a-card-call .a-card-title { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#aarohi-root .a-card-call .a-card-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Lead card (confirm name + mobile, then sent to MDOC via crm-bridge.php) */
#aarohi-root .a-lead { margin: 4px 0 12px 34px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--a-line); }
#aarohi-root .a-cf-link .a-lead { margin: 0; border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.35); text-align: left; }
#aarohi-root .a-lead-title { font-family: var(--a-serif); font-size: 19px; font-weight: 600; color: var(--a-ink); line-height: 1.2; margin-bottom: 10px; }
#aarohi-root .a-lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#aarohi-root .a-lead-in { width: 100%; min-width: 0; height: 40px; border: 1px solid var(--a-line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14.5px; color: var(--a-ink); background: var(--a-mist); outline: none; }
#aarohi-root .a-lead-in:focus { border-color: var(--a-ink); background: #fff; }
#aarohi-root .a-lead-msg { font-size: 12px; color: var(--a-soft); margin: 8px 0 10px; line-height: 1.4; }
#aarohi-root .a-lead-row { display: flex; gap: 8px; }
#aarohi-root .a-lead-ok { flex: 1; height: 42px; border: 0; border-radius: 999px; background: var(--a-red); color: #fff; font-size: 15px; font-weight: 500; }
#aarohi-root .a-lead-ok:hover { background: var(--a-red-hover); }
#aarohi-root .a-lead-ok:disabled { opacity: .7; }
#aarohi-root .a-lead-wa { flex: none; height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--a-ink); color: #fff !important; text-decoration: none; font-size: 14.5px; }
#aarohi-root .a-lead-done { border-color: #bfe3c9; background: #f3fbf5; }
#aarohi-root .a-lead-done .a-lead-msg { color: #1d6b3a; font-size: 14px; margin-top: 0; }
@media (max-width: 380px) { #aarohi-root .a-lead-fields { grid-template-columns: 1fr; } }
/* While a card is on the call screen, shrink the portrait so the card and call buttons both fit */
#aarohi-root.a-has-link .a-cf-orb { width: 130px; height: 130px; }
#aarohi-root.a-has-link .a-ava-call { width: 96px; height: 96px; }
#aarohi-root.a-has-link .a-cf-orb i:nth-child(3) { inset: -6px; }
#aarohi-root.a-has-link .a-wave, #aarohi-root.a-has-link .a-cf-name { display: none; }
#aarohi-root.a-has-link .a-cf-top { display: none; }