@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
    --red:         #c9a84c;
    --red-dark:    #9a7a28;
    --navy:        #07101e;
    --navy-mid:    #0f1c2e;
    --navy-light:  #1a2e48;
    --gold:        #c9a84c;
    --gold-light:  #e2c070;
    --gold-dark:   #9a7a28;
    --ink:         #0d1117;
    --ink-mid:     #1f2937;
    --muted:       #6b7280;
    --muted-light: #9ca3af;
    --border:      #e5e7eb;
    --border-dark: #d1d5db;
    --bg:          #ffffff;
    --bg-off:      #faf9f7;
    --bg-dark:     #f3f4f6;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-serif:   'Source Serif 4', Georgia, serif;
    --font-ui:      'DM Sans', system-ui, sans-serif;

    --max-w: 1240px;
    --pad:   0 40px;
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-ui);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─────────────────────────────────────────
   TOP BAR
───────────────────────────────────────── */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-links { display: flex; gap: 10px; align-items: center; }
.tb-sep { opacity: 0.3; }

/* ─────────────────────────────────────────
   MASTHEAD
───────────────────────────────────────── */
.masthead {
    background: var(--bg);
    border-bottom: 3px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.masthead-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.masthead-left { display: flex; flex-direction: column; }
.masthead-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 2px;
}
.masthead-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.5px;
}
.masthead-tagline {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.3px;
    margin-top: 3px;
}
.apply-btn {
    display: inline-block;
    padding: 11px 20px;
    background: var(--navy);
    color: var(--gold-light);
    border: 1px solid rgba(201,168,76,0.4);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.2px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.apply-btn:hover { background: var(--navy-mid); border-color: var(--gold); transform: translateY(-1px); }
.apply-btn--full {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
.apply-btn--light {
    background: rgba(201,168,76,0.1);
    color: var(--gold-light);
    border-color: rgba(201,168,76,0.5);
    margin-top: 28px;
}
.apply-btn--light:hover { background: rgba(201,168,76,0.18); }

/* ─────────────────────────────────────────
   MAIN NAV
───────────────────────────────────────── */
.main-nav {
    background: var(--navy);
}
.main-nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 0;
}
.nav-link {
    display: inline-block;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
    transition: color 0.15s ease, background 0.15s ease;
    border-bottom: 3px solid transparent;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.active-nav { color: #fff; border-bottom-color: var(--red); }

/* ─────────────────────────────────────────
   TICKER
───────────────────────────────────────── */
.ticker-bar {
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,0.2);
    overflow: hidden;
}
.ticker-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 36px;
}
.ticker-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-track {
    overflow: hidden;
    flex: 1;
}
.ticker-item {
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    animation: ticker 35s linear infinite;
}
@keyframes ticker {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ─────────────────────────────────────────
   SHARED SECTION LAYOUT
───────────────────────────────────────── */
.section-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--pad);
}
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
}
.section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 4px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.ghost-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.ghost-btn:hover { background: var(--ink); color: #fff; }

/* shared tags */
.hg-category-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
    border-bottom: 2px solid var(--red);
    padding-bottom: 2px;
}
.hg-tag--gold { color: #8a6520; border-bottom-color: var(--gold); }
.hg-tag--dark { color: var(--navy); border-bottom-color: var(--navy); }
.hg-lead-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.hg-author { font-weight: 700; color: var(--ink-mid); }
.hg-sep { color: var(--border-dark); }

/* ─────────────────────────────────────────
   HERO GRID
───────────────────────────────────────── */
.hero-grid-section {
    padding: 32px 0 48px;
    background: var(--bg);
}
.hg-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--pad);
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto auto;
    gap: 0 32px;
}

/* Lead story */
.hg-lead {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.hg-lead-img {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
    display: block;
    cursor: pointer;
}
.hg-lead-img-inner {
    width: 100%; height: 100%;
    background: linear-gradient(160deg, var(--navy) 0%, #1a3460 60%, #0f2040 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.hg-img-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.hg-label-tag {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--navy);
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.4);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 2px;
}
.hg-lead-headline {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.hg-lead-deck {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--ink-mid);
    line-height: 1.7;
    margin-bottom: 14px;
}

/* Bottom cards (under lead) */
.hg-bottom-row {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hg-card { display: flex; flex-direction: column; }
.hg-card-img {
    width: 100%;
    height: 130px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.hg-card-img--blue  { background: linear-gradient(135deg, #1e3a5f, #2e6da4); }
.hg-card-img--rose  { background: linear-gradient(135deg, #5c1e3a, #a44c72); }
.hg-card-img--green { background: linear-gradient(135deg, #1a3a1e, #2e6b34); }

.hg-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
}
.hg-card p {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* Side stories */
.hg-side {
    grid-column: 2;
    grid-row: 1 / 3;
    border-left: 1px solid var(--border);
    padding-left: 28px;
}
.hg-side-story { padding: 0 0 20px; }
.hg-side-story--top { padding-top: 0; }
.hg-side-story h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
    transition: color 0.15s;
}
.hg-side-story a:hover h3 { color: var(--gold-dark); }
.hg-lead-headline { transition: color 0.15s; }
.hg-lead-body a:hover .hg-lead-headline { color: var(--navy-light); }
.hg-card { transition: transform 0.2s; }
.hg-card:hover { transform: translateY(-2px); }
.hg-card:hover h4 { color: var(--gold-dark); }
.hg-side-story p {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 10px;
}
.hg-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* ─────────────────────────────────────────
   STANDARD BAND
───────────────────────────────────────── */
.standard-band {
    background: var(--navy);
    border-top: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
}
.standard-band-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.sb-stat {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}
.sb-number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.sb-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.sb-divider {
    width: 1px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────
   CATEGORIES
───────────────────────────────────────── */
.categories-section {
    padding: 56px 0 64px;
    background: var(--bg-off);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.cat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 16px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}
.cat-card:hover {
    border-color: var(--red);
    box-shadow: 0 4px 16px rgba(192,32,42,0.1);
    transform: translateY(-2px);
}
.cat-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.cat-card h4 {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 5px;
}
.cat-state {
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services-section {
    padding: 56px 0 64px;
    background: var(--bg);
}
.services-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.service-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.service-item:first-child { padding-top: 0; }
.service-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--border-dark);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    padding-top: 2px;
}
.service-body h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 7px;
    line-height: 1.2;
}
.service-body p {
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}

/* Pricing card */
.pricing-card {
    background: var(--navy);
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(255,255,255,0.06);
}
.pc-top {
    padding: 28px 28px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(160deg, #0d1a30, #1a3460);
    position: relative;
}
.pc-top::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
}
.pc-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    border: 1px solid rgba(201,168,76,0.3);
    padding: 4px 10px;
    border-radius: 3px;
}
.pc-price {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}
.pc-price span {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
}
.pc-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
}
.pc-list {
    list-style: none;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pc-list li {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}
.pc-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.pc-note {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-align: center;
    padding: 0 28px 20px;
    line-height: 1.5;
}
.pricing-card .apply-btn--full {
    width: calc(100% - 56px);
    margin: 0 28px;
    border-radius: 4px;
}

/* ─────────────────────────────────────────
   BUSINESS NEWS SECTION
───────────────────────────────────────── */
.biz-news-section {
    padding: 56px 0 64px;
    background: var(--bg-off);
    border-top: 1px solid var(--border);
}
.biz-news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
}
.biz-featured { display: flex; flex-direction: column; }
.biz-featured-img {
    width: 100%;
    height: 240px;
    border-radius: 4px;
    background: linear-gradient(160deg, var(--navy) 0%, #1a3460 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    margin-bottom: 18px;
}
.biz-featured-img span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}
.biz-featured h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 12px;
}
.biz-featured p {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--ink-mid);
    line-height: 1.7;
}

.biz-side-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--border);
    padding-left: 32px;
}
.biz-list-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.biz-list-item:first-child { padding-top: 0; }
.biz-list-item:last-child  { border-bottom: none; padding-bottom: 0; }
.bli-img {
    width: 80px;
    height: 64px;
    border-radius: 4px;
    flex-shrink: 0;
}
.bli-img--slate { background: linear-gradient(135deg, #374151, #6b7280); }
.bli-img--navy  { background: linear-gradient(135deg, #0d1a30, #1e3a5f); }
.bli-img--amber { background: linear-gradient(135deg, #78350f, #d97706); }
.bli-img--rose  { background: linear-gradient(135deg, #5c1e3a, #9d4f72); }

.bli-body h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 6px;
}
.bli-meta {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

/* ─────────────────────────────────────────
   CLOSING
───────────────────────────────────────── */
.closing-section {
    background: var(--navy);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.closing-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
}
.closing-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.closing-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}
.closing-headline {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}
.closing-sub {
    font-family: var(--font-serif);
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    padding: 28px 40px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 3px;
}
.footer-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
    max-width: 560px;
    text-align: right;
}

/* ─────────────────────────────────────────
   CATEGORY PAGE (keep working)
───────────────────────────────────────── */
.hero {
    color: #fff;
    padding: 32px 40px 80px;
    background: linear-gradient(160deg, var(--navy) 0%, #162744 100%);
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
}
.hero-nei { /* covered */ }
.small-hero   { padding-bottom: 56px; }
.publish-hero { padding-bottom: 64px; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}
.brand-block h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}
.brand-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 5px;
}
.nav-actions { display: flex; gap: 12px; }

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 60px;
    max-width: 800px;
}
.hero-content-large { max-width: 900px; }
.hero-pill {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 3px;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}
.hero-content h2 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 680px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 22px;
    background: var(--navy);
    color: var(--gold-light);
    border: 1px solid rgba(201,168,76,0.4);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--navy-mid); border-color: var(--gold); transform: translateY(-1px); }
.secondary-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
}
.secondary-btn:hover { background: rgba(255,255,255,0.14); }
.small-btn { padding: 8px 14px; font-size: 13px; }
.full-btn  { width: 100%; text-align: center; }

.section-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    border-bottom: 2px solid var(--red);
    padding-bottom: 2px;
    margin-bottom: 14px;
}
.dark-tag { color: rgba(255,255,255,0.6); border-bottom-color: rgba(255,255,255,0.4); }

.section,
.standards-section,
.categories-section.institutional-section,
.model-section,
.quote-section,
.editorial-section,
.apply-principles-section,
.apply-section { padding: 56px 40px 72px; }

.standards-section,
.apply-principles-section,
.apply-section { background: var(--bg-off); }
.model-section, .editorial-section { background: var(--bg); }
.quote-section { background: var(--navy); }

.section-intro { max-width: 800px; margin: 0 auto 40px; }
.center { text-align: center; }
.section-intro h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.1;
}
.section-intro p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
}

.standards-grid, .principles-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.standard-card, .principle-card {
    background: var(--bg);
    border-radius: 6px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.standard-card:hover, .principle-card:hover {
    border-color: var(--red);
    box-shadow: 0 4px 14px rgba(192,32,42,0.08);
}
.standard-icon {
    width: 48px; height: 48px;
    margin-bottom: 16px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
}
.standard-card h3, .principle-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}
.standard-card p, .principle-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.editorial-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.editorial-card {
    background: var(--bg);
    border-radius: 6px;
    padding: 28px;
    border: 1px solid var(--border);
}
.editorial-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}
.editorial-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.gold-status-card {
    border-color: rgba(201,168,76,0.4);
    background: linear-gradient(160deg, #fffdf7, #faf6e8);
}

.business-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.business-card {
    position: relative;
    text-align: center;
    background: var(--bg);
    border-radius: 6px;
    padding: 32px 24px 24px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.business-card:hover {
    border-color: var(--red);
    box-shadow: 0 4px 16px rgba(192,32,42,0.08);
}
.rank-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--navy); color: var(--gold);
    padding: 6px 12px; border-radius: 3px;
    font-weight: 800; font-size: 13px;
}
.logo {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 14px;
    border: 3px solid var(--gold);
    background: var(--bg-off);
}
.business-card h4 {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
    color: var(--ink); margin-bottom: 8px;
}
.business-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 5px 0; }
.rating-row { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 4px; }
.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.rating-number { font-weight: 800; color: var(--ink); font-size: 16px; }
.reviews-text { font-size: 13px; color: var(--muted-light); margin-bottom: 12px; }
.card-buttons { display: flex; justify-content: center; margin-top: 18px; }
.rating-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.rating-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-dark);
    background: var(--bg-off);
    font-size: 13px; font-weight: 700;
    color: var(--ink);
    font-family: var(--font-ui);
    outline: none;
}

.empty-state {
    max-width: 800px; margin: 0 auto;
    text-align: center; padding: 72px 36px;
    background: var(--navy); color: #fff;
    border-radius: 8px;
    border-top: 3px solid var(--red);
}
.empty-state h2 { font-family: var(--font-display); font-size: 38px; font-weight: 700; margin-bottom: 14px; }
.empty-state p  { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 10px; line-height: 1.7; }
.empty-state .btn { margin-top: 20px; }

.model-wrapper {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 0.8fr;
    gap: 56px; align-items: start;
}
.model-left h2 { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--ink); margin-bottom: 14px; line-height: 1.1; }
.model-left > p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.model-points { display: flex; flex-direction: column; gap: 10px; }
.model-point {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px;
    background: var(--bg-off);
    border-radius: 4px;
    border: 1px solid var(--border);
}
.model-point span {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--red); color: #fff;
    font-weight: 800; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.model-point p { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; padding-top: 2px; }

.model-card {
    background: var(--navy);
    border-radius: 8px;
    padding: 32px 28px;
    border-top: 3px solid var(--gold);
}
.price-badge {
    display: inline-block;
    font-size: 10px; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold);
    border: 1px solid rgba(201,168,76,0.3);
    padding: 4px 10px; border-radius: 3px;
    margin-bottom: 16px;
}
.model-card h3 { font-family: var(--font-display); font-size: 46px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; }
.model-card h3 span { font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.4); }
.model-card > p.muted { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 22px; line-height: 1.55; }
.model-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.model-list li { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75); padding-left: 16px; position: relative; }
.model-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.quote-card { max-width: 800px; margin: 0 auto; text-align: center; }
.quote-card h2 { font-family: var(--font-display); font-size: 46px; font-weight: 700; font-style: italic; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.quote-card p  { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.75; }

.apply-wrapper {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 44px; align-items: start;
}
.apply-copy-card h3 { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.1; }
.apply-copy-card > p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.apply-benefits { display: flex; flex-direction: column; gap: 12px; }
.benefit-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--bg); border-radius: 6px; border: 1px solid var(--border); }
.benefit-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--bg-off); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.benefit-item h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.benefit-item p  { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

.apply-form-card { background: var(--bg); border-radius: 8px; padding: 36px 32px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.form-header { margin-bottom: 24px; }
.form-header h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-header p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
.publish-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid var(--border-dark);
    background: var(--bg-off);
    font-size: 14px; font-family: var(--font-ui);
    color: var(--ink); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
    background: var(--bg);
}
.form-group textarea { resize: vertical; }
.success-box h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.success-box > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.submitted-preview { margin: 18px 0 22px; background: var(--bg-off); border-radius: 6px; padding: 18px; border: 1px solid var(--border); }
.submitted-preview p { font-size: 14px; margin: 7px 0; color: var(--muted); }
.submitted-preview p strong { color: var(--ink); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
    .hg-wrapper { grid-template-columns: 1fr; }
    .hg-side { grid-column: 1; grid-row: auto; border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 28px; }
    .hg-bottom-row { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .services-layout { grid-template-columns: 1fr; }
    .pricing-card { position: static; }
    .biz-news-grid { grid-template-columns: 1fr; }
    .biz-side-list { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
    .standards-grid, .principles-grid, .business-grid { grid-template-columns: repeat(2, 1fr); }
    .editorial-grid, .apply-wrapper, .model-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --pad: 0 20px; }
    .topbar-inner, .masthead-inner, .main-nav-inner, .standard-band-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
    .masthead-logo { font-size: 24px; }
    .main-nav-inner { flex-wrap: wrap; }
    .nav-link { padding: 10px 12px; font-size: 12px; }
    .hg-lead-headline { font-size: 26px; }
    .hg-bottom-row { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .standard-band-inner { flex-wrap: wrap; gap: 24px; }
    .sb-divider { display: none; }
    .closing-headline { font-size: 36px; }
    .section, .standards-section, .categories-section.institutional-section, .model-section, .quote-section, .editorial-section, .apply-principles-section, .apply-section { padding: 48px 20px 60px; }
    .standards-grid, .principles-grid, .business-grid, .form-row { grid-template-columns: 1fr; }
    .navbar { flex-direction: column; align-items: flex-start; }
    .hero { padding: 24px 20px 64px; }
    .hero-content h2 { font-size: 36px; }
    .section-title { font-size: 26px; }
    .apply-form-card { padding: 24px 18px; }
    .footer-inner { flex-direction: column; gap: 12px; }
    .footer-copy { text-align: left; }
}

/* Service lead capture redesign */
.lead-service-body {
    --service-ink: #111827;
    --service-muted: #667085;
    --service-line: #d9e1ea;
    --service-bg: #f6f8fb;
    --service-panel: #ffffff;
    --service-navy: #102033;
    --service-teal: #0f766e;
    --service-lime: #d9f99d;
    --service-red: #b42318;
    background: var(--service-bg);
    color: var(--service-ink);
    font-family: var(--font-ui);
}

.service-shell {
    min-height: 94vh;
    background:
        linear-gradient(90deg, rgba(246,248,251,0.98) 0%, rgba(246,248,251,0.9) 54%, rgba(16,32,51,0.78) 100%),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center right / cover no-repeat;
}

.service-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--service-navy);
    color: var(--service-lime);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.service-brand-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 10px 26px rgba(9, 33, 62, 0.14);
}

.service-brand-logo-full {
    width: min(260px, 46vw);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.landing-brand-showcase {
    display: none;
}

.service-brand strong {
    display: block;
    font-size: 16px;
    color: var(--service-ink);
}

.service-brand small {
    display: block;
    font-size: 12px;
    color: var(--service-muted);
    margin-top: 2px;
}

.service-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-nav-links a {
    padding: 9px 12px;
    border-radius: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.service-nav-links a:hover {
    background: rgba(15,118,110,0.1);
    color: var(--service-teal);
}

.service-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 28px 76px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 460px;
    gap: 42px;
    align-items: center;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(15,118,110,0.1);
    color: var(--service-teal);
    border: 1px solid rgba(15,118,110,0.2);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-hero h1 {
    max-width: 720px;
    font-family: var(--font-ui);
    font-size: 54px;
    line-height: 1.02;
    font-weight: 800;
    color: var(--service-ink);
    margin-bottom: 20px;
}

.service-hero p {
    max-width: 660px;
    font-size: 18px;
    line-height: 1.65;
    color: #475467;
    margin-bottom: 26px;
}

.service-hero-actions,
.service-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.service-trust-row {
    margin-top: 28px;
    gap: 10px;
}

.service-trust-row span {
    padding: 8px 10px;
    border: 1px solid var(--service-line);
    background: rgba(255,255,255,0.75);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    color: #475467;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-ui);
    cursor: pointer;
}

.service-btn-primary {
    background: var(--service-teal);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15,118,110,0.18);
}

.service-btn-secondary {
    background: #fff;
    color: var(--service-navy);
    border-color: var(--service-line);
}

.service-btn-full {
    width: 100%;
}

.worker-status-actions {
    margin: 14px 0 16px;
}

.worker-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.worker-action-grid .service-btn {
    min-height: 44px;
    padding-inline: 10px;
    justify-content: center;
}

.service-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.service-alerts {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.service-alert {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--service-line);
    background: #fff;
    color: var(--service-navy);
    font-size: 13px;
    font-weight: 800;
}

.service-alert-error {
    border-color: rgba(185, 28, 28, 0.24);
    background: #fff1f2;
    color: #991b1b;
}

.service-alert-success {
    border-color: rgba(15, 118, 110, 0.24);
    background: #ecfdf5;
    color: #0f766e;
}

.service-request-card {
    background: var(--service-panel);
    border: 1px solid rgba(16,32,51,0.1);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(16,32,51,0.18);
    padding: 26px;
}

.service-form-header {
    margin-bottom: 18px;
}

.service-form-header span,
.service-section-head span,
.workflow-copy span {
    display: block;
    color: var(--service-teal);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 7px;
}

.service-form-header h2 {
    font-size: 26px;
    line-height: 1.1;
    color: var(--service-ink);
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.service-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.service-form input,
.service-form select,
.service-form textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 7px;
    background: #fff;
    color: var(--service-ink);
    font-family: var(--font-ui);
    font-size: 14px;
    padding: 11px 12px;
    outline: none;
}

.service-form textarea {
    resize: vertical;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    border-color: var(--service-teal);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}

.photo-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: -4px;
}

.photo-upload-preview article {
    overflow: hidden;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
}

.photo-upload-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eef2f6;
}

