/* ==========================================================
   Self-hosted Poppins — faster and no external request vs
   Google's CDN. Files are already bundled in /assets/fonts/.
   ========================================================== */
@font-face{font-family:'Poppins';src:url('/assets/fonts/Poppins-Regular.woff2') format('woff2'), url('/assets/fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-display:swap;}
@font-face{font-family:'Poppins';src:url('/assets/fonts/Poppins-Medium.woff2') format('woff2'), url('/assets/fonts/Poppins-Medium.ttf') format('truetype');font-weight:500;font-display:swap;}
@font-face{font-family:'Poppins';src:url('/assets/fonts/Poppins-Medium.woff2') format('woff2'), url('/assets/fonts/Poppins-Medium.ttf') format('truetype');font-weight:600;font-display:swap;}
@font-face{font-family:'Poppins';src:url('/assets/fonts/Poppins-Bold.woff2') format('woff2'), url('/assets/fonts/Poppins-Bold.ttf') format('truetype');font-weight:700;font-display:swap;}
@font-face{font-family:'Poppins';src:url('/assets/fonts/Poppins-ExtraBold.woff2') format('woff2'), url('/assets/fonts/Poppins-ExtraBold.woff') format('woff');font-weight:800;font-display:swap;}

:root{
  --navy:#131A3A;
  --indigo:#2A3B8F;
  --violet:#5B4FE9;
  --violet-dark:#4438C9;
  --violet-light:#8B7FF0; /* for violet text/links on dark backgrounds (footer, hero overlays) — needs the lighter tint for contrast */
  --teal:#16C6B6;
  --gold:#F2A93B;
  --coral:#F2617A;
  --bg:#F7F8FC;
  --text:#232842;
  --muted:#6B7196;
  --border:#E6E8F5;
  --shadow-sm:0 2px 8px rgba(43,45,90,0.06);
  --shadow-md:0 10px 30px rgba(43,45,90,0.10);
  --shadow-lift:0 14px 34px rgba(91,79,233,0.16);
}

*{box-sizing:border-box;}
img{max-width:100%; height:auto;}
html{scroll-behavior:smooth;}
body{
  font-family:'Poppins', Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  margin:0;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-weight:700; color:var(--navy); line-height:1.25; margin:0 0 12px;}
h1{font-size:38px; font-weight:800; letter-spacing:-0.6px; line-height:1.18;}
h2{font-size:30px; font-weight:800; letter-spacing:-0.4px; line-height:1.2;}
h3{font-size:20px; font-weight:700; letter-spacing:-0.2px;}
p{margin:0 0 12px;}
a{color:var(--indigo); text-decoration:none; transition:color .15s ease;}
.muted{color:var(--muted); font-size:14px;}

.container{max-width:1160px; margin:0 auto; padding:0 20px;}
.section{padding:52px 20px;}
.section h2{position:relative; padding-bottom:14px; margin-bottom:26px;}
.section h2::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:4px;border-radius:2px;background:var(--violet);}

/* ---- Buttons ---- */
.btn:disabled, .btn.is-disabled{opacity:0.45; cursor:not-allowed; pointer-events:none;}
.btn{
  display:inline-block;
  padding:11px 20px;
  border-radius:9px;
  font-weight:500;
  font-size:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--navy);
  cursor:pointer;
  transition:all .15s ease;
}
.btn:hover{border-color:var(--violet); color:var(--violet); transform:translateY(-1px);}
.btn-primary{background:var(--violet); color:#fff; border-color:transparent; box-shadow:0 6px 16px rgba(91,79,233,0.28);}
.btn-primary:hover{color:#fff; opacity:0.94; transform:translateY(-1px);}
.btn-lg{padding:15px 30px; font-size:16px;}
.btn-block{width:100%; text-align:center;}
.btn-mini{padding:5px 10px; font-size:12px; border-radius:6px; border:1px solid var(--border); background:#fff; cursor:pointer; margin:2px;}
.btn-approve{background:var(--teal); color:#083D37; border-color:var(--teal); font-weight:700;}
.btn-reject{background:var(--coral); color:#fff; border-color:var(--coral);}

/* ---- Header ---- */
.site-header{background:#ffffff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50;}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:13px 20px; flex-wrap:wrap; gap:10px;}
.logo{display:flex; align-items:center; gap:10px; color:var(--navy); text-decoration:none;}
.logo img{width:38px; height:38px; display:block;}
.logo .hl{color:var(--violet);}
.logo.light{color:#fff;}
.logo.light .hl{color:var(--violet-light);}
.logo-wordmark{display:flex; flex-direction:column; line-height:1.12;}
.logo-name{font-weight:700; font-size:18px; white-space:nowrap;}
.logo-tagline{font-size:10.5px; font-weight:500; color:var(--muted); letter-spacing:0.2px; margin-top:1px;}
.logo-short{display:none;}
.main-nav{display:flex; align-items:center; flex-wrap:wrap; row-gap:8px;}
.main-nav a{margin-left:18px; font-size:15.5px; color:var(--text); font-weight:600;}
.main-nav a:hover{color:var(--violet);}
/* Buttons inside the nav must keep their own text colour — .main-nav a would
   otherwise override .btn-primary's white via specificity, giving dark text. */
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover{color:#fff !important;}
.main-nav a.nav-highlight{color:var(--violet); font-weight:600; position:relative;}
.main-nav a.nav-highlight::before{content:"✦"; font-size:10px; margin-right:5px; color:var(--gold); vertical-align:middle;}
.main-nav a.nav-highlight:hover{color:var(--violet-dark);}

/* Hamburger toggle — hidden on desktop, shown when the nav would overflow */
.nav-toggle{display:none; flex-direction:column; justify-content:center; gap:5px; width:44px; height:40px; padding:0 10px; background:none; border:1.5px solid var(--border); border-radius:10px; cursor:pointer;}
.nav-toggle span{display:block; height:2.5px; width:22px; background:var(--navy); border-radius:2px; transition:transform .2s ease, opacity .2s ease;}
.nav-toggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}
.logout-btn{background:var(--coral); color:#fff !important; padding:7px 16px; border-radius:8px; font-weight:600;}
.logout-btn:hover{opacity:0.88; color:#fff !important;}

/* ---- Hero (with layered texture, not flat) ---- */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--violet);
  color:#fff;
  padding:76px 20px 84px;
  text-align:center;
}
/* Decorative teal/gold blobs removed — flat violet hero only, no colour blending. */
.hero .container{position:relative; z-index:2;}
.hero-eyebrow{display:inline-block;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.3);padding:5px 14px;border-radius:20px;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:20px;}
.hero h1{color:#fff; font-size:48px; font-weight:800; letter-spacing:-0.8px; line-height:1.15; max-width:780px; margin:0 auto 16px;}
.hero-sub{color:rgba(255,255,255,0.85); max-width:560px; margin:0 auto 30px; font-size:16px;}

.search-bar{
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
  background:#fff; padding:10px; border-radius:14px; max-width:780px; margin:0 auto;
  box-shadow:var(--shadow-md);
}
.search-bar select, .search-bar input[type=text]{
  flex:1; min-width:140px; padding:7px 11px; line-height:19px; border-radius:7px; border:1.3px solid #5951B8; font-family:inherit; font-size:13.5px; color:#1F2233; background:#fff;
}
.search-bar .btn-primary{white-space:nowrap;}

/* ---- Trust / stats strip ---- */
.stats-strip{background:#fff; border-bottom:1px solid var(--border);}
.stats-strip .container{display:flex; justify-content:center; gap:56px; padding:22px 20px; flex-wrap:wrap;}
.stats-strip .stat{display:flex; flex-direction:column; align-items:center; text-align:center; min-width:100px;}
.stats-strip .stat-num{display:block; font-size:24px; font-weight:700; color:var(--violet);}
.stats-strip .stat-label{display:block; font-size:12.5px; color:var(--muted); margin-top:2px;}

/* ---- Category grid (flexbox — reliable across all browsers) ---- */
.category-grid{display:flex; flex-wrap:wrap; gap:14px;}
.category-card{
  flex:1 1 170px; max-width:220px;
  background:#fff; border:1px solid var(--border); border-radius:12px; padding:22px 16px;
  text-align:center; font-weight:500; color:var(--navy);
  box-shadow:var(--shadow-sm);
  transition:all .15s ease;
}
.category-card:hover{border-color:var(--violet); box-shadow:var(--shadow-lift); transform:translateY(-3px); color:var(--navy);}
.category-card .cat-icon{
  width:44px; height:44px; margin:0 auto 12px; border-radius:12px;
  background:var(--violet);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.category-card .cat-icon svg{width:22px; height:22px;}
.category-card .cat-count{display:block; font-size:11.5px; color:var(--muted); font-weight:400; margin-top:4px;}

/* ---- Listing cards ---- */
.listing-grid{display:flex; flex-wrap:wrap; gap:20px;}
.listing-card{
  flex:1 1 270px; max-width:360px;
  background:#fff; border:1px solid var(--border); border-radius:14px; padding:16px; position:relative; display:block;
  box-shadow:var(--shadow-sm);
  transition:all .18s ease;
}
.listing-card:hover{box-shadow:var(--shadow-lift); transform:translateY(-3px); border-color:var(--violet);}
.listing-card.featured{border-color:var(--gold);}
.listing-card-img{
  height:150px; border-radius:10px; background-color:#eee; background-size:cover; background-position:center; margin-bottom:12px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.listing-card-img.placeholder{background:#EDEBFC; color:var(--violet); font-weight:700; font-size:26px;}
.badge{position:absolute; top:12px; right:12px; font-size:10px; font-weight:700; padding:4px 10px; border-radius:20px; color:#fff; box-shadow:0 3px 8px rgba(242,169,59,0.35);}
.badge + .badge{top:44px;} /* stack the second badge below the first when a card has both Featured and Top */
.badge-top{background:var(--violet); box-shadow:0 3px 8px rgba(91,79,233,0.35);}
.h-card__badge--top{background:var(--violet); color:#fff;}

.cat-tier-label{font-size:12px; font-weight:700; letter-spacing:0.4px; text-transform:uppercase; color:var(--muted); margin:22px 0 10px; padding-top:14px; border-top:1px solid var(--border);}
.cat-tier-label:first-child{margin-top:0; padding-top:0; border-top:none;}
.cat-tier-label--combo{color:#5A3B00;}
.cat-tier-label--featured{color:#5A3B00;}
.cat-tier-label--top{color:var(--violet-dark);}

.cat-pagination{display:flex; align-items:center; justify-content:center; gap:16px; margin-top:28px;}

.pricing-card--soldout{opacity:0.7;}
.badge-featured{background:var(--gold); color:#5A3B00;}
.badge-featured--inline{display:inline-block; font-size:12px; font-weight:700; padding:3px 10px; border-radius:20px; vertical-align:middle; margin-left:4px;}
.badge-verified{background:var(--teal); font-size:11px; padding:2px 8px; border-radius:10px; margin-left:8px; color:#083D37; font-weight:700;}
.listing-card h3{margin-bottom:2px;}

/* ---- Listing detail ---- */
.listing-detail{display:flex; gap:30px; align-items:flex-start; flex-wrap:wrap;}
.listing-main{flex:2; min-width:300px;}
.listing-sidebar{flex:1; min-width:260px;}
.listing-cover{height:240px; border-radius:14px; background-size:cover; background-position:center; background-color:#eee; box-shadow:var(--shadow-sm);}
.listing-cover-placeholder{background:var(--violet);}
.listing-hero-wrap{position:relative; margin-bottom:34px;}
.listing-logo-avatar{
  position:absolute; bottom:-30px; left:24px;
  width:84px; height:84px; border-radius:18px;
  background-size:cover; background-position:center; background-color:#fff;
  border:4px solid #fff; box-shadow:0 8px 20px rgba(19,26,58,0.18);
}
.listing-logo-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:var(--violet); color:#fff;
  font-weight:700; font-size:26px;
}
.listing-title-row{padding-left:2px;}
.listing-title-row h1{margin-bottom:2px;}
.about-business-card{margin-bottom:18px;}
.info-list{list-style:none; padding:0; margin:0;}
.info-list li{display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); font-size:13.5px;}
.info-list li:last-child{border-bottom:none;}
.phone-reveal-btn{border:none; background:none; color:var(--violet); font-weight:700; font-size:12px; cursor:pointer; padding:0; margin-left:2px; text-decoration:underline;}
.info-icon{font-size:15px; flex-shrink:0; width:20px; text-align:center;}
.breadcrumb{font-size:12.5px; color:var(--muted); margin-bottom:14px;}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--violet);}
.gallery-grid{display:flex; flex-wrap:wrap; gap:10px;}
.gallery-grid img, .gallery-grid > div{width:calc(33.333% - 7px); border-radius:10px; cursor:pointer;}
.custom-fields-list{list-style:none; padding:0; margin:8px 0 20px;}
.custom-fields-list li{display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--border); font-size:15px; line-height:1.5;}
.custom-fields-list li .cf-label{color:var(--navy); font-weight:700;}
.custom-fields-list li .cf-value{color:var(--text); font-weight:400; text-align:right; word-break:break-word; min-width:0;}
@media (max-width:600px){
  .custom-fields-list li{flex-direction:column; align-items:flex-start; gap:2px;}
  .custom-fields-list li .cf-value{text-align:left;}
}

.card{background:#fff; border:1px solid var(--border); border-radius:14px; padding:20px; box-shadow:var(--shadow-sm);}
.card form input[type=text], .card form input[type=email], .card form input[type=tel], .card form input[type=url], .card form input[type=password], .card form select, .card form textarea{
  width:100%; margin-bottom:12px; padding:7px 11px; line-height:19px; border-radius:7px; border:1.3px solid #5951B8; font-family:inherit; font-size:13.5px; color:#1F2233; background:#fff;
}
.card form input::placeholder, .card form textarea::placeholder{color:var(--muted);}

/* Sitewide fallback: any .app-card form field not already styled by a more specific rule
   (dashboard/profile.php, dashboard/leads.php, and any future dashboard forms) gets the same
   canonical field look as every other form on the site. */
.app-card input[type=text], .app-card input[type=email], .app-card input[type=tel], .app-card input[type=url],
.app-card input[type=password], .app-card input[type=number], .app-card input[type=date], .app-card select, .app-card textarea{
  width:100%; margin-bottom:0; padding:7px 11px; line-height:19px; border-radius:7px; border:1.3px solid #5951B8; font-family:inherit; font-size:13.5px; color:#1F2233; background:#fff;
}
.app-card input::placeholder, .app-card textarea::placeholder{color:var(--muted);}
.app-card input:focus, .app-card select:focus, .app-card textarea:focus{outline:none; border-color:var(--violet); box-shadow:0 0 0 3px rgba(91,79,233,0.12);}
.card form input:focus, .card form textarea:focus, #listingForm input:focus, #listingForm select:focus, #listingForm textarea:focus{
  outline:none; border-color:var(--violet); box-shadow:0 0 0 3px rgba(91,79,233,0.12);
}
.consent-label.legacy{font-size:12px;}

/* ---- Password show/hide toggle (applied automatically via JS) ---- */
.password-field-wrap{position:relative;}
.password-field-wrap input{padding-right:42px !important;}
.password-toggle-btn{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  background:none; border:none; cursor:pointer; padding:5px;
  color:var(--muted); display:flex; align-items:center; justify-content:center;
  border-radius:6px;
}
.password-toggle-btn:hover{color:var(--violet); background:rgba(91,79,233,0.08);}
.password-toggle-btn svg{width:18px; height:18px;}

/* ---- Submission form ---- */
#listingForm input[type=text], #listingForm input[type=email], #listingForm input[type=url],
#listingForm input[type=number], #listingForm input[type=tel], #listingForm select, #listingForm textarea{
  width:100%; margin-bottom:12px; padding:7px 11px; line-height:19px; border-radius:7px; border:1.3px solid #5951B8; font-family:inherit; font-size:13.5px; color:#1F2233; background:#fff;
}
#listingForm input::placeholder, #listingForm textarea::placeholder{color:var(--muted);}
#listingForm input[type=file]{width:100%; margin-bottom:12px; padding:7px 11px; line-height:19px; border-radius:7px; border:1.3px dashed #5951B8; background:#FAFBFF; font-family:inherit; font-size:13.5px; color:#5A6072; cursor:pointer;}
/* Edit-listing: clear spacing between sections so the form isn't congested */
#listingForm.app-card > h3{margin-top:30px; margin-bottom:14px; padding-top:22px; border-top:1px solid var(--border);}
#listingForm.app-card > h3:first-of-type{margin-top:0; padding-top:0; border-top:none;}
.two-field-row{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:14px;}
.two-field-row input{flex:1; min-width:180px; margin-bottom:0 !important;}
/* Checkboxes/radios must never be stretched by the flex-input rule above —
   keep them at their natural tick-box size and vertically centered with the label text. */
.two-field-row input[type=checkbox],
.two-field-row input[type=radio]{
  flex:0 0 auto; min-width:0; width:16px; height:16px; margin:0; accent-color:var(--violet);
}
.location-selects{display:flex; gap:12px; margin-bottom:12px; flex-wrap:wrap;}
.location-selects select,
.location-selects input[type=text]{flex:1; min-width:150px; margin-bottom:0 !important;}
.location-selects input:disabled{background:#f4f4f8; cursor:not-allowed;}
.city-typeahead{position:relative; flex:1; min-width:150px;}
.city-typeahead input[type=text]{width:100%;}
.city-suggestions{
  position:absolute; top:calc(100% + 4px); left:0; right:0; z-index:40;
  background:#fff; border:1px solid var(--border); border-radius:8px;
  box-shadow:0 8px 20px rgba(20,16,60,0.12); max-height:240px; overflow-y:auto;
}
.city-suggestion-item{padding:9px 12px; font-size:14px; cursor:pointer; border-bottom:1px solid var(--border);}
.city-suggestion-item:last-child{border-bottom:none;}
.city-suggestion-item:hover, .city-suggestion-item.is-active{background:var(--violet); color:#fff;}
.field-hint{font-size:12.5px; color:var(--muted); margin:-4px 0 14px; line-height:1.5;}
.package-choice-grid{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px;}
.package-choice{
  flex:1 1 150px;
  border:1.5px solid var(--border); border-radius:11px; padding:14px; text-align:center; cursor:pointer; display:flex; flex-direction:column; gap:4px;
  transition:all .15s ease;
}
.package-choice:has(input:checked){border-color:var(--violet); background:#F7F6FE; box-shadow:0 0 0 3px rgba(91,79,233,0.10);}
.package-choice input{width:auto; margin:0 auto 6px;}
.service-row{display:flex; gap:10px; margin-bottom:12px; align-items:center;}
.service-row input{flex:1; min-width:0;}
.row-remove{flex:0 0 auto; width:34px; height:34px; border:1.5px solid #E7C3CB; background:#FDEEF1; color:#D33B54; border-radius:8px; font-size:17px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; transition:background .15s;}
.row-remove:hover{background:#F8D7DE; border-color:#DDA0AC;}
#addServiceBtn{margin-bottom:20px;}
.custom-field-block label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:6px;}
.custom-field-block{margin-bottom:14px;}

/* ---- CTA ---- */
.cta-section{text-align:center; background:#F8F7FF; border:1px solid var(--border); border-radius:18px; margin:20px auto; max-width:900px; box-shadow:var(--shadow-sm);}

/* ---- Contact page ---- */
.contact-grid{display:flex; gap:30px; flex-wrap:wrap;}
.contact-grid .card{flex:2; min-width:300px;}
.contact-info-card{flex:1; min-width:220px;}
.contact-info-card .info-row{display:flex; gap:10px; margin-bottom:14px; font-size:14px;}

/* ---- Dashboard ---- */
.dash-header{display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; flex-wrap:wrap; gap:10px;}
.listing-owner-card{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin-bottom:14px;}
.listing-owner-actions{display:flex; gap:8px; flex-wrap:wrap; align-items:center;}
.callout-inline{padding:10px 14px; border-radius:8px; margin-bottom:16px; font-size:13px;}
.callout-inline.success{background:#E7FBF8; color:#0B6E63; border-left:4px solid var(--teal);}
.callout-inline.warning{background:#FEF4E4; color:#8A5B0B; border-left:4px solid #E5A93C; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.callout-inline.warning a{color:#8A5B0B; font-weight:600; text-decoration:underline; white-space:nowrap;}
.gallery-grid img{border-radius:8px; margin-bottom:6px;}

.my-listings-grid{display:flex; flex-direction:column; gap:16px;}
.my-listing-card{display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap;}
.my-listing-card .listing-card-img{width:120px; height:90px; flex-shrink:0; margin-bottom:0;}
.my-listing-body{flex:1; min-width:220px;}
.my-listing-card .listing-owner-actions{width:100%; margin-top:10px; padding-top:10px; border-top:1px solid var(--border);}
@media (max-width:640px){
  .my-listing-card{flex-direction:column;}
  .my-listing-card .listing-card-img{width:100%; height:140px;}
}

/* ---- Pricing page ---- */
.pricing-grid{display:flex; flex-wrap:wrap; gap:18px;}
.pricing-card{flex:1 1 220px; background:#fff; border:1px solid var(--border); border-radius:16px; padding:24px; box-shadow:var(--shadow-sm); transition:all .15s ease;}
.pricing-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-lift);}
.pricing-card.highlight{border-color:var(--violet); box-shadow:0 10px 28px rgba(91,79,233,0.16); position:relative;}
.pricing-card.highlight::before{content:"Most Popular";position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--violet);color:#fff;font-size:10px;font-weight:700;padding:4px 12px;border-radius:20px;}
.pricing-card .price{font-size:28px; font-weight:700; color:var(--navy); margin:10px 0 18px;}
ul.check{list-style:none; padding:0; margin:0 0 12px;}
ul.check li{position:relative; padding-left:24px; margin-bottom:8px; font-size:13.5px;}
ul.check li::before{content:"✓";position:absolute;left:0;top:0;color:#fff;background:var(--teal);width:16px;height:16px;border-radius:50%;font-size:9px;display:flex;align-items:center;justify-content:center;line-height:1;}

/* ---- Footer ---- */
.site-footer{background:var(--navy); color:rgba(255,255,255,0.75); margin-top:50px;}
.footer-grid{display:flex; flex-wrap:wrap; gap:30px; padding:44px 20px 30px;}
.footer-grid > div{flex:1; min-width:170px;}
.footer-grid > div:first-child{flex:1.4; min-width:220px;}
/* The footer wordmark is a flex row of text pieces; without wrapping + a smaller
   size it overflowed into the Categories column. Constrain it here. */
.site-footer .logo{font-size:16px; flex-wrap:wrap; row-gap:0; line-height:1.25;}
.site-footer .logo img{width:30px; height:30px;}
.site-footer .logo-name{font-size:15px; white-space:normal;}
.footer-grid a{color:rgba(255,255,255,0.7); font-size:13px; line-height:2.1; display:inline-block;}
.footer-grid a:hover{color:var(--violet-light);}
.footer-grid h3{color:#fff; font-size:14px; margin-bottom:12px;}
.footer-bottom{padding:16px 20px; border-top:1px solid rgba(255,255,255,0.1); font-size:12px; text-align:center;}

/* ---- Tables (admin) ---- */
table.admin-table{width:100%; border-collapse:collapse; background:#fff; border-radius:10px; overflow:hidden;}

/* ---- Desktop: bigger logo mark + wordmark ---- */
@media (min-width: 961px){
  .logo-name{font-size:19px;}
  .logo img{width:42px; height:42px;}
}

/* ---- Tablet & below: collapse the nav into a hamburger menu ---- */
@media (max-width: 1024px){
  .header-inner{flex-wrap:wrap; padding:12px 16px;}
  /* Compact brand: logo art + "WDC" so the hamburger always fits inline.
     Sized to match the desktop logo (see the v1.6.9 "Bigger desktop logo"
     rule further down) — that update only touched the ≥961px rule, so
     mobile/tablet stayed at the old smaller size and looked mismatched
     next to it. Bumped here to the same visual weight. */
  .logo-full{display:none;}
  .logo-short{display:inline; font-size:22px; letter-spacing:0.5px;}
  .logo-name{font-size:22px;}
  .logo img{width:48px; height:48px;}
  .logo-tagline{font-size:11px;}
  .nav-toggle{display:flex; margin-left:auto;}
  .main-nav{display:none; flex-basis:100%; flex-direction:column; align-items:stretch; row-gap:0; margin-top:8px; padding-top:6px; border-top:1px solid var(--border);}
  .main-nav.open{display:flex;}
  .main-nav a{margin:0 !important; padding:14px 4px; font-size:16px; border-bottom:1px solid var(--border);}
  .main-nav a.btn-primary{margin-top:14px !important; padding:14px; text-align:center; border-bottom:none; font-size:16px;}
  .main-nav a.logout-btn{border-bottom:none;}
}

/* ---- Mobile: larger, higher-contrast type so it's comfortable to read ---- */
@media (max-width: 720px){
  body{font-size:16.5px; color:#1F2233;}
  h1{font-size:27px;}
  h2{font-size:22px;}
  .hero h1{font-size:32px; letter-spacing:-0.4px;}
  .muted{color:#5A6072;}                         /* darker than desktop muted for readability */
  input, select, textarea{font-size:16px !important;}   /* 16px also stops iOS zoom-on-focus */
  input::placeholder, textarea::placeholder{color:#7A8095;}
  .listing-detail{flex-direction:column;}
  .stats-strip .container{gap:30px;}
  .gallery-grid img, .gallery-grid > div{width:calc(50% - 5px);}
  .category-grid{justify-content:center;}
  .category-card, .listing-card{max-width:none; flex-basis:100%;}
  .search-bar{flex-direction:column;}
  .search-bar select, .search-bar input[type=text]{min-width:0; width:100%;}
  .two-field-row, .location-selects, .service-row{flex-direction:column;}
  .two-field-row input, .location-selects select, .location-selects input[type=text], .service-row input{min-width:0; width:100%;}
  .service-row .row-remove{align-self:flex-end;}
  .footer-grid > div{flex-basis:100%;}
}

/* ==========================================================
   Homepage SEO content sections — how-it-works, editorial
   prose, hiring guide, and FAQ. Styled to match the site's
   card/gradient system; readable long-form typography.
   ========================================================== */

/* Subtle alternating band so the content zone reads as its own area */
.section--tint{background:#F4F5FF; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.section-intro{max-width:720px; margin:0 0 30px;}
.section-intro .eyebrow{display:inline-block; font-size:12px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--violet); margin-bottom:10px;}
.section-intro p{color:var(--muted); font-size:15.5px; margin:0;}

/* How it works — 3 steps */
.how-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:820px){ .how-steps{grid-template-columns:1fr;} }
.how-step{position:relative; background:#fff; border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:var(--shadow-sm);}
.how-step__num{display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; font-weight:700; font-size:18px; color:#fff; background:var(--violet); margin-bottom:16px; box-shadow:0 6px 16px rgba(91,79,233,0.28);}
.how-step:nth-child(2) .how-step__num{background:var(--teal); box-shadow:0 6px 16px rgba(22,198,182,0.28);}
.how-step:nth-child(3) .how-step__num{background:var(--gold); box-shadow:0 6px 16px rgba(242,169,59,0.28);}
.how-step h3{font-size:17px; margin-bottom:8px;}
.how-step p{color:var(--muted); font-size:14px; margin:0;}

/* Editorial prose block */
.prose{max-width:820px;}
.prose h2{font-size:26px; margin-bottom:16px;}
.prose h3{font-size:19px; margin:26px 0 8px;}
.prose p{color:var(--text); font-size:15.5px; line-height:1.75; margin:0 0 16px;}
.prose p:last-child{margin-bottom:0;}
.prose a{color:var(--violet); font-weight:500;}
.prose a:hover{text-decoration:underline;}
.prose strong{color:var(--navy); font-weight:600;}

/* Two-column hiring-guide cards */
.guide-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:8px;}
@media (max-width:720px){ .guide-grid{grid-template-columns:1fr;} }
.guide-card{background:#fff; border:1px solid var(--border); border-radius:14px; padding:22px 22px; box-shadow:var(--shadow-sm);}
.guide-card h3{display:flex; align-items:center; gap:10px; font-size:16px; margin-bottom:8px;}
.guide-card h3 .tick{flex-shrink:0; width:26px; height:26px; border-radius:8px; background:#EDEBFC; color:var(--violet); display:inline-flex; align-items:center; justify-content:center; font-size:14px;}
.guide-card p{color:var(--muted); font-size:14px; line-height:1.65; margin:0;}

/* FAQ accordion (native <details>, no JS, SEO-friendly) */
.faq-list{max-width:820px; display:flex; flex-direction:column; gap:12px;}
.faq-item{background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:box-shadow .15s ease, border-color .15s ease;}
.faq-item[open]{border-color:#CFCBF7; box-shadow:0 8px 22px rgba(91,79,233,0.10);}
.faq-item summary{list-style:none; cursor:pointer; padding:18px 20px; font-weight:600; font-size:15.5px; color:var(--navy); display:flex; align-items:center; justify-content:space-between; gap:14px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; font-size:22px; font-weight:400; color:var(--violet); line-height:1; flex-shrink:0; transition:transform .2s ease;}
.faq-item[open] summary::after{content:"−";}
.faq-item .faq-body{padding:0 20px 20px; color:var(--muted); font-size:14.5px; line-height:1.7;}
.faq-item .faq-body p{margin:0 0 10px;}
.faq-item .faq-body p:last-child{margin-bottom:0;}

/* Centered CTA heading shouldn't carry the left-aligned underline bar */
.cta-section h2::after{left:50%; transform:translateX(-50%);}

/* ==========================================================
   Get Matched — project brief intake page
   ========================================================== */
.gm-hero{
  background:var(--violet);
  color:#fff; padding:56px 20px 44px; text-align:center; position:relative; overflow:hidden;
}
/* Decorative blob removed — flat violet hero only. */

.gm-hero .container{position:relative; z-index:2;}
.gm-hero h1{color:#fff; font-size:36px; max-width:720px; margin:0 auto 12px;}
.gm-hero .hero-sub{color:rgba(255,255,255,0.88); max-width:600px; margin:0 auto; font-size:16px;}

.gm-layout{display:grid; grid-template-columns:0.85fr 1.15fr; gap:34px; align-items:start;}
@media (max-width:900px){ .gm-layout{grid-template-columns:1fr; gap:24px;} }

.gm-side h2{font-size:20px; margin-bottom:16px;}
.gm-steps{list-style:none; padding:0; margin:0 0 24px; display:flex; flex-direction:column; gap:18px;}
.gm-steps li{display:flex; gap:14px; align-items:flex-start;}
.gm-steps__n{flex-shrink:0; width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; font-weight:700; color:#fff; background:var(--violet); box-shadow:0 5px 14px rgba(91,79,233,0.28);}
.gm-steps li:nth-child(2) .gm-steps__n{background:var(--teal);}
.gm-steps li:nth-child(3) .gm-steps__n{background:var(--gold);}
.gm-steps strong{display:block; color:var(--navy); font-size:15px; margin-bottom:2px;}
.gm-steps p{margin:0; color:var(--muted); font-size:13.5px; line-height:1.55;}
.gm-trust{background:#F4F5FF; border:1px solid var(--border); border-radius:14px; padding:18px 20px;}
.gm-trust__row{font-size:13.5px; color:var(--navy); font-weight:500; padding:5px 0;}

.gm-card{padding:28px 28px;}
.gm-card__title{font-size:22px; margin-bottom:4px;}
.gm-field-label{display:block; font-size:13.5px; font-weight:600; color:var(--navy); margin:6px 0 6px;}
.gm-formwrap .two-field-row{gap:14px; margin-bottom:0;}
#briefForm select, #briefForm input[type=text], #briefForm input[type=email], #briefForm input[type=tel], #briefForm textarea{
  width:100%; margin-bottom:12px; padding:7px 11px; line-height:19px; border-radius:7px; border:1.3px solid #5951B8; font-family:inherit; font-size:13.5px; color:#1F2233; background:#fff;
}
#briefForm input::placeholder, #briefForm textarea::placeholder{color:var(--muted);}
#briefForm select:focus, #briefForm input:focus, #briefForm textarea:focus{
  outline:none; border-color:var(--violet); background:#fff; box-shadow:0 0 0 3px rgba(91,79,233,0.12);
}
/* Phone: country code + number */
.phone-group{display:flex; gap:8px; min-width:0;}
.phone-group .country-code-input{flex:0 0 58px !important; width:58px !important; min-width:58px !important; text-align:center;}
.phone-group input:not(.country-code-input){flex:1 1 0; min-width:0; width:auto !important;}
.phone-group input{margin-bottom:12px;}
/* Local / Remote choice as selectable cards */
.gm-radio-group{display:flex; gap:12px; margin-bottom:14px;}
.gm-radio{flex:1 1 0; min-width:0; display:flex; align-items:center; gap:10px; padding:14px; border:1.5px solid #D9DCE6; border-radius:11px; cursor:pointer; transition:all .15s ease; background:#fff;}
.gm-radio:hover{border-color:var(--violet);}
.gm-radio input[type=radio]{width:18px !important; height:18px; flex:0 0 auto; margin:0; accent-color:var(--violet);}
.gm-radio .gm-radio__text{display:flex; flex-direction:column; line-height:1.3; min-width:0;}
.gm-radio strong{font-size:14px; color:var(--navy);}
.gm-radio small{font-size:12px; color:var(--muted);}
.gm-radio:has(input:checked){border-color:var(--violet); background:#F4F5FF; box-shadow:0 0 0 3px rgba(91,79,233,0.1);}
@media (max-width:520px){ .gm-radio-group{flex-direction:column;} }

.gm-success{text-align:center; padding:20px 10px;}
.gm-success__icon{width:64px; height:64px; margin:0 auto 16px; border-radius:50%; background:var(--teal); color:#fff; font-size:32px; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(22,198,182,0.35);}
.gm-success h2{font-size:22px; margin-bottom:8px;}
.gm-success p{color:var(--muted); font-size:14.5px; max-width:420px; margin:0 auto;}

/* Homepage hero: secondary "get matched" prompt under the search bar */
.hero-alt{margin:18px auto 0; font-size:14px; color:rgba(255,255,255,0.9); max-width:560px;}
.hero-alt a{color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.hero-alt a:hover{color:var(--gold-light, #FFD23D);}

/* ==========================================================
   Category page — header band + elegant empty state
   ========================================================== */
.cat-header{background:#F4F3FE; border-bottom:1px solid var(--border); padding:38px 20px;}
.cat-header .container{display:flex; align-items:center; gap:22px;}
.cat-header__icon{flex-shrink:0; width:66px; height:66px; border-radius:18px; background:var(--violet); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(91,79,233,0.28);}
.cat-header__icon img{width:32px; height:32px; filter:brightness(0) invert(1);}
.cat-header h1{margin:0 0 5px; font-size:28px;}
.cat-header p{margin:0 0 10px; color:var(--muted); font-size:15px; max-width:640px; line-height:1.6;}
.cat-header__count{display:inline-block; font-size:12px; font-weight:700; letter-spacing:0.3px; color:var(--violet); background:#fff; border:1px solid var(--border); border-radius:999px; padding:5px 13px;}
@media (max-width:600px){ .cat-header .container{flex-direction:column; text-align:center; align-items:center;} }

.empty-state{text-align:center; max-width:560px; margin:20px auto; padding:44px 30px; background:#fff; border:1.5px dashed var(--border); border-radius:20px;}
.empty-state__icon{width:76px; height:76px; margin:0 auto 20px; border-radius:20px; background:#EEF0FF; display:flex; align-items:center; justify-content:center;}
.empty-state__icon img{width:36px; height:36px; opacity:0.85;}
.empty-state h2{font-size:21px; margin-bottom:10px;}
.empty-state p{color:var(--muted); font-size:14.5px; line-height:1.65; margin:0 auto 22px; max-width:440px;}
.empty-state__actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}

/* ==========================================================
   Submit-listing form — sectioned, labeled, high-contrast
   ========================================================== */
.submit-hero{background:var(--violet); color:#fff; padding:44px 20px 38px; text-align:center;}
.submit-hero h1{color:#fff; font-size:36px; font-weight:800; letter-spacing:-0.6px; line-height:1.18; margin:0 0 8px;}
.submit-hero p{color:rgba(255,255,255,0.9); max-width:560px; margin:0 auto; font-size:15.5px;}

.listing-form{margin:0 auto;}
.form-errors{background:#FDEBEE; border-left:4px solid #F2617A; color:#9C2438; border-radius:10px; padding:14px 18px; margin-bottom:20px;}
.form-errors ul{margin:8px 0 0; padding-left:20px;}
.form-errors li{margin:3px 0;}

.form-section{background:#fff; border:1px solid var(--border); border-radius:16px; padding:24px 26px; margin-bottom:20px; box-shadow:0 4px 16px rgba(43,45,90,0.05);}
.form-section__head{display:flex; align-items:center; gap:12px; margin-bottom:5px;}
.form-section__num{flex-shrink:0; width:30px; height:30px; border-radius:9px; background:var(--violet); color:#fff; font-weight:700; font-size:15px; display:flex; align-items:center; justify-content:center; box-shadow:0 5px 12px rgba(91,79,233,0.28);}
.form-section__head h3{margin:0; font-size:18px; color:var(--navy);}
.form-section__desc{color:#5A6072; font-size:13.5px; line-height:1.6; margin:0 0 18px; padding-left:42px;}
.form-section__desc em{color:var(--navy); font-style:normal; font-weight:500;}

.form-field{margin-bottom:16px;}
.form-field:last-child{margin-bottom:0;}
.form-field > label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:6px;}
.form-field .req{color:#F2617A;}
.form-row{display:flex; gap:16px; flex-wrap:wrap;}
.form-row .form-field{flex:1; min-width:200px;}
/* Short-value fields (phone, years, price, a small select) shouldn't stretch to
   fill a whole flex column just because the global admin input rule is width:100% —
   cap the input itself so a 3-digit number doesn't sprawl across 400px. */
.form-field--sm input, .form-field--sm select{max-width:180px;}
.form-field--md input, .form-field--md select{max-width:320px;}
@media (max-width:600px){ .form-field--sm input, .form-field--sm select, .form-field--md input, .form-field--md select{max-width:100%;} }

/* Field styling for this page now lives entirely under #listingForm (see above) — removed the
   duplicate/overridden .listing-form input rules that were silently dead due to ID specificity. */
.listing-form .location-selects input:disabled{background:#F1F2F7; cursor:not-allowed;}

.btn-add{background:#F4F5FF; color:var(--violet); border:1.5px solid #DCD9FA; font-weight:600; padding:9px 16px; font-size:13.5px; margin-top:10px;}
.btn-add:hover{background:#ECEAFD; color:var(--violet-dark);}
#featuresWrap{display:flex; flex-wrap:wrap; gap:10px;}
.feature-row{display:flex; gap:6px; align-items:center; margin-bottom:0; flex:0 1 260px;}
.feature-row input{flex:1; min-width:0; max-width:230px;}
.service-row{margin-bottom:8px;}
@media (max-width:480px){ .feature-row{flex-basis:100%;} .feature-row input{max-width:none;} }
.package-choice__price{display:block; font-weight:600; color:var(--violet); font-size:13px; margin-top:2px;}
.package-choice__price small{color:var(--muted); font-weight:400;}
.seo-locked-note{background:#FFF7E8; border:1px solid #F5D98B; color:#8A5B0B; border-radius:8px; padding:10px 14px; font-size:13px; margin:4px 0 0;}
.form-section.is-locked{opacity:0.55;}
.form-section.is-locked input{pointer-events:none; background:#F4F4F8;}

@media (max-width:600px){
  .form-section__desc{padding-left:0;}
  .form-row{flex-direction:column; gap:0;}
  .submit-hero h1{font-size:27px;}
}

/* Features tick-list on the listing detail page */
.features-list{list-style:none; padding:0; margin:8px 0 20px; display:grid; grid-template-columns:repeat(2,1fr); gap:6px 24px;}
@media (max-width:600px){ .features-list{grid-template-columns:1fr;} }
.features-list li{position:relative; padding:6px 0 6px 28px; font-size:15px; color:var(--text); line-height:1.5;}
.features-list li::before{content:"✓"; position:absolute; left:0; top:8px; width:18px; height:18px; background:var(--teal); color:#fff; border-radius:50%; font-size:10px; font-weight:700; line-height:1; display:flex; align-items:center; justify-content:center;}

/* ==========================================================
   Gallery lightbox, admin preview banner, report listing
   ========================================================== */
.gallery-thumb{object-fit:cover; aspect-ratio:4/3; transition:transform .15s ease, box-shadow .15s ease;}
.gallery-thumb:hover{transform:translateY(-2px); box-shadow:0 8px 20px rgba(43,45,90,0.18);}

.lightbox{display:none; position:fixed; inset:0; z-index:2000; background:rgba(12,14,34,0.92); align-items:center; justify-content:center;}
.lightbox.open{display:flex;}
.lightbox__img{max-width:88vw; max-height:82vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,0.5);}
.lightbox__close{position:absolute; top:18px; right:24px; background:none; border:none; color:#fff; font-size:38px; line-height:1; cursor:pointer;}
.lightbox__nav{position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.12); border:none; color:#fff; width:52px; height:52px; border-radius:50%; font-size:34px; line-height:1; cursor:pointer;}
.lightbox__nav:hover{background:rgba(255,255,255,0.24);}
.lightbox__prev{left:20px;} .lightbox__next{right:20px;}
.lightbox__count{position:absolute; bottom:22px; left:0; right:0; text-align:center; color:rgba(255,255,255,0.85); font-size:14px;}
@media (max-width:600px){ .lightbox__nav{width:42px; height:42px; font-size:26px;} }

.preview-banner{background:#FFF7E8; border-bottom:1px solid #F5D98B; color:#8A5B0B; font-size:14px; padding:12px 20px; text-align:center;}
.preview-banner a{color:#7A4E08; font-weight:600; text-decoration:underline;}
.report-thanks{background:#E7FBF8; border:1px solid #9FE8DD; color:#0B6E63; border-radius:10px; padding:12px 16px; font-size:14px;}

.report-listing{margin-top:18px; border-top:1px solid var(--border); padding-top:14px;}
.report-listing summary{cursor:pointer; font-size:13.5px; color:var(--muted); font-weight:500; list-style:none;}
.report-listing summary::-webkit-details-marker{display:none;}
.report-listing summary:hover{color:#F2617A;}
.report-listing select, .report-listing textarea, .report-listing input{width:100%; padding:7px 11px; line-height:19px; margin-bottom:8px; border:1.5px solid var(--border); border-radius:8px; font-size:13.5px; font-family:inherit;}

/* ==========================================================
   Consistent page hero (pricing, categories, contact, promote…)
   ========================================================== */
.page-hero{background:var(--violet); color:#fff; padding:46px 20px 40px; text-align:center; position:relative; overflow:hidden;}
/* Decorative blob removed — flat violet hero only. */
.page-hero .container{position:relative; z-index:2;}
.page-hero h1{color:#fff; font-size:36px; font-weight:800; letter-spacing:-0.6px; line-height:1.18; margin:0 auto 10px; max-width:740px;}
.page-hero .hero-sub{color:rgba(255,255,255,0.9); max-width:600px; margin:0 auto; font-size:15.5px;}
.page-hero .hero-eyebrow{display:inline-block; font-size:12px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:#B9E9E2; margin-bottom:10px;}
@media (max-width:600px){ .page-hero{padding:34px 18px 30px;} .page-hero h1{font-size:26px;} }

/* ==========================================================
   Categories dropdown in the main nav
   ========================================================== */
.nav-dropdown{position:relative; display:inline-block;}
.nav-dropdown__toggle{display:inline-flex; align-items:center; gap:4px;}
.nav-dropdown .caret{font-size:10px; transition:transform .18s ease;}
.nav-dropdown__menu{
  position:absolute; top:calc(100% + 10px); left:0; z-index:60;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  box-shadow:0 14px 40px rgba(30,32,68,0.16);
  padding:8px; min-width:250px;
  display:grid; grid-template-columns:1fr 1fr; gap:1px 4px;
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:all .16s ease;
}
/* little hover bridge so the menu doesn't vanish when moving the cursor down */
.nav-dropdown::after{content:""; position:absolute; top:100%; left:0; right:0; height:12px;}
.nav-dropdown:hover .nav-dropdown__menu{opacity:1; visibility:visible; transform:translateY(0);}
.nav-dropdown:hover .caret{transform:rotate(180deg);}
.nav-dropdown__menu a{
  margin:0 !important; padding:9px 12px; border-radius:8px; font-size:13.5px;
  color:var(--text); white-space:nowrap; font-weight:500;
}
.nav-dropdown__menu a:hover{background:#F4F5FF; color:var(--violet);}
.nav-dropdown__all{grid-column:1 / -1; border-top:1px solid var(--border); margin-top:4px !important; color:var(--violet) !important; font-weight:600 !important;}

/* Mobile (inside the hamburger): render as an inline accordion */
@media (max-width:1024px){
  .nav-dropdown{display:block; width:100%; border-bottom:1px solid var(--border);}
  .nav-dropdown__toggle{justify-content:space-between; padding:14px 4px; font-size:16px; width:100%;}
  .nav-dropdown__menu{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none;
    border:none; border-radius:0; padding:0 0 8px 12px; min-width:0;
    grid-template-columns:1fr; display:none; margin:0;
  }
  .nav-dropdown.open .nav-dropdown__menu{display:grid;}
  .nav-dropdown.open .caret{transform:rotate(180deg);}
  .nav-dropdown__menu a{padding:11px 6px; font-size:15px; border-bottom:1px solid #F0F1F6;}
  .nav-dropdown__all{border-top:none;}
}

/* ==========================================================
   v1.6.9 refinements — logo, listing detail, enquiry form
   ========================================================== */
/* 1. Bigger desktop logo (more room now Contact moved to footer) */
@media (min-width: 961px){
  .logo img{width:50px; height:50px;}
  .logo-name{font-size:23px;}
  .logo-tagline{font-size:11.5px;}
}

/* 2 & 3. Listing detail: stylish title, smaller/cleaner sub-headings */
.listing-title-row h1{
  font-size:31px; font-weight:800; letter-spacing:-0.5px; line-height:1.15;
  color:var(--navy);
}
.listing-detail h2{
  font-size:17px; font-weight:700; color:var(--navy); margin:26px 0 12px;
  padding-bottom:8px; position:relative;
}
.listing-detail h2::after{content:""; position:absolute; left:0; bottom:0; width:34px; height:3px; border-radius:2px; background:var(--violet);}
.listing-sidebar h3{font-size:15.5px;}

/* 4. What We Offer: plain check list (matches pricing table style, no card boxes) */
.services-list{list-style:none; padding:0; margin:8px 0 20px;}
.services-list li{position:relative; padding:6px 0 6px 28px; border:none; background:none; line-height:1.5; font-size:15px; color:var(--text);}
.services-list li::before{
  content:"✓"; position:absolute; left:0; top:8px; width:18px; height:18px; border-radius:50%;
  background:var(--teal); color:#fff; font-size:10px; font-weight:700; line-height:1;
  display:flex; align-items:center; justify-content:center;
}
.services-list li strong{color:var(--navy); font-weight:600;}

/* 5. Enquiry form — prominent, clearly labelled, mobile-friendly */
.enquiry-card{background:#fff; border:1px solid var(--border); border-radius:16px; padding:0; overflow:hidden; box-shadow:0 6px 20px rgba(43,45,90,0.07);}
.enquiry-card__head{background:var(--violet); color:#fff; padding:18px 22px;}
.enquiry-card__head h3{color:#fff; margin:0; font-size:18px;}
.enquiry-card__head p{color:rgba(255,255,255,0.85); margin:4px 0 0; font-size:13px;}
.enquiry-card__body{padding:20px 22px;}
#leadForm .fld{margin-bottom:13px;}

/* Unclaimed listing: blurred mock of the enquiry form behind a claim CTA overlay.
   The mock uses placeholder/fake values only — never real listing data — since
   a CSS blur can always be undone via view-source or devtools. */
.claim-teaser{position:relative; border-radius:16px; overflow:hidden;}
.claim-teaser__mock{filter:blur(5px); opacity:0.55; pointer-events:none; user-select:none;}
.claim-teaser__mock .fld{margin-bottom:13px;}
.claim-teaser__mock .fld-label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:6px;}
.claim-teaser__mock input, .claim-teaser__mock textarea{width:100%; padding:9px 12px; border:1.3px solid var(--border); border-radius:8px; font-size:13.5px; font-family:inherit; background:#fff; color:var(--text);}
.claim-teaser__overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:26px 22px; background:rgba(255,255,255,0.86); backdrop-filter:blur(3px);
}
.claim-teaser__overlay h3, .claim-teaser__overlay p{max-width:280px;}
.claim-teaser__overlay .btn{max-width:260px;}
@media (max-width:520px){ .claim-teaser__overlay{padding:18px 14px;} }
#leadForm label.fld-label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:6px;}
#leadForm input[type=text], #leadForm input[type=email], #leadForm input[type=tel], #leadForm textarea{
  width:100%; padding:7px 11px; line-height:19px; border:1.3px solid #5951B8; border-radius:7px;
  font-size:13.5px; font-family:inherit; background:#fff; color:#1F2233; margin-bottom:0;
}
#leadForm input::placeholder, #leadForm textarea::placeholder{color:var(--muted);}
#leadForm input:focus, #leadForm textarea:focus{outline:none; border-color:var(--violet); box-shadow:0 0 0 3px rgba(91,79,233,0.12);}
.consent-label{display:block; position:relative; padding-left:28px; width:100%; text-align:left; font-size:13px; color:var(--text); margin:8px 0 14px; line-height:1.5; cursor:pointer;}
.consent-label input[type=checkbox]{position:absolute; left:0; top:2px; width:18px; height:18px; margin:0; accent-color:var(--violet);}
.consent-label > span{display:inline;}

/* Category hero (flat violet banner with icon) + listing cover as a hero */
.cat-header.page-hero{text-align:left;}
.cat-header__inner{display:flex; align-items:center; gap:20px;}
.cat-header.page-hero h1{margin:0 0 6px; text-align:left; max-width:none;}
.cat-header.page-hero .hero-sub{margin:0 0 8px; text-align:left;}
.cat-header__icon{flex-shrink:0; width:72px; height:72px; border-radius:18px; background:rgba(255,255,255,0.14); display:flex; align-items:center; justify-content:center;}
.cat-header__icon img{width:38px; height:38px; filter:brightness(0) invert(1);}
.cat-header__count{display:inline-block; font-size:13px; font-weight:700; color:#fff; background:rgba(255,255,255,0.16); border:1px solid rgba(255,255,255,0.32); border-radius:999px; padding:5px 14px;}
@media (max-width:600px){ .cat-header__inner{flex-direction:column; text-align:center;} .cat-header.page-hero h1, .cat-header.page-hero .hero-sub{text-align:center;} }

/* Give every listing a proper banner: style the cover placeholder as a flat violet hero */
.listing-cover-placeholder{background:var(--violet) !important;}

/* ==========================================================
   Account / profile forms (register + dashboard profile)
   ========================================================== */
.account-form .fld{margin-bottom:14px;}
.account-form .fld-label{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:6px;}
.account-form .req{color:#F2617A;}
.account-form input{width:100%; padding:7px 11px; line-height:19px; border:1.3px solid #5951B8; border-radius:7px; font-size:13.5px; font-family:inherit; background:#fff; color:#1F2233;}
/* Business login card + links */
.login-box{max-width:440px; margin:0 auto; background:#fff; border:1px solid var(--border); border-radius:16px; padding:28px 26px; box-shadow:0 6px 22px rgba(43,45,90,0.08);}
.form-alert{background:#FDEBEE; color:#9C2438; border-left:4px solid #F2617A; padding:11px 14px; border-radius:9px; font-size:13.5px; margin-bottom:16px;}
.login-links{margin-top:20px; padding-top:18px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:9px; text-align:center;}
.login-links a{font-weight:700; color:var(--violet);}
.login-links a:hover{text-decoration:underline;}
.login-links span{color:var(--text); font-size:14px;}
.account-form input::placeholder{color:var(--muted);}
.account-form input:focus{outline:none; border-color:var(--violet); box-shadow:0 0 0 3px rgba(91,79,233,0.12);}
.account-form__row{display:flex; gap:14px;}
.account-form__row .fld{flex:1; min-width:0;}
.form-divider{margin:18px 0 14px; padding-top:16px; border-top:1px solid var(--border); font-size:13px; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:0.5px;}
@media (max-width:520px){ .account-form__row{flex-direction:column; gap:0;} }

/* ==========================================================
   Listing hero banner — cover image with logo, title sits below
   ========================================================== */
.listing-hero-wrap{position:relative; border-radius:16px; margin-bottom:34px;}
.listing-cover{height:230px; border-radius:16px; background-size:cover; background-position:center;}
.listing-title-row{padding-left:2px; margin-bottom:6px;}
.listing-lead{margin-top:2px; font-size:15.5px; color:var(--text); line-height:1.7;}

.share-row{display:flex; align-items:center; gap:10px; margin:0 0 22px; padding-left:2px; flex-wrap:wrap;}
.share-row__label{font-size:12.5px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:0.4px;}
.share-btn{display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; color:#fff; box-shadow:0 3px 8px rgba(43,45,90,0.14); transition:transform 0.15s, box-shadow 0.15s; flex-shrink:0;}
.share-btn svg{width:19px; height:19px;}
.share-btn:hover{transform:translateY(-2px); box-shadow:0 6px 14px rgba(43,45,90,0.22);}
.share-btn--fb{background:#1877F2;}
.share-btn--x{background:#000;}
.share-btn--pin{background:#E60023;}
.share-btn--wa{background:#25D366;}
@media (max-width:520px){ .share-btn{width:38px; height:38px;} .share-btn svg{width:18px; height:18px;} }

/* Image preview + remove on file inputs */
.img-preview{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px;}
.img-preview__item{position:relative; width:92px; height:92px; border-radius:10px; overflow:hidden; border:1px solid var(--border); background:#f4f4f8;}
.img-preview__item img{width:100%; height:100%; object-fit:cover; display:block;}
.img-preview__remove{position:absolute; top:4px; right:4px; width:22px; height:22px; border:none; border-radius:50%; background:rgba(20,22,40,0.72); color:#fff; font-size:15px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.img-preview__remove:hover{background:#F2617A;}

/* ==========================================================
   Category page: sidebar + horizontal listing cards
   ========================================================== */
.cat-layout{display:grid; grid-template-columns:250px 1fr; gap:30px; align-items:start;}
.cat-sidebar{position:sticky; top:90px;}
.cat-sidebar__list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:2px;}
.cat-sidebar__list a{display:block; padding:10px 14px; border-radius:9px; color:var(--text); font-size:14px; font-weight:500; text-decoration:none; transition:background .15s ease, color .15s ease;}
.cat-sidebar__list a:hover{background:#F4F5FF; color:var(--violet);}
.cat-sidebar__list a.active{background:var(--violet); color:#fff; font-weight:600;}

/* Gap between the filter bar and the results */
.cat-main .search-bar{margin-bottom:0;}
.cat-listing-list{display:flex; flex-direction:column; gap:14px; margin-top:22px;}

/* Horizontal card */
.h-card{display:flex; align-items:center; gap:18px; padding:16px 18px; background:#fff; border:1px solid var(--border); border-radius:14px; text-decoration:none; color:inherit; box-shadow:0 2px 10px rgba(43,45,90,0.05); transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;}
.h-card:hover{border-color:var(--violet); box-shadow:0 10px 26px rgba(91,79,233,0.13); transform:translateY(-1px);}
.h-card__logo{width:78px; height:78px; flex-shrink:0; border-radius:12px; background-size:cover; background-position:center; background-color:#EEF0Fb;}
.h-card__logo--ph{display:flex; align-items:center; justify-content:center; font-weight:800; font-size:24px; color:var(--violet); background:#EEF0FB;}
.h-card__body{flex:1; min-width:0;}
.h-card__body h3{margin:0 0 4px; font-size:17px; color:var(--navy); display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.h-card__badge{font-size:11px; font-weight:700; color:#5A3B00; background:var(--gold); padding:2px 8px; border-radius:20px;}
.h-card__meta{margin:0 0 5px; font-size:13px; color:var(--muted);}
.h-card__desc{margin:0; font-size:13.5px; color:var(--text); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.h-card__cta{flex-shrink:0; font-size:13.5px; font-weight:600; color:var(--violet); white-space:nowrap;}
@media (max-width:820px){
  .cat-layout{grid-template-columns:1fr; gap:18px;}
  .cat-sidebar{position:static;}
  .cat-sidebar__list{flex-direction:row; flex-wrap:wrap; gap:8px;}
  .cat-sidebar__list a{padding:7px 12px; font-size:13px; background:#F4F5FF;}
}
@media (max-width:520px){
  .h-card{flex-wrap:wrap; gap:12px;}
  .h-card__logo{width:56px; height:56px;}
  .h-card__cta{width:100%; text-align:right;}
}
