/* ====================================================
   Youlise Agency — premium dark theme
   ==================================================== */

:root{
  --brand:#0BB4FF;
  --brand-light:#5CD2FF;
  --brand-glow:#00E0FF;
  --ink-900:#06070A;
  --ink-800:#0A0C12;
  --ink-700:#10131B;
  --ink-600:#161A24;
}

*{ -webkit-tap-highlight-color: transparent; }
html{ scroll-behavior: smooth; }
body{ cursor: none; }
@media (max-width: 900px){ body{ cursor: auto; } .cursor-dot,.cursor-ring{ display:none; } }

::selection{ background: var(--brand); color: var(--ink-900); }

/* ---------- Background ---------- */
.grid-bg{
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.noise{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ---------- Cursor ---------- */
.cursor-dot,.cursor-ring{
  position: fixed; top:0; left:0; pointer-events:none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: transform .15s ease-out;
}
.cursor-dot{ width: 6px; height:6px; background: var(--brand); box-shadow: 0 0 14px var(--brand); }
.cursor-ring{ width: 38px; height: 38px; border: 1px solid rgba(11,180,255,.45); transition: transform .25s ease-out, width .25s, height .25s, border-color .25s; }
.cursor-ring.hover{ width: 70px; height: 70px; border-color: var(--brand); background: rgba(11,180,255,.08); }

/* ---------- Nav scrolled ---------- */
#nav.scrolled{
  background: rgba(6,7,10,0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---------- Reveal ---------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity: 1; transform: none; }
.reveal:nth-child(2){ transition-delay: .06s; }
.reveal:nth-child(3){ transition-delay: .12s; }
.reveal:nth-child(4){ transition-delay: .18s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition: none; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Hero glow text ---------- */
.glow-text{
  text-shadow: 0 0 28px rgba(11,180,255,0.5), 0 0 60px rgba(11,180,255,0.25);
}

/* ---------- Hero logo orbit (background rings) ---------- */
.logo-orbit{
  position: relative;
  width: clamp(560px, 80vw, 1100px);
  aspect-ratio: 1;
  opacity: .55;
}
.ring{
  position: absolute; inset: 0;
  border: 1px dashed rgba(11,180,255,.18);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.ring-1{ inset: 8%; animation-duration: 60s; }
.ring-2{ inset: 18%; animation-duration: 45s; animation-direction: reverse; border-color: rgba(11,180,255,.12); }
.ring-3{ inset: 28%; animation-duration: 30s; border-style: solid; border-color: rgba(11,180,255,.06); }
@keyframes spin{ to { transform: rotate(360deg); } }

/* ---------- Hero logo showcase ---------- */
.hero-logo-stage{
  position: relative;
  width: clamp(340px, 46vw, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-logo-glow{
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(11,180,255,.55), transparent 60%);
  filter: blur(40px);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow{
  0%,100%{ opacity: .8; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.08); }
}
.hero-logo{
  position: relative; z-index: 2;
  width: 92%;
  height: auto;
  animation: floatLogo 6s ease-in-out infinite;
  filter: drop-shadow(0 25px 55px rgba(11,180,255,0.5));
}
.hero-logo-fallback{
  position: relative; z-index: 2;
  width: 92%; aspect-ratio: 1;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(140px, 22vw, 260px);
  color: var(--brand);
  filter: drop-shadow(0 20px 40px rgba(11,180,255,0.4));
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo{
  0%,100%{ transform: translateY(0) rotate(0); }
  50%   { transform: translateY(-14px) rotate(2deg); }
}

.float-tag{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 500;
  background: rgba(11,180,255,0.08);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(11,180,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: floatTag 5s ease-in-out infinite;
  animation-delay: var(--d);
  white-space: nowrap;
  z-index: 3;
}
@keyframes floatTag{
  0%,100%{ transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))); }
  50%   { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 12px)); }
}

/* ---------- Scroll cue ---------- */
.scroll-line{
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--brand), transparent);
  background-size: 100% 200%;
  animation: scrollLine 2s linear infinite;
}
@keyframes scrollLine{
  0%{ background-position: 0 -100%; }
  100%{ background-position: 0 100%; }
}