.photo-upload-preview span {
    display: block;
    padding: 7px 8px;
    color: #475467;
    font-size: 11px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-success {
    text-align: center;
    padding: 32px 10px;
}

.service-success-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    background: #dcfce7;
    color: #166534;
    font-weight: 900;
}

.service-success h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.service-success p {
    color: var(--service-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-band,
.workflow-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 28px;
}

.service-section-head {
    max-width: 720px;
    margin-bottom: 28px;
}

.service-section-head h2,
.workflow-copy h2 {
    font-family: var(--font-ui);
    font-size: 38px;
    line-height: 1.1;
    color: var(--service-ink);
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card-grid article {
    background: #fff;
    border: 1px solid var(--service-line);
    border-radius: 8px;
    padding: 24px;
}

.service-card-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: var(--service-teal);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

.service-card-grid h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-card-grid p,
.workflow-copy p {
    color: var(--service-muted);
    line-height: 1.65;
}

.workflow-section {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 44px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--service-line);
    border-radius: 8px;
    margin-bottom: 70px;
}

.workflow-copy p {
    margin-top: 14px;
}

.workflow-steps {
    display: grid;
    gap: 12px;
}

.workflow-steps div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--service-line);
}

.workflow-steps strong {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: var(--service-navy);
    color: var(--service-lime);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.workflow-steps span {
    font-weight: 800;
    color: #344054;
}

.service-footer {
    padding: 26px 28px;
    background: var(--service-navy);
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.service-footer span {
    color: rgba(255,255,255,0.62);
}

@media (max-width: 980px) {
    .service-hero,
    .workflow-section {
        grid-template-columns: 1fr;
    }
    .service-hero h1 {
        font-size: 42px;
    }
    .service-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Remove old green/CRM background from Crewviax branded pages */
.lead-service-body .service-shell,
.lead-service-body .landing-shell,
.lead-service-body .worker-shell,
.lead-service-body .ranking-page-shell {
    background:
        radial-gradient(circle at 84% 18%, rgba(255,106,0,0.13), transparent 30%),
        radial-gradient(circle at 12% 22%, rgba(8,42,77,0.08), transparent 28%),
        linear-gradient(120deg, #FFFFFF 0%, #FFF7ED 48%, #F8FAFC 100%) !important;
}

.lead-service-body .service-shell::before,
.lead-service-body .landing-shell::before,
.lead-service-body .worker-shell::before,
.lead-service-body .ranking-page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(8,42,77,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8,42,77,0.045) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.55) 60%, transparent 100%);
}

.lead-service-body .service-shell,
.lead-service-body .landing-shell,
.lead-service-body .worker-shell,
.lead-service-body .ranking-page-shell {
    position: relative;
    overflow: hidden;
}

.lead-service-body .service-nav,
.lead-service-body .landing-hero,
.lead-service-body .worker-hero,
.lead-service-body .ranking-page-hero {
    position: relative;
    z-index: 1;
}

.service-menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(8,42,77,0.16);
    border-radius: 12px;
    background: #FFFFFF;
    color: #082A4D;
    cursor: pointer;
}

.service-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.service-nav.is-menu-open .service-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.service-nav.is-menu-open .service-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.service-nav.is-menu-open .service-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Work with us CTA on landing */
.landing-work-with-us {
    max-width: 1220px;
    margin: 0 auto;
    padding: 46px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 380px;
    gap: 26px;
    align-items: stretch;
}

.landing-work-copy,
.landing-work-card {
    background: #FFFFFF;
    border: 1px solid rgba(8,42,77,0.14);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(8,42,77,0.08);
}

.landing-work-copy {
    padding: 34px;
}

.landing-work-copy h2 {
    max-width: 720px;
    margin: 8px 0 12px;
    color: #082A4D;
    font-size: 38px;
    line-height: 1.08;
}

.landing-work-copy p {
    max-width: 760px;
    color: #5D6A7A;
    line-height: 1.7;
}

.landing-work-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.landing-work-points span {
    padding: 12px 14px;
    border: 1px solid #FED7AA;
    border-radius: 10px;
    background: #FFF7ED;
    color: #082A4D;
    font-weight: 800;
}

.landing-work-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-work-card strong {
    color: #082A4D;
    font-size: 24px;
    line-height: 1.15;
}

.landing-work-card p {
    margin: 12px 0 22px;
    color: #5D6A7A;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .landing-work-with-us {
        grid-template-columns: 1fr;
    }

    .landing-work-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-nav {
        align-items: flex-start;
        flex-direction: column;
    }
    .service-nav-links {
        width: 100%;
        overflow-x: auto;
    }
    .service-hero {
        padding-top: 24px;
    }
    .service-hero h1 {
        font-size: 34px;
    }
    .service-form-grid {
        grid-template-columns: 1fr;
    }
    .service-request-card {
        padding: 20px;
    }
    .service-section-head h2,
    .workflow-copy h2 {
        font-size: 30px;
    }
}

/* Landing page polish */
.landing-shell {
    min-height: auto;
    background:
        linear-gradient(90deg, rgba(248,250,252,0.98) 0%, rgba(248,250,252,0.92) 48%, rgba(16,32,51,0.24) 100%),
        url('/static/images/bus-sys-crm-background-3840x2160.png') center right / cover no-repeat;
    border-bottom: 1px solid #d9e1ea;
}

.landing-nav {
    padding-top: 18px;
    padding-bottom: 18px;
}

.landing-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 28px 82px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 56px;
    align-items: center;
}

.landing-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(15,118,110,0.22);
    border-radius: 999px;
    background: rgba(236,253,245,0.82);
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

.landing-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,0.14);
}

.landing-hero h1 {
    max-width: 760px;
    font-family: var(--font-ui);
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: 0;
}

.landing-hero p {
    max-width: 650px;
    color: #475467;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 28px;
}


.landing-search-panel {
    width: 100%;
    max-width: 760px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 150px auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    margin: 26px 0 10px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(16,32,51,0.14);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(16,32,51,0.12);
}

.landing-search-panel label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #102033;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.landing-search-panel label span {
    text-transform: uppercase;
    color: #ff5f05;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.landing-search-panel input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #102033;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.landing-search-panel input:focus {
    border-color: #ff5f05;
    box-shadow: 0 0 0 4px rgba(255,95,5,0.12);
}

.landing-search-panel .service-btn {
    min-height: 48px;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(255,95,5,0.20);
}

.landing-search-note {
    max-width: 720px !important;
    margin: 0 0 20px !important;
    color: #667085 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}
.landing-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-actions-stacked {
    display: grid;
    margin-top: 18px;
}

.portal-preview-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.portal-preview-list span {
    padding: 12px 14px;
    border: 1px solid #d9e1ea;
    background: #f8fafc;
    border-radius: 8px;
    color: #344054;
    font-weight: 800;
    font-size: 14px;
}

.landing-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
    max-width: 620px;
}

.landing-metrics div {
    background: rgba(255,255,255,0.78);
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 16px;
}

.landing-metrics strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    color: #102033;
    margin-bottom: 6px;
}

.landing-metrics span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.landing-form-panel {
    background: #fff;
    border: 1px solid rgba(16,32,51,0.12);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(16,32,51,0.2);
    padding: 26px;
}

.landing-form-panel .service-form-header p {
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 6px;
}

.landing-form-note {
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.landing-service-strip {
    max-width: 1180px;
    margin: -34px auto 0;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    position: relative;
    z-index: 2;
}

.landing-service-strip a {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(16,32,51,0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.landing-service-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #eef7f6;
    border: 1px solid #bee3df;
    color: #0b766f;
}

.landing-service-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing-service-strip a:hover {
    transform: translateY(-2px);
    border-color: rgba(15,118,110,0.45);
}

.landing-service-strip strong {
    display: block;
    color: #102033;
    font-size: 16px;
    margin-bottom: 7px;
}

.landing-service-strip span {
    display: block;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}


.landing-before-after-banner {
    max-width: 1280px;
    margin: 34px auto 0;
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.65fr);
    gap: 28px;
    align-items: center;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(16,32,51,0.12);
    border-radius: 16px;
    box-shadow: 0 24px 68px rgba(16,32,51,0.13);
}

.landing-ba-copy {
    padding: 12px 8px;
}

.landing-ba-copy h2 {
    margin: 8px 0 12px;
    color: #102033;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: 0;
}

.landing-ba-copy p {
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 430px;
}

.landing-ba-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-ba-card {
    position: relative;
    padding: 12px;
    border: 1px solid #d9e1ea;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16,32,51,0.08);
}

.landing-ba-card::after {
    content: "";
    position: absolute;
    left: calc(50% - 1px);
    top: 12px;
    bottom: 48px;
    width: 2px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 0 1px rgba(16,32,51,0.08);
    z-index: 2;
}

.landing-ba-photo {
    --ba-image: linear-gradient(135deg, #e8edf2, #b7c2ce);
    position: relative;
    min-height: 190px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(16,32,51,0.08);
    background-image: var(--ba-image);
    background-size: cover;
    background-position: center;
}

.landing-ba-photo::before,
.landing-ba-photo::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background-image: var(--ba-image);
    background-size: cover;
    background-position: center;
}

.landing-ba-photo::before {
    left: 0;
    right: 50%;
    filter: grayscale(0.28) saturate(0.72) brightness(0.82);
    box-shadow: inset 0 0 0 999px rgba(16,32,51,0.16);
}

.landing-ba-photo::after {
    left: 50%;
    right: 0;
    filter: saturate(1.18) contrast(1.05) brightness(1.08);
    box-shadow: inset 0 0 0 999px rgba(255,95,5,0.06);
}

.landing-ba-yard {
    --ba-image: linear-gradient(135deg, #dce9df, #86ad82);
}

.landing-ba-paint {
    --ba-image: linear-gradient(135deg, #e7e9ee, #a4b5ca);
}

.landing-ba-pressure {
    --ba-image: linear-gradient(135deg, #dcecf3, #78abc2);
}

.landing-ba-labels {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.landing-ba-labels span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(16,32,51,0.84);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

.landing-ba-labels span:last-child {
    background: rgba(255,95,5,0.94);
}

.landing-proof-showcase {
    width: min(1280px, calc(100% - 40px));
    margin: 34px auto 0;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.55fr);
    gap: 38px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid rgba(8,42,77,.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 4% 12%, rgba(255,106,0,.11), transparent 28%),
        linear-gradient(135deg, #fff 0%, #f8fbfd 100%);
    box-shadow: 0 24px 60px rgba(8,42,77,.11);
}

.landing-proof-intro h2 {
    max-width: 430px;
    margin: 9px 0 13px;
    color: #082a4d;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.landing-proof-intro > p {
    max-width: 455px;
    margin: 0;
    color: #61758c;
    font-size: 1rem;
    line-height: 1.65;
}

.landing-proof-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.landing-proof-trust span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #edf8f5;
    color: #08776f;
    font-size: .74rem;
    font-weight: 850;
}

.landing-proof-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-proof-steps article {
    min-height: 220px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid #d9e3ed;
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 13px 30px rgba(8,42,77,.07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.landing-proof-steps article:hover {
    transform: translateY(-4px);
    border-color: rgba(255,106,0,.45);
    box-shadow: 0 18px 34px rgba(8,42,77,.11);
}

.landing-proof-step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.landing-proof-step-top > span {
    color: #ff6a00;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.landing-proof-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #082a4d;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: inset 0 -3px 0 #ff6a00;
}

.landing-proof-steps article > strong {
    margin-bottom: 8px;
    color: #082a4d;
    font-size: 1.02rem;
}

.landing-proof-steps article > p {
    margin: 0 0 18px;
    color: #65778b;
    font-size: .86rem;
    line-height: 1.55;
}

.landing-proof-steps article > small {
    margin-top: auto;
    color: #ff6a00;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

@media (max-width: 980px) {
    .landing-proof-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .landing-proof-showcase { width: calc(100% - 20px); padding: 24px 18px; }
    .landing-proof-steps { grid-template-columns: 1fr; }
    .landing-proof-steps article { min-height: 0; }
}

.landing-ba-card strong {
    display: block;
    margin-top: 12px;
    color: #102033;
    font-size: 15px;
    line-height: 1.2;
}
.landing-split,
.landing-process,
.landing-catalog,
.landing-ranking,
.landing-owner-band {
    max-width: 1180px;
    margin: 0 auto;
    padding: 76px 28px;
}

.landing-catalog {
    padding-top: 66px;
    padding-bottom: 24px;
}

.landing-catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.landing-catalog-grid article {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 18px;
    min-height: 142px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-catalog-grid .landing-service-icon {
    margin-bottom: 0;
}

.landing-catalog-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(15,118,110,0.42);
    box-shadow: 0 14px 34px rgba(16,32,51,0.08);
}

.landing-catalog-grid strong {
    display: block;
    color: #102033;
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 9px;
}

.landing-catalog-grid span {
    display: block;
    color: #667085;
    line-height: 1.55;
    font-size: 13px;
}

.landing-service-strip .landing-service-icon,
.landing-catalog-grid .landing-service-icon {
    display: inline-flex;
    color: #0b766f;
    line-height: 1;
    font-size: 0;
}

.landing-ranking {
    padding-top: 34px;
    padding-bottom: 52px;
}

.landing-visual-services {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0 34px;
}

.landing-visual-services-head {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.landing-visual-services-head h2 {
    margin: 9px 0 12px;
    color: #082a4d;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.landing-visual-services-head h2::after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: #ff6508;
}

.landing-visual-services-head p {
    color: #667085;
    line-height: 1.65;
}

.landing-visual-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-visual-service-card {
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid #dbe3eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(8, 42, 77, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.landing-visual-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 101, 8, .46);
    box-shadow: 0 18px 42px rgba(8, 42, 77, 0.14);
}

.landing-visual-service-image {
    display: block;
    height: 158px;
    overflow: hidden;
    background: #e9eef3;
}

.landing-visual-service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.landing-visual-service-card:hover .landing-visual-service-image img {
    transform: scale(1.035);
}

.landing-visual-service-body {
    padding: 20px 22px 22px;
}

.landing-visual-service-body h3,
.landing-visual-service-more h3 {
    margin: 0 0 12px;
    color: #082a4d;
    font-size: 1.16rem;
}

.landing-visual-service-body ul {
    min-height: 78px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.landing-visual-service-body li {
    margin: 7px 0;
    color: #5f6f82;
    font-size: .88rem;
}

.landing-visual-service-body li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 9px 2px 0;
    border-radius: 50%;
    background: #ff6508;
}

.landing-visual-service-body > a {
    color: #082a4d;
    font-weight: 900;
    text-decoration: none;
}

.landing-visual-service-body > a span {
    color: #ff6508;
}

.landing-visual-service-more {
    display: flex;
    min-height: 350px;
    padding: 32px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(145deg, #f8fbfd, #fff5ed);
}

.landing-visual-service-more-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 20px;
    background: #082a4d;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 10px 20px rgba(8, 42, 77, .18), inset 0 -4px #ff6508;
}

.landing-visual-service-more p {
    margin: 0 0 22px;
    color: #667085;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .landing-visual-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
    .landing-visual-services { padding-top: 54px; }
    .landing-visual-services-grid { grid-template-columns: 1fr; }
    .landing-visual-service-image { height: 170px; }
    .landing-visual-service-more { min-height: 290px; }
}

.landing-section-head p {
    color: #667085;
    font-size: 15px;
    line-height: 1.55;
    margin-top: 8px;
}

.landing-ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.landing-ranking-card {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 18px 48px rgba(16,32,51,0.06);
}

.landing-ranking-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.landing-ranking-head > span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #99f6e4;
    font-size: 22px;
}

.landing-ranking-head strong {
    display: block;
    color: #102033;
    font-size: 18px;
    line-height: 1.2;
}

.landing-ranking-head small,
.landing-ranking-list small {
    display: block;
    color: #667085;
    line-height: 1.45;
}

.landing-ranking-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.landing-ranking-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

.landing-rank-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #102033;
    color: #fff;
    font-weight: 900;
}

.landing-ranking-list strong {
    display: block;
    color: #102033;
    line-height: 1.25;
    margin-bottom: 3px;
}

.ranking-business-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    align-items: center;
}

.ranking-business-metrics span:nth-child(2) {
    color: #b54708;
    font-weight: 800;
}

.landing-community-band {
    max-width: 1180px;
    margin: 0 auto 34px;
    padding: 34px 44px;
    background: #102033;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.landing-community-band h2 {
    color: #fff;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
}

.landing-community-band p {
    color: rgba(255,255,255,0.68);
    line-height: 1.6;
    margin-top: 10px;
}

.landing-community-band .landing-eyebrow {
    color: #d9f99d;
}

.landing-split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.landing-eyebrow {
    display: block;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.landing-split h2,
.landing-process h2,
.landing-owner-band h2 {
    font-family: var(--font-ui);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0;
}

.landing-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.landing-proof-grid article {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 22px;
}

.landing-proof-grid strong,
.landing-process-grid h3 {
    display: block;
    color: #102033;
    font-size: 18px;
    margin-bottom: 8px;
}

.landing-proof-grid p,
.landing-process-grid p,
.landing-promise p,
.landing-owner-band p {
    color: #667085;
    line-height: 1.65;
    font-size: 15px;
}

.landing-promise {
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px;
    background: #102033;
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
}

.landing-promise h2 {
    font-family: var(--font-ui);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0;
}

.landing-promise p {
    color: rgba(255,255,255,0.68);
    margin-top: 14px;
    font-size: 16px;
}

.landing-promise .landing-eyebrow {
    color: #d9f99d;
}

.landing-promise-list {
    display: grid;
    gap: 10px;
}

.landing-promise-list span {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.12);
}

.landing-choice-panel {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 255, 255, 0.96) 42%),
        #ffffff;
    border: 1px solid rgba(10, 45, 83, 0.12);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(10, 45, 83, 0.10);
}

.landing-choice-panel h2 {
    max-width: 760px;
    margin-top: 12px;
    font-family: var(--font-ui);
    font-size: 40px;
    line-height: 1.08;
    font-weight: 900;
    color: #082b50;
    letter-spacing: 0;
}

.landing-choice-panel p {
    max-width: 720px;
    margin-top: 14px;
    color: #58677c;
    line-height: 1.65;
    font-size: 16px;
}

.landing-choice-panel .landing-eyebrow {
    position: relative;
    color: #ff6600;
}

.landing-choice-panel .landing-eyebrow::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: #ff6600;
}

.landing-choice-panel .landing-promise-list span {
    position: relative;
    padding: 15px 18px 15px 46px;
    background: #f8fbff;
    color: #082b50;
    border: 1px solid rgba(10, 45, 83, 0.12);
    box-shadow: none;
}

.landing-choice-panel .landing-promise-list span::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #ff6600;
    box-shadow: inset 0 0 0 5px #fff2e8;
}

.landing-process {
    padding-top: 44px;
}

.landing-section-head {
    max-width: 720px;
    margin-bottom: 28px;
}

.landing-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-process-grid div {
    background: #102033;
    color: #fff;
    border-radius: 8px;
    padding: 24px;
    min-height: 220px;
}

.landing-process-grid span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #d9f99d;
    color: #102033;
    font-weight: 900;
    margin-bottom: 24px;
}

