/* ============================================================
   DevBhoomi Business — global stylesheet
   Brand: Deep Purple #4c1d95 · India Saffron #f26a21 · Quicksand
   ============================================================ */
:root{
  --acc:#4c1d95; --acc2:#6d28d9; --saffron:#f26a21;
  --acc-soft:#ece8f8; --pend:#c08a2e; --ok:#1c7d52; --rej:#b4413a;
  --gold:#d99b27; --wa:#25d366;
  --bg:#fafbfd; --surface:#fff; --panel:#f6f7fc; --panel2:#fbfbfd;
  --line:#e6e8f0; --line2:#eef0f7;
  --ink:#1e2233; --ink2:#161a22; --body:#4b5563; --muted:#9aa1b1;
  --radius:6px; --shadow:0 1px 2px rgba(49,46,129,.06);
  --shadow-lg:0 8px 26px rgba(49,46,129,.10);
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family:'Quicksand','Noto Sans Devanagari',-apple-system,system-ui,sans-serif;
  background:var(--bg); color:var(--ink);
  font-size:15px; line-height:1.5; -webkit-font-smoothing:antialiased;
}
a{color:var(--acc); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; display:block}
.wrap{max-width:1600px; margin:0 auto; padding:0 28px}
.gradient-bar{height:4px; background:linear-gradient(90deg,var(--acc),var(--saffron))}