/* ---------- Marquee ---------- */
.marquee{ overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track{
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-track:hover{ animation-play-state: paused; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* ---------- Service Cards ---------- */
.service-card{
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s, background .4s;
  min-height: 280px;
}
.service-card:hover{
  transform: translateY(-4px);
  border-color: rgba(11,180,255,0.4);
  background: linear-gradient(180deg, rgba(11,180,255,0.06), rgba(11,180,255,0.01));
}
.service-card::before{
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(11,180,255,0), rgba(11,180,255,.4), rgba(11,180,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
  pointer-events: none;
}
.service-card:hover::before{ opacity: 1; }

.service-tag{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(11,180,255,.85);
  margin-bottom: 18px;
}
.service-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.service-list{
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.78);
}
.service-list li{ display: flex; gap: 8px; align-items: center; }
.service-list .i{ width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

.service-list-grid{
  font-size: 14px; color: rgba(255,255,255,.78);
}
.service-list-grid li{
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.service-list-grid .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 10px var(--brand);
  flex-shrink: 0;
}

.service-arrow{
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  transition: all .3s;
  display: grid; place-items: center;
}
.service-arrow::after{
  content: ''; width: 12px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'><path stroke-linecap='round' stroke-linejoin='round' d='M17 8l4 4m0 0l-4 4m4-4H3'/></svg>") center/contain no-repeat;
  transition: transform .3s;
}
.service-card:hover .service-arrow{
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(-45deg);
}
.service-card:hover .service-arrow::after{
  filter: brightness(0);
}

/* Code window decoration */
.service-visual{ margin-top: 26px; }
.code-window{
  border-radius: 14px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cw-header{
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cw-header span{ width: 10px; height: 10px; border-radius: 50%; background: #2d3140; }
.cw-header span:first-child{ background: #ff5f56; }
.cw-header span:nth-child(2){ background: #ffbd2e; }
.cw-header span:nth-child(3){ background: #27c93f; }
.cw-header em{ margin-left: auto; font-style: normal; color: rgba(255,255,255,.4); font-size: 11px; }
.code-window pre{ padding: 14px 16px; margin: 0; color: rgba(255,255,255,.85); line-height: 1.6; }
.code-window .cm{ color: #6b7280; }
.code-window .kw{ color: #c084fc; }
.code-window .vr{ color: var(--brand); }
.code-window .fn{ color: #fbbf24; }
.code-window .st{ color: #34d399; }

/* AI Orb */
.ai-orb{
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand), transparent 40%, var(--brand-glow) 70%, transparent);
  filter: blur(30px); opacity: .5;
  animation: spin 8s linear infinite;
}

/* ---------- Stats ---------- */
.stat-card{
  padding: 26px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .4s;
}
.stat-card:hover{
  border-color: rgba(11,180,255,.4);
  background: linear-gradient(180deg, rgba(11,180,255,0.08), rgba(11,180,255,0.02));
  transform: translateY(-4px);
}
.stat-num{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1; letter-spacing: -0.03em;
  color: white;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-num span:last-child{ color: var(--brand); }
.stat-label{
  margin-top: 10px;
  font-size: 13px; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* Live strip */
.live-strip{
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  overflow: hidden;
  position: relative;
}
.live-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  flex-shrink: 0;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot{ 0%,100%{ opacity:1 } 50%{ opacity:.4 } }
.live-track{
  display: flex; gap: 3rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
}

/* ---------- Steps ---------- */
.step-card{
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .4s;
}
.step-card:hover{
  border-color: rgba(11,180,255,.4);
  transform: translateY(-4px);
}
.step-num{
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--brand);
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(11,180,255,.3);
  background: rgba(11,180,255,.08);
  margin-bottom: 18px;
}
.step-card h4{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.25rem;
  margin-bottom: 8px;
}
.step-card p{
  color: rgba(255,255,255,.6);
  font-size: 14px; line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-item{
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: all .3s;
}
.faq-item[open]{
  border-color: rgba(11,180,255,.35);
  background: rgba(11,180,255,.04);
}
.faq-item summary{
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.05rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  font-size: 1.5rem; font-weight: 400;
  color: var(--brand);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{
  padding: 0 24px 22px;
  color: rgba(255,255,255,.65);
  font-size: 15px; line-height: 1.65;
}

/* ---------- Magnetic CTA bonus animation ---------- */
.magnetic{ will-change: transform; }

/* ====================================================
   TOAST SYSTEM — in-app notifications (no native alert/confirm)
   ==================================================== */
.toast-stack{
  position: fixed;
  top: 100px;
  right: clamp(16px, 3vw, 28px);
  z-index: 200;
  display: flex; flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast-stack > *{ pointer-events: auto; }

.toast{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 280px;
  max-width: 380px;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20,24,34,0.95), rgba(10,12,18,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  color: white;
  font-size: 14px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .45s cubic-bezier(.34,1.3,.64,1), opacity .35s ease;
  position: relative;
  overflow: hidden;
}
.toast.show{
  transform: translateX(0);
  opacity: 1;
}
.toast.out{
  transform: translateX(120%);
  opacity: 0;
}

/* Left color accent bar */
.toast::before{
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
}
.toast.error::before   { background: #ff5b5b; }
.toast.success::before { background: #10b981; }
.toast.warn::before    { background: #fbbf24; }
.toast.info::before    { background: #0BB4FF; }

.toast-ico{
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: rgba(11,180,255,0.12);
  color: var(--brand);
}
.toast-ico svg{ width: 18px; height: 18px; }
.toast.error   .toast-ico{ background: rgba(255,91,91,0.12);  color: #ff5b5b; }
.toast.success .toast-ico{ background: rgba(16,185,129,0.15); color: #10b981; }
.toast.warn    .toast-ico{ background: rgba(251,191,36,0.12); color: #fbbf24; }

.toast-body{ flex: 1; padding-top: 4px; line-height: 1.4; }
.toast-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.toast-msg{
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.toast-close{
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer; padding: 4px;
  display: grid; place-items: center;
  border-radius: 6px;
  transition: all .2s;
  align-self: flex-start;
}
.toast-close:hover{ color: white; background: rgba(255,255,255,0.06); }
.toast-close svg{ width: 14px; height: 14px; }

/* Progress bar for auto-dismiss */
.toast-progress{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-glow));
  transform-origin: left;
  animation: toastProgress var(--dur, 4s) linear forwards;
}
.toast.error   .toast-progress{ background: linear-gradient(90deg, #ff5b5b, #ff8585); }
.toast.success .toast-progress{ background: linear-gradient(90deg, #10b981, #34d399); }
.toast.warn    .toast-progress{ background: linear-gradient(90deg, #fbbf24, #fcd34d); }
@keyframes toastProgress{ to { transform: scaleX(0); } }

@media (max-width: 480px){
  .toast-stack{ top: 80px; right: 12px; left: 12px; }
  .toast{ min-width: 0; max-width: none; }
}

/* ====================================================
   CUSTOM CONFIRM MODAL (replaces native confirm())
   ==================================================== */
.cf-modal{
  position: fixed; inset: 0;
  z-index: 300;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(3,5,9,0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cf-modal.open{ opacity: 1; pointer-events: auto; }
.cf-modal-box{
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(20,24,34,0.98), rgba(10,12,18,1));
  border: 1px solid rgba(255,91,91,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(.95);
  transition: transform .35s cubic-bezier(.34,1.4,.64,1);
}
.cf-modal.open .cf-modal-box{ transform: translateY(0) scale(1); }
.cf-modal-ico{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,91,91,0.12);
  color: #ff5b5b;
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.cf-modal-ico svg{ width: 28px; height: 28px; }
.cf-modal-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.3rem;
  text-align: center; margin: 0 0 8px;
}
.cf-modal-msg{
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 14px; line-height: 1.5;
  margin: 0 0 24px;
}
.cf-modal-actions{
  display: flex; gap: 10px;
}
.cf-modal-btn{
  flex: 1;
  padding: 12px 18px;
  border-radius: 999px;
  border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.cf-modal-cancel{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}
.cf-modal-cancel:hover{ background: rgba(255,255,255,0.1); }
.cf-modal-ok{
  background: linear-gradient(135deg, #ff5b5b, #ef4444);
  color: white;
  box-shadow: 0 8px 24px rgba(255,91,91,0.35);
}
.cf-modal-ok:hover{ filter: brightness(1.1); transform: translateY(-1px); }

/* Slow pulse for hero contact logo */
@keyframes pulseSlow{
  0%,100%{ filter: drop-shadow(0 0 30px rgba(11,180,255,0.45)); transform: scale(1); }
  50%   { filter: drop-shadow(0 0 60px rgba(11,180,255,0.75)); transform: scale(1.03); }
}
.animate-pulse-slow{ animation: pulseSlow 4s ease-in-out infinite; }

/* ====================================================
   AUDIT MODAL — premium form with spring animation
   ==================================================== */
.audit-modal{
  position: fixed; inset: 0;
  z-index: 100;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.audit-modal.open{
  opacity: 1;
  pointer-events: auto;
}
.audit-backdrop{
  position: absolute; inset: 0;
  background: rgba(3,5,9,0.85);
  transition: opacity .3s ease;
}

.audit-shell{
  position: relative;
  width: min(1080px, 100%);
  max-height: min(94vh, 880px);
  display: grid;
  grid-template-columns: 340px 1fr;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(20,24,34,0.92), rgba(10,12,18,0.96));
  border: 1px solid rgba(11,180,255,0.2);
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(11,180,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  will-change: transform, opacity;
}
.audit-modal.open .audit-shell{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Gradient border glow */
.audit-shell::before{
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(11,180,255,.4), transparent 40%, rgba(11,180,255,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

@media (max-width: 880px){
  .audit-shell{
    grid-template-columns: 1fr;
    max-height: 94vh;
  }
}

/* ---- LEFT side ---- */
.audit-side{
  position: relative;
  padding: 36px 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(11,180,255,0.18), transparent 50%),
    linear-gradient(180deg, rgba(11,180,255,0.08), transparent 60%);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.audit-side-content{ position: relative; z-index: 2; }
.audit-side-orb{
  position: absolute;
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,180,255,.6), transparent 70%);
  filter: blur(40px); opacity: .4;
  z-index: 1;
  pointer-events: none;
}
.audit-side-logo{
  display: flex; align-items: center; gap: 12px;
}
.audit-side-logo img{
  height: 70px; width: auto;
  filter: drop-shadow(0 0 28px rgba(11,180,255,0.55));
  animation: floatLogo 5s ease-in-out infinite;
}
.audit-side-wordmark{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: white;
}
.audit-side-fallback{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px; font-weight: 700;
  color: var(--brand);
  line-height: 1;
  filter: drop-shadow(0 0 28px rgba(11,180,255,0.55));
}
.audit-side-title{
  margin-top: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.audit-side-sub{
  margin-top: 12px;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.audit-perks{
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.audit-perks li{
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.audit-perks .perk-i{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(11,180,255,0.15);
  border: 1px solid rgba(11,180,255,.4);
  flex-shrink: 0;
  position: relative;
}
.audit-perks .perk-i::after{
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230BB4FF' stroke-width='3' viewBox='0 0 24 24'><path stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/></svg>") center/12px no-repeat;
}
.audit-stat-mini{
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  position: relative; z-index: 2;
}
.audit-stat-mini div{ display: flex; flex-direction: column; gap: 4px; }
.audit-stat-mini b{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.6rem;
  color: var(--brand);
}
.audit-stat-mini span{
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 880px){
  .audit-side{ display: none; }
}

/* ---- RIGHT side (form) ---- */
.audit-main{
  position: relative;
  padding: 40px 38px 32px;
  overflow-y: auto;
  max-height: 94vh;
}
.audit-main::-webkit-scrollbar{ width: 6px; }
.audit-main::-webkit-scrollbar-thumb{
  background: rgba(11,180,255,0.3);
  border-radius: 6px;
}

.audit-close{
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,.7);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .25s;
  z-index: 4;
}
.audit-close svg{ width: 18px; height: 18px; }
.audit-close:hover{
  background: rgba(255,59,48,0.15);
  border-color: rgba(255,59,48,0.4);
  color: white;
  transform: rotate(90deg);
}

.audit-head{ margin-bottom: 26px; padding-right: 50px; }
.audit-eyebrow{
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.audit-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.audit-desc{
  margin-top: 8px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}

/* ---- FORM ---- */
.audit-form{
  display: flex; flex-direction: column; gap: 18px;
}

.af-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px){ .af-row{ grid-template-columns: 1fr; } }

.af-field{
  position: relative;
  display: block;
}
.af-field input,
.af-field textarea{
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px 14px 8px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .25s, background .25s;
}
.af-field-area textarea{
  padding-top: 22px;
  resize: vertical;
  min-height: 110px;
}
.af-field input:focus,
.af-field textarea:focus{
  border-color: rgba(11,180,255,0.6);
  background: rgba(11,180,255,0.04);
}
.af-label{
  position: absolute;
  left: 14px; top: 14px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  pointer-events: none;
  transition: all .25s cubic-bezier(.2,.7,.2,1);
  transform-origin: left;
}
.af-field input:focus + .af-label,
.af-field input:not(:placeholder-shown) + .af-label,
.af-field textarea:focus + .af-label,
.af-field textarea:not(:placeholder-shown) + .af-label{
  top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.af-bar{
  position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-glow));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.af-field input:focus ~ .af-bar,
.af-field textarea:focus ~ .af-bar{
  transform: scaleX(1);
}

/* Phone field with country selector */
.af-field-phone input[type="text"]{
  padding-left: 108px;
}
.af-field-phone .af-label{
  left: 108px;
}

.af-country-btn{
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,.85);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  transition: all .2s;
  z-index: 2;
  -webkit-touch-callout: none;
  user-select: none;
}
.af-country-btn:hover{
  background: rgba(11,180,255,.1);
  border-color: rgba(11,180,255,.35);
}
.af-country-btn[aria-expanded="true"]{
  background: rgba(11,180,255,.12);
  border-color: var(--brand);
}
.af-flag{
  font-size: 18px;
  line-height: 1;
}
.af-dial{
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: 0.01em;
}
.af-caret{
  width: 12px; height: 12px;
  opacity: .55;
  transition: transform .25s;
}
.af-country-btn[aria-expanded="true"] .af-caret{
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown menu */
.af-country-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, calc(100vw - 40px));
  max-height: 320px;
  background: linear-gradient(160deg, rgba(20,24,34,0.98), rgba(10,12,18,1));
  border: 1px solid rgba(11,180,255,0.3);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(11,180,255,0.1);
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.34,1.4,.64,1);
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.af-country-menu.open{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.af-country-search-wrap{
  position: relative;
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.af-country-search-wrap svg{
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: rgba(255,255,255,.4);
}
.af-country-search{
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.af-country-search:focus{
  border-color: var(--brand);
}

.af-country-list{
  flex: 1;
  overflow-y: auto;
  padding: 4px 6px 10px;
}
.af-country-list::-webkit-scrollbar{ width: 6px; }
.af-country-list::-webkit-scrollbar-thumb{ background: rgba(11,180,255,.3); border-radius: 6px; }

.af-country-item{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.af-country-item:hover,
.af-country-item.focused{
  background: rgba(11,180,255,.08);
  color: #fff;
}
.af-country-item.active{
  background: rgba(11,180,255,.15);
  color: var(--brand);
}
.af-country-item .af-flag{
  font-size: 20px;
}
.af-country-item .name{
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.af-country-item .code{
  font-weight: 600;
  color: rgba(255,255,255,.5);
  font-variant-numeric: tabular-nums;
}
.af-country-item.active .code{ color: var(--brand); }
.af-country-empty{
  padding: 30px 16px;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 13px;
}

/* Error message + invalid state */
.af-error{
  display: block;
  min-height: 0;
  max-height: 0;
  margin-top: 0;
  font-size: 11.5px;
  color: #ff5b5b;
  font-weight: 500;
  padding-left: 4px;
  opacity: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .25s ease, margin-top .25s ease;
}
.af-field.invalid .af-error{
  max-height: 20px;
  opacity: 1;
  margin-top: 6px;
}
.af-field.invalid input,
.af-field.invalid textarea{
  border-color: rgba(255,91,91,0.55);
  background: rgba(255,91,91,0.04);
}
.af-field.invalid .af-bar{
  background: linear-gradient(90deg, #ff5b5b, #ff8080);
  transform: scaleX(1);
}

/* ---- Chips ---- */
.af-group{ display: flex; flex-direction: column; gap: 10px; }
.af-group-label{
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.af-group-label em{
  font-style: normal;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  font-weight: 400;
}
.af-group-label{
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.af-count{
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(11,180,255,.15);
  color: var(--brand);
  letter-spacing: 0.02em;
  margin-left: auto;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s, transform .25s cubic-bezier(.34,1.5,.64,1);
}
.af-count.show{ opacity: 1; transform: scale(1); }

.af-chips{
  display: flex; flex-wrap: wrap; gap: 8px;
}
.af-chip{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
  font-family: inherit;
  /* Empêche les menus contextuels iOS/Android sur long-press */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  outline: none;
}
.af-chip:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.af-chip svg{
  width: 15px; height: 15px;
  color: rgba(255,255,255,.55);
  transition: color .25s;
}
.af-chip:hover{
  background: rgba(11,180,255,0.08);
  border-color: rgba(11,180,255,0.35);
  transform: translateY(-1px);
}
.af-chip.active{
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink-900);
  box-shadow: 0 6px 20px rgba(11,180,255,0.35);
}
.af-chip.active svg{ color: var(--ink-900); }
.af-chip-sm{ padding: 8px 14px; font-size: 12.5px; }

/* Ripple */
.af-chip::after{
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  top: var(--ry, 50%); left: var(--rx, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.af-chip.ripple::after{
  animation: chipRipple .55s ease-out;
}
@keyframes chipRipple{
  0%   { width: 0; height: 0; opacity: .7; }
  100% { width: 240px; height: 240px; opacity: 0; }
}

.af-grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px){ .af-grid-2{ grid-template-columns: 1fr; } }

/* ---- Submit ---- */
.af-actions{
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 6px;
}
.af-consent{
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.af-submit{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0BB4FF 0%, #0090D6 100%);
  color: #06070A;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: none;
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, filter .25s;
  box-shadow: 0 12px 40px rgba(11,180,255,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
  white-space: nowrap;
  min-height: 50px;
}
.af-submit-label{
  position: relative;
  z-index: 2;
  color: #06070A;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.af-submit::before{
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left .8s;
  z-index: 1;
  pointer-events: none;
}
.af-submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(11,180,255,0.6);
  filter: brightness(1.08);
}
.af-submit:hover::before{ left: 100%; }
.af-submit:active{ transform: translateY(0) scale(.98); }
.af-submit-arrow{
  width: 16px; height: 16px;
  position: relative; z-index: 2;
  transition: transform .25s;
}
.af-submit:hover .af-submit-arrow{ transform: translateX(4px); }

.af-submit-loader{
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(6,7,10,0.3);
  border-top-color: #06070A;
  animation: spin 0.8s linear infinite;
  display: none;
  position: relative;
  z-index: 2;
}
.af-submit.loading .af-submit-label,
.af-submit.loading .af-submit-arrow{ display: none; }
.af-submit.loading .af-submit-loader{ display: inline-block; }
.af-submit.loading{ pointer-events: none; opacity: 0.85; }

/* ---- Success state ---- */
.audit-success{
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.audit-success.show{
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.success-check{
  width: 96px; height: 96px;
  margin-bottom: 24px;
  color: var(--brand);
}
.success-check svg{ width: 100%; height: 100%; }
.success-check circle{
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: checkCircle .7s cubic-bezier(.4,0,.2,1) .15s forwards;
}
.success-check path{
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkPath .5s cubic-bezier(.4,0,.2,1) .7s forwards;
}
@keyframes checkCircle{ to { stroke-dashoffset: 0; } }
@keyframes checkPath{ to { stroke-dashoffset: 0; } }
.audit-success h3{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.audit-success p{
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
  max-width: 360px;
}
.audit-success .af-submit{
  padding: 12px 36px;
  font-size: 14px;
}

/* Hide form when success */
.audit-form.hidden{ display: none; }

/* Lock body when modal open */
body.modal-open{ overflow: hidden; }

/* ====================================================
   Floating WhatsApp FAB — premium on-brand
   ==================================================== */
.wa-fab{
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 64px; height: 64px;
  z-index: 60;
  display: grid; place-items: center;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px) scale(.85);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  isolation: isolate;
}
.wa-fab.show{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: waEntrance .9s cubic-bezier(.34,1.56,.64,1);
}
@keyframes waEntrance{
  0%   { transform: translateY(24px) scale(.4) rotate(-10deg); }
  60%  { transform: translateY(-6px) scale(1.08) rotate(4deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}

/* Soft outer halo — pulses */
.wa-halo{
  position: absolute; inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,180,255,.45), transparent 65%);
  filter: blur(12px);
  z-index: -2;
  animation: waHalo 2.6s ease-in-out infinite;
}
@keyframes waHalo{
  0%,100%{ opacity: .55; transform: scale(1); }
  50%   { opacity: 1;   transform: scale(1.15); }
}

/* Rotating conic ring */
.wa-ring{
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand) 0%, var(--brand-glow) 25%, transparent 55%, var(--brand) 100%);
  z-index: -1;
  animation: waSpin 4s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 56%, black 58%);
          mask: radial-gradient(circle, transparent 56%, black 58%);
}
@keyframes waSpin{ to { transform: rotate(360deg); } }

/* Core (the actual button) */
.wa-core{
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(140deg, var(--brand) 0%, var(--brand-dark, #0090D6) 100%);
  box-shadow:
    0 14px 36px rgba(11,180,255,.45),
    0 4px 14px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -2px 6px rgba(0,0,0,.18);
  color: white;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.wa-core svg{
  width: 30px; height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
  animation: waWiggle 4s ease-in-out infinite;
}
@keyframes waWiggle{
  0%, 78%, 100%{ transform: rotate(0); }
  82%{ transform: rotate(-14deg); }
  86%{ transform: rotate(12deg); }
  90%{ transform: rotate(-8deg); }
  94%{ transform: rotate(4deg); }
  98%{ transform: rotate(0); }
}

.wa-fab:hover .wa-core{
  transform: scale(1.08);
  box-shadow:
    0 18px 48px rgba(11,180,255,.6),
    0 6px 18px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.wa-fab:active .wa-core{ transform: scale(.95); }

/* Tooltip card */
.wa-tooltip{
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(10,12,18,0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(11,180,255,.25);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 230px;
  display: flex; flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.wa-tooltip::after{
  content: '';
  position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border: 6px solid transparent;
  border-left-color: rgba(10,12,18,0.92);
}
.wa-fab:hover .wa-tooltip{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wa-tt-title{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 14px;
  color: white;
  white-space: nowrap;
}
.wa-tt-sub{
  font-size: 12px;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px;
}
.wa-tt-sub::before{
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s ease-in-out infinite;
}

/* Unread badge */
.wa-badge{
  position: absolute;
  top: -2px; right: -2px;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #ff3b30;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700;
  border: 2px solid var(--ink-900);
  box-shadow: 0 0 14px rgba(255,59,48,.65);
  animation: waBadge 1.8s ease-in-out infinite;
}
@keyframes waBadge{
  0%,100%{ transform: scale(1); }
  50%   { transform: scale(1.12); }
}

/* Hide tooltip on touch screens (no hover) */
@media (hover: none){
  .wa-tooltip{ display: none; }
  .wa-fab{ width: 58px; height: 58px; }
  .wa-core svg{ width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce){
  .wa-halo, .wa-ring, .wa-core svg, .wa-badge{ animation: none !important; }
  .wa-fab.show{ animation: none !important; }
}

/* ====================================================
   Floating CALL FAB — stacked above WhatsApp
   ==================================================== */
.call-fab{
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + 80px); /* stacked above wa-fab */
  width: 64px; height: 64px;
  z-index: 60;
  display: grid; place-items: center;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px) scale(.85);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  isolation: isolate;
}
.call-fab.show{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: callEntrance .9s cubic-bezier(.34,1.56,.64,1) .15s both;
}
@keyframes callEntrance{
  0%   { transform: translateY(24px) scale(.4) rotate(8deg); }
  60%  { transform: translateY(-6px) scale(1.08) rotate(-4deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}

/* Soft outer halo — same as wa-fab */
.call-halo{
  position: absolute; inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,180,255,.45), transparent 65%);
  filter: blur(12px);
  z-index: -2;
  animation: waHalo 2.6s ease-in-out infinite .4s;
}

/* Conic ring spinning — same as wa-ring */
.call-ring{
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand) 0%, var(--brand-glow) 25%, transparent 55%, var(--brand) 100%);
  z-index: -1;
  animation: waSpin 4s linear infinite reverse;
  -webkit-mask: radial-gradient(circle, transparent 56%, black 58%);
          mask: radial-gradient(circle, transparent 56%, black 58%);
}

/* Core — identical to wa-core (blue gradient + white icon) */
.call-core{
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(140deg, var(--brand) 0%, var(--brand-dark, #0090D6) 100%);
  box-shadow:
    0 14px 36px rgba(11,180,255,.45),
    0 4px 14px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -2px 6px rgba(0,0,0,.18);
  color: white;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.call-core svg{
  width: 28px; height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
  animation: phoneShake 3s ease-in-out infinite;
  transform-origin: 50% 60%;
}
@keyframes phoneShake{
  0%, 60%, 100%{ transform: rotate(0); }
  64%{ transform: rotate(-18deg); }
  68%{ transform: rotate(16deg); }
  72%{ transform: rotate(-12deg); }
  76%{ transform: rotate(10deg); }
  80%{ transform: rotate(-6deg); }
  84%{ transform: rotate(4deg); }
  88%{ transform: rotate(0); }
}

.call-fab:hover .call-core{
  transform: scale(1.08);
  box-shadow:
    0 18px 48px rgba(11,180,255,.6),
    0 6px 18px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.call-fab:active .call-core{ transform: scale(.95); }

.call-tooltip{
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(10,12,18,0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(11,180,255,.25);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 220px;
  display: flex; flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.call-tooltip::after{
  content: '';
  position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border: 6px solid transparent;
  border-left-color: rgba(10,12,18,0.92);
}
.call-fab:hover .call-tooltip{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (hover: none){
  .call-tooltip{ display: none; }
  .call-fab{ width: 58px; height: 58px; bottom: calc(clamp(16px, 3vw, 28px) + 74px); }
  .call-core svg{ width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce){
  .call-halo, .call-ring, .call-core svg{ animation: none !important; }
  .call-fab.show{ animation: none !important; }
}

/* ====================================================
   Mobile tracking search bar (slides in on scroll)
   ==================================================== */
.mobile-track-bar {
  position: fixed;
  top: 76px; /* below the header */
  left: 12px; right: 12px;
  z-index: 45;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 14px;
  background: linear-gradient(135deg, rgba(11,180,255,0.10), rgba(20,22,28,0.85));
  border: 1px solid rgba(11,180,255,0.25);
  border-radius: 100px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
}
.mobile-track-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-track-bar .mtb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: #0BB4FF;
  flex-shrink: 0;
}
.mobile-track-bar .mtb-icon svg { width: 18px; height: 18px; }
.mobile-track-bar input {
  flex: 1; min-width: 0;
  background: transparent;
  border: none; outline: none;
  color: #fff;
  font: 600 13px/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: 0.02em;
  padding: 10px 4px;
}
.mobile-track-bar input::placeholder {
  color: rgba(233,234,238,0.55);
  font-weight: 500;
}
.mobile-track-bar input:focus::placeholder { opacity: 0.4; }
.mobile-track-bar button {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #0BB4FF, #0a73a8);
  color: #fff; border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11,180,255,0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.mobile-track-bar button:hover { filter: brightness(1.1); }
.mobile-track-bar button:active { transform: scale(0.92); }
.mobile-track-bar button svg { width: 16px; height: 16px; }

@media (max-width: 380px) {
  .mobile-track-bar { top: 70px; padding: 5px 5px 5px 12px; }
  .mobile-track-bar input { font-size: 12px; }
  .mobile-track-bar input::placeholder { font-size: 11.5px; }
  .mobile-track-bar button { width: 34px; height: 34px; }
}

/* Hide on desktop (already hidden via lg:hidden but failsafe) */
@media (min-width: 1024px) {
  .mobile-track-bar { display: none !important; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .mobile-track-bar { transition: opacity 0.2s ease; }
}
