/* ═══ GLOBAL MOBILE RESET ═══ */
html { overflow-x: hidden !important; }
body { overflow-x: hidden !important; max-width: 100vw !important; }
*, *::before, *::after { box-sizing: border-box !important; }
img { max-width: 100% !important; height: auto !important; }
table { max-width: 100% !important; display: block; overflow-x: auto; }

/* ═══════════════════════════════════════════════════
   LegalKamkaz — Service+City Page CSS
   Covers all 50,000+ pages
═══════════════════════════════════════════════════ */

:root {
  --blue:   #2557E3;
  --navy:   #091628;
  --ink:    #050F20;
  --gold:   #F0A500;
  --amber:  #FFBE2E;
  --green:  #00C27C;
  --red:    #EF4444;
  --bg:     #F0F4FF;
  --border: #E2E8F0;
  --text:   #1E293B;
  --muted:  #64748B;
  --white:  #ffffff;
  --fh:     'Syne', sans-serif;
  --fb:     'DM Sans', sans-serif;
  --r:      12px;
  --sh:     0 4px 20px rgba(0,0,0,.08);
  --sh2:    0 8px 40px rgba(0,0,0,.12);
  --mob-bar: 68px;
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { overflow-x:hidden; scroll-behavior:smooth }
body { overflow-x:hidden; max-width:100vw }
html { scroll-behavior:smooth; scroll-padding-top:110px }
body { font-family:var(--fb); color:var(--text); background:var(--bg); line-height:1.7; padding-bottom:var(--mob-bar) }
img { max-width:100%; height:auto; display:block }
a { color:var(--blue); text-decoration:none }
a:hover { text-decoration:underline }

/* ── Container ─────────────────────────────────── */
.container { max-width:min(1200px, 100%); margin:0 auto; padding:0 24px }
.container-sm { max-width:min(860px, 100%); margin:0 auto; padding:0 24px }

/* ── NAV ───────────────────────────────────────── */
.nav {
  position:sticky; top:0; z-index:200;
  background:rgba(5,15,32,.97);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06);
  height:64px; transition:box-shadow .3s;
}
.nav.scrolled { box-shadow:0 2px 30px rgba(0,0,0,.25) }
.nav-inner {
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; height:100%; gap:24px;
}
.logo {
  display:flex; align-items:center; gap:10px;
  font-family:var(--fh); font-size:20px; font-weight:800;
  color:#fff; text-decoration:none; flex-shrink:0;
}
.logo img { width:36px; height:36px; border-radius:8px }
.logo em { font-style:normal; color:var(--amber) }
.nav-links {
  display:flex; align-items:center; gap:8px; flex:1;
}
.nav-links a {
  color:rgba(255,255,255,.7); font-size:13.5px; font-weight:500;
  padding:6px 12px; border-radius:8px; transition:all .2s;
  text-decoration:none; white-space:nowrap;
}
.nav-links a:hover { background:rgba(255,255,255,.08); color:#fff }
.nav-right { display:flex; align-items:center; gap:8px; margin-left:auto; flex-shrink:0 }
.btn-outline {
  padding:7px 14px; border:1px solid rgba(255,255,255,.2);
  border-radius:8px; color:rgba(255,255,255,.8); font-size:13px;
  font-weight:600; transition:all .2s; white-space:nowrap;
}
.btn-outline:hover { border-color:rgba(255,255,255,.5); color:#fff; text-decoration:none }
.btn-gold {
  padding:7px 16px; background:var(--amber); color:var(--ink);
  border-radius:8px; font-size:13px; font-weight:700; transition:all .2s; white-space:nowrap;
}
.btn-gold:hover { background:#f0a500; transform:translateY(-1px); text-decoration:none }
.burger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:6px;
}
.burger span { width:22px; height:2px; background:rgba(255,255,255,.8); border-radius:2px; transition:all .3s }

/* ── Breadcrumb ────────────────────────────────── */
.breadcrumb-bar {
  background:#fff; border-bottom:1px solid var(--border);
  padding:8px 0; font-size:12.5px;
}
.bc { list-style:none; display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.bc li { color:var(--muted) }
.bc a { color:var(--blue); font-weight:500 }
.bc a:hover { text-decoration:underline }

/* ── Hero ──────────────────────────────────────── */
.hero-svc {
  background:linear-gradient(135deg, var(--ink) 0%, #102040 50%, #0A1A35 100%);
  padding:44px 0 52px; position:relative; overflow:hidden;
}
.hero-svc::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,87,227,.15) 0%, transparent 60%);
  pointer-events:none;
}
.hero-grid {
  display:grid; grid-template-columns:1fr 360px; gap:40px; align-items:start;
  position:relative;
}
.cat-tag {
  display:inline-flex; align-items:center;
  background:rgba(37,87,227,.2); border:1px solid rgba(37,87,227,.35);
  color:#7EB3FF; font-size:12px; font-weight:700; letter-spacing:.6px;
  text-transform:uppercase; padding:4px 12px; border-radius:100px; margin-bottom:14px;
}
h1 {
  font-family:var(--fh); font-size:clamp(28px,4vw,42px); font-weight:800;
  color:#fff; line-height:1.2; margin-bottom:18px;
}
.city-highlight { color:var(--amber) }

/* AEO Answer Box */
.answer-box {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-left:4px solid var(--amber); border-radius:10px;
  padding:14px 16px; margin-bottom:18px;
}
.ab-head { font-size:11px; font-weight:800; color:var(--amber); text-transform:uppercase; letter-spacing:.8px; margin-bottom:6px }
.answer-box p { color:rgba(255,255,255,.85); font-size:14px; line-height:1.7 }

.hero-desc { color:rgba(255,255,255,.75); font-size:15.5px; line-height:1.8; margin-bottom:20px }

/* Trust pills */
.trust-pills { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px }
.tp {
  padding:5px 12px; border:1px solid rgba(255,255,255,.12);
  border-radius:100px; font-size:12.5px; font-weight:600; color:rgba(255,255,255,.8);
  background:rgba(255,255,255,.05);
}
.tp.green { background:rgba(0,194,124,.12); border-color:rgba(0,194,124,.25); color:#4FFFB8 }
.tp.blue  { background:rgba(37,87,227,.15); border-color:rgba(37,87,227,.3);  color:#7EB3FF }
.tp.gold  { background:rgba(240,165,0,.12);  border-color:rgba(240,165,0,.25); color:var(--amber) }

/* Hero CTAs */
.hero-ctas { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px }
.cta-wa {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff; padding:12px 22px; border-radius:12px;
  font-size:15px; font-weight:700; transition:all .25s; text-decoration:none;
}
.cta-wa:hover { transform:translateY(-2px); box-shadow:0 6px 24px rgba(37,211,102,.3); text-decoration:none; color:#fff }
.cta-call {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.9); padding:12px 20px; border-radius:12px;
  font-size:15px; font-weight:700; transition:all .2s; text-decoration:none;
}
.cta-call:hover { background:rgba(255,255,255,.14); color:#fff; text-decoration:none }

.social-row { font-size:13px; color:rgba(255,255,255,.5); display:flex; align-items:center; gap:8px }
.sr-dot { width:8px; height:8px; background:var(--green); border-radius:50%; animation:pulse 2s infinite }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.15)} }
#viewers { color:#fff; font-weight:700 }

/* Hero Card */
.hero-card {
  background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:var(--sh2); position:sticky; top:80px;
}
.hc-head {
  background:linear-gradient(135deg,var(--ink),#1A3060);
  padding:16px 18px; display:flex; align-items:center; justify-content:space-between;
}
.hc-head strong { color:#fff; font-size:14.5px; font-weight:700; font-family:var(--fh); flex:1; margin-right:10px }
.live-badge {
  display:flex; align-items:center; gap:5px;
  background:rgba(0,194,124,.15); border:1px solid rgba(0,194,124,.3);
  padding:3px 9px; border-radius:100px; font-size:11px; font-weight:700; color:#4FFFB8; flex-shrink:0;
}
.ld-dot { width:6px; height:6px; background:var(--green); border-radius:50%; animation:pulse 1.5s infinite }
.hc-list { list-style:none; padding:0 18px }
.hc-list li {
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-bottom:1px solid #F1F5F9; font-size:13.5px;
}
.hc-list li:last-child { border:none }
.hc-list span { color:var(--muted) }
.hc-list strong { font-weight:700; color:var(--text) }
.price-anchor { color:var(--blue); font-size:15px }
.price-free { color:var(--green); font-size:15px }

/* Form in card */
.hc-form { padding:0 18px 12px; display:flex; flex-direction:column; gap:9px }
.hc-form input {
  border:1.5px solid var(--border); border-radius:9px;
  padding:10px 13px; font-size:14px; font-family:var(--fb);
  color:var(--text); outline:none; transition:border .2s; width:100%;
}
.hc-form input:focus { border-color:var(--blue) }
.hc-wa-btn {
  width:100%; background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff; border:none; border-radius:10px; padding:12px;
  font-size:14px; font-weight:700; cursor:pointer; font-family:var(--fb);
  transition:all .2s;
}
.hc-wa-btn:hover { transform:translateY(-1px); box-shadow:0 4px 16px rgba(37,211,102,.3) }
.hc-call-btn {
  display:block; text-align:center; padding:11px;
  background:linear-gradient(135deg,var(--blue),#1B44CC);
  color:#fff; border-radius:10px; font-weight:700; font-size:14px;
  margin:0 18px 10px; transition:all .2s; text-decoration:none;
}
.hc-call-btn:hover { transform:translateY(-1px); text-decoration:none; color:#fff }
.hc-note { text-align:center; font-size:11.5px; color:var(--muted); padding:0 18px 16px }

/* ── Page Body ─────────────────────────────────── */
.page-body { padding:40px 0 60px }
.body-grid {
  display:grid; grid-template-columns:1fr 300px; gap:28px; align-items:start;
}
.main-col { min-width:0 }

/* Content Box */
.cb {
  background:#fff; border:1px solid var(--border); border-radius:var(--r);
  padding:28px; margin-bottom:22px;
}
.cb h2 {
  font-family:var(--fh); font-size:22px; font-weight:800;
  color:var(--ink); margin-bottom:12px; line-height:1.3;
}
.cb p { color:#475569; margin-bottom:14px; line-height:1.8 }

/* Process Steps */
.process-steps { display:flex; flex-direction:column; gap:12px; margin:16px 0 }
.step {
  display:flex; align-items:flex-start; gap:14px;
  background:#F8FAFF; border:1px solid #EEF2FF;
  border-radius:10px; padding:14px;
}
.step-num {
  width:32px; height:32px; background:linear-gradient(135deg,var(--blue),#1B44CC);
  border-radius:50%; color:#fff; font-family:var(--fh); font-size:14px; font-weight:800;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.step-info strong { color:var(--ink); font-weight:700; font-size:14.5px }

/* Docs List */
.docs-list {
  list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:16px 0;
}
.docs-list li {
  background:#F0FDF4; border:1px solid #BBF7D0; border-radius:8px;
  padding:9px 13px; font-size:13.5px; font-weight:500; color:#166534;
}

/* Info Box */
.info-box {
  background:#EFF6FF; border:1px solid #BFDBFE; border-radius:10px;
  padding:13px 16px; font-size:13.5px; color:#1E40AF; line-height:1.7; margin-top:14px;
}
.info-box.green { background:#F0FDF4; border-color:#BBF7D0; color:#15803D }

/* Why Grid */
.why-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px;
}
.wc {
  display:flex; gap:12px; align-items:flex-start;
  background:#F8FAFF; border:1px solid #EEF2FF; border-radius:10px; padding:14px;
}
.wc span { font-size:24px; flex-shrink:0 }
.wc strong { display:block; color:var(--ink); font-weight:700; font-size:14px; margin-bottom:4px }
.wc p { color:var(--muted); font-size:13px; line-height:1.6; margin:0 }

/* FAQ */
.faq-section { }
.faq-list { margin-top:16px }
.faq-item {
  border:1px solid var(--border); border-radius:10px; margin-bottom:10px; overflow:hidden;
}
.faq-q {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; background:#F8FAFC; border:none; cursor:pointer;
  text-align:left; font-family:var(--fb); font-size:14.5px; font-weight:700;
  color:var(--ink); gap:12px;
}
.faq-q span { flex:1 }
.faq-icon { flex-shrink:0; transition:transform .25s; stroke:var(--muted) }
.faq-item.open .faq-icon { transform:rotate(180deg) }
.faq-a {
  display:none; padding:14px 16px; font-size:14px;
  color:#475569; line-height:1.8; background:#fff;
  border-top:1px solid var(--border);
}
.faq-item.open .faq-a { display:block }

/* Related services */
.related-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:16px;
}
.rc {
  background:#F8FAFF; border:1px solid #EEF2FF; border-radius:10px;
  padding:14px 10px; text-align:center; text-decoration:none;
  transition:all .2s; display:flex; flex-direction:column; gap:6px;
}
.rc:hover { border-color:var(--blue); box-shadow:var(--sh); transform:translateY(-2px) }
.rc-icon { font-size:22px }
.rc-name { font-size:12px; font-weight:700; color:var(--ink); line-height:1.4 }
.rc-time { font-size:11px; color:var(--muted) }

/* City links */
.city-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px }
.city-link {
  padding:6px 14px; background:#fff; border:1px solid var(--border);
  border-radius:100px; font-size:13px; font-weight:600; color:var(--text);
  transition:all .2s;
}
.city-link:hover { border-color:var(--blue); color:var(--blue); text-decoration:none }
.city-link.see-all { background:var(--blue); color:#fff; border-color:var(--blue) }
.city-link.see-all:hover { background:#1B44CC }

/* ── SIDEBAR ───────────────────────────────────── */
.sidebar { display:flex; flex-direction:column; gap:16px; position:sticky; top:80px }
.sb-box {
  background:#fff; border:1px solid var(--border); border-radius:14px; padding:18px; overflow:hidden;
}
.sb-box.dark { background:var(--ink); border-color:transparent }
.sb-box.dark h3 { color:#fff; font-size:15px; font-weight:800; font-family:var(--fh); margin-bottom:12px }
.sb-input {
  width:100%; border:1.5px solid rgba(255,255,255,.15); border-radius:9px;
  padding:10px 13px; font-size:14px; font-family:var(--fb); background:rgba(255,255,255,.06);
  color:#fff; outline:none; margin-bottom:8px;
}
.sb-input::placeholder { color:rgba(255,255,255,.4) }
.sb-input:focus { border-color:var(--blue) }
.sb-wa-btn {
  width:100%; background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff; border:none; border-radius:10px; padding:11px;
  font-size:13.5px; font-weight:700; cursor:pointer; font-family:var(--fb); margin-bottom:8px;
}
.or-line { text-align:center; font-size:12px; color:rgba(255,255,255,.3); margin:8px 0 }
.sb-call-link {
  display:block; color:rgba(255,255,255,.8); font-size:14px; font-weight:700;
  text-align:center; text-decoration:none; margin-bottom:5px;
}
.sb-call-link:hover { color:#fff }
.sb-sub { text-align:center; font-size:11.5px; color:rgba(255,255,255,.4); margin-top:6px }

.trust-list { list-style:none }
.trust-list li {
  font-size:13.5px; color:#475569; padding:7px 0;
  border-bottom:1px solid #F1F5F9; font-weight:500;
}
.trust-list li:last-child { border:none }
.sb-box h4 { font-family:var(--fh); font-size:14px; font-weight:800; color:var(--ink); margin-bottom:12px }

.nearby-wrap { display:flex; flex-wrap:wrap; gap:6px }
.nb-link {
  padding:5px 11px; background:#F0F4FF; border:1px solid #D0E0FF;
  border-radius:100px; font-size:12px; font-weight:600; color:var(--blue);
  text-decoration:none; transition:all .2s;
}
.nb-link:hover { background:var(--blue); color:#fff; border-color:var(--blue) }

.sb-box.nyaya { background:linear-gradient(135deg,#091628,#0A1A35); border:none }
.ny-head { font-size:14px; font-weight:800; color:#fff; margin-bottom:8px }
.sb-box.nyaya p { color:rgba(255,255,255,.6); font-size:13px; margin-bottom:12px }
.ny-btn {
  display:block; background:linear-gradient(135deg,var(--amber),var(--gold));
  color:var(--ink); font-weight:800; font-size:13.5px; text-align:center;
  padding:10px; border-radius:9px; text-decoration:none; transition:all .2s;
}
.ny-btn:hover { transform:translateY(-1px); text-decoration:none; color:var(--ink) }

/* ── FOOTER ────────────────────────────────────── */
.footer { background:var(--ink); padding:48px 0 0; color:rgba(255,255,255,.6) }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; margin-bottom:36px;
}
.footer-logo {
  font-family:var(--fh); font-size:22px; font-weight:800; color:#fff; margin-bottom:12px;
}
.footer-logo em { font-style:normal; color:var(--amber) }
.footer p { font-size:13.5px; line-height:1.8; margin-bottom:8px }
.footer h5 { font-family:var(--fh); font-size:13px; font-weight:800; color:#fff; text-transform:uppercase; letter-spacing:.5px; margin-bottom:12px; margin-top:16px }
.footer h5:first-child { margin-top:0 }
.footer a { color:rgba(255,255,255,.5); font-size:13px; display:inline-block; margin-bottom:5px; transition:color .2s }
.footer a:hover { color:#fff; text-decoration:none }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.06);
  padding:18px 0; display:flex; justify-content:space-between; align-items:center;
  font-size:12.5px; flex-wrap:wrap; gap:8px;
}
.fb-links { display:flex; gap:20px }
.fb-links a { color:rgba(255,255,255,.4); font-size:12px }

/* ── MOBILE STICKY BAR ─────────────────────────── */
.mobile-sticky {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:500;
  height:var(--mob-bar);
  background:var(--ink); border-top:1px solid rgba(255,255,255,.1);
  padding-bottom:env(safe-area-inset-bottom);
}
.mobile-sticky a {
  flex:1; display:flex; align-items:center; justify-content:center; gap:10px;
  text-decoration:none; transition:background .2s;
}
.ms-call { background:linear-gradient(135deg,var(--blue),#1B44CC) }
.ms-wa   { background:linear-gradient(135deg,#25D366,#128C7E) }
.ms-call:hover { background:var(--blue) }
.ms-wa:hover   { background:#128C7E }
.ms-icon { font-size:20px }
.mobile-sticky div small { display:block; font-size:10px; color:rgba(255,255,255,.65) }
.mobile-sticky div strong { display:block; font-size:13px; font-weight:700; color:#fff }
.ms-div { width:1px; background:rgba(255,255,255,.1) }

/* ── SCROLL REVEAL ─────────────────────────────── */
.reveal-el { opacity:0; transform:translateY(20px); transition:opacity .5s ease, transform .5s ease }
.reveal-el.revealed { opacity:1; transform:none }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width:900px) {
  .hero-grid { grid-template-columns:1fr }
  .hero-card { position:static }
  .body-grid { grid-template-columns:1fr }
  .sidebar { position:static }
  .footer-grid { grid-template-columns:1fr 1fr }
  .related-grid { grid-template-columns:repeat(2,1fr) }
  .docs-list { grid-template-columns:1fr }
  .why-grid { grid-template-columns:1fr }
  .mobile-sticky { display:flex }
  .nav-links { display:none; position:fixed; top:64px; left:0; right:0; background:var(--ink); flex-direction:column; padding:16px; gap:4px; border-bottom:1px solid rgba(255,255,255,.08) }
  .nav-links.open { display:flex }
  .burger { display:flex }
}
@media (max-width:640px) {
  .container { padding:0 16px }
  h1 { font-size:26px }
  .cb { padding:18px }
  .related-grid { grid-template-columns:repeat(2,1fr) }
  .footer-grid { grid-template-columns:1fr }
  .hero-svc { padding:28px 0 36px }
}

@media (max-width:480px) {
  html, body { overflow-x:hidden }
  .container { padding:0 12px }
  h1 { font-size:22px !important }
  h2 { font-size:18px }
  .cb { padding:14px }
  .mobile-sticky { display:flex }
  img { max-width:100%; height:auto }
  table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch }
  .body-grid { grid-template-columns:1fr !important }
  .sidebar { display:none }
  .footer-grid { grid-template-columns:1fr !important }
}