.landing-process-grid h3 {
    color: #fff;
}

.landing-process-grid p {
    color: rgba(255,255,255,0.68);
}

.landing-owner-band {
    margin-bottom: 70px;
    padding: 44px;
    background: #ecfdf5;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.landing-owner-band div {
    max-width: 760px;
}

.landing-owner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.landing-owner-band p {
    margin-top: 12px;
}

@media (max-width: 1040px) {
    .landing-hero,
    .landing-split,
    .landing-promise,
    .landing-choice-panel {
        grid-template-columns: 1fr;
    }

    .landing-service-strip,
    .landing-process-grid,
    .landing-catalog-grid,
    .landing-ranking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-community-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .landing-hero {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .landing-hero h1 {
        font-size: 38px;
    }

    .landing-metrics,
    .landing-service-strip,
    .landing-process-grid,
    .landing-catalog-grid,
    .landing-ranking-grid {
        grid-template-columns: 1fr;
    }

    .landing-service-strip {
        margin-top: 18px;
    }

    .landing-split h2,
    .landing-process h2,
    .landing-promise h2,
    .landing-choice-panel h2,
    .landing-owner-band h2,
    .landing-community-band h2 {
        font-size: 30px;
    }

    .landing-promise,
    .landing-choice-panel {
        padding: 28px 20px;
    }

    .landing-ranking {
        padding-left: 20px;
        padding-right: 20px;
    }

    .landing-community-band {
        padding: 28px 20px;
    }

    .landing-owner-band {
        padding: 28px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-owner-actions {
        justify-content: flex-start;
    }
}

/* Worker signup */
.worker-shell {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(248,250,252,0.98) 0%, rgba(248,250,252,0.93) 55%, rgba(16,32,51,0.16) 100%),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center right / cover no-repeat;
}

.worker-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 52px 28px 80px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) 520px;
    gap: 54px;
    align-items: start;
}

.worker-hero h1 {
    font-family: var(--font-ui);
    font-size: 54px;
    line-height: 1.02;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0;
    margin-bottom: 18px;
}

.worker-hero p {
    max-width: 650px;
    color: #475467;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 26px;
}

.worker-checkboxes {
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.worker-checkboxes legend {
    padding: 0 6px;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.worker-checkboxes label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #344054;
}

.worker-checkboxes input {
    width: auto;
}

.worker-required-check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 8px;
    background: #ecfdf5;
    color: #0f3f3b;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.worker-required-check input {
    width: auto;
    margin-top: 2px;
}

.customer-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        linear-gradient(90deg, rgba(248,250,252,0.98), rgba(248,250,252,0.9)),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center / cover no-repeat;
}

.customer-auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(16,32,51,0.16);
}

.customer-auth-card h1 {
    font-size: 32px;
    margin: 24px 0 8px;
    color: #0f172a;
}

.customer-auth-card > p {
    color: #667085;
    line-height: 1.6;
    margin-bottom: 18px;
}

.customer-nav {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid #d9e1ea;
}

.customer-portal {
    max-width: 1120px;
    margin: 0 auto;
    padding: 54px 28px 80px;
}

.customer-portal h1 {
    font-size: 42px;
    color: #0f172a;
    margin-bottom: 8px;
}

.customer-portal-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.customer-portal-head p {
    color: #667085;
    line-height: 1.6;
}

.customer-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.customer-info-card {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 20px;
}

.customer-info-card span {
    display: block;
    color: #98a2b3;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.customer-info-card strong {
    display: block;
    font-size: 20px;
    color: #102033;
    margin-bottom: 8px;
}

.customer-info-card p {
    color: #667085;
    line-height: 1.6;
}

.customer-section {
    margin-top: 30px;
}

.customer-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.customer-section-title h2 {
    font-size: 24px;
    color: #102033;
}

.customer-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #0f766e;
    font-weight: 900;
}

.customer-ticket-list {
    display: grid;
    gap: 14px;
}

.customer-ticket-card,
.customer-detail-card,
.customer-pay-card,
.customer-empty {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(16,32,51,0.06);
}

.customer-ticket-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.customer-ticket-card-compact {
    box-shadow: none;
}

.customer-ticket-card h2 {
    font-size: 22px;
    color: #102033;
    margin: 10px 0 6px;
}

.customer-ticket-card p,
.customer-ticket-card small {
    color: #667085;
}

.customer-ticket-side {
    display: grid;
    gap: 8px;
    justify-items: end;
    min-width: 160px;
}

.customer-ticket-side strong,
.customer-pay-card strong {
    font-size: 28px;
    color: #0f766e;
}

.customer-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.customer-detail-card h1 {
    margin: 12px 0;
}

.customer-detail-card p {
    color: #667085;
    line-height: 1.65;
    margin-bottom: 18px;
}

.customer-detail-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-detail-card dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 900;
    color: #98a2b3;
    margin-bottom: 4px;
}

.customer-detail-card dd {
    color: #102033;
    font-weight: 700;
}

.ticket-photo-section {
    margin-top: 24px;
}

.ticket-photo-section h2 {
    font-size: 20px;
    color: #102033;
    margin-bottom: 12px;
}

.ticket-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ticket-photo-grid a {
    display: block;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 1 / 1;
}

.ticket-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-pay-card {
    display: grid;
    gap: 14px;
}

.customer-pay-card span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #98a2b3;
}

.customer-pay-card p,
.customer-empty p {
    color: #667085;
    line-height: 1.6;
}

.quote-invoice-builder,
.quote-invoice-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #f8fafc;
}

.quote-invoice-builder-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.quote-invoice-builder-head strong,
.quote-invoice-title {
    color: #102033;
    font-size: 14px;
    font-weight: 900;
}

.quote-invoice-builder-head span {
    max-width: 220px;
    text-align: right;
    text-transform: none;
    font-size: 12px;
    color: #667085;
}

.quote-line-items {
    display: grid;
    gap: 8px;
}

.quote-line-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 8px;
}

.quote-line-item input {
    width: 100%;
}

.quote-invoice-row,
.quote-invoice-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #e5eaf0;
}

.quote-invoice-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.quote-invoice-row span,
.quote-invoice-total span {
    text-transform: none;
    font-size: 14px;
    font-weight: 700;
    color: #475467;
}

.quote-invoice-row strong,
.quote-invoice-total strong {
    white-space: nowrap;
    font-size: 16px;
    color: #102033;
}

.quote-invoice-row-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 2px solid #cfd8e3;
}

.quote-invoice-box-customer {
    background: #fff;
}

.quote-invoice-box-admin {
    margin-bottom: 8px;
    padding: 10px;
}

.customer-empty {
    text-align: center;
    padding: 48px 24px;
}

.customer-empty-small {
    padding: 24px;
}

.customer-payments-list {
    display: grid;
    gap: 10px;
}

.customer-payments-list article {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.customer-payments-list strong {
    display: block;
    color: #102033;
    margin-bottom: 4px;
}

.customer-payments-list span {
    color: #667085;
    font-size: 13px;
}

.customer-payments-list b {
    color: #0f766e;
    font-size: 18px;
}

.community-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.community-feed {
    display: grid;
    gap: 14px;
}

.community-post-card {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(20,34,53,0.06);
}

.community-composer-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
}

.community-composer-head h2 {
    margin: 0;
    color: #142235;
}

.community-composer-head p {
    margin: 4px 0 0;
    color: #667085;
}

.community-close-button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #142235;
    font-size: 24px;
    cursor: pointer;
}

.community-composer textarea {
    min-height: 130px;
    font-size: 16px;
}

.community-create-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.community-create-tools span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #142235;
    font-size: 13px;
    font-weight: 900;
}

.community-post-head,
.community-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.community-post-head small {
    color: #667085;
    font-weight: 800;
}

.community-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8eef6;
    color: #142235;
    font-weight: 900;
    text-transform: uppercase;
}

.community-author strong {
    display: block;
    color: #142235;
    font-size: 14px;
}

.community-author span {
    color: #667085;
    font-size: 13px;
}

.community-post-card h2 {
    margin: 14px 0 8px;
    color: #142235;
    font-size: 22px;
}

.community-post-card p {
    color: #475467;
    line-height: 1.65;
}

.community-photo-grid {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 8px;
    background: #e5eaf0;
}

.community-photo-grid a {
    position: relative;
    display: block;
    min-height: 180px;
    background: #f8fafc;
}

.community-photo-grid img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.community-photo-grid-1 {
    grid-template-columns: 1fr;
}

.community-photo-grid-1 a {
    aspect-ratio: 4 / 3;
}

.community-photo-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-photo-grid-3,
.community-photo-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-photo-grid-3 a:first-child {
    grid-row: span 2;
}

.community-photo-grid span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(20,34,53,0.62);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.community-post-meta {
    justify-content: flex-start;
    margin-top: 16px;
}

.community-post-meta span {
    padding: 7px 10px;
    border: 1px solid #d8dee8;
    border-radius: 999px;
    color: #5f6f83;
    font-size: 12px;
    font-weight: 800;
    background: #f8fafc;
}

.badge-request,
.badge-recommendation,
.badge-notice {
    background: #eef7f6;
    color: #0b766f;
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5eaf0;
}

.community-actions form {
    margin: 0;
}

.community-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d8dee8;
    border-radius: 999px;
    background: #f8fafc;
    color: #142235;
    font-weight: 900;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 13px;
}

.community-like-button span {
    font-size: 18px;
    line-height: 1;
}

.community-like-button.is-liked {
    background: #ecfdf5;
    border-color: #99f6e4;
    color: #0b766f;
}

.community-quote-button {
    background: #142235;
    border-color: #142235;
    color: #fff;
}

.community-comments {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
}

.community-quote-form,
.community-quotes-box {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #bee3df;
    background: #eef7f6;
}

.community-quote-form > strong,
.community-quotes-box > strong {
    color: #142235;
    font-size: 14px;
}

.community-quote-form div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.community-quote-form .community-invoice-builder,
.community-quote-form .community-invoice-lines,
.community-quote-form .community-invoice-summary,
.community-quote-form .community-invoice-tax {
    display: grid;
    grid-template-columns: 1fr;
}

.community-invoice-builder {
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d8dee8;
}

.community-invoice-head,
.community-invoice-line {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) 74px 110px 72px !important;
    gap: 8px;
    align-items: center;
}

.community-invoice-head {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.community-invoice-line label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 900;
}

.community-invoice-line label input {
    width: auto;
    min-height: auto;
    padding: 0;
}

.community-invoice-tax label {
    display: grid;
    grid-template-columns: 120px 120px;
    gap: 8px;
    align-items: center;
    color: #142235;
    font-weight: 900;
    font-size: 13px;
}

.community-invoice-summary {
    gap: 7px;
    padding-top: 8px;
    border-top: 1px solid #e5eaf0;
}

.community-invoice-summary span,
.community-invoice-view div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #667085;
    font-size: 13px;
}

.community-invoice-summary strong,
.community-invoice-view strong {
    color: #142235;
}

.community-invoice-view {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d8eee9;
    min-width: 330px;
}

.community-invoice-view-total {
    padding-top: 6px;
    border-top: 1px solid #e5eaf0;
    font-weight: 900;
}

.invoice-generator-form {
    gap: 18px;
}

.invoice-generator-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #d8dee8;
    background: #f8fafc;
}

.invoice-generator-head,
.invoice-generator-line {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 86px 130px 76px;
    gap: 8px;
    align-items: center;
}

.invoice-generator-head {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.invoice-generator-lines {
    display: grid;
    gap: 8px;
}

.invoice-generator-line label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}

.invoice-generator-line label input {
    width: auto;
    min-height: auto;
    padding: 0;
}

.invoice-generator-tax label {
    display: grid;
    grid-template-columns: 120px 130px;
    gap: 8px;
    align-items: center;
    color: #142235;
    font-weight: 900;
}

.invoice-generator-summary {
    display: grid;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #d8dee8;
}

.invoice-generator-summary span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
}

.invoice-generator-summary strong {
    color: #142235;
}

.invoice-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 22px 80px;
}

.invoice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}

.invoice-document {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 42px;
    box-shadow: 0 18px 55px rgba(16,32,51,0.08);
}

.invoice-document-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5eaf0;
}