/* ---- Top utility bar ---- */
.topbar{background:var(--panel); border-bottom:1px solid var(--line2); font-size:12.5px}
.topbar .wrap{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding:7px 18px}
.topbar .note{color:var(--body); font-weight:600; display:inline-flex; align-items:center; gap:7px}
.dot{width:6px;height:6px;border-radius:50%;background:var(--ok);display:inline-block}
.topbar .right{display:flex; align-items:center; gap:12px}
.lang-switch{display:flex; border:1px solid #dcdfeb; border-radius:4px; overflow:hidden; background:#fff}
.lang-switch a{padding:5px 9px; font-weight:700; font-size:12px; color:var(--body)}
.lang-switch a.on{background:var(--acc); color:#fff}
.lang-switch a:hover{text-decoration:none}

/* ---- Header ---- */
.site-header{background:#fff; border-bottom:1px solid var(--line2)}
.site-header .wrap{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding:16px 18px}
.logo img{height:64px; width:auto}
.nav{display:flex; flex-wrap:wrap; align-items:center; gap:22px}
.nav a{color:var(--ink); font-weight:700; font-size:15px}
.nav a.btn,.nav a.btn-cta,.nav a.btn-saffron{color:#fff}
.nav a.btn-ghost{color:var(--acc)}
.btn{display:inline-flex; align-items:center; gap:7px; border:none; border-radius:var(--radius); cursor:pointer;
  font-family:inherit; font-weight:700; font-size:14px; padding:11px 18px; color:#fff;
  background:var(--acc); transition:filter .15s}
.btn:hover{filter:brightness(1.08); text-decoration:none}
.btn-cta{background:linear-gradient(95deg,var(--acc) 0%,var(--acc2) 45%,var(--saffron) 100%)}
.btn-ghost{background:#fff; color:var(--acc); border:1px solid #dcdfeb}
.btn-saffron{background:var(--saffron)}
.btn-sm{padding:8px 13px; font-size:13px}
.btn[disabled]{background:#e7e8f2; color:#aab2c0; cursor:not-allowed; filter:none}

/* ---- Hero ---- */
.hero{padding:30px 0 6px}
.hero h1{font-size:34px; font-weight:700; letter-spacing:-.8px; color:var(--ink2); margin:0 0 10px; max-width:660px; line-height:1.12}
.chip{display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--acc); background:var(--acc-soft); border-radius:4px; padding:6px 12px}
.hero-sub{font-size:14px; color:var(--body)}
.searchbar{display:flex; flex-wrap:wrap; align-items:stretch; gap:8px; margin-top:18px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:8px; box-shadow:var(--shadow-lg)}
.searchbar .field{flex:1 1 200px; display:flex; align-items:center; gap:9px; padding:10px 14px; font-size:15px; color:var(--ink)}
.searchbar .field.city{flex:0 0 180px; border-right:1px solid var(--line2)}
.searchbar input{border:none; outline:none; font-family:inherit; font-size:15px; width:100%; color:var(--ink); background:transparent}
.searchbar .btn{flex:0 0 auto; padding:12px 30px}
.citychips{display:flex; flex-wrap:wrap; gap:8px; margin-top:13px}
.citychips a{font-size:13px; color:var(--body); background:#fff; border:1px solid var(--line); border-radius:20px; padding:6px 13px; font-weight:600}
.citychips a:hover{text-decoration:none; border-color:var(--acc); color:var(--acc)}

/* ---- Section headers ---- */
.section{margin:40px 0}
.section-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:14px}
.section-head h2{font-size:20px; font-weight:700; letter-spacing:-.3px; color:var(--ink); margin:0}
.section-head .sub{font-size:13px; color:var(--body); margin-top:2px}
.section-head .link{font-size:13px; font-weight:600; white-space:nowrap}

/* ---- Cards: services / categories ---- */
.grid{display:grid; gap:14px}
.grid-services{grid-template-columns:repeat(auto-fit,minmax(178px,1fr))}
.grid-cats{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.grid-biz{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
a.card:hover{text-decoration:none; box-shadow:var(--shadow-lg)}
.card .imgstrip{position:relative; height:84px; border-bottom:1px solid var(--line2);
  background:repeating-linear-gradient(135deg,#eef0f8,#eef0f8 9px,#f7f8fc 9px,#f7f8fc 18px);
  display:flex; align-items:center; justify-content:center}
.card .imgstrip img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.card .imgstrip .ph{font-family:ui-monospace,Menlo,monospace; font-size:10px; color:var(--muted); background:#fff; border:1px solid var(--line2); border-radius:3px; padding:2px 7px}
.card .body{padding:13px 14px}
.card .title{font-size:14px; font-weight:700; line-height:1.2; color:var(--ink)}
.card .meta{font-size:12px; color:var(--muted); margin-top:6px; font-weight:600}
.badge{position:absolute; top:8px; border-radius:3px; font-weight:700; font-size:10px; letter-spacing:.5px; padding:2px 7px; z-index:2; box-shadow:0 1px 2px rgba(0,0,0,.15)}
.badge-new{right:8px; background:var(--pend); color:#fff}
.badge-tag{left:8px; width:24px; height:24px; display:flex; align-items:center; justify-content:center; background:var(--acc-soft); color:var(--acc); font-size:11px; font-weight:800; box-shadow:0 1px 2px rgba(0,0,0,.12); padding:0}
.dotcolor{position:absolute; top:9px; left:9px; width:18px; height:18px; border-radius:4px; z-index:2; box-shadow:0 1px 2px rgba(0,0,0,.12)}

/* business card specifics */
.bizcard .cover{position:relative; height:128px;
  background:repeating-linear-gradient(135deg,#eef0f8,#eef0f8 10px,#f7f8fc 10px,#f7f8fc 20px);
  display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:13px}
.bizcard .cover img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.bizcard .tag-sponsored{position:absolute; top:10px; left:10px; background:var(--acc); color:#fff; border-radius:3px; font-size:10px; font-weight:700; letter-spacing:.4px; padding:3px 8px}
.bizcard .wa{position:absolute; top:9px; right:9px; width:31px; height:31px; border-radius:50%; background:var(--wa); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:13px}
.bizcard .name{font-size:15px; font-weight:700; color:var(--ink)}
.bizcard .stars{color:var(--gold); font-weight:700; font-size:13px; white-space:nowrap}
.bizcard .cat{font-size:12px; color:var(--acc); margin-top:4px; font-weight:600}
.bizcard .blurb{font-size:13px; color:var(--body); margin-top:7px; line-height:1.45}
.pill{display:inline-block; margin-top:7px; border-radius:3px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; padding:3px 8px}
.pill-prem{background:var(--acc-soft); color:var(--acc)}
.pill-free{background:var(--line2); color:var(--muted)}

/* category scroll row (home) */
.cat-row{display:flex; gap:12px; overflow-x:auto; padding:2px 2px 14px; scroll-snap-type:x mandatory}
.cat-row .card{flex:0 0 158px; scroll-snap-align:start}

/* ---- Promo bar ---- */
.promo{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
  background:linear-gradient(135deg,var(--acc2),var(--acc)); color:#fff; border-radius:var(--radius); padding:18px 22px; margin:22px 0}
.promo .k{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.6px; opacity:.85}
.promo .h{font-size:20px; font-weight:700; letter-spacing:-.4px; margin-top:5px}
.promo .s{font-size:13px; opacity:.9; margin-top:5px}

/* ---- Footer ---- */
.site-footer{background:#fff; border-top:1px solid var(--line2); margin-top:34px; padding:30px 0}
.site-footer .cols{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:26px}
.site-footer .blurb{font-size:13px; color:var(--body); margin-top:9px; line-height:1.6; max-width:280px}
.site-footer h4{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); margin:0 0 12px}
.site-footer ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px}
.site-footer a{font-size:13px; color:var(--body); font-weight:600}

/* ---- Forms ---- */
.formcard{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); max-width:520px}
.field-block{margin-bottom:14px}
label{display:block; font-size:13px; font-weight:700; color:var(--ink); margin-bottom:6px}
input[type=text],input[type=email],input[type=tel],input[type=password],select,textarea{
  width:100%; font-family:inherit; font-size:15px; color:var(--ink);
  border:1px solid #dcdfeb; border-radius:6px; padding:11px 13px; background:#fff; outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--acc); box-shadow:0 0 0 3px var(--acc-soft)}
textarea{min-height:90px; resize:vertical}
.hp{position:absolute; left:-9999px}    /* honeypot */

/* OTP boxes */
.otp{display:flex; gap:10px; margin:6px 0 14px}
.otp input{width:46px; height:56px; text-align:center; font-size:23px; font-weight:700; border:1.5px solid #dcdfeb; border-radius:7px}

/* stepper */
.steps{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px}
.steps .s{display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--muted)}
.steps .s .n{width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--line2); color:var(--muted); font-size:12px}
.steps .s.on{color:var(--acc)} .steps .s.on .n{background:var(--acc); color:#fff}
.steps .s.done .n{background:var(--ok); color:#fff}

/* dropzone */
.dropzone{border:1.5px dashed #cdd3de; background:#fafbff; border-radius:8px; padding:18px 16px; text-align:center; cursor:pointer}
.dropzone.filled{border-color:var(--ok); background:rgba(28,125,82,.06)}

/* ---- Page title block ---- */
.pagehead{padding:18px 0; border-bottom:1px solid var(--line2); margin-bottom:22px}
.pagehead h1{font-size:26px; font-weight:700; letter-spacing:-.5px; color:var(--ink); margin:0}
.pagehead .sub{font-size:14px; color:var(--body); margin-top:5px}
.backlink{font-size:13px; color:var(--acc); font-weight:600; display:inline-block; margin:14px 0}

/* ---- Profile ---- */
.profile-cover{height:220px; border-radius:var(--radius); overflow:hidden; position:relative;
  background:repeating-linear-gradient(135deg,#eef0f8,#eef0f8 12px,#f7f8fc 12px,#f7f8fc 24px);
  display:flex; align-items:center; justify-content:center; color:var(--muted)}
.profile-head{display:flex; flex-wrap:wrap; gap:16px; align-items:flex-start; margin-top:16px}
.profile-head .logo-box{width:84px; height:84px; border-radius:10px; background:var(--acc-soft); color:var(--acc); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:28px; flex:0 0 84px}
.profile-head h1{font-size:26px; margin:0; color:var(--ink2); letter-spacing:-.5px}
.metaline{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:6px; font-size:13px; color:var(--body)}
.badge-verified{background:rgba(28,125,82,.10); color:var(--ok); border-radius:4px; padding:3px 9px; font-weight:700; font-size:12px}
.review{border:1px solid var(--line); border-radius:var(--radius); padding:14px; margin-bottom:10px; background:#fff}
.review .who{font-weight:700; color:var(--ink); font-size:14px}

/* ---- Admin ---- */
.admin-shell{display:flex; min-height:100vh}
.admin-side{width:230px; background:#fff; border-right:1px solid var(--line); padding:18px 14px; flex:0 0 230px}
.admin-side .brand img{height:40px}
.admin-side nav{display:flex; flex-direction:column; gap:4px; margin-top:18px}
.admin-side nav a{padding:9px 12px; border-radius:6px; font-size:14px; font-weight:600; color:var(--body)}
.admin-side nav a:hover{background:var(--panel); text-decoration:none}
.admin-side nav a.on{background:var(--acc); color:#fff}
.admin-main{flex:1; padding:26px 30px; min-width:0}
.admin-main h1{font-size:22px; margin:0 0 4px; color:var(--ink2)}
.admin-main .sub{color:var(--body); font-size:14px; margin-bottom:20px}
.toolbar{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:14px}
.toolbar input[type=text]{max-width:280px}
.table{width:100%; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff; border-collapse:collapse}
.table th{background:var(--panel); text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.4px; color:#7c8494; font-weight:700; padding:11px 14px; border-bottom:1px solid var(--line)}
.table td{padding:11px 14px; border-bottom:1px solid var(--line2); font-size:14px; color:var(--ink); vertical-align:middle}
.table tr:last-child td{border-bottom:none}
.status-pill{display:inline-block; border-radius:3px; font-size:11px; font-weight:700; padding:3px 9px}
.st-pending{background:#fdf4e3; color:var(--pend)} .st-published{background:#e6f4ec; color:var(--ok)}
.st-rejected{background:#fbeceb; color:var(--rej)} .st-new{background:var(--acc-soft); color:var(--acc)}
.row-actions{display:flex; gap:6px; flex-wrap:wrap}

/* ---- Flash ---- */
.flash-wrap{position:fixed; top:14px; right:14px; z-index:1000; display:flex; flex-direction:column; gap:8px; max-width:340px}
.flash{padding:11px 15px; border-radius:8px; font-size:13.5px; font-weight:600; box-shadow:var(--shadow-lg); color:#fff}
.flash-info{background:var(--acc)} .flash-success{background:var(--ok)} .flash-error{background:var(--rej)}

/* ---- Language modal ---- */
.langmodal{position:fixed; inset:0; background:rgba(244,245,253,.98); display:flex; align-items:center; justify-content:center; padding:24px; z-index:1100}
.langmodal .box{text-align:center; max-width:400px; width:100%}
.langmodal .opt{display:block; width:100%; margin-top:10px; padding:14px; border:1px solid var(--line); border-radius:8px; background:#fff; font-weight:700; font-size:16px; color:var(--ink); cursor:pointer}
.langmodal .opt:hover{border-color:var(--acc); text-decoration:none}

@media(max-width:760px){
  .admin-shell{flex-direction:column}
  .admin-side{width:auto; flex:none; border-right:none; border-bottom:1px solid var(--line)}
  .admin-side nav{flex-direction:row; flex-wrap:wrap}
  .hero h1{font-size:27px}
}
