/* OneMarketers marketplace styles. Plain CSS, no build step. Colours follow the service page design. */
:root {
  --primary: #6176F6;
  --primary-dark: #4B5FE0;
  --primary-soft: #EAEDFE;
  --ink: #1D2635;
  --body: #475467;
  --muted: #667085;
  --line: #EEF0F4;
  --line-strong: #D0D5DD;
  --wash: #F8F9FC;
  --success: #1F8A4C;
  --success-soft: #E7F6EC;
  --warn: #B25E09;
  --warn-soft: #FEF1E6;
  --danger: #C4302B;
  --danger-soft: #FDECEC;
  --radius: 14px;
  --bg: #fff;
  --card: #fff;
  --hero-a: #F2F3FE;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Manrope', system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; font-size: 15px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
p { margin: 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sidebar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; white-space: nowrap; color: var(--ink); }
.logo-mark { flex: none; display: block; }
.logo-one { color: #4DAB4B; }
.nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; color: var(--body); }
.nav a.active { color: var(--primary); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu .menu { position: absolute; right: 0; top: calc(100% + 10px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(16,24,40,.12); min-width: 220px; padding: 8px; display: flex; flex-direction: column; }
.user-menu .menu a, .user-menu .menu button { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; text-align: left; background: none; border: 0; color: var(--ink); cursor: pointer; font-family: inherit; }
.user-menu .menu a:hover, .user-menu .menu button:hover { background: var(--wash); color: var(--primary); }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; min-height: 44px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary); }
.btn-ghost { background: var(--wash); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-strong); color: var(--ink); }
.btn-danger { background: var(--card); color: var(--danger); border-color: #F3C4C2; }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); }
.btn-lg { font-size: 15px; padding: 14px 26px; }
.btn-sm { font-size: 13px; padding: 7px 14px; min-height: 36px; }
.btn-block { width: 100%; }

/* Breadcrumb */
.breadcrumb { background: var(--wash); border-bottom: 1px solid var(--line); }
.breadcrumb .container { padding-top: 13px; padding-bottom: 13px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb .current { color: var(--ink); font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--hero-a) 0%, var(--bg) 65%); padding: 60px 0 56px; }
.badge { display: inline-block; background: var(--primary-soft); color: var(--primary); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 7px 15px; border-radius: 20px; }
.hero .badge { margin-bottom: 22px; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; max-width: 760px; line-height: 1.18; }
.hero p.lead { font-size: 16.5px; line-height: 1.65; color: var(--muted); max-width: 660px; margin-bottom: 32px; }
.hero .price-hint { display: inline-block; margin-bottom: 14px; font-weight: 700; color: var(--success); background: var(--success-soft); padding: 5px 12px; border-radius: 20px; font-size: 13px; }