.invoice-logo {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.invoice-document-head h1 {
    margin: 12px 0 4px;
    color: #102033;
    font-size: 28px;
}

.invoice-document-head p,
.invoice-document-head small,
.invoice-meta-grid p {
    color: #667085;
    line-height: 1.55;
}

.invoice-document-head > div:last-child {
    text-align: right;
}

.invoice-document-head > div:last-child span,
.invoice-meta-grid span {
    display: block;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.invoice-document-head > div:last-child strong {
    display: block;
    margin: 8px 0;
    color: #0b766f;
    font-size: 28px;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.invoice-meta-grid article {
    padding: 18px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #f8fafc;
}

.invoice-meta-grid strong {
    display: block;
    margin: 7px 0;
    color: #102033;
    font-size: 18px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
    padding: 13px 10px;
    border-bottom: 1px solid #e5eaf0;
    text-align: left;
}

.invoice-table th {
    color: #667085;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.invoice-table td {
    color: #142235;
}

.invoice-total-box {
    width: min(360px, 100%);
    margin-left: auto;
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.invoice-total-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
}

.invoice-total-box strong {
    color: #142235;
}

.invoice-grand-total {
    padding-top: 12px;
    border-top: 2px solid #102033;
    font-size: 22px;
    font-weight: 900;
}

.invoice-notes {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid #e5eaf0;
}

.invoice-notes strong {
    color: #102033;
}

.invoice-notes p {
    margin-top: 8px;
    color: #667085;
    line-height: 1.6;
}

.invoice-ticket-detail {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e5eaf0;
}

.invoice-ticket-detail .ticket-message-head {
    margin-bottom: 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e7ecf2;
    background: transparent;
}

.detail-field {
    margin-top: 16px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fbfcfe;
    padding: 16px;
}

.detail-field-label {
    margin-bottom: 7px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.detail-field-value {
    color: #344054;
    line-height: 1.55;
}

.ticket-invoice-section {
    margin-top: 24px;
}

.inline-assign-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.inline-assign-form select {
    min-height: 42px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 0 12px;
    font-family: var(--font-ui);
}

.worker-list {
    display: grid;
    gap: 10px;
}

.worker-list article {
    padding: 14px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #f8fafc;
}

.worker-list strong {
    display: block;
    color: #102033;
}

.worker-list span,
.worker-list p {
    color: #667085;
    line-height: 1.45;
}

.ticket-card-invoice-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #99f6e4;
}

.ticket-card-invoice-note strong {
    color: #0b766f;
    font-size: 12px;
}

.ticket-card-invoice-note span {
    color: #667085;
    font-size: 12px;
}

.marketplace-calc-box {
    width: min(420px, 100%);
    margin-left: auto;
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #99f6e4;
    display: grid;
    gap: 9px;
}

.marketplace-calc-box > strong {
    color: #0b766f;
}

.marketplace-calc-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #667085;
}

.marketplace-calc-box b {
    color: #102033;
}

.marketplace-calc-box p {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

@media print {
    .invoice-no-print {
        display: none !important;
    }

    body.lead-service-body {
        background: #fff;
    }

    .invoice-page {
        max-width: none;
        padding: 0;
    }

    .invoice-document {
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
}

.community-quote-form input,
.community-quote-form textarea {
    width: 100%;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 0 12px;
    font-family: var(--font-ui);
}

.community-quote-form input {
    min-height: 42px;
}

.community-quote-form textarea {
    min-height: 72px;
    padding-top: 10px;
    resize: vertical;
}

.community-quotes-box article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #bee3df;
}

.community-quotes-box b {
    display: block;
    color: #142235;
}

.community-quotes-box span {
    color: #667085;
    font-size: 12px;
}

.community-quotes-box p {
    margin: 4px 0 0;
    font-size: 13px;
}

.community-quotes-box article > strong {
    white-space: nowrap;
    color: #0b766f;
}

.community-quote-choice {
    display: grid;
    gap: 8px;
    justify-items: end;
    min-width: 150px;
}

.community-quote-choice strong {
    color: #0b766f;
    font-size: 18px;
}

.community-quote-choice form {
    margin: 0;
}

.community-quote-choice .service-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

.provider-profile-hero,
.provider-progress-card {
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 32px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20,34,53,0.05);
}

.provider-profile-top {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.provider-avatar {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, #142235, #0b766f);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.provider-profile-main {
    min-width: 0;
    flex: 1;
}

.provider-profile-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.provider-profile-title h1 {
    margin: 0;
    color: #142235;
    font-size: 24px;
}

.provider-profile-title a,
.provider-rating-row a {
    color: #008fd3;
    font-weight: 900;
}

.provider-rating-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.provider-stars {
    color: #20b486;
    letter-spacing: 1px;
}

.provider-no-reviews {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #d9e1ea;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
}

.provider-profile-main p,
.provider-progress-card p {
    color: #667085;
    line-height: 1.55;
}

.provider-profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}

.provider-progress-card h2 {
    margin: 6px 0 8px;
    color: #142235;
    font-size: 22px;
}

.provider-score-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 18px;
}

.provider-score-row strong {
    color: #0b766f;
    font-size: 34px;
    line-height: 1;
}

.provider-score-row span {
    color: #667085;
    font-size: 13px;
    line-height: 1.4;
}

.provider-progress-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 4px 12px;
}

.provider-progress-track::before,
.provider-progress-track::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    height: 8px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: #e5eaf0;
}

.provider-progress-track::after {
    right: auto;
    width: max(0px, calc(var(--progress) - 40px));
    background: #0ea5d7;
    z-index: 1;
}

.provider-progress-track span {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid #d9e1ea;
    background: #fff;
    color: #98a2b3;
    box-shadow: 0 2px 8px rgba(20,34,53,0.12);
}

.provider-progress-track span.is-complete {
    border-color: #0ea5d7;
    background: #0ea5d7;
    color: #f2c94c;
}

.provider-progress-labels {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
}

.provider-progress-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.provider-progress-stats span {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.provider-progress-stats strong {
    color: #142235;
    font-size: 20px;
}

.metrics-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.metrics-header h1 {
    margin: 6px 0 8px;
    color: #142235;
    font-size: 34px;
}

.metrics-header p {
    color: #667085;
}

.metrics-filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.metrics-filter-row select {
    min-width: 220px;
    min-height: 42px;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    padding: 0 12px;
    font-family: var(--font-ui);
    background: #fff;
}

.metrics-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 38px;
}

.metrics-summary-grid article {
    min-height: 210px;
    padding: 24px;
    border-radius: 8px;
    background: #e8f1fb;
    border: 1px solid #d7e6f8;
}

.metrics-summary-grid span {
    display: block;
    min-height: 34px;
    color: #475467;
    font-size: 13px;
    font-weight: 900;
}

.metrics-summary-grid strong {
    display: block;
    margin: 16px 0 10px;
    color: #142235;
    font-size: 38px;
    line-height: 1;
}

.metrics-summary-grid p,
.metrics-panel p {
    color: #475467;
    line-height: 1.55;
}

.metrics-panel {
    padding: 24px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20,34,53,0.05);
}

.metrics-chart {
    min-height: 250px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
    padding: 22px 8px 4px;
    border-bottom: 1px solid #d8dee8;
}

.metrics-week {
    display: grid;
    gap: 10px;
    text-align: center;
}

.metrics-bars {
    height: 170px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
}

.metrics-bars span {
    width: 18px;
    min-height: 4px;
    border-radius: 6px 6px 0 0;
    background: #c3dafe;
}

.metrics-bars span:nth-child(2) {
    background: #0ea5d7;
}

.metrics-bars span:nth-child(3) {
    background: #0b766f;
}

.metrics-week strong {
    color: #667085;
    font-size: 12px;
}

.metrics-legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.metrics-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.metrics-legend i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #c3dafe;
}

.metrics-legend span:nth-child(2) i {
    background: #0ea5d7;
}

.metrics-legend span:nth-child(3) i {
    background: #0b766f;
}

.metrics-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.metrics-big-number {
    color: #142235;
    font-size: 42px;
    font-weight: 900;
}

.metrics-mini-list,
.metrics-funnel {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.metrics-mini-list div,
.metrics-funnel div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid #e5eaf0;
}

.metrics-mini-list strong,
.metrics-funnel strong {
    color: #142235;
}

.metrics-mini-list span,
.metrics-funnel span {
    color: #667085;
    font-size: 13px;
}

.community-comment {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5eaf0;
}

.community-comment:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.community-comment strong {
    color: #142235;
    font-size: 13px;
}

.community-comment span,
.community-no-comments {
    color: #667085;
    font-size: 12px;
}

.community-comment p {
    margin: 4px 0 0;
    color: #475467;
    font-size: 14px;
}

.community-comment-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.community-comment-form input {
    min-height: 42px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 0 12px;
    font-family: var(--font-ui);
}

@media (max-width: 1040px) {
    .worker-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .worker-hero h1 {
        font-size: 36px;
    }

    .worker-checkboxes {
        grid-template-columns: 1fr;
    }

    .customer-ticket-card,
    .customer-detail-grid,
    .customer-account-grid,
    .community-layout {
        grid-template-columns: 1fr;
    }

    .customer-portal-head,
    .customer-payments-list article {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-ticket-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-ticket-side {
        justify-items: start;
        width: 100%;
    }

    .customer-detail-card dl {
        grid-template-columns: 1fr;
    }

    .quote-line-item {
        grid-template-columns: 1fr;
    }

    .community-comment-form {
        grid-template-columns: 1fr;
    }

    .community-quote-form div {
        grid-template-columns: 1fr;
    }

    .community-invoice-head {
        display: none !important;
    }

    .community-invoice-line {
        grid-template-columns: 1fr 1fr !important;
    }

    .community-invoice-line input:first-child {
        grid-column: 1 / -1;
    }

    .invoice-generator-head {
        display: none;
    }

    .invoice-generator-line {
        grid-template-columns: 1fr 1fr;
    }

    .invoice-generator-line input:first-child {
        grid-column: 1 / -1;
    }

    .invoice-document {
        padding: 24px;
    }

    .invoice-document-head,
    .invoice-meta-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .invoice-document-head > div:last-child {
        text-align: left;
    }

    .provider-profile-hero,
    .provider-progress-card {
        padding: 22px;
    }

    .provider-profile-top,
    .provider-profile-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .provider-profile-actions {
        grid-template-columns: 1fr;
    }

    .provider-progress-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metrics-header {
        flex-direction: column;
    }

    .metrics-filter-row,
    .metrics-legend {
        flex-direction: column;
    }

    .metrics-filter-row select {
        width: 100%;
    }

    .metrics-summary-grid,
    .metrics-lower-grid {
        grid-template-columns: 1fr;
    }

    .metrics-chart {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quote-invoice-builder-head {
        display: grid;
    }

    .quote-invoice-builder-head span {
        max-width: none;
        text-align: left;
    }

    .ticket-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Enterprise service platform refresh */
.lead-service-body {
    --service-ink: #172033;
    --service-muted: #5f6f83;
    --service-line: #d8dee8;
    --service-bg: #eef2f6;
    --service-panel: #ffffff;
    --service-navy: #142235;
    --service-teal: #0b766f;
    --service-lime: #f2c94c;
    --service-red: #b42318;
    background: var(--service-bg);
}

.service-shell,
.landing-shell,
.worker-shell {
    background:
        linear-gradient(90deg, rgba(244,247,251,0.98) 0%, rgba(244,247,251,0.94) 58%, rgba(244,247,251,0.68) 100%),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center right / cover no-repeat;
    border-bottom: 1px solid var(--service-line);
}

.service-nav,
.landing-nav,
.customer-nav {
    max-width: 1220px;
}

.customer-nav {
    background: #fff;
    box-shadow: 0 1px 0 rgba(20,34,53,0.08);
}

.service-brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 10px;
    background:
        linear-gradient(145deg, #142235 0%, #0b766f 100%);
    color: transparent;
    font-size: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.16),
        0 12px 28px rgba(20,34,53,0.20);
}

.service-brand-mark::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 14px;
    width: 20px;
    height: 17px;
    border: 2px solid #ffffff;
    border-top: 0;
    border-radius: 3px 3px 5px 5px;
}

.service-brand-mark::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 9px;
    width: 18px;
    height: 18px;
    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
    box-shadow: 12px 18px 0 -7px #f2c94c;
}

.service-brand-mark + span {
    min-width: 0;
}

.service-brand strong {
    color: #142235;
    font-weight: 900;
}

.service-brand small,
.landing-form-note,
.customer-portal-head p,
.customer-info-card p,
.customer-ticket-card p,
.customer-ticket-card small,
.customer-detail-card p,
.customer-pay-card p,
.customer-empty p,
.customer-payments-list span,
.worker-hero p,
.landing-hero p,
.landing-proof-grid p,
.landing-process-grid p,
.landing-promise p,
.landing-owner-band p,
.landing-catalog-grid span,
.landing-service-strip span {
    color: var(--service-muted);
}

.service-nav-links {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(216,222,232,0.9);
    border-radius: 8px;
    padding: 4px;
}

.service-nav-links a {
    border-radius: 6px;
    color: #334155;
}

.service-nav-links a:hover {
    background: #eef7f6;
    color: var(--service-teal);
}

.landing-hero,
.worker-hero,
.customer-portal {
    max-width: 1220px;
}

.landing-hero {
    grid-template-columns: minmax(0, 1fr) 410px;
    align-items: start;
}

.landing-status,
.service-pill {
    border-radius: 6px;
    background: #eef7f6;
    border-color: #bee3df;
    color: var(--service-teal);
}

.landing-status span {
    background: var(--service-teal);
    box-shadow: none;
}

.landing-hero h1,
.worker-hero h1,
.customer-portal h1,
.service-hero h1 {
    color: #142235;
    font-weight: 900;
}

.service-btn {
    border-radius: 6px;
    min-height: 42px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.service-btn:hover {
    transform: translateY(-1px);
}

.service-btn-primary {
    background: #0b766f;
    color: #fff;
    box-shadow: 0 10px 22px rgba(11,118,111,0.18);
}

.service-btn-secondary {
    background: #fff;
    color: #142235;
    border-color: #cfd8e3;
}

.landing-form-panel,
.service-request-card,
.customer-auth-card,
.customer-info-card,
.customer-ticket-card,
.customer-detail-card,
.customer-pay-card,
.customer-empty,
.customer-payments-list article,
.landing-catalog-grid article,
.landing-proof-grid article,
.landing-service-strip a,
.worker-checkboxes,
.worker-required-check {
    border-radius: 8px;
    border-color: var(--service-line);
    box-shadow: 0 10px 28px rgba(20,34,53,0.07);
}

.landing-form-panel,
.service-request-card,
.customer-auth-card {
    box-shadow: 0 20px 54px rgba(20,34,53,0.13);
}

.service-form-header span,
.service-section-head span,
.workflow-copy span,
.landing-eyebrow,
.customer-info-card span,
.customer-detail-card dt,
.customer-pay-card span,
.landing-status,
.service-pill {
    letter-spacing: 0.8px;
}

.service-form input,
.service-form select,
.service-form textarea {
    border-radius: 6px;
    border-color: #cfd8e3;
    background: #fbfcfe;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    background: #fff;
    border-color: var(--service-teal);
    box-shadow: 0 0 0 3px rgba(11,118,111,0.12);
}

.landing-metrics div,
.portal-preview-list span {
    background: #fff;
    border-color: var(--service-line);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(20,34,53,0.05);
}

.landing-service-strip,
.landing-split,
.landing-process,
.landing-catalog,
.landing-owner-band,
.landing-promise {
    max-width: 1220px;
}

.landing-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-catalog-grid article,
.landing-proof-grid article,
.landing-service-strip a {
    background: #fff;
}

.landing-promise,
.landing-process-grid div {
    background: #142235;
}

.landing-promise {
    box-shadow: 0 20px 54px rgba(20,34,53,0.18);
}

.landing-promise .landing-eyebrow,
.landing-process-grid span {
    color: #142235;
    background: #f2c94c;
}

.landing-promise-list span {
    border-radius: 6px;
}

.landing-owner-band {
    background: #fff;
    border-color: var(--service-line);
    box-shadow: 0 14px 34px rgba(20,34,53,0.07);
}

.worker-checkboxes,
.worker-required-check {
    background: #fff;
}

.worker-required-check {
    border-color: #bee3df;
    background: #eef7f6;
}

.customer-auth-page {
    background:
        linear-gradient(90deg, rgba(238,242,246,0.98), rgba(238,242,246,0.92)),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center / cover no-repeat;
}

.login-role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 4px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #f8fafc;
}

.login-role-switch label {
    margin: 0;
    cursor: pointer;
}

.login-role-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login-role-switch span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
    color: #475467;
    font-weight: 900;
}

.login-role-switch label.is-selected span {
    background: #142235;
    color: #fff;
}

.customer-portal {
    padding-top: 38px;
}

.customer-portal-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--service-line);
}

.customer-account-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-info-card strong,
.customer-ticket-card h2,
.customer-section-title h2,
.customer-detail-card dd,
.landing-catalog-grid strong,
.landing-service-strip strong,
.landing-proof-grid strong,
.landing-process-grid h3 {
    color: #142235;
}

.customer-ticket-card {
    box-shadow: 0 8px 22px rgba(20,34,53,0.06);
}

.customer-ticket-card:hover,
.landing-catalog-grid article:hover,
.landing-service-strip a:hover {
    border-color: #a9d7d3;
    box-shadow: 0 14px 34px rgba(20,34,53,0.1);
}

.customer-section-title span {
    background: #eef7f6;
    color: var(--service-teal);
}

.customer-ticket-side strong,
.customer-pay-card strong,
.customer-payments-list b {
    color: var(--service-teal);
}

.ticket-photo-grid a {
    border-radius: 6px;
}

.payment-terms-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #bee3df;
    border-radius: 8px;
    background: #eef7f6;
    color: #142235;
}

.payment-terms-box strong {
    font-size: 14px;
    color: #142235;
}

.payment-terms-box ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.payment-terms-box li {
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
}

.customer-ticket-screen {
    max-width: 1160px;
    padding-top: 26px;
}

.ticket-app-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.ticket-app-header h1 {
    margin: 0 0 8px;
    color: #101828;
    font-size: 38px;
    line-height: 1.05;
}

.ticket-app-header p {
    max-width: 720px;
    color: #5f6f83;
    line-height: 1.55;
}

.ticket-progress-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #d8dee8;
    box-shadow: 0 10px 24px rgba(20,34,53,0.06);
}

.ticket-progress-step {
    min-height: 78px;
    background: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-progress-step span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #eef2f6;
    color: #5f6f83;
    font-weight: 900;
    flex: 0 0 auto;
}

.ticket-progress-step strong {
    color: #344054;
    font-size: 13px;
}

.ticket-progress-step.is-complete span {
    background: #0b766f;
    color: #fff;
}

.ticket-progress-step.is-complete strong {
    color: #142235;
}

