:root {
  --navy: #0f2942;
  --navy-dark: #091b2e;
  --navy-light: #1c3a5a;
  --yellow: #f4b400;
  --yellow-dark: #d99e00;
  --green: #1a9c5c;
  --red: #d64545;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #dfe4ea;
  --gray-400: #9aa5b1;
  --gray-600: #5c6b7a;
  --gray-800: #2b3642;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(15, 41, 66, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 41, 66, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container {max-width: 1180px;margin: 0 auto;padding: 0 24px;}
.icon { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.nav-public .brand-logo { height: 40px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #fff; white-space: nowrap; }
.brand b { color: var(--yellow); font-weight: 800; }
.brand small { font-size: 12px; color: var(--gray-400); font-weight: 400; margin-left: 6px; }
.brand-icon { color: var(--yellow); width: 28px; height: 28px; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-wrap { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-tagline { font-size: 11px; font-weight: 500; color: #b9c4d0; white-space: nowrap; }
.admin-tag { font-size: 12px; color: var(--gray-400); font-weight: 400; }
.site-footer .brand-logo { height: 40px; }
.site-footer .brand-tagline { color: #8a97a6; }
.main-nav { display: flex; gap: 22px; flex: 1; justify-content: center; align-items: center; }
.main-nav a { color: #d8e0ea; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--yellow); }

/* "Services" dropdown in the desktop nav */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none; border: none; color: #d8e0ea; font-size: 14.5px; font-weight: 500; font-family: inherit;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.nav-dropdown-btn:hover, .nav-dropdown-btn.active, .nav-dropdown-btn.open { color: var(--yellow); }
.nav-caret { width: 13px; height: 13px; flex-shrink: 0; transition: transform .15s ease; }
.nav-dropdown-btn.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-panel {
  display: none; position: absolute; top: calc(100% + 20px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 210px; z-index: 60;
}
.nav-dropdown-panel.open { display: block; }
.nav-dropdown-panel a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--gray-800);
}
.nav-dropdown-panel a:hover { background: var(--gray-50); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.dash-header .header-actions { gap: 16px; }

/* Mobile hamburger button + slide-down nav panel (hidden on desktop) */
.mobile-menu-btn {
  display: none; background: none; border: none; color: #fff; padding: 6px; cursor: pointer; flex-shrink: 0;
}
.mobile-menu-btn svg { width: 24px; height: 24px; display: block; }
.mobile-nav-panel { display: none; background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-panel.open { display: block; }
.mobile-nav-inner { display: flex; flex-direction: column; padding: 8px 24px 20px; }
.mobile-nav-inner a {
  color: #d8e0ea; font-size: 15px; font-weight: 600; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav-inner a.active, .mobile-nav-inner a:hover { color: var(--yellow); }
.mobile-nav-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-nav-actions .btn { flex: 1; }
.wallet-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 20px; font-weight: 600; font-size: 14px; }
.wallet-pill .icon { width: 16px; height: 16px; }
.dash-user { font-size: 14px; color: #d8e0ea; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: all .15s ease; }
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--yellow); color: var(--navy-dark); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-secondary { background: var(--navy-light); color: #fff; }
.btn-secondary:hover { background: var(--navy); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-danger { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-light { background: var(--gray-100); color: var(--gray-800); }

/* ---------- Hero ---------- */
.hero {background: linear-gradient(120deg, var(--navy) 55%, var(--navy-light) 100%);color: #fff;padding: 10px 0 80px;}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.15; margin: 0 0 18px; font-weight: 800; }
.hero h1 .accent { color: var(--yellow); }
.hero p.lead { color: #cfd9e3; font-size: 17px; margin-bottom: 22px; max-width: 500px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; font-size: 14px; color: #e6ecf2; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges .icon { width: 16px; height: 16px; color: var(--yellow); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 340px; }
.hero-visual img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* Search bar */
.search-bar { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px; display: grid; grid-template-columns: 1.6fr 1.4fr auto; gap: 14px; margin-top: -46px; position: relative; z-index: 5; }
/* A second, compact copy of the search bar is rendered right after the
   header on mobile (before the hero heading); it's hidden on desktop, where
   the original copy below the hero still handles search. */
.mobile-search-wrap { display: none; }
/* On pages with no hero image behind it (e.g. Get Free Quotes), the search
   bar sits in normal flow instead of overlapping the section above. */
.qs-search-wrap { margin: 24px 0 28px; }
.qs-search-wrap .search-bar { margin-top: 0; }
.search-field { display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--gray-200); padding-right: 14px; min-width: 0; }
.search-field:last-of-type { border-right: none; }
.search-field .icon { color: var(--gray-400); flex-shrink: 0; }
.search-field select, .search-field input { border: none; outline: none; font-size: 15px; width: 100%; color: var(--gray-800); background: transparent; }
.search-field > div { min-width: 0; flex: 1; }
.search-field .field-label { font-size: 12px; color: var(--gray-400); white-space: nowrap; }

/* Search bar live suggestions (service + location) */
.search-autocomplete { position: relative; }
.search-suggest {
  display: none; position: absolute; left: -14px; right: -14px; top: calc(100% + 14px); background: #fff;
  border: 1px solid var(--gray-100); border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 20;
  max-height: 260px; overflow-y: auto; padding: 6px;
}
.search-suggest.open { display: block; }
.search-suggest-item {
  display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--gray-800);
  cursor: pointer; text-decoration: none;
}
.search-suggest-item:hover { background: var(--gray-50); color: var(--navy); }
.search-suggest-empty { padding: 12px; text-align: center; font-size: 13px; color: var(--gray-600); }

/* ---------- Sections ---------- */
section {padding: 15px 0;}
.section-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: var(--navy-dark); }
.section-title .underline { display: block; width: 60px; height: 4px; background: var(--yellow); margin-top: 10px; border-radius: 2px; }
.section-sub { color: var(--gray-600); margin-bottom: 32px; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-row { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.category-row .category-card { flex: 1 1 0; min-width: 0; padding: 18px 6px; }
.category-card { background: var(--gray-50); border-radius: var(--radius); padding: 24px 16px; text-align: center; border: 1px solid var(--gray-100); transition: all .15s ease; }
.category-card:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card .icon { width: 28px; height: 28px; color: var(--navy); margin: 0 auto 10px; }
.category-card img { width: 36px; height: 36px; object-fit: contain; margin: 0 auto 10px; display: block; }
.category-card span { font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.category-viewall { background: #fff; border: 1px dashed var(--gray-200); }
.category-viewall .icon { color: var(--yellow-dark); }
.category-viewall:hover { border-color: var(--yellow); border-style: solid; }

/* ---------- Homepage Popular Categories: single-row image showcase cards ---------- */
.category-showcase-grid {
  display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.category-showcase-card {
  position: relative; display: flex; flex-direction: column; flex: 1 1 0; min-width: 130px; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none;
}
.category-showcase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Image gets its own fixed-height box so it stays fully visible - the label
   sits in a separate band underneath rather than overlaying the picture. */
.category-showcase-imgwrap { position: relative; width: 100%; height: 110px; background: var(--gray-100); flex-shrink: 0; }
.category-showcase-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.category-showcase-card.no-image .category-showcase-imgwrap { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.category-showcase-label {
  background: #fff; color: #14202c; font-size: 13px; font-weight: 700; text-align: center;
  padding: 8px 6px; display: flex; align-items: center; justify-content: center; gap: 5px; line-height: 1.25; flex: 1;
}
.category-showcase-label .icon { width: 15px; height: 15px; color: var(--navy); flex-shrink: 0; }
/* "View All Categories" tile has no image - it stays a single full-height CTA box. */
.category-showcase-card.view-all { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); justify-content: center; min-height: 130px; }
.category-showcase-card.view-all .category-showcase-label { background: transparent; color: #fff; flex: none; }
.category-showcase-card.view-all .category-showcase-label .icon { color: var(--yellow); width: 15px; height: 15px; }

/* ---------- /categories page: main-category filter bar ---------- */
.category-filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--gray-50);
  border: 1px solid var(--gray-100); border-radius: 12px; padding: 14px 18px; margin: 18px 0 30px;
}
.category-filter-bar label {
  display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--navy-dark); white-space: nowrap;
}
.category-filter-bar label .icon { width: 16px; height: 16px; color: var(--yellow-dark); }
.category-filter-bar select {
  width: auto; min-width: 220px; padding: 9px 12px; border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--gray-800);
}

/* ---------- /categories page: grouped, wrapping showcase grid ---------- */
.category-group { margin-bottom: 36px; }
.category-group-title { font-size: 19px; margin-bottom: 4px; }
.category-showcase-grid-wrap {
  display: flex; flex-wrap: wrap; gap: 14px; overflow-x: visible; padding-bottom: 0;
}
.category-showcase-grid-wrap .category-showcase-card { flex: 0 1 160px; min-width: 140px; min-height: 140px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 20px; align-items: stretch; }
.step-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 6px; font-size: 16px; }
.step-card p { margin: 0; color: var(--gray-600); font-size: 14px; }
.promo-card { position: relative; background: var(--navy); color: #fff; border-radius: var(--radius); overflow: hidden; min-height: 260px; }
.promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% 20%; }
.promo-overlay {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 10px; padding: 22px; background: linear-gradient(180deg, rgba(15,41,66,0.05) 0%, rgba(9,27,46,0.55) 45%, rgba(9,27,46,0.95) 100%);
}
.promo-card h3 { margin: 0; font-size: 18px; }
.promo-card p { margin: 0; color: #e6ecf2; font-size: 14px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonial-card { background: var(--gray-50); border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray-100); }
.testimonial-card p { font-style: italic; color: var(--gray-800); margin: 0 0 16px; }
.testimonial-person { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-light); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-person .name { font-weight: 700; font-size: 14px; }
.testimonial-person .loc { font-size: 12px; color: var(--gray-600); }
.stars { color: var(--yellow); font-size: 13px; margin-bottom: 8px; }

/* ---------- Download the App section ---------- */
.app-download-section { background: #fff; padding: 70px 0; }
.app-download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.app-download-heading { font-size: 42px; line-height: 1.15; font-weight: 800; color: var(--navy-dark); margin: 0 0 20px; }
.app-download-sub { font-size: 17px; color: var(--gray-600); margin: 0 0 26px; }
.app-download-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.app-download-badges img { height: 54px; width: auto; transition: transform .15s ease; }
.app-download-badges a:hover img { transform: translateY(-2px); }
.app-download-phone { display: flex; justify-content: center; }
.app-download-phone img { max-width: 100%; height: auto; }

.site-footer { background: var(--navy-dark); color: #b9c4d0; padding: 50px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 26px; padding-bottom: 30px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-grid a { display: flex; align-items: center; gap: 8px; color: #b9c4d0; font-size: 13.5px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-grid a .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--yellow); }
.footer-grid p { font-size: 13px; color: #8a97a6; margin-top: 12px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: all .15s ease; flex-shrink: 0;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: var(--yellow); color: var(--navy-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; font-size: 13px; color: #8a97a6; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 560px; margin: 40px auto; }
.form-card.wide { max-width: 800px; }
.form-card h1, .form-card h2 { margin-top: 0; color: var(--navy-dark); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gray-800); }
.form-group .hint { font-size: 12px; color: var(--gray-600); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=url], input[type=file], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; background: #fff; color: var(--gray-800);
}
input:focus, select:focus, textarea:focus { border-color: var(--yellow); }
textarea { resize: vertical; min-height: 90px; }

/* Show/Hide toggle on password fields - see lib/render.js passwordField(). */
.password-field { position: relative; }
.password-field input[type=password], .password-field input[type=text] { padding-right: 42px; }
.password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 8px; cursor: pointer; color: var(--gray-500); display: flex; align-items: center; }
.password-toggle .icon { width: 18px; height: 18px; }
.password-toggle .pw-eye-off { display: none; }
.password-toggle.showing .pw-eye { display: none; }
.password-toggle.showing .pw-eye-off { display: block; }

/* Country-code dropdown + local-number input, used on every phone field
   site-wide (see lib/render.js phoneField()) - the site isn't restricted to
   Zimbabwe, so the country prefix is a small <select> instead of a fixed
   "+263" label. */
.phone-input-group { display: flex; align-items: stretch; border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.phone-input-group:focus-within { border-color: var(--yellow); }
.phone-input-group .phone-country-select {
  flex-shrink: 0; width: 78px; max-width: 38%; border: none; border-right: 1px solid var(--gray-200); border-radius: 0;
  background: var(--gray-50); color: var(--gray-800); font-weight: 600; font-size: 13px; padding: 0 4px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.phone-input-group .phone-country-select:focus { outline: none; }
.phone-input-group input[type=tel] { border: none; border-radius: 0; flex: 1; min-width: 0; }
.phone-input-group input[type=tel]:focus { border-color: transparent; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.checkbox-item input { width: auto; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.center-link { text-align: center; margin-top: 16px; font-size: 14px; color: var(--gray-600); }
.center-link a { color: var(--navy); font-weight: 600; }

/* Steps indicator */
.step-tracker { display: flex; justify-content: space-between; margin-bottom: 28px; }
.step-tracker .step { flex: 1; text-align: center; font-size: 12px; color: var(--gray-400); position: relative; }
.step-tracker .step.active { color: var(--navy); font-weight: 700; }
.step-tracker .step .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--gray-200); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-weight: 700; font-size: 12px; }
.step-tracker .step.active .dot, .step-tracker .step.done .dot { background: var(--yellow); color: var(--navy-dark); }

.form-step { display: none; }
.form-step.active { display: block; }

/* ---------- Alerts / badges ---------- */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.alert-info { background: #e8f1fb; color: #1a5a9e; }
.alert-success { background: #e5f7ee; color: #14724a; }
.alert-error { background: #fdecec; color: #a02525; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: #e5f7ee; color: #14724a; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }
.badge-yellow { background: #fdf1d6; color: #8a6600; }
.badge-red { background: #fdecec; color: #a02525; }

/* ---------- Dashboard shell ---------- */
.dash-shell { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding-top: 26px; padding-bottom: 60px; align-items: start; }
.sidebar { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 14px; position: sticky; top: 90px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--gray-800); margin-bottom: 2px; }
.side-link .icon { width: 18px; height: 18px; color: var(--gray-600); }
.side-link:hover { background: var(--gray-50); }
.side-link.active { background: var(--navy); color: #fff; }
.side-link.active .icon { color: var(--yellow); }
.dash-content { min-width: 0; }
.dash-content h1 { margin-top: 0; color: var(--navy-dark); font-size: 24px; }
.dash-content .page-sub, .customer-dash-main .page-sub { color: var(--gray-600); margin-top: -12px; margin-bottom: 24px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat-card .stat-label { font-size: 13px; color: var(--gray-600); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 26px; font-weight: 800; color: var(--navy-dark); }
.stat-card .icon { color: var(--yellow); }

.card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card h2, .card h3 { margin-top: 0; }

.lead-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.lead-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.lead-card h3 { margin: 0 0 6px; font-size: 17px; }
.lead-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--gray-600); font-size: 13px; margin: 10px 0; }
.lead-meta span { display: inline-flex; align-items: center; gap: 5px; }
.lead-meta .icon { width: 14px; height: 14px; }
.locked-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; background: var(--gray-50); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.locked-fields div { font-size: 13px; color: var(--gray-600); }
.locked-fields b { color: var(--gray-800); }
.purchase-counter { font-size: 13px; font-weight: 700; color: var(--navy); }

table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th { text-align: left; padding: 10px 12px; color: var(--gray-600); font-size: 12px; text-transform: uppercase; border-bottom: 2px solid var(--gray-100); }
table.data-table td { padding: 12px; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
table.data-table tr:hover td { background: var(--gray-50); }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pay-method { border: 1px solid var(--gray-200); border-radius: 8px; padding: 12px; text-align: center; cursor: pointer; font-size: 13px; font-weight: 600; }
.pay-method.selected { border-color: var(--yellow); background: #fdf6e3; }

.review-stars { color: var(--yellow); font-size: 16px; }
.notif-item { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--gray-100); }
.notif-item.unread { background: #fdf6e3; }
.notif-item .icon { color: var(--navy); flex-shrink: 0; margin-top: 3px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px; text-align: center; }
.plan-card.current { border-color: var(--yellow); box-shadow: var(--shadow); }
.plan-card .price { font-size: 30px; font-weight: 800; margin: 10px 0; color: var(--navy-dark); }
.plan-card ul { list-style: none; padding: 0; margin: 16px 0; text-align: left; font-size: 13px; color: var(--gray-600); }
.plan-card li { padding: 6px 0; display: flex; gap: 8px; align-items: center; }
.plan-card li .icon { width: 14px; height: 14px; color: var(--green); }

/* Legal policy pages - see routes/public.js legalBody() / lib/legalContent.js */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.legal-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--gray-100); border-radius: 10px; padding: 10px; }
.legal-nav a { padding: 9px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--gray-800); text-decoration: none; }
.legal-nav a:hover { background: var(--gray-50); }
.legal-nav a.active { background: var(--yellow); color: var(--navy-dark); }
.legal-content h3 { margin-top: 22px; font-size: 15.5px; color: var(--navy-dark); }
.legal-content h3:first-of-type { margin-top: 18px; }
.legal-content p { color: var(--gray-800); font-size: 14px; line-height: 1.6; margin-top: 6px; }
@media (max-width: 800px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

.doc-upload-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.upload-box { border: 2px dashed var(--gray-200); border-radius: 8px; padding: 16px; text-align: center; font-size: 13px; color: var(--gray-600); }
.upload-box.has-file { border-color: var(--green); color: var(--green); border-style: solid; }

/* Preview chips for JS-managed file inputs (Portfolio/Certificates/Licences/
   Insurance) - see handleFileSelect() in main.js. */
.file-preview-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file-chip { position: relative; display: flex; flex-direction: column; align-items: center; width: 76px; }
.file-chip img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gray-100); background: var(--gray-50); }
.file-chip-icon { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 8px; border: 1px solid var(--gray-100); background: var(--gray-50); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.file-chip-name { display: block; width: 100%; margin-top: 4px; font-size: 10.5px; color: var(--gray-600); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-chip-remove { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: none; background: var(--red); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.file-chip-remove:hover { background: #a92c1f; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--gray-600); }
.empty-state .icon { width: 46px; height: 46px; color: var(--gray-400); margin: 0 auto 14px; }

/* ---------- Multiselect dropdown (categories / provinces / cities / suburbs) ---------- */
.multiselect { position: relative; }
.multiselect-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 8px;
  background: #fff; font-size: 14px; color: var(--gray-800); cursor: pointer; text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.multiselect-trigger:hover { border-color: var(--yellow); }
.multiselect.open .multiselect-trigger { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(244,180,0,0.15); }
.chevron-icon { width: 16px; height: 16px; color: var(--gray-400); transition: transform .25s ease; flex-shrink: 0; }
.multiselect.open .chevron-icon { transform: rotate(180deg); color: var(--yellow-dark); }
.multiselect-panel {
  max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px);
  transition: max-height .3s ease, opacity .25s ease, transform .25s ease;
  background: #fff; border-radius: 10px;
}
.multiselect.open .multiselect-panel {
  max-height: 400px; opacity: 1; transform: translateY(0);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg); margin-top: 8px;
}
.ms-search-wrap { position: relative; padding: 8px 8px 6px; border-bottom: 1px solid var(--gray-100); }
.ms-search-wrap .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--gray-400); pointer-events: none; }
.ms-search { padding: 9px 12px 9px 32px !important; font-size: 13px !important; border-radius: 6px !important; }
.ms-options { max-height: 280px; overflow-y: auto; padding: 8px; }
.ms-options.ms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.ms-empty { display: none; padding: 18px; text-align: center; font-size: 13px; color: var(--gray-600); }
.ms-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; position: relative; transition: background .15s ease; }
.ms-option:hover { background: var(--gray-50); }
.ms-option input[type=checkbox] { position: absolute; opacity: 0; width: 0; height: 0; }
.ms-option.selected { background: #fdf6e3; }
.ms-option .ms-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; transition: all .2s ease; }
.ms-option .ms-icon .icon { width: 16px; height: 16px; }
.ms-option.selected .ms-icon { background: var(--yellow); color: var(--navy-dark); }
.ms-option .ms-label { flex: 1; }
.ms-option .ms-check { width: 16px; height: 16px; color: var(--yellow-dark); opacity: 0; transition: opacity .15s ease; flex-shrink: 0; }
.ms-option.selected .ms-check { opacity: 1; }
.ms-other-row { display: flex; gap: 6px; padding: 10px 8px; border-top: 1px solid var(--gray-100); }
.ms-other-row .ms-other-input { flex: 1; padding: 8px 10px; font-size: 13px; border: 1px solid var(--gray-200); border-radius: 6px; font-family: inherit; }
.ms-other-row .btn { white-space: nowrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gray-100); color: var(--gray-800); padding: 5px 8px 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.chip button { border: none; background: rgba(0,0,0,0.08); color: var(--gray-600); width: 16px; height: 16px; border-radius: 50%; cursor: pointer; font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.chip button:hover { background: var(--red); color: #fff; }

/* ---------- Mini step tracker (business profile form) ---------- */
.mini-step-tracker { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.mini-step { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; background: var(--gray-50); color: var(--gray-600); font-size: 13px; font-weight: 600; border: 1px solid var(--gray-100); transition: all .2s ease; }
.mini-step.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.mini-step.done { background: #e5f7ee; color: #14724a; border-color: #cdeedd; }
.mini-dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.mini-step:not(.active):not(.done) .mini-dot { background: var(--gray-200); color: var(--gray-600); }
.mini-panel { display: none; }
.mini-panel.active { display: block; animation: fadeInUp .35s ease; }

/* ---------- Auth pages (register / profile) animated particle background ---------- */
.auth-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 70px 0; }
.auth-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.auth-hero .form-card { position: relative; z-index: 2; margin: 0 auto; }

/* ---------- General modern polish ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.form-card { animation: fadeInUp .4s ease; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15,41,66,0.18); }
.btn { transition: all .18s ease; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(244,180,0,0.15); }

/* ---------- Bottom-right floating pill button (hero image corner) ---------- */
.wa-float {
  position: absolute; bottom: -18px; right: 20px; z-index: 6;
  display: flex; align-items: center; gap: 10px; background: #25D366; border: 3px solid #fff; color: #fff;
  border-radius: 50px; padding: 10px 22px 10px 12px; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform .2s ease, box-shadow .2s ease; animation: waPulse 2.4s infinite; font-weight: 800;
  font-size: 13.5px; letter-spacing: .02em; white-space: nowrap; text-decoration: none;
}
.wa-float:hover { transform: scale(1.05); box-shadow: 0 14px 30px rgba(0,0,0,0.35); }
.wa-float .wa-icon { width: 22px; height: 22px; flex-shrink: 0; }
.wa-badge {
  position: absolute; top: -10px; right: -8px; background: var(--yellow); color: var(--navy-dark); font-size: 10px;
  font-weight: 800; padding: 2px 7px; border-radius: 10px; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
@keyframes waPulse {
  0% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* "Join as a Professional" reuses the same floating pill shape/position, but
   matches the Get Free Quotes button's exact yellow/navy color scheme. */
.join-float { background: var(--yellow); color: var(--navy-dark); animation: joinPulse 2.4s infinite; }
.join-float:hover { background: var(--yellow-dark); }
@keyframes joinPulse {
  0% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(244,180,0,0.45); }
  70% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 14px rgba(244,180,0,0); }
  100% { box-shadow: 0 10px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(244,180,0,0); }
}

/* "Create a Lead on WhatsApp" as a normal inline hero-cta button */
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1fb455; }
.wa-icon-inline { width: 18px; height: 18px; }
.inline-new-badge {
  background: var(--yellow); color: var(--navy-dark); font-size: 10px; font-weight: 800; padding: 2px 7px;
  border-radius: 10px; letter-spacing: .04em; margin-left: 4px;
}

.wa-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(9,27,46,0.55); z-index: 100;
  align-items: flex-end; justify-content: flex-end; padding: 24px;
}
.wa-modal-overlay.open { display: flex; }
.wa-modal {
  width: 360px; max-width: 100%; height: 520px; max-height: 80vh; background: #e5ddd5; border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,0.35); animation: fadeInUp .25s ease;
}
.wa-modal-header {
  background: #075e54; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.wa-modal-icon { width: 34px; height: 34px; color: #fff; background: rgba(255,255,255,0.15); border-radius: 50%; padding: 6px; box-sizing: border-box; }
.wa-modal-title-wrap { flex: 1; }
.wa-modal-title { font-weight: 700; font-size: 15px; }
.wa-modal-sub { font-size: 12px; color: #d8f0e8; display: flex; align-items: center; gap: 5px; }
.wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
.wa-modal-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px; }
.wa-modal-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.wa-msg { max-width: 78%; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
.wa-msg.bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; color: #303030; }
.wa-msg.user { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 2px; color: #303030; }
.wa-modal-inputrow { display: flex; align-items: center; gap: 8px; padding: 10px; background: #f0f0f0; flex-shrink: 0; }
.wa-modal-input {
  flex: 1; border: none; border-radius: 20px; padding: 10px 16px; font-size: 13.5px; outline: none; background: #fff;
}
.wa-modal-send {
  width: 38px; height: 38px; border-radius: 50%; background: #075e54; border: none; color: #fff; display: flex;
  align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.wa-modal-send .icon { width: 18px; height: 18px; }

/* ---------- Get a Quote popup (5-step modal) ---------- */
.quote-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(9,27,46,0.6); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); z-index: 120; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .2s ease;
}
.quote-modal-overlay.open { display: flex; opacity: 1; }
.quote-modal {
  width: 640px; max-width: 100%; max-height: 88vh; background: #fff; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(0,0,0,0.4); animation: quoteModalIn .25s ease;
}
@keyframes quoteModalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.quote-modal-header {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid var(--gray-100); flex-shrink: 0;
}
.quote-modal-close { background: none; border: none; color: var(--gray-400); font-size: 26px; cursor: pointer; line-height: 1; padding: 0 4px; flex-shrink: 0; }
.quote-modal-close:hover { color: var(--gray-800); }
.quote-modal-body { flex: 1; overflow-y: auto; padding: 24px 26px 26px; }
.quote-step { display: none; }
.quote-step.active { display: block; animation: fadeInUp .25s ease; }
.quote-step h2 { margin: 0 0 18px; color: var(--navy-dark); font-size: 20px; }

.quote-step-tracker { display: flex; flex: 1; gap: 4px; }
.qstep-dot { flex: 1; text-align: center; font-size: 10.5px; color: var(--gray-400); }
.qstep-dot em { font-style: normal; display: block; margin-top: 4px; }
.qstep-dot .qdot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gray-200); color: #fff; display: flex;
  align-items: center; justify-content: center; margin: 0 auto; font-weight: 700; font-size: 11px;
}
.qstep-dot.active { color: var(--navy); font-weight: 700; }
.qstep-dot.active .qdot, .qstep-dot.done .qdot { background: var(--yellow); color: var(--navy-dark); }

.quote-step-sub { color: var(--gray-600); font-size: 14px; margin: -8px 0 18px; }

/* Smart-search field used on the Get a Quote popup's "service" step -
   styled like a mini version of the homepage search bar so it feels
   consistent, but sized for a single field rather than a full grid row. */
.quote-service-search { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.quote-service-search .search-field { border-right: none; padding-right: 0; }

.quote-selected-category {
  display: flex; align-items: center; gap: 10px; background: #fdf6e3; border: 1px solid var(--yellow);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 18px;
}
.quote-selected-category .icon { width: 18px; height: 18px; color: var(--yellow-dark); flex-shrink: 0; }
.quote-selected-category span { flex: 1; font-weight: 700; color: var(--navy-dark); font-size: 15px; }
.btn-link { background: none; border: none; color: var(--navy); font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.missing-request-link { text-align: center; margin: 10px 0 0; }
.missing-request-link .btn-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-600); text-decoration: none; }
.missing-request-link .btn-link:hover { color: var(--navy); text-decoration: underline; }
.missing-request-link .icon { width: 14px; height: 14px; }

.quote-confirm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.quote-confirm-icon { width: 30px; height: 30px; color: #14724a; background: #e5f7ee; border-radius: 50%; padding: 6px; box-sizing: border-box; flex-shrink: 0; }
.quote-confirm-sub { color: var(--gray-600); font-size: 14px; margin: 0 0 18px; }
.quote-summary { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 10px; padding: 6px 16px; margin-bottom: 18px; }
.quote-summary-row { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 13.5px; }
.quote-summary-row:last-child { border-bottom: none; }
.quote-summary-row b { color: var(--gray-600); min-width: 100px; flex-shrink: 0; }
.quote-summary-row span { color: var(--gray-800); font-weight: 600; }

/* Category-specific question mini-wizard (inside the "Details" macro-step) */
.qcatq-progress { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 6px; }

/* Location step: captured-from-search confirmation, styled like the
   selected-category badge so the two "we already know this" moments feel
   consistent. */
.quote-location-captured {
  display: flex; align-items: center; gap: 10px; background: #fdf6e3; border: 1px solid var(--yellow);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 18px;
}
.quote-location-captured .icon { width: 18px; height: 18px; color: var(--yellow-dark); flex-shrink: 0; }
.quote-location-captured span { flex: 1; font-weight: 700; color: var(--navy-dark); font-size: 15px; }

.field-hint { color: var(--gray-600); font-size: 12.5px; margin: -6px 0 14px; }

/* ------------------------------------------------------------------ */
/* Customer dashboard (/my/dashboard) */
/* ------------------------------------------------------------------ */
.customer-dash-main { padding: 32px 20px 60px; }
.table-scroll { overflow-x: auto; }
.lead-meta-small { color: var(--gray-600); font-size: 12px; margin-top: 2px; }
.muted-note { color: var(--gray-400); }
.star-dim { color: var(--gray-200); }

@media (max-width: 700px) {
  .quote-modal-overlay { padding: 0; align-items: stretch; }
  .quote-modal { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .qstep-dot em { display: none; }
}

/* ---------- Admin: generic edit modal (categories, etc.) ---------- */
.cat-thumb-empty {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: var(--gray-100); border-radius: 8px; color: var(--gray-600); font-size: 9px; font-weight: 700;
  text-align: center; line-height: 1.2;
}
.edit-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(9,27,46,0.55); z-index: 100;
  align-items: center; justify-content: center; padding: 24px;
}
.edit-modal-overlay.open { display: flex; }
.edit-modal {
  width: 420px; max-width: 100%; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 14px;
  padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); animation: fadeInUp .25s ease;
}
.edit-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.edit-modal-header h2 { margin: 0; font-size: 18px; color: var(--navy-dark); }
.edit-modal-header .wa-modal-close { color: var(--gray-600); }
.edit-modal-preview { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; background: var(--gray-50); }

/* ---------- Site-wide developer lock overlay ---------- */
.site-lock-overlay {
  position: fixed; inset: 0; z-index: 99999; background: rgba(9,27,46,0.97);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.site-lock-box h1 { color: #fff; font-size: 26px; margin: 0 0 12px; font-weight: 800; }
.site-lock-box p { color: #cfd9e3; font-size: 16px; margin: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr; margin-top: 16px; }
  .search-field { border-right: none; border-bottom: 1px solid var(--gray-200); padding-bottom: 10px; }

  /* Compact single-line search bar, shown right below the header and above
     the hero heading. Overrides the stacked layout above for this copy only. */
  .desktop-search-wrap { display: none; }
  .mobile-search-wrap { display: block; padding: 12px 16px 0; }
  .mobile-search-wrap .search-bar {
    grid-template-columns: 1fr 1fr auto; gap: 6px; margin-top: 0; padding: 8px 10px; border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15,41,66,0.14);
  }
  .mobile-search-wrap .search-field {
    border-right: 1px solid var(--gray-200); border-bottom: none; padding-bottom: 0; padding-right: 8px; gap: 6px;
  }
  .mobile-search-wrap .search-field:last-of-type { border-right: none; padding-right: 0; }
  .mobile-search-wrap .field-label { display: none; }
  .mobile-search-wrap .search-field input { font-size: 12.5px; text-overflow: ellipsis; }
  .mobile-search-wrap .search-field .icon { width: 15px; height: 15px; }
  .mobile-search-wrap button[type="submit"] { padding: 9px 12px; }
  .mobile-search-wrap .btn-text { display: none; }
  .mobile-search-wrap .search-suggest { left: -8px; right: -8px; top: calc(100% + 10px); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-row .category-card { min-width: 96px; }
  .category-showcase-card { min-width: 110px; min-height: 110px; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .app-download-grid { grid-template-columns: 1fr; text-align: center; }
  .app-download-heading { font-size: 30px; }
  .app-download-badges { justify-content: center; }
  .app-download-phone { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-public .header-actions { display: none; }
  .nav-public .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .dash-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .side-link span { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .checkbox-grid, .doc-upload-grid, .pay-methods, .plan-grid { grid-template-columns: 1fr; }
  .locked-fields { grid-template-columns: 1fr; }
  .wa-modal-overlay { padding: 0; align-items: stretch; }
  .wa-modal { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .wa-float { font-size: 11.5px; padding: 8px 12px; gap: 0; }
  .wa-float-label { display: none; }
  .wa-float .wa-icon { width: 26px; height: 26px; }
  /* "Join as a Professional" is the only button using .wa-float right now,
     and unlike a generic floating chat launcher it needs its label to stay
     readable on mobile too - so it opts back into showing full text,
     just sized and spaced to fit comfortably next to the icon. */
  .join-float.wa-float { gap: 6px; padding: 8px 16px 8px 10px; max-width: calc(100% - 40px); }
  .join-float .wa-float-label { display: inline; font-size: 11px; white-space: nowrap; }
  .join-float .wa-icon { width: 18px; height: 18px; }
}
