/* BCC Directory – public site
   Palette: BCC navy + BCC red, warm coral gradient for actions, gold reserved for Premium. */
:root {
  --navy-950: #070F24;
  --navy-900: #0B1736;
  --navy-800: #13244F;
  --navy-700: #1D3168;
  --red: #E8314F;
  --coral: #FF7A45;
  --brand: linear-gradient(110deg, #E8314F 0%, #FF4F5E 48%, #FF7A45 100%);
  --brand-soft: linear-gradient(110deg, rgba(232,49,79,.10), rgba(255,122,69,.10));
  --gold: #F4B740;
  --gold-grad: linear-gradient(120deg, #FFD36E 0%, #F4B740 50%, #E8932A 100%);
  --green: #1DAA61;
  --ink: #0F1A33;
  --muted: #5A6684;
  --line: #E3E7F1;
  --surface: #F3F5FA;
  --white: #fff;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(11,23,54,.06), 0 8px 24px -12px rgba(11,23,54,.18);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--surface); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 0; font: 600 .95rem/1 var(--font-body); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px rgba(232,49,79,.7); }
.btn-brand:hover { box-shadow: 0 10px 24px -8px rgba(232,49,79,.8); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-call { background: var(--navy-800); color: #fff; }
.btn-call:hover { background: var(--navy-700); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #17924F; }
.btn-gold { background: var(--gold-grad); color: #3A2400; }
.btn-sm { padding: .55em .95em; font-size: .85rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.topbar { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-head); }
.logo-mark { font-size: 1.85rem; font-weight: 800; letter-spacing: -.06em; color: #fff; position: relative; }
.logo-mark::after { content: ""; position: absolute; right: -9px; bottom: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.logo-sub { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.6); margin-left: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: .55em .9em; border-radius: 999px; font-weight: 600; font-size: .93rem; color: rgba(255,255,255,.78); }
.nav a:hover, .nav a.on { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 6px; color: #fff; }
.nav .btn-ghost:hover { background: transparent; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 8px; }
.head-search { flex: 1; max-width: 420px; display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px 4px 4px 16px; }
.head-search input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: .92rem; outline: none; }
.head-search input::placeholder { color: rgba(255,255,255,.5); }
.head-search button { border: 0; border-radius: 999px; width: 36px; height: 36px; background: var(--brand); color: #fff; cursor: pointer; }
@media (max-width: 920px) {
  .head-search { display: none; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy-900); padding: 12px 20px 20px; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- messages ---------- */
.flash-wrap { max-width: var(--wrap); margin: 16px auto 0; padding: 0 20px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--navy-700); font-weight: 500; }
.flash.success { border-color: var(--green); }
.flash.error, .flash.warning { border-color: var(--red); }
.flash.info { border-color: var(--coral); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 64px 0 120px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(232,49,79,.45), rgba(255,122,69,.15) 55%, transparent 72%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(70,110,255,.28), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.75); max-width: 46ch; margin-bottom: 28px; }
.searchbar { display: grid; grid-template-columns: 1.4fr 1fr auto; background: #fff; border-radius: 18px; padding: 8px; gap: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.searchbar .field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; min-height: 56px; }
.searchbar .field + .field { border-left: 1px solid var(--line); border-radius: 0; }
.searchbar i { color: var(--red); }
.searchbar input, .searchbar select { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 1rem var(--font-body); color: var(--ink); appearance: none; }
.searchbar .btn { border-radius: 12px; padding: 0 26px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick-chips a { font-size: .85rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.quick-chips a:hover { background: rgba(255,255,255,.16); color: #fff; }
.hero-collage { position: relative; height: 420px; }
.hero-collage .tile { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); background: var(--navy-800); }
.hero-collage .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .tile figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(7,15,36,.72); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 12px; font-size: .82rem; line-height: 1.3; }
.hero-collage .tile figcaption b { display: block; font-family: var(--font-head); font-size: .9rem; }
.hero-collage .t1 { width: 62%; height: 64%; right: 0; top: 0; }
.hero-collage .t2 { width: 50%; height: 50%; left: 0; top: 22%; }
.hero-collage .t3 { width: 54%; height: 42%; right: 8%; bottom: 0; }
.hero-collage .t1 { animation: rise .9s .1s both cubic-bezier(.2,.7,.2,1); }
.hero-collage .t2 { animation: rise .9s .25s both cubic-bezier(.2,.7,.2,1); }
.hero-collage .t3 { animation: rise .9s .4s both cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 920px) {
  .hero { padding: 40px 0 90px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .field + .field { border-left: 0; border-top: 1px solid var(--line); }
  .searchbar .btn { min-height: 52px; }
}

/* ---------- stats strip (overlaps hero) ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-inner { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 1.9rem/1.1 var(--font-head); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 500; }
@media (max-width: 700px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- sections ---------- */
.section { padding: 64px 0 0; }
.section:last-of-type { padding-bottom: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head h2 { margin-bottom: 4px; }
.link-more { font-weight: 700; color: var(--red); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: #fff; border-radius: var(--r-md); padding: 20px 14px 16px; text-align: center; box-shadow: 0 1px 0 var(--line); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.cat:hover { border-color: rgba(232,49,79,.35); transform: translateY(-2px); }
.cat-ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: var(--red); background: var(--brand-soft); }
.cat:nth-child(3n+2) .cat-ico { color: var(--navy-700); background: rgba(29,49,104,.08); }
.cat:nth-child(3n) .cat-ico { color: #D9731C; background: rgba(244,183,64,.16); }
.cat-name { font-weight: 700; font-size: .92rem; line-height: 1.25; display: block; }
.cat-count { font-size: .8rem; color: var(--muted); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .cat { padding: 14px 8px; } .cat-ico { width: 44px; height: 44px; } .cat-name { font-size: .8rem; } }

/* ---------- business cards (grid) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bcard { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bcard-img { position: relative; aspect-ratio: 16/10; background: var(--navy-800); overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bcard:hover .bcard-img img { transform: scale(1.04); }
.bcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bcard-body h3 { margin: 0; font-size: 1.02rem; }
.bcard-meta { font-size: .85rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.bcard-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.bcard-actions .btn { flex: 1; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; }
.badge-premium { background: var(--gold-grad); color: #3A2400; }
.badge-verified { background: rgba(29,170,97,.12); color: #12804A; }
.badge-cat { background: var(--brand-soft); color: var(--red); }
.badge-basic { background: var(--surface); color: var(--muted); }
.on-img { position: absolute; top: 10px; left: 10px; }

/* ---------- Justdial-style result rows ---------- */
.results-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; padding: 28px 0 72px; }
.filters { background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; }
.filters h3 { font-size: .95rem; margin: 6px 0 10px; }
.filters h3 + * { margin-bottom: 16px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: .9rem; font-weight: 500; }
.filter-list a:hover { background: var(--surface); }
.filter-list a.on { background: var(--brand-soft); color: var(--red); font-weight: 700; }
.filter-list small { color: var(--muted); }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.row-list { display: grid; gap: 14px; }
.brow { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); display: grid; grid-template-columns: 210px 1fr auto; gap: 18px; padding: 14px; position: relative; }
.brow.is-premium { box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(244,183,64,.7); }
.brow-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--navy-800); }
.brow-img img { width: 100%; height: 100%; object-fit: cover; }
.brow-main h2 { font-size: 1.2rem; margin: 2px 0 6px; }
.brow-main h2 a:hover { color: var(--red); }
.brow-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.brow-desc { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.brow-loc { font-size: .88rem; color: var(--ink); font-weight: 500; }
.brow-loc i { color: var(--red); margin-right: 4px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.svc-chips span { font-size: .78rem; background: var(--surface); padding: .3em .7em; border-radius: 999px; color: var(--muted); font-weight: 600; }
.brow-actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: 150px; }
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .filters .filter-list { max-height: 220px; overflow: auto; }
  .brow { grid-template-columns: 120px 1fr; }
  .brow-actions { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
  .brow-actions .btn { flex: 1; }
}
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; background: #fff; font-weight: 700; box-shadow: var(--shadow); }
.pager .cur { background: var(--brand); color: #fff; }
.empty { background: #fff; border-radius: var(--r-md); padding: 48px 24px; text-align: center; box-shadow: var(--shadow); }
.empty i { font-size: 2rem; color: var(--red); margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(232,49,79,.5), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band p { color: rgba(255,255,255,.75); }
.tier-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tier-box { background: rgba(255,255,255,.06); border-radius: var(--r-md); padding: 18px; font-size: .9rem; }
.tier-box.gold { background: linear-gradient(160deg, rgba(244,183,64,.22), rgba(244,183,64,.06)); box-shadow: inset 0 0 0 1px rgba(244,183,64,.45); }
.tier-box h4 { font-size: 1rem; margin-bottom: 4px; }
.tier-box .price { font: 700 1.5rem var(--font-head); margin-bottom: 8px; }
.tier-box ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.8); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 28px; } }

.chapter-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.chapter { background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.chapter-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: #fff; display: grid; place-items: center; flex: none; }
.chapter b { display: block; font-size: .95rem; line-height: 1.3; }
.chapter small { color: var(--muted); }

/* ---------- listing page ---------- */
.lp-cover { position: relative; height: 340px; background: var(--navy-900); overflow: hidden; }
.lp-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.lp-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,36,.1) 30%, rgba(7,15,36,.85)); }
.lp-cover.no-img { background: var(--navy-900); }
.lp-cover.no-img::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(232,49,79,.45), transparent 70%); }
.lp-head { position: relative; margin-top: -120px; z-index: 2; color: #fff; display: flex; gap: 22px; align-items: flex-end; padding-bottom: 22px; }
.lp-avatar { width: 110px; height: 110px; border-radius: 26px; background: var(--brand); display: grid; place-items: center; font: 800 2.3rem var(--font-head); color: #fff; border: 4px solid #fff; flex: none; overflow: hidden; box-shadow: var(--shadow); }
.lp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 6px 0 6px; }
.lp-head .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .93rem; color: rgba(255,255,255,.85); }
.lp-actions { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lp-actions .spacer { flex: 1; }
.lp-body { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 24px 0 72px; align-items: start; }
.panel-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 24px; }
.panel-card + .panel-card { margin-top: 20px; }
.panel-card h2 { font-size: 1.3rem; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.svc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.svc-img { aspect-ratio: 16/10; background: var(--surface); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 12px 14px; }
.svc-body h3 { font-size: .98rem; margin-bottom: 4px; }
.svc-body p { font-size: .87rem; color: var(--muted); margin: 0 0 6px; }
.price { font-weight: 800; color: var(--ink); }
.price s { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: .88em; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; word-break: break-word; }
.contact-list i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--red); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); }
.socials a:hover { background: var(--navy-900); color: #fff; }
.sticky { position: sticky; top: 90px; }
.share-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.premium-ribbon { background: var(--gold-grad); color: #3A2400; border-radius: var(--r-md); padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .92rem; }
@media (max-width: 900px) { .lp-body { grid-template-columns: 1fr; } .lp-head { flex-direction: column; align-items: flex-start; margin-top: -150px; } .lp-cover { height: 300px; } .lp-avatar { width: 84px; height: 84px; font-size: 1.8rem; } .sticky { position: static; } }
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; gap: 8px; padding: 10px 12px; background: #fff; box-shadow: 0 -8px 24px -12px rgba(11,23,54,.3); }
  .mobile-cta .btn { flex: 1; }
  body.has-mobile-cta { padding-bottom: 72px; }
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .87rem; margin-bottom: 6px; }
.field .help { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .82rem; color: var(--red); margin-top: 4px; font-weight: 600; }
.input { width: 100%; font: 500 .96rem var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: .72em .9em; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,122,69,.15); }
.input:disabled { background: var(--surface); color: var(--muted); }
textarea.input { resize: vertical; }
.check { width: 18px; height: 18px; accent-color: var(--red); vertical-align: middle; }

/* ---------- auth ---------- */
.auth { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: var(--navy-900); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-art::before { content: ""; position: absolute; left: -20%; bottom: -30%; width: 600px; height: 600px; background: radial-gradient(closest-side, rgba(232,49,79,.5), transparent 70%); }
.auth-art > * { position: relative; }
.auth-art ul { padding: 0; list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.auth-art li { display: flex; gap: 12px; color: rgba(255,255,255,.85); }
.auth-art li i { color: var(--gold); margin-top: 4px; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 400px; }
.phone-input { display: flex; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.phone-input span { padding: 0 14px; display: grid; place-items: center; background: var(--surface); font-weight: 700; color: var(--muted); }
.phone-input input { border: 0; flex: 1; padding: .9em; font: 600 1.1rem var(--font-body); letter-spacing: .04em; outline: none; min-width: 0; }
.phone-input:focus-within { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,122,69,.15); }
.otp-input { letter-spacing: .6em; text-align: center; font: 700 1.6rem var(--font-head); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- member area ---------- */
.member-head { background: var(--navy-900); color: #fff; padding: 32px 0 80px; position: relative; overflow: hidden; }
.member-head::before { content: ""; position: absolute; right: -10%; top: -60%; width: 600px; height: 600px; background: radial-gradient(closest-side, rgba(232,49,79,.4), transparent 70%); }
.member-head .wrap { position: relative; }
.member-tabs { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.member-tabs a { padding: .55em 1em; border-radius: 999px; font-weight: 600; font-size: .9rem; color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); }
.member-tabs a.on, .member-tabs a:hover { background: #fff; color: var(--ink); }
.member-body { margin-top: -56px; position: relative; padding-bottom: 72px; }
.preview { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.preview-img { background: var(--navy-800); min-height: 220px; }
.preview-img img { width: 100%; height: 100%; object-fit: cover; }
.preview-body { padding: 24px; }
.url-box { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 10px; padding: 8px 8px 8px 14px; font-size: .9rem; font-weight: 600; margin: 12px 0; word-break: break-all; }
.url-box span { flex: 1; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.mini-stats div { background: #fff; border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow); }
.mini-stats b { font: 700 1.5rem var(--font-head); display: block; }
.mini-stats span { font-size: .85rem; color: var(--muted); }
.list-table { width: 100%; border-collapse: collapse; }
.list-table td, .list-table th { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: middle; }
.list-table th { font-size: .8rem; color: var(--muted); font-weight: 700; }
@media (max-width: 760px) { .preview { grid-template-columns: 1fr; } .mini-stats { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { background: var(--navy-900); color: #fff; box-shadow: 0 30px 60px -30px rgba(11,23,54,.7), inset 0 0 0 1.5px rgba(244,183,64,.6); }
.plan .amount { font: 800 2.6rem/1 var(--font-head); margin: 10px 0 4px; }
.plan .amount small { font-size: 1rem; font-weight: 500; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .94rem; }
.plan li i { color: var(--green); margin-top: 4px; }
.plan.featured li i { color: var(--gold); }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.breadcrumb { font-size: .85rem; color: var(--muted); padding-top: 18px; }
.breadcrumb a:hover { color: var(--red); }
.page-hero { background: var(--navy-900); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -80%; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(232,49,79,.4), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 60ch; }

/* =====================================================================
   BCC premium navy theme. Base = bccdirectory.com navy (#1B2E44), red
   (#F41B3B), Jost. Layout: Justdial-style search + promo tiles + icon grid.
   ===================================================================== */
:root {
  --navy-950: #14243A; --navy-900: #1B2E44; --navy-800: #0A2A47; --navy-700: #12395D;
  --red: #F41B3B; --coral: #FF4D63;
  --brand: linear-gradient(110deg, #F41B3B 0%, #FF3D57 100%);
  --brand-soft: rgba(244,27,59,.10);
  --gold: #F4F7FA; --gold-grad: linear-gradient(120deg, #F0D58C 0%, #D4AF5A 55%, #B38B34 100%);
  --pearl: #F9FBFC; --surface: #ECF1F5; --line: #DCE4EB;
  --glass: rgba(255,255,255,.05); --glass-line: rgba(255,255,255,.10);
  --font-head: "Jost", system-ui, sans-serif; --font-body: "Jost", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.12), 0 18px 40px -22px rgba(0,0,0,.55);
}
body { background: var(--navy-900); color: var(--pearl); font-size: 17px; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.01em; }
.input, .btn-line { color: var(--ink); }
.wrap { max-width: 1240px; }

/* header */
.topbar { background: rgba(27,46,68,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-line); }
.topbar .wrap { height: 74px; }
.logo { align-items: center; gap: 10px; }
.logo img { height: 34px; width: auto; }
.logo-sub { margin: 0; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.25); letter-spacing: .16em; text-transform: uppercase; font-size: .66rem; }
.nav .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); color: #F0D58C; }
.nav .btn-ghost:hover { background: rgba(255,255,255,.14); }
.nav .btn-brand { box-shadow: 0 8px 20px -8px rgba(244,27,59,.8); }
.footer { background: var(--navy-950); }
.footer .logo img { height: 38px; }

/* hero (Justdial-style) */
.jd-hero { position: relative; padding: 56px 0 8px; overflow: hidden; }
.jd-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(244,27,59,.22), transparent 70%); pointer-events: none; }
.jd-hero::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%); pointer-events: none; }
.jd-hero .wrap { position: relative; z-index: 1; }
.jd-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; color: #fff; font-weight: 500; }
.jd-hero h1 em { font-style: normal; font-weight: 600; color: var(--red); }
.jd-search { display: flex; max-width: 780px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 26px 50px -26px rgba(0,0,0,.8); color: var(--ink); }
.jd-search label { display: flex; align-items: center; gap: 10px; padding: 0 18px; min-height: 60px; }
.jd-search i { color: var(--red); }
.jd-loc { flex: 0 0 210px; background: var(--surface); border-right: 1px solid var(--line); }
.jd-q { flex: 1; min-width: 0; }
.jd-search input, .jd-search select { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 1rem var(--font-body); color: var(--ink); appearance: none; }
.jd-go { border: 0; background: var(--brand); color: #fff; padding: 0 30px; font: 600 1rem var(--font-body); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.jd-go i { color: #fff; }
.jd-go:hover { filter: brightness(1.08); }

/* promo row */
.promo { display: grid; grid-template-columns: 2.4fr repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.promo-main { position: relative; border-radius: 20px; overflow: hidden; min-height: 260px; background: var(--navy-800); color: #fff; display: flex; align-items: flex-end; box-shadow: var(--shadow); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.4); }
.promo-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .6s; }
.promo-main:hover img { transform: scale(1.04); }
.promo-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,36,58,.05) 15%, rgba(20,36,58,.92)); }
.promo-main div { position: relative; z-index: 1; padding: 26px; }
.promo-main h2 { font-size: clamp(1.3rem, 2.1vw, 1.8rem); margin: 10px 0 16px; max-width: 18ch; }
.promo-btn { display: inline-block; background: #fff; color: var(--navy-900); font-weight: 600; font-size: .92rem; padding: .62em 1.15em; border-radius: 10px; }
.promo-tile { position: relative; border-radius: 20px; padding: 22px 18px; color: #fff; display: flex; flex-direction: column; overflow: hidden; min-height: 260px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.promo-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -22px rgba(0,0,0,.8); }
.promo-tile b { font: 600 1.3rem/1.2 var(--font-head); }
.promo-tile small { opacity: .85; font-size: .92rem; margin-top: 6px; }
.promo-tile i { margin-top: auto; align-self: flex-end; font-size: 3.6rem; opacity: .28; transform: rotate(-8deg); }
.pt1 { background: linear-gradient(160deg, #1E6FD9, #123F94); }
.pt2 { background: linear-gradient(160deg, #F41B3B, #A80F2A); }
.pt3 { background: linear-gradient(160deg, #1BA56A, #0B6B43); }
.pt4 { background: linear-gradient(160deg, #1A2B3F, #14243A); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.65); }
.pt4 i { color: var(--gold); opacity: .7; }
@media (max-width: 1000px) { .promo { grid-template-columns: repeat(4, 1fr); } .promo-main { grid-column: 1 / -1; min-height: 220px; } .promo-tile { min-height: 170px; } }
@media (max-width: 640px) { .promo { grid-template-columns: 1fr 1fr; } .jd-search { flex-wrap: wrap; } .jd-loc { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); } .jd-q { flex: 1 1 60%; } .jd-go span { display: none; } }

/* stats */
.stats { margin-top: 40px; }
.stats-inner { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: none; }
.stat + .stat { border-color: var(--glass-line); }
.stat b { background: none; color: #fff; -webkit-text-fill-color: initial; }
.stat b::after { content: ""; display: block; width: 24px; height: 2px; background: var(--gold); margin-top: 6px; }
.stat span { color: rgba(249,251,252,.65); }

/* sections on navy */
.section { padding-top: 60px; }
.section-head p, .muted, .breadcrumb { color: rgba(249,251,252,.62); }
.link-more { color: #fff; border-bottom: 1px solid var(--gold); }
.link-more:hover { text-decoration: none; color: var(--gold); }

/* category icon grid */
.cat-grid { grid-template-columns: repeat(8, 1fr); gap: 24px 10px; }
.cat { background: none; border: 0; box-shadow: none; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cat:hover { transform: none; border: 0; }
.cat-ico, .cat:nth-child(3n+2) .cat-ico, .cat:nth-child(3n) .cat-ico { width: 78px; height: 78px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--gold); font-size: 1.6rem; margin-bottom: 10px; backdrop-filter: blur(6px); transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.cat:hover .cat-ico { transform: translateY(-5px); border-color: var(--gold); background: rgba(255,255,255,.12); box-shadow: 0 18px 30px -16px rgba(255,255,255,.5); }
.cat-name { font-weight: 500; font-size: .95rem; color: #fff; }
.cat-count { display: none; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cat-ico { width: 62px; height: 62px; } .cat-name { font-size: .8rem; } }

/* results & cards: white cards float on navy */
.results-head h1 { color: #fff; }
.bcard, .brow, .chapter, .panel-card, .filters, .empty { background: #fff; color: var(--ink); border: 1px solid rgba(255,255,255,.06); }
.bcard { transition: transform .2s, box-shadow .2s; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 28px 44px -24px rgba(0,0,0,.8); }
.brow.is-premium { background: linear-gradient(180deg, #FFFBF0, #fff 65%); border-color: rgba(255,255,255,.8); }
.pager a, .pager span { background: var(--glass); color: #fff; border: 1px solid var(--glass-line); box-shadow: none; }
.pager .cur { background: var(--brand); border-color: transparent; }
.filter-list a.on { background: rgba(244,27,59,.10); color: var(--red); }
.cta-band { background: linear-gradient(135deg, #0A2A47, #14243A); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.tier-box.gold { background: linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.badge-premium { background: var(--gold-grad); color: #2B1E02; }
.auth-form, .member-body .wrap { color: var(--ink); }
.auth-form { background: var(--pearl); }
.page-hero, .member-head { background: var(--navy-950); }
.lp-body, .lp-actions { color: var(--ink); }
.plan { background: #fff; color: var(--ink); }
.plan.featured { background: var(--navy-950); color: #fff; }
.bcard .muted, .brow .muted, .chapter .muted, .panel-card .muted, .filters .muted, .empty .muted, .plan .muted, .auth-form .muted, .lp-actions .muted, .preview .muted { color: var(--muted); }
.panel-card, .panel-card p, .panel-card li, .lp-actions, .preview, .preview-body, .mini-stats div, .list-table, .auth-form { color: var(--ink); }
.plan.featured, .plan.featured .muted { color: #fff; }

/* =====================================================================
   No white surfaces: everything is navy glass with light text.
   ===================================================================== */
:root { --ink: #F4F7FA; --muted: rgba(244,247,250,.64); --line: rgba(255,255,255,.12); --surface: rgba(255,255,255,.06); --card: rgba(255,255,255,.045); }
select option { background: #0A2A47; color: #fff; }
.jd-search { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); box-shadow: 0 26px 50px -28px rgba(0,0,0,.8); }
.jd-search:focus-within { border-color: var(--gold); }
.jd-loc { background: rgba(0,0,0,.18); border-right: 1px solid rgba(255,255,255,.12); }
.jd-search input::placeholder { color: rgba(244,247,250,.5); }
.jd-search i { color: var(--gold); }
.jd-go i { color: #fff; }
.bcard, .brow, .chapter, .panel-card, .filters, .empty, .plan, .preview, .mini-stats div, .lp-actions, .flash, .svc, .tier-box:not(.gold) {
  background: var(--card); color: var(--ink); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(8px); box-shadow: 0 20px 40px -26px rgba(0,0,0,.7); }
.brow.is-premium, .bcard.is-premium { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04) 70%); border-color: rgba(255,255,255,.6); }
.svc-img, .brow-img, .bcard-img, .preview-img { background: var(--navy-800); }
.bcard-body h3, .brow-main h2 a, .svc-body h3, .panel-card h2, .panel-card h3 { color: #fff; }
.brow-main h2 a:hover { color: var(--gold); }
.badge-basic, .svc-chips span { background: rgba(255,255,255,.08); color: rgba(244,247,250,.8); }
.badge-cat { background: rgba(244,27,59,.16); color: #FF8A99; }
.badge-verified { background: rgba(29,170,97,.18); color: #5BE0A0; }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.btn-call { background: rgba(255,255,255,.10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.btn-call:hover { background: rgba(255,255,255,.18); }
.input, .phone-input, .phone-input span { background: rgba(255,255,255,.06); color: var(--ink); border-color: rgba(255,255,255,.16); }
.phone-input input { color: var(--ink); background: none; }
.input::placeholder, .phone-input input::placeholder { color: rgba(244,247,250,.42); }
.input:focus, .phone-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,255,255,.15); }
.input:disabled { background: rgba(255,255,255,.03); }
.auth-form { background: transparent; }
.auth-art { background: var(--navy-950); }
.filter-list a:hover { background: rgba(255,255,255,.07); }
.filter-list a.on { background: rgba(255,255,255,.16); color: var(--gold); }
.contact-list i { background: rgba(255,255,255,.14); color: var(--gold); }
.socials a { background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--gold); color: var(--navy-900); }
.url-box { background: rgba(255,255,255,.07); }
.list-table td, .list-table th { border-color: rgba(255,255,255,.10); }
.lp-avatar { border-color: var(--navy-900); }
.mobile-cta { background: var(--navy-950); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.6); }
.price { color: #fff; } .price s { color: var(--muted); }
.plan.featured { background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.empty i { color: var(--gold); }
.pager a, .pager span { color: #fff; }
.promo-btn { background: var(--pearl); }

/* ---------- white outlines (replace the gold ones) ---------- */
.promo-main, .pt4, .brow.is-premium, .bcard.is-premium, .plan.featured, .cta-band, .tier-box.gold { --ring: rgba(255,255,255,.55); }
.brow.is-premium, .bcard.is-premium { border-color: rgba(255,255,255,.55); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04) 70%); }
.pt4 { box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.6); }
.pt4 i { color: #fff; opacity: .55; }
.nav .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); color: #fff; }
.nav .btn-ghost:hover { background: rgba(255,255,255,.12); }
.cat:hover .cat-ico { border-color: #fff; box-shadow: 0 18px 30px -16px rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.stat b::after { background: var(--red); }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,40px) scale(1.12); } }
@keyframes floatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-40px) scale(1.15); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(244,27,59,.55); } 70%,100% { box-shadow: 0 0 0 14px rgba(244,27,59,0); } }
.jd-hero::before { animation: floatA 14s ease-in-out infinite; }
.jd-hero::after { background: radial-gradient(closest-side, rgba(70,130,255,.16), transparent 70%); animation: floatB 18s ease-in-out infinite; }
.jd-hero h1 { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.jd-search { animation: fadeUp .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.promo > * { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.promo > *:nth-child(1) { animation-delay: .22s; } .promo > *:nth-child(2) { animation-delay: .30s; } .promo > *:nth-child(3) { animation-delay: .38s; } .promo > *:nth-child(4) { animation-delay: .46s; } .promo > *:nth-child(5) { animation-delay: .54s; }
.jd-hero h1 em { background: linear-gradient(90deg, #F41B3B, #FF7A8A, #F41B3B); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 5s linear infinite; }
@keyframes gradMove { to { background-position: 200% center; } }
.btn-brand, .jd-go { position: relative; overflow: hidden; }
.btn-brand::after, .jd-go::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg); }
.btn-brand:hover::after, .jd-go:hover::after { animation: shine .8s; }
.nav .btn-brand { animation: pulseRing 2.6s infinite; }
.promo-tile i { transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.promo-tile:hover i { transform: rotate(0) scale(1.18) translateY(-4px); opacity: .5; }
.promo-tile::before, .brow::before, .bcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.16), transparent 60%); }
.promo-tile:hover::before, .brow:hover::before, .bcard:hover::before { opacity: 1; }
.brow, .bcard { position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.brow:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.cat-ico { transition: transform .35s cubic-bezier(.3,1.6,.5,1), border-color .2s, background .2s, box-shadow .2s; }
.cat:hover .cat-ico { transform: translateY(-6px) scale(1.08) rotate(-3deg); }
.topbar { transition: height .25s, background .25s, box-shadow .25s; }
.topbar .wrap { transition: height .25s; }
.topbar.scrolled .wrap { height: 60px; }
.topbar.scrolled { box-shadow: 0 12px 30px -18px rgba(0,0,0,.8); background: rgba(20,36,58,.94); }
.logo img { transition: height .25s; } .topbar.scrolled .logo img { height: 28px; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 100; background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .jd-hero::before, .jd-hero::after, .nav .btn-brand, .jd-hero h1 em { animation: none !important; } }

/* ---------- grid listing + simple detail page ---------- */
.card-grid.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .card-grid.grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid.grid-3 { grid-template-columns: 1fr; } }
.bcard { border-radius: 18px; }
.bcard-img { aspect-ratio: 16/9; }
.bcard-body { padding: 16px 18px 18px; gap: 8px; }
.bcard-body h3 a:hover { color: var(--red); }
.bcard-meta { color: var(--muted); }
.bcard-meta i { color: var(--red); margin-right: 4px; }
.bcard.is-premium, .bcard:has(.badge-premium) { border-color: rgba(255,255,255,.5); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04) 70%); }

.lp-head { margin-top: 0; padding: 22px 0 18px; color: #fff; align-items: center; }
.lp-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 6px; }
.lp-head .meta a:hover { color: var(--red); }
.lp-avatar { width: 84px; height: 84px; border-radius: 22px; font-size: 1.8rem; border: 1px solid rgba(255,255,255,.2); box-shadow: none; }
.lp-actions { margin-bottom: 0; }
.lp-body { padding-top: 20px; }
@media (max-width: 900px) { .lp-head { flex-direction: row; margin-top: 0; } .lp-avatar { width: 64px; height: 64px; font-size: 1.4rem; } }

/* ---------- shareable business page ---------- */
.lp-hero { display: grid; grid-template-columns: 420px 1fr; gap: 0; background: var(--card); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-top: 8px; animation: fadeUp .7s both; }
.lp-photo { position: relative; background: var(--navy-800); min-height: 340px; }
.lp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(27,46,68,.35)); pointer-events: none; }
.lp-info { padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.lp-title { display: flex; gap: 16px; align-items: center; }
.lp-title .lp-avatar { width: 64px; height: 64px; border-radius: 18px; font-size: 1.3rem; flex: none; }
.lp-title h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 0; color: #fff; }
.lp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(244,247,250,.8); }
.lp-facts i { color: var(--red); margin-right: 8px; }
.lp-facts a:hover { color: #fff; text-decoration: underline; }
.lp-intro { color: var(--muted); margin: 0; max-width: 60ch; font-size: 1.02rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.lp-share { align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.10); color: var(--muted); font-size: .9rem; margin-top: 4px; }
.lp-body { padding-top: 22px; }
.lp-body .panel-card h2 { display: flex; align-items: center; gap: 10px; }
.lp-body .panel-card h2::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--red); }
.svc { transition: transform .25s, border-color .25s; }
.svc:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
@media (max-width: 900px) { .lp-hero { grid-template-columns: 1fr; } .lp-photo { min-height: 0; aspect-ratio: 16/10; } .lp-photo::after { display: none; } .lp-info { padding: 22px 20px; } .lp-cta .btn { flex: 1 1 140px; } }

.stats-inner { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.about-bcc { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 22px; background: var(--card); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
.about-bcc h2 { font-size: 1.4rem; margin-bottom: 6px; }
.about-bcc p { margin: 0; color: var(--muted); max-width: 70ch; }
.about-bcc > div { flex: 1; }
.about-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--brand); display: grid; place-items: center; font-size: 1.3rem; color: #fff; flex: none; }
@media (max-width: 760px) { .about-bcc { flex-direction: column; align-items: flex-start; } }

/* =====================================================================
   Modern backdrop + footer
   ===================================================================== */
body {
  background:
    radial-gradient(900px 600px at 8% 4%, rgba(244,27,59,.16), transparent 60%),
    radial-gradient(1000px 700px at 95% 18%, rgba(46,110,255,.16), transparent 60%),
    radial-gradient(900px 700px at 20% 60%, rgba(120,60,255,.10), transparent 60%),
    radial-gradient(1000px 700px at 90% 90%, rgba(244,27,59,.12), transparent 60%),
    linear-gradient(180deg, #1B2E44 0%, #031F3A 45%, #182A3F 100%);
  background-attachment: fixed;
}
.jd-hero::before, .jd-hero::after { opacity: .7; }
.section + .section { position: relative; }
.section + .section::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1160px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); }
.topbar { background: rgba(27,46,68,.72); backdrop-filter: blur(16px) saturate(1.4); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(244,27,59,.7), rgba(70,130,255,.7), transparent); opacity: .6; }
.stats-inner, .about-bcc, .cta-band { backdrop-filter: blur(10px); }
.cta-band { background: linear-gradient(135deg, rgba(244,27,59,.22), rgba(46,110,255,.16) 60%, rgba(20,36,58,.6)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.about-bcc { background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); }

/* footer */
.footer { position: relative; margin-top: 80px; padding: 0 0 26px; background: linear-gradient(180deg, rgba(20,36,58,0) 0%, #14243A 22%); color: rgba(244,247,250,.7); overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(244,27,59,.18), rgba(46,110,255,.08) 60%, transparent 75%); pointer-events: none; }
.footer .wrap { position: relative; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: -44px; padding: 30px 36px; border-radius: 24px; background: linear-gradient(120deg, #F41B3B 0%, #C2185B 55%, #3B4BD8 100%); color: #fff; box-shadow: 0 30px 60px -30px rgba(244,27,59,.65); position: relative; overflow: hidden; margin-bottom: 56px; }
.foot-cta::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.12); }
.foot-cta > * { position: relative; z-index: 1; }
.foot-cta h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.foot-cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 56ch; }
.foot-cta .btn-brand { background: #fff; color: #C2185B; box-shadow: none; }
.foot-cta .btn-brand:hover { transform: translateY(-2px); }
.footer-grid { padding-bottom: 8px; }
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--brand); }
.footer a { transition: color .2s, padding-left .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: transform .2s, background .2s; }
.foot-social a:hover { background: var(--brand); transform: translateY(-3px); padding-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: var(--brand); color: #fff; cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 14px 28px -12px rgba(244,27,59,.7); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
body.has-mobile-cta .to-top { bottom: 84px; }
@media (max-width: 700px) { .foot-cta { padding: 24px; margin-top: -30px; } }
.footer { overflow: visible; overflow-x: clip; }
.foot-cta { margin-top: -50px; }
.footer::before { bottom: 0; height: 320px; background: radial-gradient(ellipse at 50% 100%, rgba(244,27,59,.20), rgba(46,110,255,.08) 55%, transparent 75%); }

/* =====================================================================
   White-shade gradients (replace red/blue/violet backdrops)
   ===================================================================== */
body {
  background:
    radial-gradient(900px 600px at 8% 4%, rgba(255,255,255,.09), transparent 62%),
    radial-gradient(1000px 700px at 95% 20%, rgba(255,255,255,.07), transparent 62%),
    radial-gradient(900px 700px at 20% 62%, rgba(255,255,255,.05), transparent 62%),
    radial-gradient(1000px 700px at 90% 92%, rgba(255,255,255,.07), transparent 62%),
    linear-gradient(180deg, #1B2E44 0%, #20344B 50%, #182A3F 100%);
  background-attachment: fixed;
}
.jd-hero::before { background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent 70%); }
.jd-hero::after { background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent 70%); }
.topbar::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); opacity: .7; }
.cta-band { background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03) 65%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.about-bcc { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }

/* footer: pearl-white strip */
.foot-cta { background: linear-gradient(120deg, #FFFFFF 0%, #EEF3F7 55%, #D9E2EA 100%); color: var(--navy-900); box-shadow: 0 30px 60px -34px rgba(255,255,255,.35); }
.foot-cta::after { background: rgba(27,46,68,.06); }
.foot-cta p { color: #3C4C60; }
.foot-cta .btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(244,27,59,.7); }
.footer::before { background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.10), transparent 70%); }
.footer h4::after { background: rgba(255,255,255,.7); }
.to-top { background: rgba(255,255,255,.14); backdrop-filter: blur(8px); box-shadow: 0 14px 28px -14px rgba(0,0,0,.7); }
.to-top:hover { background: var(--brand); }

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.hl { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(8px); transition: transform .25s, border-color .25s; }
.hl:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.35); }
.hl-ico { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.10); color: #fff; font-size: 1.1rem; }
.hl b { display: block; font: 600 1rem var(--font-head); color: #fff; line-height: 1.25; }
.hl small { color: var(--muted); font-size: .85rem; line-height: 1.35; display: block; margin-top: 2px; }
@media (max-width: 1000px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }

/* logo + "Directory" aligned on the letter baseline */
.logo { align-items: flex-end; gap: 12px; line-height: 1; }
.logo img { display: block; }
.logo-sub { display: block; align-self: flex-end; line-height: 1; margin: 0 0 3px; padding: 0 0 0 12px; border-left: 0; position: relative; }
.logo-sub::before { content: ""; position: absolute; left: 0; bottom: -2px; width: 1px; height: 17px; background: rgba(255,255,255,.3); }

/* header: no bottom line */
.topbar, .topbar.scrolled { border-bottom: 0; }
.topbar::after { display: none; }

/* section separation: soft alternating bands + centred divider */
.section { position: relative; padding: 64px 0; }
.section:last-of-type { padding-bottom: 72px; }
.section:nth-of-type(even) { background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.035) 18%, rgba(255,255,255,.035) 82%, transparent 100%); }
.section + .section::before, .highlights + .section::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1160px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.22) 30%, rgba(255,255,255,.22) 70%, transparent); }
.section + .section::after { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); background: var(--navy-900); border: 1px solid rgba(255,255,255,.35); border-radius: 2px; }
.section-head h2 { position: relative; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--brand); }

.footer { margin-top: 40px; padding-top: 56px; }
.section + .section::after { display: none; }
.highlights { margin-bottom: 56px; }

/* footer = same look as the header */
.footer { margin-top: 56px; padding: 0; background: rgba(27,46,68,.72); backdrop-filter: blur(16px) saturate(1.4); color: var(--pearl); overflow: visible; }
.footer::before { display: none; }
.footer-bar .wrap { display: flex; align-items: center; gap: 22px; height: 74px; }
.footer-bar .logo img { height: 34px; }
.footer .foot-nav { display: flex; margin-left: auto; position: static; background: none; padding: 0; border: 0; flex-direction: row; }
.footer .foot-nav a { color: rgba(255,255,255,.85); }
.footer .foot-nav a:hover { color: #fff; background: rgba(255,255,255,.08); padding-left: .9em; }
.footer .foot-nav .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); color: #fff; }
.footer .foot-nav .btn-ghost:hover { background: rgba(255,255,255,.12); }
.footer .foot-nav .btn-brand { color: #fff; animation: none; }
.footer-meta { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: rgba(244,247,250,.6); }
.footer-meta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 18px; }
.foot-contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-contact i { margin-right: 6px; }
.foot-contact a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.foot-contact a:hover { background: var(--brand); }
@media (max-width: 920px) { .footer-bar .wrap { height: auto; flex-direction: column; align-items: flex-start; padding-top: 20px; padding-bottom: 14px; gap: 14px; } .footer .foot-nav { margin-left: 0; flex-wrap: wrap; } }

/* footer: original content, header styling (navy glass, pill links) */
.footer { margin-top: 56px; padding: 56px 0 26px; background: rgba(27,46,68,.72); backdrop-filter: blur(16px) saturate(1.4); color: rgba(255,255,255,.78); }
.footer .footer-grid { padding-bottom: 8px; }
.footer .logo { display: inline-flex; }
.footer h4 { color: #fff; }
.footer ul { gap: 4px; }
.footer ul a { display: inline-block; padding: .4em .9em; margin-left: -.9em; border-radius: 999px; font-weight: 500; color: rgba(255,255,255,.8); transition: background .2s, color .2s; }
.footer ul a:hover { color: #fff; background: rgba(255,255,255,.08); padding-left: .9em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.6); }

/* header blends into the page: left-side glow flowing from header down into hero */
body { position: relative; }
body::before { content: ""; position: absolute; top: 0; left: 0; width: 70vw; height: 640px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 85% 100% at 0% 0%, rgba(255,255,255,.20) 0%, rgba(255,255,255,.08) 38%, transparent 72%); }
.topbar:not(.scrolled) { background: transparent; backdrop-filter: none; box-shadow: none; }
.topbar.scrolled { background: rgba(27,46,68,.82); backdrop-filter: blur(16px) saturate(1.4); }
@media (max-width: 920px) { .nav { background: #20344B; } }

/* gradient blending: left + centre + right, header (top) and footer (bottom) */
body::before { width: 100%; height: 640px;
  background:
    radial-gradient(ellipse 45% 100% at 0% 0%, rgba(255,255,255,.20), rgba(255,255,255,.07) 45%, transparent 75%),
    radial-gradient(ellipse 40% 80% at 50% 0%, rgba(255,255,255,.12), rgba(255,255,255,.04) 45%, transparent 75%),
    radial-gradient(ellipse 45% 100% at 100% 0%, rgba(255,255,255,.20), rgba(255,255,255,.07) 45%, transparent 75%); }

.footer { position: relative; background: transparent; backdrop-filter: none; isolation: isolate; }
.footer::before { content: ""; display: block; position: absolute; left: 0; right: 0; top: -200px; bottom: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 100% at 0% 100%, rgba(255,255,255,.20), rgba(255,255,255,.07) 45%, transparent 75%),
    radial-gradient(ellipse 40% 80% at 50% 100%, rgba(255,255,255,.12), rgba(255,255,255,.04) 45%, transparent 75%),
    radial-gradient(ellipse 45% 100% at 100% 100%, rgba(255,255,255,.20), rgba(255,255,255,.07) 45%, transparent 75%); }
.footer::before { width: auto; height: auto; transform: none; }

/* header right menu: one consistent height/size, no halo */
.topbar .nav { gap: 6px; align-items: center; }
.topbar .nav > a { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 1.1em; line-height: 1; font-size: .95rem; font-weight: 600; border-radius: 999px; margin: 0; }
.topbar .nav > a.btn { padding: 0 1.25em; }
.topbar .nav .btn-brand { animation: none; box-shadow: none; }
.topbar .nav .btn-brand:hover { box-shadow: 0 8px 20px -10px rgba(244,27,59,.8); }

/* header backdrop fades out at the bottom: no hard edge, blends with page gradient */
.topbar, .topbar.scrolled, .topbar:not(.scrolled) { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; border-bottom: 0 !important; }
.topbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -34px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(180deg, rgba(27,46,68,.94) 0%, rgba(27,46,68,.82) 55%, rgba(27,46,68,0) 100%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.topbar.scrolled::before { opacity: 1; }
@media (max-width: 920px) { .topbar .nav { background: #20344B; } }

/* home hero: don't clip glows at the top (caused a hard edge under the menu) */
.jd-hero { overflow: visible; overflow-x: clip; }
.jd-hero::before { top: -60px; right: -10%; }
.jd-hero::after { bottom: -200px; }

/* softer white gradients (~35% weaker) */
body::before {
  background:
    radial-gradient(ellipse 45% 100% at 0% 0%, rgba(255,255,255,.13), rgba(255,255,255,.045) 45%, transparent 75%),
    radial-gradient(ellipse 40% 80% at 50% 0%, rgba(255,255,255,.075), rgba(255,255,255,.025) 45%, transparent 75%),
    radial-gradient(ellipse 45% 100% at 100% 0%, rgba(255,255,255,.13), rgba(255,255,255,.045) 45%, transparent 75%); }
.footer::before {
  background:
    radial-gradient(ellipse 45% 100% at 0% 100%, rgba(255,255,255,.13), rgba(255,255,255,.045) 45%, transparent 75%),
    radial-gradient(ellipse 40% 80% at 50% 100%, rgba(255,255,255,.075), rgba(255,255,255,.025) 45%, transparent 75%),
    radial-gradient(ellipse 45% 100% at 100% 100%, rgba(255,255,255,.13), rgba(255,255,255,.045) 45%, transparent 75%); }
body {
  background:
    radial-gradient(900px 600px at 8% 4%, rgba(255,255,255,.06), transparent 62%),
    radial-gradient(1000px 700px at 95% 20%, rgba(255,255,255,.045), transparent 62%),
    radial-gradient(900px 700px at 20% 62%, rgba(255,255,255,.03), transparent 62%),
    radial-gradient(1000px 700px at 90% 92%, rgba(255,255,255,.045), transparent 62%),
    linear-gradient(180deg, #1B2E44 0%, #20344B 50%, #182A3F 100%);
  background-attachment: fixed; }
.jd-hero::before { background: radial-gradient(closest-side, rgba(255,255,255,.09), transparent 70%); }
.jd-hero::after { background: radial-gradient(closest-side, rgba(255,255,255,.05), transparent 70%); }

/* =====================================================================
   Inner pages: banners/panels blend into the page gradient (match home)
   ===================================================================== */
.page-hero, .member-head { background: transparent !important; overflow: visible; }
.page-hero::before, .member-head::before { display: none; }
.page-hero { padding: 44px 0 20px; }
.page-hero h1 { font-weight: 500; }
.page-hero h1, .page-hero h2 { color: #fff; }
.member-head { padding: 36px 0 70px; }
.member-head .wrap { color: #fff; }
.member-tabs a { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.85); }
.member-tabs a.on, .member-tabs a:hover { background: rgba(255,255,255,.95); color: var(--navy-900); }

/* login / sign-up split screen */
.auth { min-height: calc(100vh - 74px); }
.auth-art { background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.015)) !important; border-right: 1px solid rgba(255,255,255,.08); }
.auth-art::before { background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%) !important; }
.auth-art li i { color: #fff; }
.auth-form { background: transparent !important; }

/* flash messages: same glass style as cards */
.flash { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.14); border-left: 4px solid var(--red); box-shadow: none; backdrop-filter: blur(8px); }
.flash.success { border-left-color: var(--green); }
.flash-wrap { margin-top: 8px; }

/* form cards, member area */
.panel-card, .preview, .mini-stats div { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.10); }
.mini-stats b, .preview-body h2, .preview-body h3 { color: #fff; }
.url-box { color: #fff; }
.list-table th { color: var(--muted); }
.list-table td { color: var(--ink); }
.field label { color: rgba(244,247,250,.9); }
.wrap.section { padding-left: 20px; padding-right: 20px; }


/* services: uniform square tiles, text below */
.svc-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.svc { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; }
.svc-img { aspect-ratio: 1 / 1; width: 100%; background: rgba(255,255,255,.06); overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.2rem; color: rgba(255,255,255,.25); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.svc-body { padding: 14px 16px 16px; text-align: left; }
.svc-body h3 { font-size: 1.02rem; margin: 0 0 4px; color: #fff; }
.svc-body p { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.svc-body .price { font-size: 1rem; }
@media (max-width: 560px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* =====================================================================
   Mobile: slide-in drawer menu (left -> right)
   ===================================================================== */
.nav-close { display: none; }
.nav-ov { display: none; }
@media (max-width: 920px) {
  .topbar .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 1.15rem; margin-left: auto; padding: 0; position: relative; z-index: 3; }
  .topbar .nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 330px); height: 100vh; height: 100dvh; margin: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 76px 18px 28px; overflow-y: auto;
    background: linear-gradient(180deg, #20344B 0%, #1B2E44 100%); border-right: 1px solid rgba(255,255,255,.10); box-shadow: 30px 0 70px -20px rgba(0,0,0,.75);
    transform: translateX(-105%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s linear .38s; z-index: 4; display: flex; }
  .topbar .nav.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .topbar .nav > a { height: 50px; justify-content: flex-start; padding: 0 1.1em; font-size: 1.02rem; border-radius: 14px; opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .3s, background .2s; }
  .topbar .nav.open > a { opacity: 1; transform: none; }
  .topbar .nav.open > a:nth-of-type(1) { transition-delay: .10s; } .topbar .nav.open > a:nth-of-type(2) { transition-delay: .16s; } .topbar .nav.open > a:nth-of-type(3) { transition-delay: .22s; } .topbar .nav.open > a:nth-of-type(4) { transition-delay: .28s; }
  .topbar .nav > a.btn { justify-content: center; margin-top: 8px; }
  .nav-close { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; }
  .nav-ov { display: block; position: fixed; inset: 0; z-index: 2; background: rgba(1,10,20,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-ov.show { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* mobile polish */
.cat-grid { align-items: start; }
.cat { justify-content: flex-start; }
@media (max-width: 480px) {
  .jd-hero { padding-top: 24px; }
  .jd-hero h1 { font-size: 1.85rem; }
  .cat-grid { gap: 18px 8px; }
  .cat-ico, .cat:nth-child(3n+2) .cat-ico, .cat:nth-child(3n) .cat-ico { width: 56px; height: 56px; border-radius: 16px; font-size: 1.25rem; }
  .cat-name { font-size: .74rem; line-height: 1.25; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .highlights { margin-bottom: 36px; }
  .about-bcc { padding: 20px; }
  .lp-title h1 { font-size: 1.5rem; }
  .lp-info { padding: 20px 16px; }
  .lp-cta .btn-lg { padding: .85em 1.1em; font-size: .95rem; }
  .card-grid.grid-3 { gap: 14px; }
}

.filter-toggle { display: none; }
@media (max-width: 900px) {
  .results-layout { padding-top: 12px; gap: 14px; }
  .filter-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border-radius: 14px; }
  .filter-toggle .fchev { margin-left: auto; transition: transform .25s; }
  .filter-toggle.on .fchev { transform: rotate(180deg); }
  .filter-toggle .fdot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; animation: fadeUp .3s both; }
  .filters .filter-list { max-height: 200px; overflow: auto; }
  .results-head { margin-top: 4px; }
}

@media (max-width: 700px) { .lp-cta .lp-dup { display: none; } .lp-cta:not(:has(a:not(.lp-dup))) { display: none; } }

/* member tables become stacked rows on phones */
@media (max-width: 640px) {
  .list-table, .list-table tbody, .list-table tr, .list-table td { display: block; width: 100%; }
  .list-table thead { display: none; }
  .list-table tr { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .list-table td { border: 0; padding: 4px 0; text-align: left !important; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .mini-stats div { padding: 12px; }
  .mini-stats b { font-size: 1.2rem; }
  .member-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .member-tabs a { white-space: nowrap; }
  .member-head { padding: 24px 0 56px; }
  .preview-body { padding: 18px; }
  .url-box { font-size: .82rem; }
}
@media (max-width: 480px) { .panel-card { padding: 18px; } .preview-img { min-height: 150px; } .plan { padding: 22px; } }

/* =====================================================================
   Mobile menu: slide in from the RIGHT edge (toggle button side)
   ===================================================================== */
@media (max-width: 920px) {
  .topbar .nav { left: auto; right: 0; transform: translateX(105%); border-right: 0; border-left: 1px solid rgba(255,255,255,.10); box-shadow: -30px 0 70px -20px rgba(0,0,0,.75); }
  .topbar .nav.open { transform: none; }
  .topbar .nav > a { transform: translateX(14px); }
  .topbar .nav.open > a { transform: none; }
  .nav-close { right: auto; left: 16px; }
}

/* small text-style button (e.g. "Resend code") */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--red); font-weight: 700; cursor: pointer; }
.linklike:disabled { color: var(--muted); cursor: default; font-weight: 500; }
#fb-recaptcha { height: 0; overflow: hidden; }

/* =====================================================================
   NO RED: white buttons with dark text, white accents (front end + admin)
   Errors keep a soft rose so they stay noticeable.
   ===================================================================== */
:root {
  --red: #F4F7FA; --coral: #FFFFFF;
  --brand: linear-gradient(180deg, #FFFFFF 0%, #E3EAF1 100%);
  --brand-soft: rgba(255,255,255,.10);
  --danger: #FF9AA9;
}
/* every former red button is now white with dark text */
.btn-brand, a.btn-brand, .topbar .nav .btn-brand, .nav .btn-brand, .jd-go, .head-search button, .pager .cur, .about-ico {
  background: linear-gradient(180deg, #FFFFFF 0%, #E3EAF1 100%) !important; color: #0B1736 !important; box-shadow: 0 8px 22px -10px rgba(255,255,255,.35) !important; animation: none !important; border-color: transparent !important; }
.btn-brand:hover, .jd-go:hover, .topbar .nav .btn-brand:hover { background: #FFFFFF !important; box-shadow: 0 12px 28px -10px rgba(255,255,255,.55) !important; }
.btn-brand i, .jd-go i, .about-ico i, .head-search button i { color: #0B1736 !important; }
.btn-brand::after, .jd-go::after { background: linear-gradient(90deg, transparent, rgba(11,23,54,.12), transparent); }
.to-top:hover { background: #FFFFFF; color: #0B1736; }
.lp-avatar { background: linear-gradient(160deg, #FFFFFF, #DDE6EE); color: #0B1736; border-color: rgba(255,255,255,.4); }

/* headline accent word, tags, small accents */
.jd-hero h1 em { background: linear-gradient(90deg, #FFFFFF, #9DB4C9, #FFFFFF); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-cat { background: rgba(255,255,255,.12); color: #E8EEF4; }
.filter-list a.on { background: rgba(255,255,255,.14); color: #fff; }
.cat:hover .cat-ico { border-color: #fff; }
.cta-band { background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03) 65%); }
.footer::before { background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.10), transparent 70%); }
.flash { border-left-color: rgba(255,255,255,.55); }
.flash.error, .flash.warning { border-left-color: var(--danger); }
.flash.success { border-left-color: var(--green); }
.field .err, .err { color: var(--danger); }
.check { accent-color: #FFFFFF; }

/* hero: the red "Free Listing" card is now white */
.promo-tile.pt2 { background: linear-gradient(160deg, #FFFFFF 0%, #E6ECF2 100%); color: #0B1736; }
.promo-tile.pt2 b { color: #0B1736; }
.promo-tile.pt2 small { color: #0B1736; opacity: .7; }
.promo-tile.pt2 i { color: #0B1736; opacity: .16; }
.promo-tile.pt2:hover i { opacity: .3; }

/* leftover red glow layers -> white */
.cta-band::before { background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent 70%); }
.lp-cover.no-img::before { background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent 70%); }
.tier-box.gold { background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.plan.featured::before { display: none; }

/* login: "or" divider + Google button, and the nudge to add a mobile number */
.or-sep { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: .85rem; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.14); }
#fb-google i { font-size: 1.1rem; }
.mobile-nudge { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .92rem; color: rgba(255,255,255,.9); }
.mobile-nudge i { margin-right: 6px; }
.mobile-nudge a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* =====================================================================
   Account menu (header), account bar (member pages), profile page
   ===================================================================== */
.acct { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font: 600 .95rem var(--font-body); cursor: pointer; transition: background .2s, border-color .2s; }
.acct-btn:hover, .acct.open .acct-btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.acct-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0B1736; font: 700 .9rem var(--font-head); flex: none; }
.acct-av.lg { width: 52px; height: 52px; font-size: 1.3rem; }
.acct-chev { font-size: .7rem; opacity: .75; transition: transform .2s; }
.acct.open .acct-chev { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; padding: 8px; border-radius: 16px; background: #0A2A47; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 28px 60px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; z-index: 70; }
.acct.open .acct-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.acct-head { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.acct-head b { display: block; color: #fff; font-weight: 600; }
.acct-head small { color: var(--muted); word-break: break-all; }
.acct-menu a, .acct-out { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 10px; color: rgba(255,255,255,.88); font: 500 .95rem var(--font-body); text-align: left; background: none; border: 0; cursor: pointer; }
.acct-menu a:hover, .acct-out:hover { background: rgba(255,255,255,.09); color: #fff; }
.acct-menu i { width: 18px; text-align: center; opacity: .8; }
.acct-menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.1); }
.acct-out { color: #FFB3BD; }
.acct-out:hover { color: #FFD0D6; }
.topbar .nav .acct a { height: auto; display: flex; padding: 11px 12px; font-size: .95rem; border-radius: 10px; margin: 0; }

.acct-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acct-id { min-width: 0; flex: 1 1 200px; }
.acct-id b { display: block; font: 600 1.05rem var(--font-head); color: #fff; }
.acct-id small { color: rgba(255,255,255,.65); word-break: break-all; }
.acct-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.acct-actions form { margin: 0; }
.member-head .acct-bar + .mobile-nudge, .member-head .acct-bar + h1 { margin-top: 16px; }

.profile-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.signin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.signin-list li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.09); }
.signin-list li:last-child { border-bottom: 0; }
.signin-list li > i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.09); flex: none; }
.signin-list div { flex: 1; min-width: 0; }
.signin-list b { display: block; font-weight: 600; color: #fff; }
.signin-list small { color: var(--muted); word-break: break-all; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: .3em .8em; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); white-space: nowrap; }
.pill.ok { background: rgba(29,170,97,.18); color: #7CF0B0; }
.input:disabled { opacity: .85; cursor: not-allowed; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }

/* phone drawer: the account menu is shown as a plain expanded list, no dropdown */
@media (max-width: 920px) {
  .acct-btn { display: none; }
  .acct-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 4px 0 0; background: transparent; border: 0; box-shadow: none; transition: none; }
  .acct-head { border-bottom: 1px solid rgba(255,255,255,.1); }
  .acct-menu a, .acct-out { height: 50px; padding: 0 14px; font-size: 1rem; }
  .topbar .nav > .acct { opacity: 0; transform: translateX(14px); transition: opacity .3s .26s, transform .3s .26s; margin-top: 6px; }
  .topbar .nav.open > .acct { opacity: 1; transform: none; }
  .acct-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) { .acct-bar { gap: 12px; } .acct-actions .btn { padding: .55em .9em; } }

/* polish: no pink logout, even card tops on the profile page, breathing room under the account bar */
.acct-out, .acct-out:hover { color: rgba(255,255,255,.9); }
.acct-out:hover { color: #fff; }
.profile-grid > .panel-card { margin-top: 0; }
.member-head .acct-bar + .mobile-nudge { margin-top: 18px; }
.member-head .acct-bar + h1, .member-head .mobile-nudge + h1 { margin-top: 22px !important; }

/* profile: "Your listings" */
.profile-listings { margin-bottom: 20px; }
.mylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mylist li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.09); }
.mylist li:last-child { border-bottom: 0; }
.mylist img { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: rgba(255,255,255,.06); flex: none; }
.mylist-main { flex: 1; min-width: 0; }
.mylist-main b { display: block; color: #fff; font-weight: 600; }
.mylist-main small { color: var(--muted); }
@media (max-width: 560px) { .mylist li { flex-wrap: wrap; } .mylist-main { flex-basis: calc(100% - 80px); } .mylist li .btn { margin-left: auto; } }

/* "this listing matches you but belongs to another account" */
.blocked-note { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); }
.blocked-note > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); flex: none; }
.blocked-note b { color: #fff; font-weight: 600; }
.blocked-note ul { margin: 8px 0 6px; padding-left: 18px; }
.blocked-note p { margin: 6px 0 12px; color: rgba(255,255,255,.8); }

/* =====================================================================
   App view (inside a mobile-app WebView): no site header / footer / back-to-top. The app has its own.
   ===================================================================== */
body.app-view { -webkit-tap-highlight-color: transparent; padding-bottom: env(safe-area-inset-bottom); }
.app-view .topbar, .app-view .footer, .app-view .to-top, .app-view .progress, .app-view .nav-ov { display: none !important; }
.app-view body::before, body.app-view::before { top: 0; }
.app-view .jd-hero { padding-top: 22px; }
.app-view .page-hero { padding-top: 26px; }
.app-view .member-head { padding-top: 22px; }
.app-view .results-layout { padding-top: 14px; }
.app-view .filters, .app-view .sticky { top: 12px; }
.app-view .auth { min-height: 100vh; }
.app-view .flash-wrap { margin-top: 12px; }
.app-view .mobile-cta { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.app-view .breadcrumb { display: none; }

/* =====================================================================
   ONE page background for EVERY page, on every device (login, profile, directory, /app ...)
   - The gradient is drawn on a fixed layer instead of `background-attachment: fixed`, which phones and
     WebViews ignore (short pages like login/profile then got a differently-stretched gradient than long ones).
   - The login page's extra lighter "glass" panel is removed so it matches the directory background.
   The admin panel (body.panel) keeps its own background.
   ===================================================================== */
html { background: #182A3F; }
body:not(.panel) { background: transparent !important; }
body:not(.panel)::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 8% 4%, rgba(255,255,255,.06), transparent 62%),
    radial-gradient(1000px 700px at 95% 20%, rgba(255,255,255,.045), transparent 62%),
    radial-gradient(900px 700px at 20% 62%, rgba(255,255,255,.03), transparent 62%),
    radial-gradient(1000px 700px at 90% 92%, rgba(255,255,255,.045), transparent 62%),
    linear-gradient(180deg, #1B2E44 0%, #20344B 50%, #182A3F 100%);
}
.auth-art { background: transparent !important; border-right: 1px solid rgba(255,255,255,.06) !important; }
.auth-art::before { display: none !important; }
.auth, .auth-form { background: transparent !important; }

/* Header: solid dark, no fade (same on every page, scrolled or not) */
.topbar, .topbar.scrolled, .topbar:not(.scrolled) { background: #1B2E44 !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; box-shadow: none !important; }
.topbar::before, .topbar.scrolled::before { display: none !important; }

/* Soft light glow in the centre of every page, and a faint one in the middle of the header */
body:not(.panel)::after {
  background:
    radial-gradient(900px 560px at 50% 38%, rgba(255,255,255,.075), transparent 68%),
    radial-gradient(900px 600px at 8% 4%, rgba(255,255,255,.06), transparent 62%),
    radial-gradient(1000px 700px at 95% 20%, rgba(255,255,255,.045), transparent 62%),
    radial-gradient(900px 700px at 20% 62%, rgba(255,255,255,.03), transparent 62%),
    radial-gradient(1000px 700px at 90% 92%, rgba(255,255,255,.045), transparent 62%),
    linear-gradient(180deg, #1B2E44 0%, #20344B 50%, #182A3F 100%) !important;
}
.topbar, .topbar.scrolled, .topbar:not(.scrolled) {
  background: radial-gradient(520px 90px at 50% 50%, rgba(255,255,255,.07), transparent 75%), #1B2E44 !important;
}

/* ONE flat colour for every page background: #152E45. No gradients, no white glows. */
:root { --navy-950: #152E45; --navy-900: #152E45; }
html, body, body:not(.panel), body.panel { background: #152E45 !important; }
body::before, body::after, body:not(.panel)::after { display: none !important; background: none !important; }
.topbar, .topbar.scrolled, .topbar:not(.scrolled) { background: #152E45 !important; }
.topbar::before, .topbar::after, .topbar.scrolled::before { display: none !important; }
.footer { background: #152E45 !important; }
.footer::before, .footer::after { display: none !important; }
.auth, .auth-art, .auth-form, .hero, .page-hero, .lp-cover, .lp-cover.no-img { background: #152E45 !important; }
.hero::before, .hero::after, .page-hero::before, .page-hero::after, .auth-art::before, .auth-art::after, .lp-cover::before { display: none !important; }
@media (max-width: 920px) { .topbar .nav { background: #152E45 !important; } }
.section, .section:nth-of-type(even), main, .jd-hero { background: none !important; }
.jd-hero::before, .jd-hero::after { display: none !important; }

/* No top loading/scroll bar */
.progress { display: none !important; }

/* Own a business? buttons: neat row on desktop, equal full-width stack on mobile */
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cta-btns .btn { margin: 0 !important; justify-content: center; text-align: center; }
@media (max-width: 560px) { .cta-btns { flex-direction: column; } .cta-btns .btn { width: 100%; } }

/* Footer: 5 columns (added Legal) */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Legal pages */
.legal { max-width: 780px; line-height: 1.7; color: rgba(255,255,255,.82); }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; color: #fff; }
.legal ul, .legal ol { padding-left: 1.3em; display: grid; gap: 6px; }
.legal a { text-decoration: underline; }
.legal b { color: #fff; }

/* Manage page: action buttons never overlap (row on desktop, tidy grid on phones) */
.preview-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.preview-actions .btn { margin: 0 !important; justify-content: center; text-align: center; white-space: nowrap; }
.url-box { flex-wrap: wrap; gap: 8px; }
.url-box span { min-width: 0; overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 560px) {
  .preview-actions { flex-direction: column; }
  .preview-actions .btn { width: 100%; }
  .url-box .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .member-tabs { flex-wrap: wrap !important; overflow: visible !important; gap: 8px; }
  .member-tabs a { flex: 0 0 auto; }
}

/* No pull-down-to-refresh on phones (Chrome/Android and WebView) */
html, body { overscroll-behavior-y: none; }

/* ---------- Chapters ---------- */
.chap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.chap-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: transform .2s, border-color .2s; }
.chap-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.chap-card.mine { border-color: rgba(124,240,176,.55); }
.chap-card h3 { font-size: 1.15rem; color: #fff; }
.chap-top { display: flex; justify-content: space-between; align-items: center; }
.chap-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 1.15rem; }
.chap-stats { display: flex; gap: 22px; margin: 10px 0 4px; }
.chap-stats b, .chap-summary b { display: block; font-size: 1.6rem; line-height: 1.1; color: #fff; }
.chap-stats span, .chap-summary span { font-size: .8rem; color: rgba(255,255,255,.65); }
.chap-go { margin-top: auto; font-weight: 700; font-size: .9rem; padding-top: 8px; }
.chapter-page { display: grid; gap: 20px; }
.chapter-page .panel-card + .panel-card { margin-top: 0; }
.chap-summary { display: flex; gap: 14px; flex-wrap: wrap; }
.chap-summary > div { padding: 14px 22px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); min-width: 120px; }
.chap-mine form, .join-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chap-mine form + form, .join-row + .join-row { margin-top: 12px; }
.join-row small { display: block; color: rgba(255,255,255,.6); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: .45em .95em; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .88rem; font-weight: 600; }
.chip b { background: rgba(255,255,255,.18); border-radius: 999px; padding: 0 .55em; font-size: .78rem; }
a.chip:hover, .chip.on { background: #fff; color: #152E45; border-color: #fff; } .chip.on b { background: rgba(21,46,69,.12); }
.chip.vacant { border-style: dashed; background: transparent; color: rgba(255,255,255,.75); font-weight: 500; }
.vacant-box { margin-top: 16px; } .vacant-box summary { cursor: pointer; font-weight: 600; }
.chap-tbl { width: 100%; border-collapse: collapse; }
.chap-tbl th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6); padding: 10px 12px; }
.chap-tbl td { padding: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.chap-tbl a { text-decoration: underline; }
@media (max-width: 640px) {
  .chap-tbl thead { display: none; } .chap-tbl, .chap-tbl tbody, .chap-tbl tr, .chap-tbl td { display: block; width: 100%; }
  .chap-tbl tr { border-top: 1px solid rgba(255,255,255,.14); padding: 10px 0; } .chap-tbl td { border: 0; padding: 3px 0; }
  .chap-tbl td::before { content: attr(data-l) ": "; color: rgba(255,255,255,.55); font-size: .8rem; }
}
/* referral box */
.ref-form { display: grid; gap: 10px; margin: 12px 0 18px; }
.ref-kinds { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.ref-feed { display: grid; gap: 12px; }
.ref-post { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ref-post.reference { border-left: 3px solid #7CF0B0; } .ref-post.requirement { border-left: 3px solid #fff; }
.ref-head { display: flex; align-items: center; gap: 10px; } .ref-head > div { flex: 1; min-width: 0; } .ref-head small { display: block; color: rgba(255,255,255,.6); }
.ref-post p { margin: 10px 0 4px; overflow-wrap: anywhere; } .ref-post .linklike { color: rgba(255,255,255,.6); font-weight: 500; font-size: .85rem; }

.req-form { display: grid; gap: 10px; max-width: 560px; }
@media (max-width: 560px) {
  .join-row, .chap-mine form { flex-direction: column; align-items: stretch; }
  .join-row form .btn, .chap-mine .btn, .req-form .btn { width: 100%; }
  .chap-summary > div { flex: 1; min-width: 0; }
}

/* Referral tagging + notifications */
.tagbox { position: relative; display: grid; gap: 8px; }
.tag-results { position: absolute; top: 48px; left: 0; right: 0; z-index: 20; max-height: 280px; overflow: auto; border-radius: 14px; background: #1d3a54; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
.tag-hit { display: block; width: 100%; text-align: left; padding: 10px 14px; background: none; border: 0; color: #fff; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.08); }
.tag-hit:hover { background: rgba(255,255,255,.08); } .tag-hit small { display: block; color: rgba(255,255,255,.65); }
.tag-none { padding: 12px 14px; }
.tag-x { background: none; border: 0; color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 0 0 4px; }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; color: rgba(255,255,255,.7); } .ref-tags .chip { padding: .2em .7em; font-size: .8rem; }
a.notif { display: block; color: inherit; } a.notif:hover { border-color: rgba(255,255,255,.4); } .notif.new { background: rgba(124,240,176,.08); }
.bell { position: relative; } .bell-n { margin-left: 6px; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: #152E45; font-size: .74rem; font-weight: 800; line-height: 20px; text-align: center; }
.ref-head { flex-wrap: wrap; } .ref-head > div { flex: 1 1 160px; }
.ref-post, a.notif { min-width: 0; overflow-wrap: anywhere; }

/* Chapters: tighter space under the page heading; table picture above the members */
.page-hero p { margin-bottom: 0; }
.chap-section { padding-top: 22px !important; }
.chap-banner { display: flex; justify-content: center; padding: 8px 0; }
.chap-banner img { width: min(100%, 620px); height: auto; opacity: .55; }

/* Members box: collapsed until clicked */
.members-box summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.members-box summary::-webkit-details-marker { display: none; }
.members-box summary h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.count-pill { font-size: .8rem; font-weight: 700; padding: .15em .7em; border-radius: 999px; background: rgba(255,255,255,.14); }
.members-chev { transition: transform .2s; } .members-box[open] .members-chev { transform: rotate(180deg); }
.members-body { margin-top: 16px; display: grid; gap: 12px; }
.members-box .tbl-wrap[hidden], .chap-tbl tr[hidden] { display: none; }

/* Confirm bar (bottom, one line) */
.cbar { position: fixed; left: 50%; bottom: 18px; z-index: 300; width: min(640px, calc(100% - 24px)); transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; white-space: nowrap;
  background: #0f2335; color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 60px -18px rgba(0,0,0,.85);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.cbar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cbar > i { color: rgba(255,255,255,.85); flex: none; }
.cbar-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 500; font-size: .94rem; }
.cbar button { flex: none; border: 0; border-radius: 999px; padding: .55em 1.1em; font: 700 .86rem var(--font-body, inherit); cursor: pointer; }
.cbar-no { background: rgba(255,255,255,.1); color: #fff; } .cbar-no:hover { background: rgba(255,255,255,.18); }
.cbar-yes { background: #fff; color: #152E45; } .cbar-yes:hover { background: #E9EEF3; }
@media (max-width: 420px) { .cbar { gap: 8px; padding-left: 12px; } .cbar-msg { font-size: .85rem; } .cbar button { padding: .5em .85em; } }
.footer-grid > div { min-width: 0; } .footer-grid a { overflow-wrap: anywhere; }
.legal-hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 32px 0 14px; } .legal-co { font-size: .88rem; }

/* Login in the app and on phones: everything centred */
.app-view #login-root { text-align: center; margin-inline: auto; }
.app-view .auth { grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; }
.app-view .auth-art { display: none; }
@media (max-width: 860px) { #login-root { text-align: center; margin-inline: auto; } }

/* App login: the block sits in the exact middle of the screen, top to bottom, whatever height the WebView reports */
.app-view .auth { position: fixed; inset: 0; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.app-view .auth-form { flex: 0 0 auto; width: 100%; margin: auto 0; }
.app-view .flash-wrap { position: relative; z-index: 5; }
@media (max-width: 860px) { body:not(.app-view) .auth { min-height: calc(100vh - 74px); min-height: calc(100dvh - 74px); } }

/* Membership card on the profile page */
.member-card { margin: 20px 0; max-width: 440px; aspect-ratio: 1.7 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px 24px; border-radius: 20px;
  background: #1d3a54; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 22px 44px -22px rgba(0,0,0,.75); color: #fff; }
.member-card.is-premium { border: 2px solid #E3B64F; }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mc-top img { height: 28px; width: auto; }
.mc-top span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.mc-row span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.mc-row b { display: block; font-size: 1.25rem; line-height: 1.3; overflow-wrap: anywhere; }
.mc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mc-bottom .mc-row b { font-size: 1.05rem; } .mc-id { letter-spacing: .08em; }
.mc-bottom .mc-row:last-child { text-align: right; }
.member-card.is-premium .mc-tier { color: #E3B64F; }
@media (max-width: 560px) { .member-card { max-width: none; aspect-ratio: auto; min-height: 200px; padding: 18px; } }
.mc-who b { display: block; font-size: 1.3rem; line-height: 1.3; overflow-wrap: anywhere; }
.mc-who small { display: block; margin-top: 2px; font-size: .92rem; color: rgba(255,255,255,.75); overflow-wrap: anywhere; }

/* Profile: privacy and account links (the app view has no footer) */
.account-links { margin-top: 20px; }
.account-links a { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: #fff; border-top: 1px solid rgba(255,255,255,.1); }
.account-links a span { flex: 1; } .account-links a i:last-child { font-size: .75rem; opacity: .6; }
.account-links a i:first-child { width: 20px; text-align: center; }