.ticket-app-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.ticket-main-card,
.ticket-checkout-card {
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(20,34,53,0.08);
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ticket-info-grid article {
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fbfcfe;
    padding: 16px;
}

.ticket-info-grid span {
    display: block;
    margin-bottom: 7px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.ticket-info-grid strong {
    display: block;
    color: #142235;
    line-height: 1.35;
}

.ticket-checkout-card {
    position: sticky;
    top: 82px;
}

.price-option-button {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    align-items: center;
    min-height: 64px;
    padding: 13px 14px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: #142235;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-ui);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.price-option-button:hover {
    transform: translateY(-1px);
    border-color: #9bd4ce;
    box-shadow: 0 10px 22px rgba(20,34,53,0.08);
}

.price-option-button span {
    color: #142235;
    font-size: 14px;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
}

.price-option-button strong {
    color: #142235;
    font-size: 18px;
}

.price-option-button small {
    grid-column: 1 / -1;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.price-option-button.is-selected {
    border-color: #0b766f;
    background: #eef7f6;
    box-shadow: inset 0 0 0 1px rgba(11,118,111,0.18);
}

.price-option-button.is-selected small,
.price-option-button.is-selected strong {
    color: #0b766f;
}

.ticket-checkout-card .payment-terms-box {
    max-height: 260px;
    overflow: auto;
}

.ticket-message-panel {
    margin-top: 24px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.ticket-message-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #e7ecf2;
    background: #fbfcfe;
}

.ticket-message-head span {
    display: block;
    margin-bottom: 4px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.ticket-message-head h2 {
    margin: 0;
    color: #142235;
    font-size: 20px;
}

.ticket-message-live-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ticket-message-live-meta b,
.ticket-message-live-meta small {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef7f6;
    color: #0b766f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.ticket-message-live-meta b::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 999px;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22,163,74,0.12);
}

.ticket-message-live-meta small {
    background: #fff;
    color: #667085;
    border: 1px solid #d8dee8;
}

.is-chat-locked .ticket-message-live-meta b {
    background: #fff7ed;
    color: #c2410c;
}

.is-chat-locked .ticket-message-live-meta b::before,
.is-chat-offline .ticket-message-live-meta b::before {
    background: #f97316;
    box-shadow: 0 0 0 4px rgba(249,115,22,0.12);
}

.ticket-message-list {
    display: grid;
    gap: 10px;
    max-height: 340px;
    overflow: auto;
    padding: 16px 18px;
    background: #f8fafc;
}

.ticket-message {
    max-width: 82%;
    padding: 12px 14px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
}

.ticket-message div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.ticket-message strong {
    color: #142235;
    font-size: 13px;
}

.ticket-message span {
    color: #98a2b3;
    font-size: 11px;
    font-weight: 800;
    text-transform: capitalize;
}

.ticket-message p {
    margin: 0;
    color: #344054;
    line-height: 1.45;
    font-size: 14px;
}

.ticket-message-cliente {
    justify-self: start;
}

.ticket-message-subcontratista {
    justify-self: end;
    background: #eef7f6;
    border-color: #bee3df;
}

.ticket-message-admin {
    justify-self: center;
    background: #142235;
    border-color: #142235;
}

.ticket-message-admin strong,
.ticket-message-admin p {
    color: #fff;
}

.ticket-message-empty {
    margin: 0;
    color: #667085;
    text-align: center;
}

.ticket-message-form {
    display: grid;
    gap: 10px;
    padding: 14px 18px 18px;
    border-top: 1px solid #e7ecf2;
    background: #fff;
}

.ticket-message-form textarea {
    width: 100%;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    padding: 12px;
    resize: vertical;
    font-family: var(--font-ui);
    font-size: 14px;
    outline: none;
}

.ticket-message-form textarea:focus {
    border-color: #0b766f;
    box-shadow: 0 0 0 3px rgba(11,118,111,0.12);
}

.ticket-chat-composer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: end;
    padding: 8px;
    border: 1px solid #cfd8e3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(8,42,77,.07);
}

.ticket-chat-composer:focus-within { border-color:#ff6a00; box-shadow:0 0 0 4px rgba(255,106,0,.1); }
.ticket-chat-composer textarea { min-height:42px; max-height:130px; padding:10px!important; border:0!important; box-shadow:none!important; resize:none; }
.ticket-chat-composer > button { display:grid; place-items:center; width:42px; height:42px; padding:0; border:0; border-radius:12px; background:#ff6a00; color:#fff; font-size:1.4rem; }
.ticket-chat-attach { position:relative; }
.ticket-chat-plus { display:grid; place-items:center; width:42px; height:42px; border:1px solid #d7e1eb; border-radius:50%; background:#fff; color:#082a4d; font-size:1.5rem; cursor:pointer; }
.ticket-chat-plus:hover,.ticket-chat-plus[aria-expanded="true"],.ticket-chat-plus.has-file { border-color:#ff6a00; background:#fff3e9; }
.ticket-chat-attach-menu { position:absolute; left:0; bottom:52px; z-index:3500; width:min(310px,calc(100vw - 48px)); padding:8px; border:1px solid #dbe4ed; border-radius:16px; background:#fff; box-shadow:0 20px 48px rgba(8,42,77,.2); }
.ticket-chat-attach-menu[hidden] { display:none!important; }
.ticket-chat-attach-menu label { display:grid; grid-template-columns:34px 1fr; column-gap:9px; padding:11px 10px; border-radius:11px; color:#082a4d; cursor:pointer; }
.ticket-chat-attach-menu label:hover { background:#f3f6f9; }
.ticket-chat-attach-menu label>span { grid-row:1/3; align-self:center; font-size:1.1rem; }
.ticket-chat-attach-menu label>strong { font-size:.84rem; }
.ticket-chat-attach-menu label>small { color:#7b8998; font-size:.72rem; }
.ticket-chat-attach-menu input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.ticket-message-attachment { display:flex; gap:8px; align-items:center; margin-top:9px; color:inherit; font-size:.78rem; font-weight:800; text-decoration:none; }
.ticket-message-attachment.is-image { display:block; }
.ticket-message-attachment.is-image img { display:block; width:min(100%,280px); max-height:240px; object-fit:cover; border-radius:10px; }
.ticket-message-attachment.is-image span { display:block; margin-top:6px; color:inherit; }

.ticket-message-form.is-sending {
    opacity: 0.72;
}

.ticket-message-form::after {
    content: "Enter para enviar. Shift + Enter para una linea nueva.";
    color: #98a2b3;
    font-size: 12px;
}

.ticket-lightbox-open {
    overflow: hidden;
}

.ticket-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.92);
    padding: 64px 84px;
}

.ticket-lightbox.is-open {
    display: flex;
}

.ticket-lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: zoom-in;
}

.ticket-lightbox-stage.is-dragging {
    cursor: grabbing;
}

.ticket-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    transform-origin: center center;
    transition: transform 120ms ease;
    user-select: none;
    cursor: zoom-in;
}

.ticket-lightbox-image.is-zoomed {
    cursor: grab;
    transition: none;
}

.ticket-lightbox-close,
.ticket-lightbox-arrow,
.ticket-lightbox-toolbar button {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: 900;
}

.ticket-lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
}

.ticket-lightbox-toolbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    background: rgba(3,7,18,0.5);
    backdrop-filter: blur(10px);
}

.ticket-lightbox-toolbar button {
    position: static;
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
}

.ticket-lightbox-zoom-reset {
    min-width: 72px;
}

.ticket-lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 74px;
    font-size: 34px;
}

.ticket-lightbox-prev {
    left: 20px;
}

.ticket-lightbox-next {
    right: 20px;
}

.ticket-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 700px) {
    .ticket-lightbox {
        padding: 68px 52px;
    }

    .ticket-lightbox-toolbar {
        top: 18px;
    }

    .ticket-lightbox-toolbar button {
        min-width: 38px;
        height: 34px;
        padding: 0 9px;
    }

    .ticket-lightbox-arrow {
        width: 42px;
        height: 58px;
        font-size: 26px;
    }
}

@media (max-width: 1040px) {
    .customer-account-grid,
    .landing-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ticket-app-grid {
        grid-template-columns: 1fr;
    }

    .ticket-checkout-card {
        position: static;
    }

    .ticket-progress-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .service-nav-links {
        background: transparent;
        border: none;
        padding: 0;
    }

    .customer-account-grid,
    .landing-catalog-grid {
        grid-template-columns: 1fr;
    }

    .ticket-app-header {
        flex-direction: column;
    }

    .ticket-app-header h1 {
        font-size: 30px;
    }

    .ticket-progress-card,
    .ticket-info-grid {
        grid-template-columns: 1fr;
    }
}

.customer-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid #d7e2ea;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,247,246,0.92)),
        #fff;
    box-shadow: 0 18px 46px rgba(20,34,53,0.08);
}

.customer-dashboard-hero h1 {
    margin: 7px 0 10px;
    font-size: 40px;
    line-height: 1.05;
}

.customer-dashboard-hero p {
    max-width: 720px;
    color: #5f6f83;
    line-height: 1.55;
}

.customer-dashboard-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.customer-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.customer-metrics-grid article,
.customer-account-strip article {
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(20,34,53,0.06);
}

.customer-metrics-grid span,
.customer-account-strip span {
    display: block;
    margin-bottom: 8px;
    color: #7d8da1;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.customer-metrics-grid strong {
    display: block;
    color: #0b766f;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 9px;
}

.customer-metrics-grid p,
.customer-account-strip p {
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.customer-account-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 12px;
    margin-bottom: 26px;
}

.customer-account-strip strong {
    display: block;
    color: #142235;
    font-size: 20px;
    margin-bottom: 7px;
}

.customer-profile-edit-section .customer-detail-card {
    box-shadow: 0 8px 22px rgba(20,34,53,0.05);
}

.customer-ticket-card {
    position: relative;
    overflow: hidden;
}

.customer-ticket-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0b766f;
    opacity: 0.7;
}

.customer-ticket-side .service-btn {
    min-width: 124px;
}

.worker-list {
    display: grid;
    gap: 12px;
}

.worker-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fbfcfe;
}

.worker-list article strong {
    display: block;
    color: #142235;
    font-size: 18px;
    margin-bottom: 5px;
}

.worker-list article span,
.worker-list article p {
    color: #667085;
    line-height: 1.45;
}

.worker-actions form {
    margin: 0;
}

.worker-actions .service-btn {
    min-width: 112px;
}

.worker-management-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    align-items: start;
}

.worker-registry-card {
    overflow: hidden;
}

.worker-card {
    width: 100%;
    min-width: 0;
}

.worker-card-main {
    min-width: 0;
    flex: 1;
}

.worker-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.worker-status {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.worker-status-active {
    background: #ecfdf5;
    color: #0b766f;
    border: 1px solid #99f6e4;
}

.worker-status-inactive {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.worker-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.worker-data-grid div {
    min-width: 0;
    padding: 10px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #ffffff;
}

.worker-data-grid dt {
    margin-bottom: 4px;
    color: #8a97aa;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.worker-data-grid dd {
    margin: 0;
    color: #142235;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.worker-data-grid a {
    color: #ff6a00;
}

.worker-note {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
}

@media (max-width: 980px) {
    .worker-management-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .worker-list article {
        align-items: stretch;
        flex-direction: column;
    }

    .worker-card-head {
        flex-direction: column;
    }

    .worker-data-grid {
        grid-template-columns: 1fr;
    }

    .worker-actions,
    .worker-actions form,
    .worker-actions .service-btn {
        width: 100%;
    }
}

.ranking-page-shell {
    padding-bottom: 26px;
}

.ranking-page-hero {
    max-width: 1220px;
    margin: 26px auto 0;
    padding: 34px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff, #eef7f6);
    box-shadow: 0 18px 46px rgba(20,34,53,0.08);
}

.ranking-page-hero h1 {
    max-width: 760px;
    margin: 8px 0 10px;
    color: #142235;
    font-size: 42px;
    line-height: 1.05;
}

.ranking-page-hero p {
    max-width: 720px;
    color: #667085;
    line-height: 1.55;
}

.ranking-page-section {
    padding-top: 24px;
}

.ranking-empty {
    max-width: 780px;
    margin: 32px auto;
}

.review-public-page {
    display: grid;
    place-items: start center;
    padding-top: 42px;
}

.review-public-card {
    max-width: 720px;
}

.review-form {
    margin-top: 18px;
}

.review-stars-field {
    display: grid;
    gap: 9px;
}

.review-stars-field > span,
.recent-review-box > span {
    color: #0b766f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.review-stars-field div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.review-stars-field label {
    margin: 0;
}

.review-stars-field input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-stars-field strong {
    display: grid;
    place-items: center;
    min-height: 46px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    cursor: pointer;
}

.review-stars-field input:checked + strong {
    border-color: #0b766f;
    background: #eef7f6;
    color: #0b766f;
}

.review-link-panel {
    display: grid;
    gap: 16px;
    margin: 18px 0;
    padding: 22px;
    border: 1px solid #bee3df;
    border-radius: 8px;
    background: #eef7f6;
    box-shadow: 0 12px 30px rgba(20,34,53,0.06);
}

.review-link-panel h2 {
    margin: 7px 0 8px;
    color: #142235;
}

.review-link-panel p {
    color: #667085;
    line-height: 1.5;
}

.review-link-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.review-link-box input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #a9d7d3;
    border-radius: 8px;
    background: #fff;
    color: #142235;
    font-family: var(--font-ui);
    font-weight: 700;
}

.ai-estimate-card {
    display: grid;
    gap: 14px;
    margin: 16px 0;
    padding: 18px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    box-shadow: 0 14px 34px rgba(255,106,0,0.08);
}

.ai-estimate-card span {
    display: block;
    margin-bottom: 7px;
    color: #ff6a00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.ai-estimate-card strong {
    display: block;
    color: #082a4d;
    font-size: 18px;
    line-height: 1.2;
}

.ai-estimate-card p {
    margin-top: 7px;
    color: #5d6a7a;
    font-size: 14px;
    line-height: 1.5;
}

.ai-estimate-summary {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #fed7aa;
}

.ai-estimate-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
}

.ai-estimate-summary small {
    color: #5d6a7a;
    font-weight: 800;
}

.ai-estimate-summary div strong {
    font-size: 20px;
}

.recent-review-box {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.recent-review-box article {
    padding: 14px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
}

.recent-review-box strong {
    display: block;
    margin-bottom: 6px;
    color: #142235;
}

.recent-review-box p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
}

.ops-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 20px 0 14px;
    padding: 24px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff, #eef7f6);
    box-shadow: 0 14px 34px rgba(20,34,53,0.07);
}

.ops-hero-panel span,
.ops-kpi-grid span,
.worker-dashboard-hero span {
    display: block;
    margin-bottom: 8px;
    color: #0b766f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.ops-hero-panel h2 {
    margin: 0 0 8px;
    color: #142235;
    font-size: 28px;
    line-height: 1.08;
}

.ops-hero-panel p,
.ops-kpi-grid p,
.worker-dashboard-hero p {
    color: #667085;
    line-height: 1.5;
}

.ops-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 18px;
}

.ops-kpi-grid article {
    min-height: 132px;
    padding: 18px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20,34,53,0.06);
}

.ops-kpi-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #142235;
    font-size: 28px;
    line-height: 1;
}

.ops-action-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.worker-dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 26px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #142235;
    box-shadow: 0 18px 42px rgba(20,34,53,0.16);
}

.worker-dashboard-hero h1 {
    color: #fff;
}

.worker-dashboard-hero p {
    color: rgba(255,255,255,0.72);
}

.worker-dashboard-hero strong {
    padding: 12px 16px;
    border-radius: 8px;
    background: #f2c94c;
    color: #142235;
    white-space: nowrap;
}

.worker-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ticket-message-trabajador {
    justify-self: end;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.worker-status-actions {
    margin-bottom: 14px;
}

.worker-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.worker-job-timeline {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.worker-job-timeline div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fbfcfe;
    color: #667085;
}

.worker-job-timeline span {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #e8eef5;
    color: #142235;
    font-size: 13px;
    font-weight: 900;
}

.worker-job-timeline strong {
    color: inherit;
    font-size: 13px;
}

.worker-job-timeline .is-done {
    border-color: #ffb86b;
    background: #fff7ed;
    color: #142235;
}

.worker-job-timeline .is-done span {
    background: #ff6500;
    color: #fff;
}

.worker-history-card {
    opacity: 0.9;
}

.worker-history-card .customer-ticket-side strong {
    color: #667085;
}

.invoice-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invoice-total-box {
    max-width: 420px;
    margin-left: auto;
}

.invoice-logo-img {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media print {
    .invoice-no-print,
    .service-nav {
        display: none !important;
    }

    .invoice-page {
        padding: 0;
        background: #fff;
    }

    .invoice-document {
        box-shadow: none;
        border: none;
    }
}

@media (max-width: 1040px) {
    .customer-dashboard-hero,
    .customer-account-strip {
        grid-template-columns: 1fr;
    }

    .customer-dashboard-actions {
        justify-content: flex-start;
    }

    .customer-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-kpi-grid,
    .worker-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-hero-panel,
    .invoice-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .customer-dashboard-hero {
        padding: 20px;
    }

    .customer-dashboard-hero h1 {
        font-size: 30px;
    }

    .customer-dashboard-actions,
    .customer-dashboard-actions .service-btn {
        width: 100%;
    }

    .customer-metrics-grid {
        grid-template-columns: 1fr;
    }

    .ops-kpi-grid,
    .worker-kpi-grid {
        grid-template-columns: 1fr;
    }

    .worker-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .worker-action-grid {
        grid-template-columns: 1fr;
    }

    .review-stars-field div,
    .review-link-box {
        grid-template-columns: 1fr;
    }
}

/* Crewviax web logo adaptation */
.lead-service-body .service-nav {
    min-height: 88px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.lead-service-body .service-brand {
    flex: 0 0 auto;
    min-width: 0;
}

.lead-service-body .service-brand-logo-full {
    display: block;
    width: auto;
    height: clamp(50px, 6vw, 72px);
    max-width: min(300px, 34vw);
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(8, 42, 77, 0.10));
}

.service-footer-links,
.legal-footer span {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    justify-content: center;
}

.service-footer-links a,
.legal-footer a {
    color: #082A4D;
    font-weight: 800;
    text-decoration: none;
}

.service-footer-links a:hover,
.legal-footer a:hover {
    color: #ff6508;
}

.legal-shell {
    padding-bottom: 30px;
}

.legal-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 64px auto 0;
    padding: clamp(30px, 5vw, 56px);
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(8,42,77,0.12);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(8, 42, 77, 0.10);
}

.legal-hero h1 {
    max-width: 780px;
    margin: 10px 0 12px;
    color: #082A4D;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.98;
}

.legal-hero p {
    max-width: 760px;
    color: #53627a;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-hero small {
    display: inline-flex;
    margin-top: 12px;
    color: #ff6508;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-main {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 80px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 8px;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(8,42,77,0.12);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(8, 42, 77, 0.08);
}

.legal-sidebar a {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    color: #082A4D;
    font-weight: 900;
    text-decoration: none;
}

.legal-sidebar a:hover,
.legal-sidebar a.is-active {
    background: rgba(255,101,8,0.10);
    color: #ff6508;
}

.legal-card {
    padding: clamp(24px, 4vw, 44px);
    background: #FFFFFF;
    border: 1px solid rgba(8,42,77,0.12);
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(8, 42, 77, 0.08);
}

.legal-notice {
    margin-bottom: 28px;
    padding: 18px 20px;
    background: #fff7ed;
    border: 1px solid rgba(255,101,8,0.24);
    border-radius: 8px;
}

.legal-notice strong,
.legal-section h2 {
    color: #082A4D;
}

.legal-notice p {
    margin: 6px 0 0;
    color: #53627a;
    line-height: 1.6;
}

.legal-section {
    padding: 24px 0;
    border-top: 1px solid rgba(8,42,77,0.10);
}

.legal-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.legal-section h2 {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.legal-section ul {
    margin: 0;
    padding-left: 20px;
    color: #53627a;
    line-height: 1.75;
}

.legal-section li + li {
    margin-top: 8px;
}

.landing-brand-showcase {
    display: block;
    width: min(520px, 100%);
    margin: 0 0 20px;
}

.landing-brand-showcase img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 230px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 18px 32px rgba(8, 42, 77, 0.12));
}