/* Sections */
.section { padding: 64px 0; }
.section-wash { background: var(--wash); }
.section h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.section .subhead { font-size: 15px; color: var(--muted); margin-bottom: 32px; max-width: 640px; }
.page-head { padding: 40px 0 24px; }
.page-head h1 { font-size: 30px; font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-link { display: block; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { border-color: #C9D0FB; box-shadow: 0 8px 24px rgba(97,118,246,.10); color: inherit; }
.card h3 { font-size: 17px; font-weight: 800; }
.type-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.type-card .name { font-size: 14.5px; font-weight: 700; }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-circle svg, .icon-circle i { width: 22px; height: 22px; }
[data-lucide] { width: 18px; height: 18px; stroke-width: 1.8; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.tier.popular { border: 2px solid var(--primary); box-shadow: 0 12px 32px rgba(97,118,246,.14); }
.tier .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.tier .tier-name { font-size: 15px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tier .amount { font-size: 38px; font-weight: 800; }
.tier .amount small { font-size: 15px; color: var(--muted); font-weight: 600; }
.tier .scope { font-size: 13.5px; color: var(--muted); }
.tier .desc { font-size: 14.5px; color: var(--body); flex: 1; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; background: var(--card); border: 1px solid var(--line-strong); color: var(--body); font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 20px; }
a.chip:hover { border-color: var(--primary); color: var(--primary); }

/* Freelancer card */
.person-card { display: flex; flex-direction: column; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar-lg { width: 72px; height: 72px; font-size: 24px; }
.person { display: flex; align-items: center; gap: 10px; }
.person .who { font-weight: 700; font-size: 14px; }
.person .meta { font-size: 12.5px; color: var(--muted); }
.person-card .title { font-weight: 700; font-size: 15px; line-height: 1.4; }
.person-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; font-size: 13.5px; }
.stars { color: #E8A400; font-weight: 800; }
.price { font-weight: 800; }

/* Status pills */
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--wash); color: var(--body); border: 1px solid var(--line); white-space: nowrap; }
.pill-in_progress, .pill-open, .pill-pending { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.pill-delivered, .pill-revision { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill-completed, .pill-accepted { background: var(--success-soft); color: var(--success); border-color: transparent; }
.pill-cancelled, .pill-rejected, .pill-closed, .pill-inactive { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

/* Stats */
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .value { font-size: 26px; font-weight: 800; margin-top: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; background: var(--wash); }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.field label, .label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.input, select.input, textarea.input { width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 14px; min-height: 44px; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(97,118,246,.18); }
.field-error { color: var(--danger); font-size: 13px; margin-top: 5px; font-weight: 600; }
.input.has-error { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-pick label { border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick input:checked + label { border-color: var(--primary); background: var(--primary-soft); }
.role-pick input:focus-visible + label { box-shadow: 0 0 0 3px rgba(97,118,246,.3); }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fieldset legend { font-weight: 800; padding: 0 6px; }

/* Alerts */
.alert { border-radius: 12px; padding: 13px 16px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* Messages */
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.msg.mine { background: var(--wash); border-color: #DDE2FD; }
.msg.system { background: var(--wash); font-size: 13.5px; color: var(--muted); }
.msg.delivery { border-color: #BFE3CC; background: var(--wash); }
.msg.revision { border-color: #F6D2AE; background: #FFF8F1; }
.msg .head { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.msg .body { white-space: pre-line; }

/* Footer */
.site-footer { background: var(--ink); color: #B7BFD6; margin-top: 80px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #B7BFD6; display: block; font-size: 14px; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-bottom { border-top: 1px solid #2E3A4F; margin-top: 36px; padding-top: 20px; font-size: 13px; text-align: center; }

/* Pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; padding: 0 12px; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { color: var(--line-strong); }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.empty h3 { font-size: 17px; margin-bottom: 6px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs a { padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--primary); border-color: var(--primary); }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 14px; }
.dl dt { color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; font-weight: 600; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); padding: 12px 16px 16px; border-bottom: 1px solid var(--line); gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-outline { display: none; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 30px; }
  .grid-2, .grid-3, .grid-4, .pricing, .role-pick { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .time-form { grid-template-columns: 1fr 1fr !important; }
  .time-form > .field:first-child, .time-form > .field:nth-child(4) { grid-column: 1 / -1; }
  .inbox-row { grid-template-columns: 40px 1fr !important; }
  .inbox-row .inbox-meta { grid-column: 2; text-align: left !important; }
}

/* Freelancer profile: approved badge and rating breakdown */
.verified { display: inline-flex; vertical-align: middle; color: var(--primary); margin-left: 4px; }
.verified svg { width: 22px; height: 22px; }
.rating-summary { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding-bottom: 14px; }
.rating-bars { display: grid; gap: 6px; }
.rating-bar { display: grid; grid-template-columns: 36px 1fr 28px; gap: 8px; align-items: center; }
.rating-bar .bar { height: 8px; background: var(--wash); border-radius: 8px; overflow: hidden; }
.rating-bar .bar span { display: block; height: 100%; background: #F5A524; }

/* Inbox */
.inbox { display: grid; }
.inbox-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); color: inherit; }
.inbox-row:first-child { border-top: 0; }
.inbox-row:hover { background: var(--wash); }
.inbox-row.unread .inbox-title { font-weight: 800; }
.inbox-preview { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 560px; }
.inbox-meta { text-align: right; font-size: 13px; color: var(--muted); }
.unread-dot { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.inbox-link { position: relative; }
.inbox-link .unread-dot { position: absolute; top: -4px; right: -6px; font-size: 11px; min-width: 18px; padding: 0 5px; }

/* All services page */
.svc-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 32px 0 24px; }
.svc-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.svc-hero p { color: var(--muted); margin-top: 6px; max-width: 560px; }
.svc-search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; width: 100%; max-width: 420px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.svc-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.svc-search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; background: transparent; padding: 6px 0; }
.svc-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(97,118,246,.15); }
.svc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 48px; }
.svc-jump { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 110px); overflow: auto; }
.svc-jump a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--body); }
.svc-jump a:hover { background: var(--wash); color: var(--ink); }
.svc-jump svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.svc-jump span { flex: 1; min-width: 0; }
.svc-jump em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--wash); border-radius: 20px; padding: 1px 8px; }
.svc-cats { display: flex; flex-direction: column; gap: 20px; }
.svc-cat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; scroll-margin-top: 90px; }
.svc-cat-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.svc-cat-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.svc-cat-icon svg { width: 22px; height: 22px; }
.svc-cat-title { flex: 1; min-width: 0; }
.svc-cat-title h2 { font-size: 18px; font-weight: 800; }
.svc-cat-title h2 a:hover { color: var(--primary); }
.svc-cat-title p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.svc-cat-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.svc-cat-link svg { width: 15px; height: 15px; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-item { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-top: 1px solid var(--line); color: var(--ink); }
.svc-item:nth-child(-n+2) { border-top: 0; }
.svc-item:nth-child(odd) { border-right: 1px solid var(--line); }
.svc-item:hover { background: var(--wash); }
.svc-item:hover .svc-item-name { color: var(--primary); }
.svc-item-name { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; }
.svc-item-price { font-size: 13px; color: var(--muted); white-space: nowrap; }
.svc-item svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
@media (max-width: 1024px) { .svc-layout { grid-template-columns: 1fr; } .svc-jump { position: static; flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 4px; } .svc-jump a { white-space: nowrap; border: 1px solid var(--line); } }
@media (max-width: 760px) {
  .svc-hero h1 { font-size: 28px; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-item:nth-child(odd) { border-right: 0; }
  .svc-item:nth-child(2) { border-top: 1px solid var(--line); }
  .svc-cat-head { flex-wrap: wrap; padding: 16px; }
  .svc-cat-title { flex: 1 1 calc(100% - 58px); }
  .svc-cat-link { margin-left: 58px; }
  .svc-item { padding: 13px 16px; }
}

/* Payments */
.plan-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick label { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.plan-pick input:checked + label { border-color: var(--primary); background: var(--primary-soft); }
.plan-pick input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.pay-methods svg { width: 14px; height: 14px; vertical-align: -2px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pay-row:first-of-type { border-top: 0; }
.pay-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-buttons form { margin: 0; }
.pay-due { border-color: #F5C98B !important; background: #FFFBF5; }
@media (max-width: 760px) { .plan-pick { grid-template-columns: 1fr; } }

/* Header and footer in a light OneMarketers green */
:root { --brand: #4DAB4B; --brand-dark: #2F7D2E; --brand-header: #EEF7EE; --brand-footer: #E6F2E6; }
.site-header { background: var(--brand-header); border-bottom-color: #D5E9D5; }
.site-header .logo, .site-footer .logo { color: var(--ink); }
.site-header .logo-one, .site-footer .logo-one { color: var(--brand); }
.site-header .nav { color: #3E4F45; }
.site-header .nav a:hover { color: var(--brand-dark); }
.site-header .nav a.active { color: var(--brand-dark); }
.site-header .btn-outline { border-color: var(--brand); color: var(--brand-dark); background: var(--card); }
.site-header .btn-outline:hover { background: var(--card); border-color: var(--brand-dark); }
.site-header .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-header .btn-primary:hover { background: #43973F; border-color: #43973F; }
.site-footer { background: var(--brand-footer); color: #4A5B50; border-top: 1px solid #D5E9D5; }
.site-footer a { color: #4A5B50; }
.site-footer a:hover { color: var(--brand-dark); }
.site-footer h4 { color: var(--ink); }
.site-footer .footer-bottom { border-top-color: #D5E9D5; }
@media (max-width: 760px) { .site-header .nav.open { background: var(--brand-header); border-bottom-color: #D5E9D5; } }

/* Home: every category with its services */
.cat-columns { columns: 3 300px; column-gap: 20px; }
.cat-block { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cat-block-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.cat-block-head > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-block-head strong { font-size: 16px; }
.cat-block-head:hover strong { color: var(--primary); }
.cat-sub { list-style: none; margin: 0; padding: 8px 10px; }
.cat-sub a { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--body); }
.cat-sub a:hover { background: var(--wash); color: var(--primary); }
.cat-sub svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.cat-block-more { display: block; padding: 10px 18px 14px; font-size: 13px; font-weight: 700; color: var(--primary); }

/* Header "Services" dropdown (categories + their services) */
.mega { position: relative; }
.mega-toggle { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
.mega-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega-toggle.active, .mega-toggle[aria-expanded="true"] { color: var(--brand-dark, var(--primary)); }
.mega-panel { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-40%); width: min(860px, calc(100vw - 32px)); display: grid; grid-template-columns: 330px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(16,24,40,.16); overflow: hidden; z-index: 40; color: var(--ink); }
.mega-panel[hidden] { display: none; }
.mega-cats { max-height: 460px; overflow-y: auto; padding: 8px; border-right: 1px solid var(--line); }
.mega-cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.mega-cat svg { width: 18px; height: 18px; color: var(--brand, var(--primary)); flex: none; margin-top: 2px; }
.mega-cat > span { display: flex; flex-direction: column; min-width: 0; }
.mega-cat strong { font-size: 14.5px; }
.mega-cat > span > span { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.35; }
.mega-cat:hover, .mega-cat.on { background: var(--wash); }
.mega-subs { padding: 18px 20px; display: flex; flex-direction: column; max-height: 460px; overflow-y: auto; }
.mega-sub-title { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mega-sub ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.mega-sub li a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--body); break-inside: avoid; }
.mega-sub li a:hover { background: var(--wash); color: var(--primary); }
.mega-all { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--primary); }
.mega-browse { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mega-browse svg { width: 15px; height: 15px; }
.cat-card { display: flex; gap: 14px; align-items: flex-start; }
.cat-card > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cat-card strong { font-size: 16px; }
.cat-card-count { font-weight: 700; color: var(--primary); margin-top: 4px; }
@media (max-width: 760px) {
  .mega-panel { position: static; transform: none; width: 100%; grid-template-columns: 1fr; box-shadow: none; margin-top: 8px; }
  .mega-subs { display: none; }
  .mega-cats { border-right: 0; max-height: 60vh; }
}


/* ================================================================
   Themes: dark by default; visitors can switch to light (light green).
   The choice is stored in the browser (localStorage "om-theme").
   ================================================================ */
/* Light mode: everything light green, no pure white. Secondary text is soft but easy to read. */
html[data-theme="light"] {
  --bg: #DDEEDC; --wash: #CFE6CE; --card: #EAF5E9; --hero-a: #C3E0C1;
  --line: #BCD8BB; --line-strong: #A3C8A2;
  --ink: #1B2A21; --body: #2F3F35; --muted: #4A5C50;
}
html[data-theme="light"] .site-header { background: #E3F1E3; }
html[data-theme="light"] .site-footer { background: #C9E3C8; color: #3E5044; border-top-color: #B5D5B4; }
html:not([data-theme="light"]) {
  color-scheme: dark;
  --primary: #8595FF; --primary-dark: #9AA7FF; --primary-soft: #232A4D;
  --ink: #EEF1F7; --body: #CDD3E0; --muted: #A9B3C6; --line: #262C3B; --line-strong: #3A4254;
  --bg: #12151D; --wash: #181C26; --card: #1A1F2B; --hero-a: #1C2140;
  --success: #5FD08F; --success-soft: #173325; --warn: #F2A55A; --warn-soft: #3A2814; --danger: #FF8A84; --danger-soft: #3A1B1B;
}
html:not([data-theme="light"]) .btn-primary { color: #0E1220; }
html:not([data-theme="light"]) .site-header { background: #154A35; border-bottom-color: rgba(255,255,255,.08); }
html:not([data-theme="light"]) .site-header .logo, html:not([data-theme="light"]) .site-footer .logo { color: #fff; }
html:not([data-theme="light"]) .site-header .logo-one, html:not([data-theme="light"]) .site-footer .logo-one { color: #7DD87A; }
html:not([data-theme="light"]) .site-header .nav { color: rgba(255,255,255,.8); }
html:not([data-theme="light"]) .site-header .nav a:hover { color: #fff; }
html:not([data-theme="light"]) .site-header .nav a.active, html:not([data-theme="light"]) .mega-toggle.active,
html:not([data-theme="light"]) .mega-toggle[aria-expanded="true"] { color: #C4F5C2; }
html:not([data-theme="light"]) .site-header .user-menu summary, html:not([data-theme="light"]) .site-header .nav-toggle,
html:not([data-theme="light"]) .site-header .inbox-link { color: #fff; }
html:not([data-theme="light"]) .site-header .btn-ghost { background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }
html:not([data-theme="light"]) .site-header .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
html:not([data-theme="light"]) .site-footer { background: #0A2A1E; color: #B4D2C0; border-top-color: rgba(255,255,255,.06); }
html:not([data-theme="light"]) .site-footer a { color: #B4D2C0; }
html:not([data-theme="light"]) .site-footer a:hover, html:not([data-theme="light"]) .site-footer h4 { color: #fff; }
@media (max-width: 760px) { html:not([data-theme="light"]) .site-header .nav.open { background: #154A35; } }

/* Theme switch and language selector in the header */
.icon-btn { width: 40px; padding: 0; }
.icon-btn svg { width: 18px; height: 18px; }
.lang-form { margin: 0; }
.lang-select { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 6px; min-height: 36px; background: var(--card); color: var(--ink); }
.lang-select svg { width: 16px; height: 16px; }
.lang-select select { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 13px; color: inherit; cursor: pointer; padding: 6px 2px; }
.lang-select option { color: #1D2635; }
html:not([data-theme="light"]) .site-header .lang-select { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }

/* Services menu: categories only */
.mega-panel.cats-only { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(940px, calc(100vw - 32px)); padding: 10px; gap: 2px; }
.mega-panel.cats-only[hidden] { display: none; }
@media (max-width: 1024px) { .mega-panel.cats-only { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mega-panel.cats-only { grid-template-columns: 1fr; padding: 6px; } .header-actions .lang-select svg { display: none; } }

/* Service dropdowns: category (main catalog) names stand out from the services under them */
select optgroup { font-weight: 800; font-style: normal; color: #2F7D2E; background: var(--wash); }
select option { font-weight: 500; color: var(--ink); background: var(--card); }
html:not([data-theme="light"]) select optgroup { color: #7DD87A; }

/* Freelancer name and country always bold */
.person .who, .person .meta, .person .meta strong { font-weight: 800; }
.person .meta { color: var(--body); }

/* Talent badges */
.talent-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; border: 1px solid transparent; width: fit-content; }
.talent-badge svg { width: 13px; height: 13px; }
.talent-silver { background: #EEF1F5; color: #4E5A6B; border-color: #CDD5DF; }
.talent-gold { background: #FFF6D6; color: #8A6300; border-color: #F1D36B; }
.talent-platinum { background: #E7F3F7; color: #1F5D6E; border-color: #A9D3DF; }
.talent-diamond { background: #ECE9FF; color: #4B3BC4; border-color: #C4BBFF; }
html:not([data-theme="light"]) .talent-silver { background: #2A303B; color: #D5DBE5; border-color: #465061; }
html:not([data-theme="light"]) .talent-gold { background: #3A300F; color: #F5CF5B; border-color: #6B5715; }
html:not([data-theme="light"]) .talent-platinum { background: #16333B; color: #8FD3E6; border-color: #2C5966; }
html:not([data-theme="light"]) .talent-diamond { background: #28234D; color: #B9AEFF; border-color: #463D8A; }

/* "Verified" badge: click for details */
.verified-pop { position: relative; display: inline-block; }
.verified-pop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #E3F4E3; color: #2F7D2E; border: 1px solid #BFE0BF; }
.verified-pop summary::-webkit-details-marker { display: none; }
.verified-pop summary svg { width: 14px; height: 14px; }
html:not([data-theme="light"]) .verified-pop summary { background: #17331F; color: #8FE08C; border-color: #2B5A36; }
.verified-card { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 290px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.18); font-size: 13.5px; }
.verified-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.verified-card li { display: flex; gap: 6px; align-items: flex-start; color: var(--body); }
.verified-card li svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.verified-card li.ok svg { color: #2F9E5B; }
.verified-card li.no svg { color: var(--muted); }

.chip-current { background: #4DAB4B; border-color: #4DAB4B; color: #fff; font-weight: 800; }
.review-hidden { opacity: .6; border-style: dashed; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.hero a.badge:hover { text-decoration: underline; }


/* Header: one deep green in dark and light mode */
.site-header, html[data-theme="light"] .site-header { background: #154A35; border-bottom-color: rgba(255,255,255,.08); }
.site-header .logo { color: #fff; }
.site-header .logo-one { color: #7DD87A; }
.site-header .nav { color: rgba(255,255,255,.8); }
.site-header .nav a:hover { color: #fff; }
.site-header .nav a.active, .site-header .mega-toggle.active, .site-header .mega-toggle[aria-expanded="true"] { color: #C4F5C2; }
.site-header .user-menu summary, .site-header .nav-toggle, .site-header .inbox-link { color: #fff; }
.site-header .btn-ghost { background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }
.site-header .btn-outline, .site-header .btn-outline:hover { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.site-header .lang-select { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }
@media (max-width: 760px) { .site-header .nav.open { background: #154A35; border-bottom-color: rgba(255,255,255,.08); } }

/* Services menu: descriptions wrap inside their column */
.mega-panel .mega-cat, .mega-panel .mega-cat * { white-space: normal; }
.mega-cat > span > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* Service page: category badge in the header green; actions under the skills */
.badge-cat { display: inline-flex; align-items: center; gap: 7px; background: #154A35; color: #C4F5C2; border: 1px solid #2B5A36; }
.badge-cat svg { width: 15px; height: 15px; color: #7DD87A; }
.badge-cat:hover { background: #15492F; color: #fff; }
.svc-cta { margin-top: 28px; }
.site-header .nav a.mega-cat, .site-header .nav a.mega-cat:hover { color: var(--ink); }

/* Service counts: in the Services menu and on service pages */
.cnt { color: #2F9E5B; font-weight: 800; }
html:not([data-theme="light"]) .cnt { color: #7DD87A; }
.mega-cat .mc-n { display: inline-block; width: fit-content; margin-top: 5px; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-style: normal; font-weight: 800; background: #E3F4E3; color: #2F7D2E; border: 1px solid #BFE0BF; }
html:not([data-theme="light"]) .mega-cat .mc-n { background: #17331F; color: #8FE08C; border-color: #2B5A36; }

/* How OneMarketers works */
.hiw { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; }
.hiw-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.hiw-steps li { display: flex; gap: 12px; align-items: flex-start; }
.hiw-steps .n { flex: none; width: 30px; height: 30px; border-radius: 9px; background: #4DAB4B; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.hiw-steps li > span:last-child { display: flex; flex-direction: column; }
.hiw-video { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.18); background: #0E3727; aspect-ratio: 16 / 9; }
.hiw-video video { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .hiw { grid-template-columns: 1fr; } }

/* Service page call to action */
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 28px; border-radius: 18px; background: var(--wash); border: 1px solid var(--line); }

/* Client plans */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #2F9E5B; font-weight: 800; }
.plan-on { border-color: #4DAB4B !important; box-shadow: 0 0 0 1px #4DAB4B inset; }