@media (max-width: 980px) {
    .lead-service-body .service-nav {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
    }

    .lead-service-body .service-brand-logo-full {
        height: 64px;
        max-width: min(330px, 86vw);
    }
}

@media (max-width: 860px) {
    body.lead-service-body {
        scroll-padding-top: 102px;
    }

    .lead-service-body [id] {
        scroll-margin-top: 102px;
    }

    .lead-service-body .service-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 72px;
        padding: 8px 10px;
        gap: 8px;
    }

    .lead-service-body .service-brand-logo-full {
        height: 56px;
        max-width: min(250px, 66vw);
    }

    .service-menu-toggle {
        display: flex;
    }

    .lead-service-body .service-nav-links {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        margin-top: 6px;
        padding: 8px;
        background: #FFFFFF;
        border-color: rgba(8,42,77,0.12);
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .lead-service-body .service-nav.is-menu-open .service-nav-links {
        display: grid;
    }

    .lead-service-body .service-nav-links a {
        width: 100%;
        padding: 12px 14px;
        text-align: left;
    }

    .lead-service-body .service-shell,
    .lead-service-body .landing-shell,
    .lead-service-body .worker-shell {
        padding-top: 96px;
    }

    .legal-main {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-hero,
    .worker-hero {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 520px) {
    body.lead-service-body {
        scroll-padding-top: 92px;
    }

    .lead-service-body [id] {
        scroll-margin-top: 92px;
    }

    .lead-service-body .service-nav {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 14px;
    }

    .lead-service-body .service-brand-logo-full {
        height: 48px;
        max-width: 68vw;
    }

    .service-menu-toggle {
        width: 42px;
        height: 40px;
    }

    .legal-hero,
    .legal-main {
        width: calc(100% - 20px);
    }

    .legal-sidebar {
        grid-template-columns: 1fr;
    }

    .lead-service-body .service-shell,
    .lead-service-body .landing-shell,
    .lead-service-body .worker-shell {
        padding-top: 86px;
    }
}

@media (max-width: 560px) {
    .landing-brand-showcase {
        margin-bottom: 14px;
    }

    .landing-brand-showcase img {
        max-height: 170px;
    }

    .lead-service-body .service-brand-logo-full {
        height: 54px;
        max-width: 86vw;
    }
}

/* Crewviax brand colors from final logo */
.lead-service-body {
    --service-ink: #082A4D;
    --service-muted: #5D6A7A;
    --service-line: #D9E2EC;
    --service-bg: #F7FAFD;
    --service-panel: #FFFFFF;
    --service-navy: #082A4D;
    --service-teal: #FF6A00;
    --service-lime: #FFB16A;
    --service-red: #C2410C;
}

.lead-service-body .service-shell,
.lead-service-body .landing-shell,
.lead-service-body .worker-shell {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,247,237,0.92) 58%, rgba(8,42,77,0.10) 100%),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center right / cover no-repeat;
}

.lead-service-body .service-nav-links {
    background: rgba(255,255,255,0.86);
    border-color: rgba(8,42,77,0.12);
}

.lead-service-body .service-nav-links a {
    color: #082A4D;
}

.lead-service-body .service-nav-links a:hover {
    background: #FFF1E7;
    color: #FF6A00;
}

.lead-service-body .landing-status,
.lead-service-body .service-pill {
    background: #FFF1E7;
    border-color: #FED7AA;
    color: #C2410C;
}

.lead-service-body .landing-status span {
    background: #FF6A00;
}

.lead-service-body .service-btn-primary {
    background: #FF6A00;
    border-color: #FF6A00;
    color: #FFFFFF;
    box-shadow: 0 14px 26px rgba(255,106,0,0.22);
}

.lead-service-body .service-btn-primary:hover {
    background: #E85D00;
    border-color: #E85D00;
}

.lead-service-body .service-btn-secondary {
    background: #FFFFFF;
    color: #082A4D;
    border-color: rgba(8,42,77,0.18);
}

.lead-service-body .service-btn-secondary:hover {
    background: #FFF7ED;
    border-color: #FF6A00;
    color: #C2410C;
}

.lead-service-body .landing-service-icon,
.lead-service-body .landing-service-strip .landing-service-icon,
.lead-service-body .landing-catalog-grid .landing-service-icon {
    background: #FFF1E7;
    border-color: #FDBA74;
    color: #FF6A00;
}

.lead-service-body .landing-metrics strong,
.lead-service-body .landing-proof-card strong,
.lead-service-body .landing-process-card strong,
.lead-service-body .landing-catalog-grid strong,
.lead-service-body .landing-service-strip strong {
    color: #082A4D;
}

.lead-service-body .landing-hero h1,
.lead-service-body .landing-section-head h2,
.lead-service-body .landing-owner-band h2 {
    color: #082A4D;
}

/* Crewviax contractor signup page */
.lead-service-body .worker-shell {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,247,237,0.94) 58%, rgba(8,42,77,0.34) 100%),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center right / cover no-repeat;
}

.lead-service-body .worker-hero h1 {
    color: #082A4D;
}

.lead-service-body .landing-eyebrow,
.lead-service-body .service-form-header span,
.lead-service-body .worker-checkboxes legend {
    color: #FF6A00;
}

.lead-service-body .landing-form-panel {
    border-color: rgba(8,42,77,0.16);
    box-shadow: 0 24px 60px rgba(8,42,77,0.12);
}

.lead-service-body .worker-checkboxes,
.lead-service-body .worker-required-check {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.lead-service-body .landing-metrics div {
    border-color: rgba(8,42,77,0.14);
}

.lead-service-body .landing-metrics div:hover,
.lead-service-body .worker-checkboxes:hover,
.lead-service-body .worker-required-check:hover {
    border-color: #FDBA74;
}

/* Crewviax auth/register pages */
.lead-service-body .customer-auth-page {
    background:
        radial-gradient(circle at 20% 30%, rgba(255,106,0,0.10), transparent 32%),
        linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,247,237,0.92)),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center / cover no-repeat;
}

.lead-service-body .customer-auth-card {
    border-color: rgba(8,42,77,0.14);
    box-shadow: 0 24px 80px rgba(8,42,77,0.14);
}

.lead-service-body .customer-auth-card .service-brand {
    margin-bottom: 10px;
}

.lead-service-body .customer-auth-card .service-brand-logo-full {
    height: 66px;
    max-width: 280px;
}

.lead-service-body .customer-auth-card h1 {
    color: #082A4D;
}

.lead-service-body .customer-auth-card .landing-form-note a {
    color: #FF6A00;
    font-weight: 800;
}

/* Crewviax ranking page */
.lead-service-body .service-nav-links a.is-active {
    background: #FF6A00;
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(255,106,0,0.20);
}

.lead-service-body .ranking-page-shell {
    background:
        radial-gradient(circle at 78% 18%, rgba(255,106,0,0.12), transparent 28%),
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,247,237,0.92) 58%, rgba(8,42,77,0.14) 100%),
        url('/static/images/bus-sys-crm-background-clean-3840x2160.png') center right / cover no-repeat;
}

.lead-service-body .ranking-page-hero {
    border-color: rgba(8,42,77,0.14);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 100%);
    box-shadow: 0 24px 60px rgba(8,42,77,0.12);
}

.lead-service-body .ranking-page-hero h1,
.lead-service-body .landing-ranking-head strong,
.lead-service-body .landing-ranking-list strong {
    color: #082A4D;
}

.lead-service-body .ranking-page-hero .landing-eyebrow,
.lead-service-body .landing-ranking-head > span {
    color: #FF6A00;
}

.lead-service-body .landing-ranking-card {
    border-color: rgba(8,42,77,0.14);
    box-shadow: 0 18px 40px rgba(8,42,77,0.08);
}

.lead-service-body .landing-ranking-head > span {
    background: #FFF1E7;
    border-color: #FDBA74;
}

.lead-service-body .landing-rank-number {
    background: #082A4D;
    color: #FFFFFF;
}

.lead-service-body .landing-ranking-list li {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

.lead-service-body .service-footer strong {
    color: #082A4D;
}

/* Keep Crewviax header visible while navigating sections */
body.lead-service-body {
    scroll-padding-top: 120px;
}

.lead-service-body [id] {
    scroll-margin-top: 120px;
}

.lead-service-body .service-nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(1220px, calc(100% - 32px));
    min-height: 76px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(8,42,77,0.12);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(8,42,77,0.14);
    backdrop-filter: blur(14px);
}

.lead-service-body .service-shell,
.lead-service-body .landing-shell,
.lead-service-body .worker-shell {
    padding-top: 112px;
}

.lead-service-body .service-nav .service-nav-links {
    box-shadow: none;
}

@media (max-width: 980px) {
    body.lead-service-body {
        scroll-padding-top: 170px;
    }

    .lead-service-body [id] {
        scroll-margin-top: 170px;
    }

    .lead-service-body .service-nav {
        top: 10px;
        width: calc(100% - 20px);
        align-items: flex-start;
        gap: 10px;
    }

    .lead-service-body .service-shell,
    .lead-service-body .landing-shell,
    .lead-service-body .worker-shell {
        padding-top: 164px;
    }
}

/* Mobile repair: keep the Crewviax landing hero from overlapping the portal card. */
@media (max-width: 860px) {
    html,
    body.lead-service-body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .lead-service-body .service-nav {
        max-height: calc(100vh - 18px);
        overflow-y: auto;
    }

    .lead-service-body .service-shell,
    .lead-service-body .landing-shell,
    .lead-service-body .worker-shell,
    .lead-service-body .ranking-page-shell {
        padding-top: 96px;
    }

    .lead-service-body .landing-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        gap: 18px;
        padding: 18px 16px 42px !important;
        overflow: hidden;
    }

    .lead-service-body .landing-hero-copy,
    .lead-service-body .landing-form-panel {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .lead-service-body .landing-brand-showcase {
        width: 100%;
        max-width: 360px;
        margin-bottom: 12px;
    }

    .lead-service-body .landing-brand-showcase img {
        width: 100%;
        max-height: 150px;
        object-fit: contain;
        object-position: left center;
    }

    .lead-service-body .landing-status {
        width: 100%;
        max-width: 100%;
    }

    .lead-service-body .landing-hero h1 {
        max-width: 100%;
        font-size: clamp(36px, 11vw, 48px) !important;
        line-height: 1.04;
        letter-spacing: 0;
        overflow-wrap: break-word;
    }

    .lead-service-body .landing-hero p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }

    .lead-service-body .landing-form-panel {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .lead-service-body .portal-preview-list,
    .lead-service-body .landing-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .lead-service-body .landing-actions {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .lead-service-body .service-shell,
    .lead-service-body .landing-shell,
    .lead-service-body .worker-shell,
    .lead-service-body .ranking-page-shell {
        padding-top: 84px;
    }

    .lead-service-body .landing-hero {
        padding: 14px 14px 34px !important;
    }

    .lead-service-body .landing-hero h1 {
        font-size: clamp(32px, 10.5vw, 40px) !important;
    }

    .lead-service-body .landing-brand-showcase img {
        max-height: 120px;
    }

    .lead-service-body .landing-actions {
        flex-direction: column;
    }

    .lead-service-body .service-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Landing choice panel: placed last to avoid older theme rules making this block flat. */
.lead-service-body .landing-choice-panel {
    max-width: 1220px;
    margin: 0 auto 58px;
    padding: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 102, 0, 0.10), rgba(255,255,255,0.98) 40%),
        #ffffff;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(20,34,53,0.12);
}

.lead-service-body .landing-choice-panel h2 {
    max-width: 760px;
    margin-top: 12px;
    color: #082b50;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 900;
}

.lead-service-body .landing-choice-panel p {
    max-width: 720px;
    margin-top: 14px;
    color: #58677c;
    font-size: 16px;
    line-height: 1.65;
}

.lead-service-body .landing-choice-panel .landing-eyebrow {
    display: inline-flex;
    width: auto;
    background: transparent;
    color: #ff6600;
}

.lead-service-body .landing-choice-panel .landing-eyebrow::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: #ff6600;
}

.lead-service-body .landing-choice-panel .landing-promise-list span {
    position: relative;
    display: block;
    padding: 15px 18px 15px 46px;
    color: #082b50;
    background: #f8fbff;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    box-shadow: none;
}

.lead-service-body .landing-choice-panel .landing-promise-list span::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #ff6600;
    box-shadow: inset 0 0 0 5px #fff2e8;
}

@media (max-width: 1040px) {
    .lead-service-body .landing-choice-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .lead-service-body .landing-choice-panel {
        margin-bottom: 34px;
        padding: 28px 20px;
    }

    .lead-service-body .landing-choice-panel h2 {
        font-size: 30px;
    }
}

.notification-center {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 30;
}

.notification-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #ffffff;
    color: #082b50;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.notification-icon {
    color: #ff6600;
    line-height: 1;
}

.notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff6600;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.notification-count.is-empty {
    background: #e6edf5;
    color: #5b6a80;
}

.notification-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    max-height: 460px;
    overflow: auto;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(8, 43, 80, 0.18);
}

.notification-menu-head {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e7edf5;
    background: #ffffff;
}

.notification-menu-head strong {
    color: #082b50;
}

.notification-menu-head button {
    border: 0;
    background: transparent;
    color: #ff6600;
    font-weight: 800;
    cursor: pointer;
}

.notification-list {
    display: grid;
}

.notification-item {
    display: grid;
    gap: 5px;
    padding: 13px 16px;
    border-bottom: 1px solid #edf2f7;
    color: #536278;
    text-decoration: none;
}

.notification-item:hover,
.notification-item.is-unread {
    background: #fff7f0;
}

.notification-item strong {
    color: #082b50;
    font-size: 14px;
}

.notification-item span,
.notification-item small {
    font-size: 12px;
    line-height: 1.45;
}

.notification-empty {
    margin: 0;
    padding: 18px 16px;
    color: #5b6a80;
}

@media (max-width: 700px) {
    .notification-button span:not(.notification-icon):not(.notification-count) {
        display: none;
    }
}

/* Seller referral program */
.lead-service-body .landing-seller-program {
    max-width: 1220px;
    margin: 0 auto 58px;
    padding: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: stretch;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
    box-shadow: 0 20px 54px rgba(20,34,53,0.10);
}

.lead-service-body .landing-seller-copy h2 {
    max-width: 760px;
    margin: 12px 0 12px;
    color: #082b50;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
}

.lead-service-body .landing-seller-copy p {
    max-width: 760px;
    color: #58677c;
    font-size: 16px;
    line-height: 1.65;
}

.lead-service-body .landing-seller-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.lead-service-body .landing-seller-steps span {
    min-height: 76px;
    padding: 14px;
    display: flex;
    align-items: center;
    border: 1px solid #ffd4b5;
    border-radius: 8px;
    background: #ffffff;
    color: #082b50;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(255,102,0,0.08);
}

.lead-service-body .landing-seller-card {
    padding: 24px;
    display: grid;
    align-content: center;
    gap: 14px;
    border-radius: 8px;
    background: #10243d;
    color: #ffffff;
}

.lead-service-body .landing-seller-card strong {
    font-size: 22px;
    line-height: 1.2;
}

.lead-service-body .landing-seller-card p {
    color: rgba(255,255,255,0.74);
    line-height: 1.55;
}

.seller-auth-body,
.seller-portal-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255,102,0,0.14), transparent 34%),
        linear-gradient(135deg, #f7fafc 0%, #eef4f8 100%);
}

.seller-auth-shell {
    width: min(560px, calc(100vw - 32px));
    margin: 40px auto;
}

.seller-auth-card,
.seller-hero-card,
.seller-portal-body .service-form-card {
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 54px rgba(20,34,53,0.10);
}

.seller-auth-card {
    padding: 28px;
}

.seller-auth-brand {
    display: inline-flex;
    margin-bottom: 22px;
}

.seller-auth-grid,
.seller-form-grid {
    display: grid;
    gap: 14px;
}

.seller-form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seller-auth-card label,
.seller-portal-body label {
    display: grid;
    gap: 7px;
    color: #26364c;
    font-size: 13px;
    font-weight: 900;
}

.seller-auth-card input,
.seller-auth-card textarea,
.seller-hero-card input,
.seller-portal-body input,
.seller-portal-body textarea,
.seller-portal-body select {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    background: #fbfcfe;
    color: #082b50;
    font: inherit;
}

.seller-auth-foot {
    margin-top: 14px;
    text-align: center;
    color: #667085;
}

.seller-auth-foot a { color: #ff6600; font-weight: 900; }

.seller-portal-header {
    width: min(1220px, calc(100vw - 32px));
    margin: 22px auto 0;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 14px 34px rgba(20,34,53,0.08);
}

.seller-portal-header nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seller-portal-header nav a {
    color: #082b50;
    font-weight: 900;
    text-decoration: none;
}

.seller-portal-shell {
    width: min(1220px, calc(100vw - 32px));
    margin: 24px auto 60px;
    display: grid;
    gap: 22px;
}

.seller-hero-card {
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: center;
}

.seller-hero-card h1 {
    margin: 8px 0;
    color: #082b50;
    font-size: 42px;
    line-height: 1.05;
}

.seller-hero-card p { color: #58677c; line-height: 1.6; }

.seller-link-box {
    padding: 18px;
    display: grid;
    gap: 10px;
    border-radius: 8px;
    background: #fff7f0;
    border: 1px solid #ffd4b5;
}

.seller-link-box small { color: #58677c; font-weight: 800; }

.seller-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.seller-metrics article {
    padding: 20px;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #ffffff;
}

.seller-metrics span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.seller-metrics strong {
    color: #082b50;
    font-size: 30px;
}

.seller-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.seller-portal-body .service-form-card { padding: 22px; }
.seller-portal-body .service-form-card h2 { color: #082b50; margin-bottom: 14px; }
.seller-table-wrap { overflow-x: auto; }
.seller-table { width: 100%; border-collapse: collapse; }
.seller-table th, .seller-table td { padding: 12px; border-bottom: 1px solid #edf2f7; text-align: left; color: #26364c; }
.seller-table th { color: #667085; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 980px) {
    .lead-service-body .landing-seller-program,
    .seller-hero-card,
    .seller-two-col { grid-template-columns: 1fr; }
    .lead-service-body .landing-seller-steps,
    .seller-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .lead-service-body .landing-seller-program { padding: 24px 18px; }
    .lead-service-body .landing-seller-copy h2,
    .seller-hero-card h1 { font-size: 30px; }
    .lead-service-body .landing-seller-steps,
    .seller-metrics,
    .seller-form-grid.two { grid-template-columns: 1fr; }
    .seller-portal-header { align-items: flex-start; flex-direction: column; }
}

/* Founding customer launch offer */
.lead-service-body .landing-founders-band {
    width: min(1220px, calc(100vw - 32px));
    margin: -18px auto 34px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: stretch;
    border: 1px solid #ffd4b5;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,247,240,0.96)),
        radial-gradient(circle at top right, rgba(255,102,0,0.22), transparent 40%);
    box-shadow: 0 24px 60px rgba(20,34,53,0.12);
}

.lead-service-body .landing-founders-copy h2 {
    max-width: 760px;
    margin: 10px 0 12px;
    color: #082b50;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
}

.lead-service-body .landing-founders-copy p {
    max-width: 820px;
    color: #58677c;
    font-size: 16px;
    line-height: 1.65;
}

.lead-service-body .landing-founders-card {
    padding: 22px;
    display: grid;
    align-content: center;
    gap: 12px;
    border-radius: 8px;
    background: #082b50;
    color: #ffffff;
}

.lead-service-body .landing-founders-card strong {
    font-size: 20px;
    line-height: 1.2;
}

.lead-service-body .landing-founders-card span {
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.84);
    font-weight: 800;
}

.lead-service-body .landing-founders-card .service-btn {
    margin-top: 6px;
    width: 100%;
}

@media (max-width: 980px) {
    .lead-service-body .landing-founders-band {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }
}

@media (max-width: 620px) {
    .lead-service-body .landing-founders-band {
        padding: 22px 18px;
    }

    .lead-service-body .landing-founders-copy h2 {
        font-size: 30px;
    }
}

/* Seller earnings dashboard */
.seller-metrics-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seller-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.seller-section-head h2 {
    color: #082b50;
    margin: 4px 0 6px;
}

.seller-section-head p {
    color: #58677c;
    margin: 0;
}

.seller-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.seller-status-pending {
    background: #fff4d6;
    color: #8a5a00;
}

.seller-status-paid {
    background: #dcfce7;
    color: #166534;
}

.seller-status-void {
    background: #fee2e2;
    color: #991b1b;
}

.seller-earnings-table td strong {
    color: #082b50;
}

@media (max-width: 980px) {
    .seller-metrics-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-section-head {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .seller-metrics-wide {
        grid-template-columns: 1fr;
    }
}
.customer-promo-board {
    margin: 28px 0 34px;
    padding: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ef 48%, #f4f8fb 100%);
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(20,34,53,0.08);
}

.customer-promo-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.customer-promo-head h2 {
    color: #142235;
    font-size: 28px;
    line-height: 1.12;
    margin: 8px 0 6px;
}

.customer-promo-head p {
    color: var(--service-muted);
    line-height: 1.55;
    max-width: 640px;
}

.customer-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.customer-promo-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(20,34,53,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customer-promo-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #ff5f05;
}

.customer-promo-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.customer-promo-card-top span,
.customer-promo-card-top b {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.customer-promo-card-top span {
    color: #ff5f05;
}

.customer-promo-card-top b {
    color: #142235;
    background: #fff1e7;
    border: 1px solid #ffd1b4;
    border-radius: 999px;
    padding: 6px 8px;
    white-space: nowrap;
}

.customer-promo-card h3 {
    color: #142235;
    font-size: 21px;
    line-height: 1.16;
}

.customer-promo-card p {
    color: var(--service-muted);
    line-height: 1.5;
    flex: 1;
}

.customer-promo-link {
    color: #142235;
    font-weight: 900;
    text-decoration: none;
}

.customer-promo-link:hover {
    color: #ff5f05;
}

.customer-promo-card-navy::before { background: #142235; }
.customer-promo-card-navy .customer-promo-card-top span { color: #142235; }
.customer-promo-card-danger::before { background: #b42318; }
.customer-promo-card-danger .customer-promo-card-top span { color: #b42318; }
.customer-promo-card-teal::before { background: #0b766f; }
.customer-promo-card-teal .customer-promo-card-top span { color: #0b766f; }
.customer-promo-card-green::before { background: #17803d; }
.customer-promo-card-green .customer-promo-card-top span { color: #17803d; }
.customer-promo-card-blue::before { background: #175cd3; }
.customer-promo-card-blue .customer-promo-card-top span { color: #175cd3; }

@media (max-width: 900px) {
    .customer-promo-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .customer-promo-board {
        margin-left: -10px;
        margin-right: -10px;
        padding: 16px;
    }

    .customer-promo-head h2 {
        font-size: 24px;
    }

    .customer-promo-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
    }

    .customer-promo-card {
        min-width: 82%;
        scroll-snap-align: start;
    }
}

/* Founder service claim modal */
.perk-modal-overlay[hidden] {
    display: none;
}

.perk-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 22, 40, 0.58);
    backdrop-filter: blur(8px);
    overflow: hidden;
    overscroll-behavior: contain;
}


body.perk-modal-open {
    overflow: hidden;
}

.perk-modal-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    width: min(980px, calc(100vw - 48px));
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 58, 0.12);
    box-shadow: 0 24px 90px rgba(5, 18, 33, 0.28);
}

.perk-modal-overlay.perk-modal-shaking .perk-modal-card {
    animation: perk-modal-shake 0.42s ease-in-out infinite;
    will-change: transform;
}

@keyframes perk-modal-shake {
    0%, 100% { transform: translate3d(0, 0, 0); }
    20% { transform: translate3d(-1px, 0, 0); }
    40% { transform: translate3d(1px, 0, 0); }
    60% { transform: translate3d(-1px, 0, 0); }
    80% { transform: translate3d(1px, 0, 0); }
}


.perk-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16,32,51,0.15);
    border-radius: 50%;
    background: #fff;
    color: #102033;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(16,32,51,0.12);
}
.perk-confetti-burst {
    pointer-events: none;
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 1002;
}

.perk-confetti-burst span {
    position: absolute;
    width: 12px;
    height: 18px;
    border-radius: 3px;
    opacity: 0;
    box-shadow: 0 6px 16px rgba(16,32,51,0.18);
}

.perk-confetti-burst span:nth-child(3n) {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.perk-confetti-burst span:nth-child(4n) {
    width: 18px;
    height: 8px;
}

.perk-confetti-burst span:nth-child(5n) {
    width: 7px;
    height: 24px;
}

.perk-confetti-rain {
    animation: perk-confetti-fall 3.1s cubic-bezier(0.12, 0.78, 0.22, 1) forwards;
}

.perk-confetti-pop {
    animation: perk-confetti-pop 1.75s cubic-bezier(0.12, 0.78, 0.22, 1) forwards;
}

@keyframes perk-confetti-fall {
    0% {
        opacity: 0;
        transform: translate3d(0, -24px, 0) rotate(0deg) scale(0.8);
    }
    9% { opacity: 1; }
    78% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translate3d(var(--fall-x), 108vh, 0) rotate(var(--spin)) scale(1);
    }
}

@keyframes perk-confetti-pop {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.4);
    }
    12% { opacity: 1; }
    72% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translate3d(var(--pop-x), var(--pop-y), 0) rotate(var(--spin)) scale(1.05);
    }
}

.landing-perk-result.perk-result-won {
    animation: perk-result-win 1.15s ease-in-out 2;
    background: linear-gradient(135deg, #ff5f05, #102033);
    box-shadow: 0 18px 42px rgba(255,95,5,0.26);
}

@keyframes perk-result-win {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.035); }
    65% { transform: scale(1.01); }
}
.perk-modal-copy h2 {
    color: #102033;
    font-size: 42px;
    line-height: 1.02;
    margin: 8px 0 12px;
}

.perk-modal-copy p {
    color: #475467;
    font-size: 17px;
    line-height: 1.55;
    max-width: 560px;
}

.landing-perk-result {
    margin: 18px 0;
    padding: 13px 15px;
    max-width: 620px;
    background: #102033;
    color: #fff;
    border-radius: 8px;
    font-weight: 900;
    box-shadow: inset 5px 0 0 #ff5f05;
}

.landing-perk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.perk-wheel-card {
    min-height: 300px;
    display: grid;
    place-items: center;
    position: relative;
}

.perk-wheel-pointer {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 28px solid #102033;
    z-index: 3;
    filter: drop-shadow(0 8px 12px rgba(16,32,51,0.22));
}

.perk-wheel {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    position: relative;
    border: 10px solid #fff;
    outline: 2px solid rgba(16,32,51,0.14);
    background: conic-gradient(
        #ff5f05 0deg 60deg,
        #102033 60deg 120deg,
        #f97316 120deg 180deg,
        #175cd3 180deg 240deg,
        #0b766f 240deg 300deg,
        #ffd166 300deg 360deg
    );
    box-shadow: 0 22px 48px rgba(16,32,51,0.24);
    transition: transform 5.8s cubic-bezier(0.10, 0.82, 0.12, 1);
}

.perk-wheel span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    margin-left: -46px;
    margin-top: -10px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transform-origin: 46px 10px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}

.perk-wheel span:nth-child(1) { transform: rotate(30deg) translateY(-98px) rotate(-30deg); }
.perk-wheel span:nth-child(2) { transform: rotate(90deg) translateY(-98px) rotate(-90deg); }
.perk-wheel span:nth-child(3) { transform: rotate(150deg) translateY(-98px) rotate(-150deg); }
.perk-wheel span:nth-child(4) { transform: rotate(210deg) translateY(-98px) rotate(-210deg); }
.perk-wheel span:nth-child(5) { transform: rotate(270deg) translateY(-98px) rotate(-270deg); }
.perk-wheel span:nth-child(6) { transform: rotate(330deg) translateY(-98px) rotate(-330deg); color: #102033; text-shadow: none; }

.perk-wheel-center {
    position: absolute;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #102033;
    border: 5px solid #ff5f05;
    font-weight: 1000;
    box-shadow: 0 12px 30px rgba(16,32,51,0.2);
    z-index: 2;
}

#perk-spin-button:disabled {
    opacity: 0.75;
    cursor: wait;
}

@media (max-width: 900px) {
    .perk-modal-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    width: min(980px, calc(100vw - 48px));
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 58, 0.12);
    box-shadow: 0 24px 90px rgba(5, 18, 33, 0.28);
}


@media (max-width: 560px) {
    .perk-modal-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    width: min(980px, calc(100vw - 48px));
    max-height: min(760px, calc(100vh - 48px));
    overflow: hidden;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 58, 0.12);
    box-shadow: 0 24px 90px rgba(5, 18, 33, 0.28);
}


.claim-perk-box {
    margin: 18px 0;
    padding: 14px 16px;
    display: grid;
    gap: 5px;
    background: #fff7ef;
    border: 1px solid rgba(255,95,5,0.28);
    border-left: 5px solid #ff5f05;
    border-radius: 8px;
    color: #102033;
}

.claim-perk-box strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #ff5f05;
}

.claim-perk-box span {
    font-size: 17px;
    font-weight: 900;
}

.claim-perk-box small {
    color: #667085;
    line-height: 1.45;
}











@media (max-width: 980px) {
    .landing-before-after-banner {
        grid-template-columns: 1fr;
        margin: 22px 20px 0;
    }
}

@media (max-width: 720px) {
    .landing-before-after-banner {
        padding: 18px;
    }

    .landing-ba-gallery {
        grid-template-columns: 1fr;
    }

    .landing-ba-photo {
        min-height: 190px;
    }

    .landing-ba-copy h2 {
        font-size: 28px;
    }
}


/* Service top-3 match results */
.matches-page-body {
    background: #f4f8fc;
}

.matches-shell {
    padding-bottom: 0;
}

.matches-page-main {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto 70px;
}

.matches-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 6px 0 26px;
    padding: 12px;
    background: rgba(244,248,252,0.92);
    backdrop-filter: blur(12px);
}

.matches-search-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 150px auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #d6e0ea;
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(16,32,51,0.10);
}

.matches-search-panel input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #06264a;
    font: inherit;
    outline: none;
}

.matches-search-panel input:focus {
    border-color: #ff5f05;
    box-shadow: 0 0 0 4px rgba(255,95,5,0.12);
}

.matches-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.matches-filter-card,
.matches-summary-card,
.matches-provider-card,
.matches-empty-card {
    background: #fff;
    border: 1px solid #d8e2ec;
    border-radius: 10px;
    box-shadow: 0 18px 46px rgba(16,32,51,0.08);
}

.matches-filter-card {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.matches-filter-card h2 {
    margin: 0;
    color: #06264a;
    font-size: 26px;
    line-height: 1.1;
}

.matches-filter-card strong {
    color: #ff5f05;
    font-size: 18px;
}

.matches-filter-card p {
    margin: 0;
    color: #53657a;
    line-height: 1.55;
}

.matches-results {
    display: grid;
    gap: 18px;
}

.matches-summary-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    background: #eaf7ff;
    border-color: #cceafa;
    box-shadow: none;
}

.matches-summary-card h1 {
    margin: 0 0 6px;
    color: #06264a;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
}

.matches-summary-card p {
    margin: 0;
    color: #4c637b;
}

.matches-summary-avatars {
    display: flex;
    align-items: center;
    min-width: 92px;
}

.matches-summary-avatars span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 3px solid #eaf7ff;
    border-radius: 999px;
    background: linear-gradient(135deg, #06264a, #ff5f05);
    color: #fff;
    font-weight: 900;
}

.matches-provider-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 170px;
    gap: 22px;
    align-items: center;
    padding: 24px;
}

.matches-provider-media {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    border-radius: 999px;
    background: #eef4f9;
    border: 1px solid #d8e2ec;
    overflow: hidden;
}

.matches-provider-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matches-provider-media span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06264a, #ff5f05);
    color: #fff;
    font-size: 46px;
    font-weight: 900;
}

.matches-provider-content {
    display: grid;
    gap: 12px;
}

.matches-provider-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.matches-provider-title h2 {
    margin: 0;
    color: #06264a;
    font-size: 23px;
}

.matches-provider-title p,
.matches-provider-description {
    margin: 4px 0 0;
    color: #53657a;
    line-height: 1.5;
}

.matches-rank-badge {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 999px;
    background: #06264a;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.matches-provider-meta,
.matches-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.matches-provider-meta span,
.matches-service-tags span {
    padding: 7px 9px;
    border-radius: 999px;
    background: #f4f8fc;
    color: #44576c;
    font-size: 12px;
    font-weight: 800;
}

.matches-service-tags span {
    background: #fff4ec;
    color: #b84700;
}

.matches-provider-action {
    display: grid;
    gap: 12px;
    justify-items: stretch;
    text-align: center;
}

.matches-provider-action span {
    color: #53657a;
    font-size: 13px;
    font-weight: 800;
}

.matches-empty-card {
    padding: 34px;
    text-align: center;
}

.matches-empty-card h2 {
    margin: 0 0 8px;
    color: #06264a;
}

.matches-empty-card p {
    color: #53657a;
}

@media (max-width: 900px) {
    .matches-layout {
        grid-template-columns: 1fr;
    }

    .matches-filter-card {
        position: static;
    }

    .matches-summary-card,
    .matches-provider-card {
        grid-template-columns: 1fr;
    }

    .matches-provider-media {
        width: 96px;
        height: 96px;
    }

    .matches-provider-action {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .matches-page-main {
        width: min(100% - 20px, 1260px);
    }

    .matches-topbar {
        margin-top: 0;
        padding: 8px 0;
    }

    .matches-search-panel,
    .landing-search-panel {
        grid-template-columns: 1fr;
    }

    .matches-summary-card,
    .matches-provider-card,
    .matches-filter-card {
        padding: 18px;
    }
}

.matches-filter-sidebar {
    gap: 18px;
}

.matches-price-box {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d8e2ec;
}

.matches-price-box span {
    color: #06264a;
    font-size: 17px;
    font-weight: 900;
}

.matches-price-box strong {
    color: #06264a;
    font-size: 34px;
    line-height: 1;
}

.matches-price-box small {
    color: #667085;
    font-weight: 700;
}

.matches-filter-group {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d8e2ec;
}

.matches-filter-group h3 {
    margin: 0;
    color: #06264a;
    font-size: 15px;
    line-height: 1.25;
}

.matches-filter-group label {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #44576c;
    font-size: 14px;
    font-weight: 700;
}

.matches-filter-group input {
    accent-color: #009bd8;
}

.matches-filter-group p {
    margin: 0;
    color: #53657a;
    font-size: 14px;
    line-height: 1.5;
}

.matches-results-heading {
    margin: 0 0 6px;
}

.matches-results-heading h1 {
    margin: 0;
    color: #06264a;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
}

.matches-results-heading p {
    margin: 8px 0 0;
    color: #53657a;
    font-weight: 700;
}

.matches-summary-card h2 {
    margin: 0 0 6px;
    color: #06264a;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.15;
}

/* Public provider profile marketplace view */
.matches-secondary-link {
    color: #06264a;
    font-weight: 900;
    text-decoration: none;
}

.matches-secondary-link:hover {
    color: #ff5f05;
}

.provider-public-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 56px;
}

.provider-search-strip {
    position: sticky;
    top: 8px;
    z-index: 20;
    margin: 18px 0 24px;
    padding: 10px;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 12px 28px rgba(6,38,74,0.08);
}

.provider-search-strip form {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(110px, 160px) auto;
    gap: 8px;
}

.provider-search-strip input {
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 14px;
    color: #06264a;
    font-weight: 800;
}

.provider-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 36px;
}

.provider-public-main {
    min-width: 0;
}

.provider-breadcrumb {
    margin: 0 0 16px;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.provider-public-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 0 30px;
    border-bottom: 1px solid #d9e1ea;
}

.public-provider-page .provider-public-avatar {
    width: 118px;
    height: 118px;
    border: 1px solid #d9e1ea;
    border-radius: 50%;
    background: #fff7ed;
    color: #06264a;
    box-shadow: 0 16px 36px rgba(6,38,74,0.12);
    overflow: hidden;
}

.public-provider-page .provider-public-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-public-title h1 {
    margin: 0;
    color: #06264a;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.02;
}

.provider-rating-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #526174;
}

.provider-rating-line strong {
    color: #14a06f;
}

.provider-stars {
    color: #14a06f;
    letter-spacing: 1px;
}

.provider-hero-actions,
.provider-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.provider-tabs {
    position: sticky;
    top: 84px;
    z-index: 15;
    display: flex;
    gap: 26px;
    padding: 18px 0;
    border-bottom: 1px solid #d9e1ea;
    background: #eef2f6;
}

.provider-tabs a {
    color: #526174;
    font-weight: 900;
    text-decoration: none;
}

.provider-tabs a:hover {
    color: #ff5f05;
}

.provider-why-card,
.provider-section-card,
.provider-overview-grid article,
.provider-sticky-card {
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(6,38,74,0.06);
}

.provider-why-card {
    margin-top: 24px;
    padding: 24px;
    background: #f8fbff;
}

.provider-why-card h2,
.provider-section-card h2 {
    margin: 0 0 12px;
    color: #06264a;
}

.provider-why-card p,
.provider-section-card p,
.provider-overview-grid p,
.provider-sticky-card p {
    color: #526174;
    line-height: 1.55;
}

.provider-why-card small {
    display: block;
    margin-top: 14px;
    color: #667085;
    font-weight: 800;
}

.provider-section-card {
    margin-top: 22px;
    padding: 24px;
}

.provider-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.provider-overview-grid article {
    padding: 20px;
}

.provider-overview-grid span {
    display: block;
    color: #ff5f05;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-overview-grid strong {
    display: block;
    margin-top: 8px;
    color: #06264a;
    font-size: 18px;
}

.provider-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.provider-service-pills span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid #bfe0ff;
    border-radius: 999px;
    padding: 0 14px;
    color: #0070a8;
    font-weight: 900;
}

.provider-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.provider-media-grid article {
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
}

.provider-media-placeholder {
    display: grid;
    min-height: 150px;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(135deg, #06264a 0 50%, #fff3e8 50% 100%);
    color: #fff;
    font-weight: 900;
}

.provider-media-grid strong {
    display: block;
    margin-top: 12px;
    color: #06264a;
}

.provider-review-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.provider-review-summary strong {
    display: block;
    color: #14a06f;
    font-size: 24px;
}

.provider-review-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.provider-review-card {
    border-top: 1px solid #d9e1ea;
    padding-top: 18px;
}

.provider-review-card > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.provider-review-card strong {
    color: #06264a;
}

.provider-review-card span {
    color: #667085;
    font-size: 13px;
}

.provider-sticky-card {
    position: sticky;
    top: 104px;
    padding: 18px;
    border-top: 4px solid #00a2d8;
}

.provider-sticky-card > div:first-child span {
    display: block;
    color: #526174;
    font-weight: 900;
}

.provider-sticky-card > div:first-child a {
    display: inline-block;
    margin-top: 6px;
    color: #008fd3;
    font-weight: 900;
    text-decoration: none;
}

.provider-sticky-card .service-btn {
    width: 100%;
    margin-top: 18px;
}

.provider-online-dot {
    text-align: center;
}

.provider-online-dot::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #14a06f;
}

.provider-guarantee-box {
    margin-top: 16px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
}

.provider-guarantee-box strong {
    color: #06264a;
}

@media (max-width: 900px) {
    .provider-search-strip {
        position: static;
    }

    .provider-search-strip form,
    .provider-public-layout,
    .provider-overview-grid,
    .provider-media-grid {
        grid-template-columns: 1fr;
    }

    .provider-public-hero,
    .provider-review-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .provider-tabs {
        position: static;
        overflow-x: auto;
        white-space: nowrap;
    }

    .provider-sticky-card {
        position: static;
    }
}

/* Crewviax marketplace results list refresh */
.matches-list-page {
    margin: 0;
    background: #ffffff;
    color: #0a2442;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.matches-list-page * {
    box-sizing: border-box;
}

.matches-appbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 48px minmax(320px, 720px) minmax(220px, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 72px;
    padding: 12px 28px;
    border-bottom: 1px solid #d9e1ea;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.matches-logo-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e1ea;
}

.matches-logo-link img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.matches-appbar-search {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 136px 58px;
    height: 48px;
    border: 1px solid #d1dbe6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.matches-appbar-search label {
    display: block;
    min-width: 0;
}

.matches-appbar-search input {
    width: 100%;
    height: 100%;
    border: 0;
    border-right: 1px solid #d1dbe6;
    padding: 0 16px;
    color: #0a2442;
    font: inherit;
    font-weight: 800;
    outline: none;
}

.matches-appbar-search input:focus {
    background: #f7fbff;
}

.matches-appbar-search button,
.matches-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #008fc7;
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.matches-appbar-search button:hover,
.matches-primary-action:hover {
    background: #067cab;
}

.matches-appbar-links {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    align-items: center;
}

.matches-appbar-links a {
    color: #233b55;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.matches-appbar-links a:hover {
    color: #008fc7;
}

.matches-market {
    display: grid;
    grid-template-columns: 258px minmax(0, 880px);
    gap: 46px;
    align-items: start;
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 28px 24px 80px;
}

.matches-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 24px;
    align-self: start;
    padding-right: 16px;
    border-right: 1px solid #d9e1ea;
}

.matches-price-card {
    padding: 18px 16px;
    border: 1px solid #d1dbe6;
    border-radius: 6px;
    background: #fff;
}

.matches-price-card h2,
.matches-filter-block h3,
.matches-pro-main h2,
.matches-heading-row h1,
.matches-top3-panel h2,
.matches-empty-row h2 {
    margin: 0;
    color: #101820;
    letter-spacing: 0;
}

.matches-price-card h2 {
    font-size: 17px;
    line-height: 1.25;
}

.matches-price-card strong {
    display: block;
    margin-top: 20px;
    color: #101820;
    font-size: 30px;
    line-height: 1;
}

.matches-price-card span,
.matches-price-card p,
.matches-filter-block p,
.matches-heading-row p,
.matches-top3-panel p,
.matches-review-snippet,
.matches-contact-note,
.matches-rating-line span {
    color: #516176;
    line-height: 1.45;
}

.matches-price-card span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

.matches-price-card p {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid #d9e1ea;
    font-size: 13px;
}

.matches-filter-block {
    display: grid;
    gap: 12px;
}

.matches-filter-block h3 {
    font-size: 15px;
}

.matches-filter-block label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f3146;
    font-size: 15px;
    line-height: 1.3;
}

.matches-filter-block input {
    width: 16px;
    height: 16px;
    accent-color: #008fc7;
}

.matches-filter-block p {
    margin: 0;
    font-size: 14px;
}

.matches-results-column {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.matches-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.matches-heading-row h1 {
    font-size: 30px;
    line-height: 1.1;
}

.matches-heading-row p {
    margin: 6px 0 0;
    font-size: 15px;
}

.matches-outline-action,
.matches-link-action {
    color: #008fc7;
    font-weight: 900;
    text-decoration: none;
}

.matches-outline-action {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid #c7d4df;
    border-radius: 6px;
    color: #0a2442;
    background: #fff;
}

.matches-outline-action:hover,
.matches-link-action:hover {
    color: #ff5f05;
}

.matches-top3-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 26px 28px;
    border-radius: 6px;
    background: #e9f7fc;
}

.matches-top3-panel h2 {
    font-size: 21px;
    line-height: 1.2;
}

.matches-top3-panel p {
    margin: 4px 0 0;
    font-size: 15px;
}

.matches-avatar-stack {
    display: flex;
    min-width: 132px;
}

.matches-avatar-stack span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-right: -12px;
    border: 3px solid #e9f7fc;
    border-radius: 999px;
    background: linear-gradient(135deg, #06264a, #ff5f05);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.matches-pro-row,
.matches-empty-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 150px;
    gap: 28px;
    align-items: center;
    min-height: 220px;
    padding: 28px;
    border: 1px solid #e1e7ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 24, 32, 0.08);
}

.matches-pro-row:hover {
    border-color: #c7d4df;
    box-shadow: 0 8px 22px rgba(16, 24, 32, 0.10);
}

.matches-pro-photo {
    display: grid;
    place-items: center;
    width: 124px;
    height: 124px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #e1e7ee;
    background: #f4f8fb;
    text-decoration: none;
}

.matches-pro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matches-pro-photo span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: #e9f7fc;
    color: #06264a;
    font-size: 44px;
    font-weight: 900;
}

.matches-pro-main {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.matches-pro-name-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.matches-pro-main h2 {
    font-size: 20px;
    line-height: 1.2;
}

.matches-rating-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 5px 0 0;
    font-size: 14px;
}

.matches-rating-line strong {
    color: #1fb181;
}

.matches-top-rank {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f2f8fc;
    color: #008fc7;
    font-size: 12px;
    font-weight: 900;
}

.matches-pro-facts,
.matches-pro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.matches-pro-facts span {
    color: #516176;
    font-size: 14px;
    font-weight: 700;
}

.matches-pro-facts span:first-child {
    color: #1fb181;
}

.matches-review-snippet {
    max-width: 560px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e1e7ee;
    border-radius: 5px;
    background: #fbfdff;
    font-size: 14px;
}

.matches-pro-tags span {
    padding: 6px 10px;
    border: 1px solid #d1dbe6;
    border-radius: 999px;
    color: #008fc7;
    font-size: 12px;
    font-weight: 900;
}

.matches-pro-actions {
    display: grid;
    gap: 14px;
    justify-items: stretch;
    align-self: stretch;
    align-content: center;
}

.matches-contact-note {
    font-size: 13px;
    text-align: center;
}

.matches-empty-row {
    grid-template-columns: 1fr auto;
}

.matches-empty-row p {
    margin: 8px 0 0;
    color: #516176;
}

@media (max-width: 1020px) {
    .matches-appbar {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .matches-appbar-links {
        display: none;
    }

    .matches-market {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .matches-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-right: 0;
        border-right: 0;
    }

    .matches-price-card,
    .matches-filter-block {
        border: 1px solid #e1e7ee;
        border-radius: 8px;
        padding: 16px;
    }
}

@media (max-width: 720px) {
    .matches-appbar {
        position: static;
        padding: 12px;
    }

    .matches-appbar-search {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        height: auto;
    }

    .matches-appbar-search input,
    .matches-appbar-search button {
        min-height: 46px;
        border-right: 0;
        border-bottom: 1px solid #d1dbe6;
    }

    .matches-market {
        padding: 16px 12px 52px;
    }

    .matches-sidebar {
        grid-template-columns: 1fr;
    }

    .matches-heading-row,
    .matches-pro-name-row {
        display: grid;
    }

    .matches-top3-panel,
    .matches-pro-row,
    .matches-empty-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .matches-pro-row,
    .matches-empty-row {
        min-height: 0;
        padding: 20px;
    }

    .matches-pro-photo {
        width: 104px;
        height: 104px;
    }

    .matches-pro-actions {
        align-self: auto;
    }
}

.worker-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.worker-plan-card {
    display: grid;
    gap: 8px;
    border: 1px solid #d7e1ec;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 35, 60, .06);
    cursor: pointer;
}

.worker-plan-card input {
    width: 18px;
    height: 18px;
    accent-color: #ff5f05;
}

.worker-plan-card strong {
    font-size: 1.8rem;
    color: #092b55;
}

.worker-plan-card small,
.worker-plan-card em {
    color: #5e6b80;
    line-height: 1.45;
}

.worker-plan-card em {
    font-style: normal;
    font-size: .82rem;
}

.worker-plan-name {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #ff5f05;
    font-size: .78rem;
}

@media (max-width: 800px) {
    .worker-plan-grid {
        grid-template-columns: 1fr;
    }
}
/* Crewviax NOW */
.now-body{min-height:100vh;margin:0;background:#07111f;color:#f8fbff}.now-shell{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:72px 0}.now-hero{max-width:760px;margin-bottom:36px}.now-hero h1{margin:12px 0 18px;font-size:clamp(2.6rem,7vw,5.4rem);line-height:.96;letter-spacing:-.055em}.now-hero p{color:#b8c7da;font-size:1.12rem;max-width:660px}.now-request-card{background:#fff;color:#112033;border-radius:28px;padding:clamp(22px,4vw,42px);box-shadow:0 24px 70px rgba(0,0,0,.28)}.now-request-card textarea{width:100%;box-sizing:border-box;margin:10px 0 22px;border:1px solid #ccd7e5;border-radius:14px;padding:16px;font:inherit;resize:vertical}.now-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}.now-category-grid article{border:1px solid #e1e8f0;border-radius:16px;padding:14px}.now-category-grid article>strong{display:block;margin-bottom:8px}.now-service-option{width:100%;border:0;background:transparent;display:flex;justify-content:space-between;gap:12px;padding:10px;border-radius:9px;color:#34465c;cursor:pointer;text-align:left}.now-service-option:hover,.now-service-option.is-selected{background:#eaf7f4;color:#075f52}.now-service-option b{white-space:nowrap}.now-result{margin-top:22px;padding:20px;border-radius:16px;background:#edf6ff}.now-result>strong{display:block;font-size:1.2rem;margin:4px 0 8px}.now-result.is-red{background:#fff0f0;color:#861b1b}.now-result.is-orange,.now-result.is-yellow{background:#fff7df;color:#694d00}.now-emergency-note{text-align:center;color:#b8c7da;margin-top:24px}@media(max-width:700px){.now-shell{padding-top:40px}.now-category-grid{grid-template-columns:1fr}}

/* Crewviax NOW integrated into the official landing hero */
.lead-service-body .landing-now-panel{border-top:5px solid #ff6a00}.lead-service-body .landing-now-form label{display:block;margin-bottom:8px;color:#082a4d;font-weight:800}.lead-service-body .landing-now-form textarea{width:100%;box-sizing:border-box;min-height:100px;padding:13px 14px;border:1px solid #cdd9e6;border-radius:10px;background:#f8fafc;color:#082a4d;font:inherit;resize:vertical}.lead-service-body .landing-now-form textarea:focus{outline:3px solid rgba(255,106,0,.14);border-color:#ff6a00}.lead-service-body .landing-now-result{margin-top:14px;padding:14px;border-radius:10px;background:#edf6ff;color:#082a4d}.lead-service-body .landing-now-result>strong{display:block;font-size:1.12rem;margin:3px 0 6px}.lead-service-body .landing-now-result p{margin:5px 0 12px}.lead-service-body .landing-now-result.is-red{background:#fff0f0;color:#861b1b}.lead-service-body .landing-now-result.is-orange,.lead-service-body .landing-now-result.is-yellow{background:#fff7df;color:#694d00}.lead-service-body .landing-now-emergency{margin:13px 0 0;font-size:.76rem;color:#66788c;line-height:1.4}
.landing-now-ai-first{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:14px 0 10px;padding:12px 14px;border-radius:12px;background:#edf5fb;color:#082a4d}.landing-now-ai-first span{color:#65798d;font-size:.76rem}.landing-now-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.landing-now-quick button,.landing-now-all-categories button{display:flex;align-items:center;gap:7px;min-height:42px;padding:8px 10px;border:1px solid #d9e3ec;border-radius:10px;background:#fff;color:#183957;font:inherit;font-size:.74rem;font-weight:800;cursor:pointer;text-align:left}.landing-now-quick button span,.landing-now-all-categories button span{font-size:1.05rem}.landing-now-quick button:hover,.landing-now-quick button.is-selected,.landing-now-all-categories button:hover,.landing-now-all-categories button.is-selected{border-color:#ff6a00;background:#fff5ed;transform:translateY(-1px)}.landing-now-any-help{display:grid;grid-template-columns:auto 1fr;column-gap:10px;width:100%;margin:10px 0;padding:13px 15px;border:1px solid #ffb77f;border-radius:13px;background:linear-gradient(135deg,#ff6a00,#ff8334);color:#fff;cursor:pointer;text-align:left;box-shadow:0 9px 20px rgba(255,106,0,.2)}.landing-now-any-help>span{grid-row:1/3;align-self:center;font-size:1.5rem}.landing-now-any-help strong{font-size:.9rem}.landing-now-any-help small{opacity:.88}.landing-now-any-help:hover,.landing-now-any-help.is-selected{filter:saturate(1.12);transform:translateY(-2px)}.landing-now-all-categories{margin:9px 0 14px;border:1px solid #dde6ee;border-radius:11px;background:#fbfcfe}.landing-now-all-categories summary{padding:10px 12px;color:#082a4d;font-size:.78rem;font-weight:900;cursor:pointer}.landing-now-all-categories>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 10px 10px}.landing-now-all-categories button{min-width:0}.landing-now-all-categories button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:650px){.landing-now-ai-first{align-items:flex-start;flex-direction:column}.landing-now-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-now-all-categories>div{grid-template-columns:1fr}}
