
:root {
    --primary: #14141c;
    --primary-light: #262633;
    --accent: #e8a317;
    --accent-dark: #cf8d0a;
    --bg: #f7f7fb;
    --card-bg: #ffffff;
    --text: #14141c;
    --text-muted: #6b6b78;
    --border: #e6e6ef;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ── Header ── */
header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

nav ul a {
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

nav ul a:hover {
    color: #1A2332;
    background: #f1f5f9;
}

nav ul a.active {
    color: var(--accent);
}

/* ── Hero ── */
.hero {
    background: #092133;
    color: white;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    max-width: 1200px;
    min-height: 470px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 60px 48px 60px 24px;
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.15rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.hero h1 span { color: #fff; }

.hero-content > p {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 540px;
    margin: 0 0 32px;
}

.hero-visual {
    min-height: 470px;
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #092133 0%, rgba(9, 33, 51, 0.38) 16%, transparent 42%);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 66% center;
}

/* ── Hero search (Bark-style two-field) ── */
.hero-search {
    display: flex;
    max-width: 680px;
    margin: 0 0 20px;
    background: white;
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
    position: relative;
}

.hero-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    position: relative;
    cursor: text;
}

.hero-search-field:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.hero-search-field:hover { background: #f8fafc; }

.field-icon { font-size: 1.3rem; flex-shrink: 0; }

.field-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.field-wrap label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.field-wrap input {
    border: none;
    outline: none;
    font-size: 0.97rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
    width: 100%;
}

.field-wrap input::placeholder { color: #94a3b8; }

.hero-search-divider {
    width: 1px;
    background: var(--border);
    margin: 12px 0;
    flex-shrink: 0;
}

.hero-search-btn {
    background: var(--accent);
    color: #14141c;
    border: none;
    padding: 0 32px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    border-radius: 0 var(--radius) var(--radius) 0;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hero-search-btn:hover { background: var(--accent-dark); }

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    overflow: hidden;
    display: none;
    border: 1px solid var(--border);
}

.autocomplete-dropdown.open { display: block; }

.autocomplete-item {
    padding: 11px 16px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #f1f5f9;
    color: var(--primary);
}

.autocomplete-item span { opacity: 0.5; font-size: 0.82rem; }

/* Popular tags */
.hero-popular {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}

.hero-popular span { font-weight: 500; }

.hero-popular a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-popular a:hover { background: rgba(255,255,255,0.22); }

/* legacy search-bar (keep for other pages) */
.search-bar {
    display: flex;
    max-width: 580px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-bar input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
}

.search-bar input::placeholder { color: var(--text-muted); }

.search-bar button {
    background: var(--accent);
    color: #14141c;
    border: none;
    padding: 16px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    white-space: nowrap;
    border-radius: 0;
    margin: 0;
}

.search-bar button:hover { background: var(--accent-dark); }

/* ── Trust bar ── */
.trust-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
}

.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-item span.icon,
.cat-bark-icon,
.cat-card-icon {
    width: 24px;
    height: 24px;
    color: #E8A317;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
}

.trust-item span.icon svg,
.cat-bark-icon svg,
.cat-card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* ── How it works ── */
.features {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.features .section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 52px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.step-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #14141c;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ── Categories section ── */
.categories {
    background: #F5F7FA;
    padding: 60px 0 50px;
    overflow: hidden;
}

.categories-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px 40px;
}

.categories h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A2332;
    margin-bottom: 8px;
}

.section-subtitle-light {
    color: #64748B;
    font-size: 0.95rem;
    margin-bottom: 36px;
}

/* ── Bark-style category grid ── */
.cat-grid-bark {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    text-align: left;
}

.cat-bark-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(26, 35, 50, 0.08);
    transition: background 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.cat-bark-card:hover {
    background: #fff;
    border-color: rgba(232,163,23,0.6);
    box-shadow: 0 5px 14px rgba(26, 35, 50, 0.12);
    transform: translateY(-2px);
}

.secondary-category {
    display: none;
}

.categories-expanded .cat-bark-card.secondary-category {
    display: flex;
}

.categories-expanded .cat-card.secondary-category {
    display: block;
}

.view-all-categories {
    display: inline-block;
    margin-top: 28px;
    color: #1A2332;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.view-all-categories:hover {
    color: var(--accent-dark);
}

.cat-bark-icon {
    line-height: 1;
    margin-bottom: 6px;
}

.cat-bark-name {
    color: #1A2332;
    font-size: 0.92rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.cat-bark-sub {
    color: #64748B;
    font-size: 0.78rem;
    display: block;
    line-height: 1.3;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 8px 0 16px;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.cat-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.cat-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cat-card {
    flex: 0 0 260px;
    height: 340px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0.72) 100%
    );
    border-radius: 16px;
}

.cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.cat-card-icon {
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.cat-card-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    letter-spacing: 0.01em;
}


/* ── Post a Job ── */
.post-job {
    padding: 80px 24px;
}

.post-job-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.post-job-inner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.post-job-inner .section-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.card-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232,163,23,0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #14141c;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,163,23,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
}

/* ── Listings page ── */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 48px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-hero p {
    opacity: 0.8;
    font-size: 1rem;
}

.filters-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    position: sticky;
    top: 68px;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.filter-row {
    display: flex;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
}

.filter-row input,
.filter-row select {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: white;
    outline: none;
    transition: border-color 0.2s;
}

.filter-row input:focus,
.filter-row select:focus {
    border-color: var(--accent);
}

.filter-row input {
    flex: 1;
    min-width: 180px;
}

.listings-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.listing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.listing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pro-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.pro-main h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.pro-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(232,163,23,0.1);
    color: var(--accent-dark);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.pro-services {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pro-services strong {
    color: var(--text);
    font-weight: 600;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: #f59e0b;
    font-size: 0.9rem;
}

.rating-num {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.rating-count {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.price-tag {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

/* ── For Pros page ── */
.pros-page {
    padding: 80px 24px;
}

.pros-page-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pros-page-inner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pros-page-inner > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 56px;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    text-align: left;
}

.pricing-single {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
}

.plan {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.plan:hover {
    box-shadow: var(--shadow-md);
}

.plan.featured {
    border-color: var(--accent);
    position: relative;
    box-shadow: 0 0 0 4px rgba(232,163,23,0.1), var(--shadow-md);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #14141c;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.plan ul {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    flex: 1;
}

.plan ul li {
    font-size: 0.9rem;
    color: var(--text);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.plan ul li:last-child {
    border-bottom: none;
}

.plan ul li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-group-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 48px 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-group-label:first-of-type {
    margin-top: 8px;
}

.pros-page-inner > p.pricing-group-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.plan-perlead {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.plan-perlead span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-perlead .plan-save {
    background: #e7f8ee;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 12px;
}

.trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #f4c04a, #cf8d0a);
    color: #14141c;
    border-radius: var(--radius);
    padding: 22px 28px;
    margin: 8px 0 24px;
    text-align: left;
}

.trial-banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trial-banner-text strong {
    font-size: 1.15rem;
    font-weight: 800;
}

.trial-banner-text span {
    font-size: 0.9rem;
    color: #4a3500;
}

.trial-banner .btn {
    background: #14141c;
    color: #fff;
    border: none;
    white-space: nowrap;
}

.trial-banner .btn:hover {
    background: #000;
}

/* ── Claim listing modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 36px;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.modal-close:hover { color: var(--text); background: var(--border); }

.modal-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.modal-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .modal-box { padding: 28px 20px; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    transition: border-color 0.15s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232,163,23,0.15);
}

.claim-form-error {
    font-size: 0.85rem;
    color: #dc2626;
    min-height: 20px;
    margin-bottom: 12px;
}

.biz-search-wrap {
    position: relative;
}

.biz-results-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #fff;
    border: 1.5px solid var(--accent);
    border-radius: 10px;
    list-style: none;
    margin: 0; padding: 4px 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 240px;
    overflow-y: auto;
}

.biz-result-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.biz-result-item:last-child { border-bottom: none; }

.biz-result-item strong { color: var(--text); font-size: 0.92rem; }
.biz-result-item span   { color: var(--text-muted); font-size: 0.8rem; }

.biz-result-item:hover { background: #fffbf0; }
.biz-result-loading,
.biz-result-empty { cursor: default; color: var(--text-muted); font-size: 0.85rem; }
.biz-result-loading:hover,
.biz-result-empty:hover { background: transparent; }

.selected-biz-card {
    margin-top: 8px;
    padding: 10px 14px;
    background: #f0faf4;
    border: 1.5px solid #22c55e;
    border-radius: 8px;
}

.selected-biz-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-biz-check { font-size: 1.2rem; flex-shrink: 0; }

.selected-biz-info > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.88rem;
}

.selected-biz-info strong { color: var(--text); }
.selected-biz-info span   { color: var(--text-muted); font-size: 0.8rem; }

.change-biz-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
}

.change-biz-btn:hover { border-color: var(--text-muted); color: var(--text); }

/* Neutral on purpose: a submitted claim is unverified, so it must not borrow
   the green "verified" treatment until an approval workflow exists. */
.claim-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid #cbd5e1;
}

/* ── Admin page ── */
.admin-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
}

.admin-page h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.admin-page .subtitle {
    color: var(--text-muted);
    margin-bottom: 36px;
}

.admin-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.admin-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

#admin-pros ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#admin-pros ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#admin-pros ul li:last-child {
    border-bottom: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Footer ── */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 48px 24px 28px;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.footer-brand .logo-img {
    height: 30px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    max-width: 240px;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
}

/* ── Repair guides ── */
.guide-page main { min-height: 65vh; }
.guide-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.guide-kicker { display: inline-block; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; padding: 26px 0 6px; color: var(--text-muted); font-size: .82rem; white-space: nowrap; overflow: hidden; }
.breadcrumbs a { color: #475569; text-decoration: none; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.guide-hero { position: static; z-index: auto; max-width: 850px; padding: 48px 0 34px; background: transparent; box-shadow: none; }
.guide-hero .guide-icon, .guide-card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; color: #1f2937; background: #f8d98f; }
.guide-hero .guide-icon svg { width: 25px; height: 25px; }
.guide-hero h1 { max-width: 820px; margin: 10px 0 18px; font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.03; letter-spacing: -.045em; }
.guide-deck { max-width: 760px; color: #4b5563; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; }
.guide-updated { margin-top: 22px; color: #7c8190; font-size: .82rem; }
.guide-summary { margin-bottom: 48px; padding: 28px 32px; border: 1px solid #dbe4ec; border-left: 5px solid var(--accent); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.guide-summary h2 { margin-bottom: 12px; font-size: 1.15rem; }
.guide-summary ul { padding-left: 20px; }
.guide-summary li { margin: 7px 0; color: #374151; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 64px; align-items: start; }
.guide-section { margin-bottom: 52px; }
.guide-section h2 { margin-bottom: 17px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; }
.guide-section p { margin-bottom: 16px; color: #3f4652; font-size: 1rem; line-height: 1.82; }
.guide-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; list-style: none; }
.guide-checklist li { display: flex; gap: 9px; align-items: center; padding: 13px 15px; border: 1px solid var(--border); border-radius: 9px; background: #fff; font-size: .9rem; }
.guide-checklist svg { width: 17px; color: #15803d; }
.guide-content { min-width: 0; }
.guide-table-wrap { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.guide-table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.guide-table-wrap th, .guide-table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: .88rem; }
.guide-table-wrap th { background: #f1f5f9; color: #334155; font-weight: 700; }
.guide-table-wrap tr:last-child td { border-bottom: 0; }
.guide-side { position: sticky; top: 96px; }
.guide-side-card { padding: 25px; border-radius: 16px; color: #fff; background: #092133; box-shadow: var(--shadow-md); }
.guide-side-card .guide-kicker { color: #f5c969; }
.guide-side-card h2 { margin: 8px 0 10px; font-size: 1.35rem; }
.guide-side-card p { margin-bottom: 20px; color: rgba(255,255,255,.75); font-size: .88rem; }
.guide-questions ol { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: questions; }
.guide-questions li { position: relative; padding: 15px 16px 15px 52px; border-radius: 9px; background: #fff; border: 1px solid var(--border); counter-increment: questions; }
.guide-questions li::before { content: counter(questions); position: absolute; left: 15px; top: 13px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #f8d98f; font-size: .75rem; font-weight: 800; }
.anecdote-note { margin: 0 0 44px; padding: 20px 22px; border-radius: 10px; background: #fff8e8; color: #5f4b1c; font-size: .9rem; line-height: 1.7; }
.guide-sources { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--border); }
.guide-sources h2 { margin-bottom: 17px; font-size: 1.35rem; }
.guide-sources ol { padding-left: 22px; }
.guide-sources li { margin-bottom: 15px; padding-left: 5px; }
.guide-sources a { color: #164e79; font-weight: 650; }
.guide-sources span { display: block; margin-top: 2px; color: var(--text-muted); font-size: .82rem; }
.guide-sources > p { margin-top: 20px; color: var(--text-muted); font-size: .8rem; }
.guide-request { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; margin: 76px 0; padding: 44px; border-radius: 20px; background: #eaf1f5; }
.guide-request-copy h2 { margin: 8px 0 12px; font-size: 2rem; line-height: 1.15; }
.guide-request-copy p { color: #5b6470; }
.guide-form { padding: 26px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.guide-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-form label { display: grid; gap: 6px; margin-bottom: 14px; color: #374151; font-size: .8rem; font-weight: 700; }
.guide-form input, .guide-form textarea, .guide-form select { width: 100%; padding: 12px 13px; border: 1px solid #d8dde6; border-radius: 8px; background: #fff; color: var(--text); font: inherit; font-weight: 400; }
.guide-form textarea { min-height: 108px; resize: vertical; }
.guide-form input:focus, .guide-form textarea:focus, .guide-form select:focus { outline: 3px solid rgba(232,163,23,.2); border-color: var(--accent); }
.guide-form-note { margin-top: 10px; color: var(--text-muted); font-size: .75rem; }

/* ── Early CTA, FAQ, nearby links, short form ── */
.guide-hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 18px; }
.guide-hero-cta span { color: var(--text-muted); font-size: .82rem; }
.guide-hero-cta span a { color: #164e79; font-weight: 650; }
.guides-hub-hero .guide-hero-cta { margin-top: 22px; }
.guides-hub-hero .guide-hero-cta span, .guides-hub-hero .guide-hero-cta span a { color: rgba(255,255,255,.82); }
.guide-side-hub { margin-top: 12px; color: var(--text-muted); font-size: .78rem; text-align: center; }
.guide-side-hub a { color: #164e79; font-weight: 650; }
.guide-faq .faq-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.guide-faq .faq-item:last-child { border-bottom: 0; }
.guide-faq h3 { margin-bottom: 7px; font-size: 1.02rem; letter-spacing: -.01em; }
.guide-faq p { color: #374151; }
.guide-nearby .nearby-links, .hub-link-list { list-style: none; padding: 0; }
.nearby-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; }
.nearby-links a { display: block; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: #164e79; font-size: .84rem; font-weight: 650; text-decoration: none; }
.nearby-links a:hover { border-color: var(--accent); }
.nearby-hub { margin-top: 16px; color: var(--text-muted); font-size: .85rem; }
.hub-link-list { display: grid; gap: 11px; margin-top: 14px; }
.hub-link-list li { padding: 16px 18px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.hub-link-list a { color: #164e79; font-weight: 750; }
.hub-link-list span { display: block; margin-top: 4px; color: var(--text-muted); font-size: .85rem; }
.guide-urgency { margin-bottom: 14px; padding: 0; border: 0; }
.guide-urgency legend { padding: 0; margin-bottom: 6px; color: #374151; font-size: .8rem; font-weight: 700; }
.urgency-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.urgency-options label { display: block; margin: 0; }
.urgency-options input { position: absolute; opacity: 0; width: 0; height: 0; }
.urgency-options span { display: grid; place-items: center; min-height: 46px; padding: 9px 6px; border: 1px solid #d8dde6; border-radius: 8px; background: #fff; font-size: .82rem; font-weight: 650; text-align: center; cursor: pointer; }
.urgency-options input:checked + span { border-color: var(--accent); background: #fdf5e4; box-shadow: inset 0 0 0 1px var(--accent); }
.urgency-options input:focus-visible + span { outline: 3px solid rgba(232,163,23,.35); }
.guide-more { margin-bottom: 16px; border: 1px solid var(--border); border-radius: 9px; background: #fbfcfd; }
.guide-more summary { padding: 13px 15px; color: #164e79; font-size: .83rem; font-weight: 700; cursor: pointer; }
.guide-more[open] summary { border-bottom: 1px solid var(--border); }
.guide-more-inner { padding: 15px 15px 2px; }
.guide-more-inner textarea { min-height: 82px; }
.related-guides { margin: 0 0 82px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.section-heading-row h2 { margin-top: 4px; font-size: 1.8rem; }
.section-heading-row > a { color: #164e79; font-weight: 700; }
.guide-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: flex; flex-direction: column; min-height: 300px; padding: 25px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-card-icon { width: 42px; height: 42px; margin-bottom: 18px; }
.guide-card-icon svg { width: 21px; }
.guide-card > span { color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-card h2 { margin: 8px 0 11px; font-size: 1.2rem; line-height: 1.28; }
.guide-card h2 a { color: var(--text); text-decoration: none; }
.guide-card p { margin-bottom: 20px; color: var(--text-muted); font-size: .86rem; line-height: 1.65; }
.guide-card-link { margin-top: auto; color: #164e79; font-size: .86rem; font-weight: 750; text-decoration: none; }
.guides-hub-hero { padding: 85px 0 80px; color: #fff; background: #092133; }
.guides-hub-hero .guide-kicker { color: #f5c969; }
.guides-hub-hero h1 { max-width: 780px; margin: 12px 0 18px; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.guides-hub-hero p { max-width: 750px; color: rgba(255,255,255,.76); font-size: 1.1rem; }
.guides-hub-content { padding-top: 52px; padding-bottom: 42px; }
.guide-hub-note { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 34px; padding: 20px 23px; border: 1px solid #d5e0e7; border-radius: 12px; background: #fff; }
.guide-hub-note svg { flex: 0 0 auto; color: var(--accent-dark); }
.guide-hub-note p { margin-top: 3px; color: var(--text-muted); font-size: .88rem; }
.guides-hub-content .guide-card-grid { grid-template-columns: repeat(3, 1fr); }
.guide-group + .guide-group { margin-top: 44px; }
.guide-group-head { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #dbe4ea; }
.guide-group-head h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.guide-group-head p { margin-top: 5px; color: var(--text-muted); font-size: .9rem; }
.home-guides { padding: 80px 24px; background: #eef3f6; }
.home-guides-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; max-width: 1120px; margin: 0 auto; align-items: center; }
.home-guides-copy h2 { margin: 8px 0 15px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.home-guides-copy p { margin-bottom: 24px; color: var(--text-muted); }
.home-guides-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-guides-links a { position: relative; display: flex; flex-direction: column; padding: 20px 46px 20px 20px; border: 1px solid #dbe2e8; border-radius: 11px; background: #fff; color: var(--text); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); }
.home-guides-links a span { margin-bottom: 5px; color: var(--accent-dark); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.home-guides-links a svg { position: absolute; right: 18px; top: calc(50% - 9px); width: 18px; color: #64748b; }

@media (max-width: 850px) {
    /* minmax(0,1fr) not 1fr: the implicit auto minimum lets wide tables stretch the page */
    .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .guide-side { position: static; margin-bottom: 48px; }
    .guide-request, .home-guides-inner { grid-template-columns: 1fr; gap: 30px; }
    .guide-card-grid, .guides-hub-content .guide-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    nav { height: auto; min-height: 64px; padding: 10px 14px; }
    nav .logo-img { height: 30px; }
    nav ul { gap: 0; }
    nav ul a { padding: 7px 6px; font-size: .73rem; }
    .guide-shell { width: min(100% - 28px, 1120px); }
    .guide-hero { padding-top: 34px; }
    .guide-hero h1 { font-size: 2.35rem; }
    .guide-summary { padding: 22px; }
    .guide-checklist, .guide-form-grid, .guide-card-grid, .guides-hub-content .guide-card-grid, .home-guides-links { grid-template-columns: 1fr; }
    .guide-request { margin: 54px -2px; padding: 25px 18px; }
    .guide-form { padding: 18px; }
    .nearby-links { grid-template-columns: 1fr 1fr; }
    /* Any control under 16px makes iOS Safari zoom the page on focus.
       Specificity has to match .form-group input / .location-search-bar input. */
    input, select, textarea,
    input.form-control, select.form-control, textarea.form-control,
    .form-group input, .form-group select, .form-group textarea,
    .location-search-bar input, .filters-bar input, .filters-bar select { font-size: 16px; }
    input.form-control, textarea.form-control { padding: 13px 15px; }
    /* flex children default to min-width:auto, so a nowrap button pushes the bar wider than the screen */
    .location-search-bar { flex-wrap: wrap; }
    .location-search-bar input { min-width: 0; flex: 1 1 100%; }
    .location-search-bar button { flex: 1 1 100%; min-height: 46px; }
    .filters-toggle { min-height: 44px; }
    iframe, img, video { max-width: 100%; }
    .guide-hero-cta { gap: 10px; }
    .guide-hero-cta .btn { width: 100%; text-align: center; }
    /* 16px inputs stop iOS Safari from zooming on focus */
    .guide-form input, .guide-form textarea, .guide-form select { padding: 13px; font-size: 16px; }
    .urgency-options { grid-template-columns: 1fr; }
    .urgency-options span { min-height: 48px; }
    .guide-more summary { padding: 15px; }
    .guides-hub-hero { padding: 60px 0; }
    .guides-hub-hero h1 { font-size: 2.65rem; }
    .section-heading-row { align-items: flex-start; flex-direction: column; }
}

/* ── Google Maps attribution ── */
.google-maps-attribution {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 42px;
    padding: 4px 12px;
    color: #5e5e5e;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    line-height: 1.4;
}

.google-maps-logo-clearspace {
    display: inline-flex;
    align-items: center;
    padding: 10px 10px 5px;
}

.google-maps-logo-clearspace img {
    display: block;
    width: auto;
    height: 18px;
}

.google-maps-attribution-compact {
    justify-content: flex-start;
    min-height: 38px;
    margin-top: 8px;
    padding: 2px 8px;
}

/* ── Legal pages ── */
.legal-page {
    padding: 64px 24px 24px;
    background: #fff;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-document h1 {
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.legal-effective-date {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 42px;
}

.legal-document h2 {
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 40px 0 14px;
}

.legal-document h3 {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.5;
    margin: 24px 0 8px;
}

.legal-document p,
.legal-document li {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-document p {
    margin-bottom: 14px;
}

.legal-document ul {
    margin: 0 0 20px;
    padding-left: 24px;
}

.legal-document li + li {
    margin-top: 7px;
}

.legal-document a {
    color: #9a6500;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-document a:hover {
    color: var(--accent-dark);
}

/* ── Success/Cancel Banner ── */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-warning {
    background: #fdf6e6;
    color: #7a5500;
    border: 1px solid #f1dfa6;
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

/* ── Featured pro cards ── */
.featured-card {
    border: 2px solid #e8a317;
    background: linear-gradient(135deg, #fdf6e6 0%, #ffffff 60%);
    box-shadow: 0 4px 20px rgba(232,163,23,0.15);
    position: relative;
}

.featured-card:hover {
    box-shadow: 0 8px 32px rgba(232,163,23,0.25);
}

.featured-pro-badge {
    display: inline-block;
    background: linear-gradient(90deg, #f4c04a, #cf8d0a);
    color: #14141c;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 4px;
    border-bottom: 2px solid #e8a317;
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #7a5500;
}

.featured-upgrade-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    background: rgba(232,163,23,0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(232,163,23,0.25);
    transition: background 0.2s;
}

.featured-upgrade-link:hover {
    background: rgba(232,163,23,0.15);
}

.results-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.results-divider::before,
.results-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Loading spinner ── */
.loading-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Live results ── */
.live-badge {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.live-card {
    border-left: 3px solid #22c55e;
}

.contact-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ── Location search bar (listings page) ── */
.location-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.location-change-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.location-change-btn:hover {
    color: var(--accent-dark);
}

.location-search-bar {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 0;
    gap: 0;
    background: white;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.location-search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
}

.location-search-bar button {
    background: var(--accent);
    color: #14141c;
    border: none;
    padding: 12px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    border-radius: 0;
    margin: 0;
    transition: background 0.2s;
}

.location-search-bar button:hover {
    background: var(--accent-dark);
}

.filters-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 24px;
}

.filters-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 0;
    border: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.filters-toggle-copy {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.filters-toggle-title {
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.filters-toggle-location {
    display: none;
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filters-toggle-chevron {
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(225deg);
    transition: transform 0.2s ease;
}

.filters-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filters-bar.is-collapsed {
    padding: 14px 24px;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    pointer-events: none;
}

.filters-bar.is-collapsed .filters-bar-inner {
    align-items: center;
    padding: 0;
}

.filters-bar.is-collapsed .filters-panel {
    display: none;
}

.filters-bar.is-collapsed .filters-toggle {
    width: auto;
    max-width: min(90vw, 560px);
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.15);
    pointer-events: auto;
}

.filters-bar.is-collapsed .filters-toggle-location {
    display: inline;
}

.filters-bar.is-collapsed .filters-toggle-chevron {
    transform: rotate(45deg);
}

/* ── For Pros: Featured preview mockup ── */
.featured-preview-section {
    margin-top: 56px;
    text-align: center;
}

.featured-preview-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.featured-preview-section > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.featured-preview-mock {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.mock-search-bar {
    background: white;
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.mock-results { display: flex; flex-direction: column; gap: 10px; }

.mock-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #7a5500;
    border-bottom: 2px solid #e8a317;
    padding-bottom: 6px;
}

.mock-upgrade-tag {
    background: #e8a317;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.mock-card {
    background: white;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mock-card-featured {
    border: 2px solid #e8a317;
    background: linear-gradient(135deg, #fdf6e6 0%, #ffffff 60%);
    box-shadow: 0 4px 12px rgba(232,163,23,0.15);
}

.mock-card-regular { border: 1px solid var(--border); }

.mock-blurred { pointer-events: none; }

.mock-card-left { display: flex; align-items: center; gap: 12px; }

.mock-avatar {
    width: 40px; height: 40px;
    background: var(--bg);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.mock-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.mock-verified { font-size: 0.75rem; color: #22c55e; font-weight: 700; }
.mock-loc { font-size: 0.78rem; color: var(--text-muted); margin: 2px 0; }
.mock-stars { font-size: 0.78rem; color: #f59e0b; }
.mock-stars span { color: var(--text-muted); }

.mock-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }

.mock-featured-badge {
    background: linear-gradient(90deg, #f4c04a, #cf8d0a);
    color: #14141c;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.mock-btn {
    background: var(--accent);
    color: #14141c;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
}

.mock-divider {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 4px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ── Why join section ── */
.why-join-grid {
    margin-top: 48px;
    padding: 36px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: left;
}

.why-join-grid h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.why-join-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.why-card { display: flex; flex-direction: column; gap: 6px; }
.why-icon { font-size: 1.8rem; }
.why-card strong { font-size: 0.95rem; color: var(--text); }
.why-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .cat-grid-bark {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 12px 16px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    nav ul a {
        white-space: nowrap;
        padding: 7px 12px;
        font-size: 0.85rem;
    }

    .hero {
        background: #092133;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.22fr) minmax(150px, 0.78fr);
        min-height: 350px;
    }

    .hero-content {
        justify-content: flex-start;
        padding: 28px 12px 24px 20px;
    }

    .hero h1 {
        font-size: clamp(1.35rem, 5vw, 2rem);
        margin-bottom: 8px;
    }

    .hero-content > p {
        max-width: 290px;
        margin-bottom: 14px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .hero-visual {
        min-height: 350px;
    }

    .hero-visual::before {
        background: linear-gradient(90deg, #092133 0%, rgba(9, 33, 51, 0.2) 32%, transparent 68%);
    }

    .hero-visual img {
        object-position: 63% center;
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-sm);
        overflow: hidden;
        margin-bottom: 0;
    }

    .hero-search-field:first-child {
        border-radius: 0;
    }

    .hero-search-btn {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        padding: 11px 16px;
        font-size: 0.85rem;
    }

    .hero-search-divider {
        width: 100%;
        height: 1px;
        margin: 0 16px;
    }

    .hero-search-field {
        gap: 8px;
        padding: 8px 10px;
    }

    .field-icon {
        font-size: 1rem;
    }

    .field-wrap label {
        display: none;
    }

    .field-wrap input {
        font-size: 0.76rem;
        padding: 2px 0;
    }

    .hero-popular {
        display: none;
    }

    .cat-grid-bark {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-sm);
    }

    .search-bar button {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
    }

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

    .footer-top {
        flex-direction: column;
        gap: 28px;
    }

    .google-maps-attribution {
        justify-content: center;
    }

    .legal-page {
        padding: 40px 20px 8px;
    }

    .legal-effective-date {
        margin-bottom: 32px;
    }

    .legal-document h2 {
        margin-top: 32px;
    }

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

    .pricing {
        grid-template-columns: 1fr;
    }

    .trust-bar-inner {
        gap: 20px;
    }
}

/* ── Job context banner (Post a Job → regional pros) ── */
.job-banner {
    background: linear-gradient(135deg, #fdf6e6 0%, #ffffff 60%);
    border: 1px solid #f1dfa6;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.job-banner-tag {
    display: inline-block;
    background: var(--accent);
    color: #14141c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.job-banner-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.job-banner-desc {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0 0 8px;
    line-height: 1.5;
}

.job-banner-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Mobile input sizing (must stay last: overrides earlier breakpoints) ──
   iOS Safari zooms the viewport whenever a focused control is under 16px. */
@media (max-width: 768px) {
    .field-wrap input,
    .location-search-bar input,
    .form-group input, .form-group select, .form-group textarea,
    input.form-control, select.form-control, textarea.form-control,
    .guide-form input, .guide-form select, .guide-form textarea { font-size: 16px; }
    .hero-search-field { padding: 11px 14px; }
    .hero-search-btn { min-height: 48px; font-size: 0.95rem; }
    .location-search-bar button { min-height: 48px; }
}

/* ── Vendor profiles, onboarding form, preview, and staff queue ─────────────── */

/* Status badge tones. The verified treatment is reserved for businesses the
   platform has actually verified — nothing earlier may look like proof. */
.claim-status-neutral  { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.claim-status-progress { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.claim-status-owner    { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.claim-status-verified { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.claim-status-warning  { background: #fffbeb; color: #b45309; border-color: #fde68a; }

.pro-profile-link {
    display: inline-block;
    margin: 4px 0 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-dark);
}

/* ── Public profile page ──────────────────────────────────────────────────── */
.vendor-hero { background: var(--primary); color: #fff; padding: 48px 20px 40px; }
.vendor-hero-inner { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.vendor-logo { border-radius: var(--radius); background: #fff; padding: 8px; object-fit: contain; }
.vendor-hero-copy { flex: 1 1 320px; }
.vendor-hero-copy h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 8px 0; }
.vendor-hero-location { color: #c9c9d6; font-size: 1.05rem; }
.vendor-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.vendor-chip {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 12px; border-radius: 99px; font-size: 0.82rem;
}
.vendor-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.vendor-badge {
    display: inline-block; padding: 4px 12px; border-radius: 99px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; border: 1px solid transparent;
}
.vendor-badge-neutral  { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.vendor-badge-progress { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.vendor-badge-owner    { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.vendor-badge-verified { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.vendor-badge-warning  { background: #fffbeb; color: #b45309; border-color: #fde68a; }

.vendor-body { padding: 36px 20px 60px; }
.vendor-section { margin-bottom: 34px; }
.vendor-section h2 { font-size: 1.35rem; margin-bottom: 12px; }
.vendor-section p { margin-bottom: 12px; line-height: 1.65; }
.vendor-section ul { margin: 0 0 12px 20px; line-height: 1.7; }
.vendor-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px; margin-bottom: 34px;
}
.vendor-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
.vendor-problems { display: grid; gap: 16px; }
.vendor-problem {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 18px;
}
.vendor-problem h3 { font-size: 1.02rem; margin-bottom: 6px; }
.vendor-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vendor-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.vendor-facts dd { font-weight: 600; margin-top: 2px; }
.vendor-hours, .vendor-credentials {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; max-width: 460px;
}
.vendor-hours-row, .vendor-cred-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.vendor-hours-row:last-child { border-bottom: none; }
.vendor-cred-row span:first-child { color: var(--text-muted); }
.vendor-cred-note, .vendor-disclosure p {
    font-size: 0.85rem; color: var(--text-muted); padding: 12px 16px; line-height: 1.6;
}
.vendor-disclosure {
    background: #fffbeb; border: 1px solid #fde68a;
    border-radius: var(--radius); padding: 4px 0;
}
.vendor-faqs details {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px;
}
.vendor-faqs summary { font-weight: 600; cursor: pointer; }
.vendor-faqs p { margin-top: 10px; }

/* ── Forms: onboarding, recovery, preview, staff ──────────────────────────── */
.vendor-form-page { padding: 32px 20px 64px; }
.vendor-form-shell { max-width: 780px; margin: 0 auto; }
.vendor-form-narrow { max-width: 520px; }

.vendor-steps {
    display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
    padding: 0; margin-bottom: 20px;
}
.vendor-steps button {
    background: var(--card-bg); border: 1px solid var(--border); color: var(--text-muted);
    border-radius: 99px; padding: 6px 14px; font-size: 0.82rem; cursor: pointer; font-weight: 600;
}
.vendor-steps button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.vendor-steps button.done { border-color: var(--accent); color: var(--accent-dark); }

.vendor-step {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 18px;
}
.vendor-step legend { font-size: 1.25rem; font-weight: 700; padding: 0 6px; }
.vendor-form-shell label { display: block; margin: 14px 0; font-weight: 600; font-size: 0.92rem; }
.vendor-form-shell label.inline {
    display: flex; align-items: flex-start; gap: 8px;
    font-weight: 500; line-height: 1.5;
}
.vendor-form-shell label.inline input { width: auto; margin-top: 3px; }
.vendor-form-shell input, .vendor-form-shell select, .vendor-form-shell textarea {
    display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 16px; background: #fff; color: var(--text);
}
.vendor-form-shell textarea { resize: vertical; line-height: 1.55; }
.vendor-form-shell input[type="checkbox"], .vendor-form-shell input[type="radio"] { display: inline-block; }
.vendor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vendor-label { font-weight: 600; font-size: 0.92rem; margin-top: 18px; }
.vendor-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 10px; }
.vendor-radios { display: grid; gap: 8px; margin-top: 10px; }
.vendor-hours-grid { display: grid; gap: 10px; margin-top: 10px; }
.vendor-hours-day {
    display: grid; grid-template-columns: 90px 1fr 1fr auto;
    gap: 8px; align-items: center;
}
.vendor-hours-day > span { font-size: 0.85rem; font-weight: 600; }
.vendor-hours-day input[type="time"] { margin-top: 0; }

.req { color: #dc2626; }
.hint { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.vendor-note { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 10px 0; }
.vendor-warning {
    background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
    border-radius: var(--radius-sm); padding: 12px 14px;
}
.vendor-counter { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.vendor-counter.ok { color: #047857; }
.vendor-save-note { font-size: 0.8rem; color: var(--text-muted); min-height: 18px; margin-bottom: 8px; }
.vendor-error {
    background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
    border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0;
    font-size: 0.9rem; line-height: 1.6;
}
.vendor-error ul { margin: 8px 0 0 20px; }
.vendor-success {
    background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
    border-radius: var(--radius-sm); padding: 14px 16px; line-height: 1.6;
}
.vendor-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

.vendor-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.vendor-thumb {
    width: 130px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    overflow: hidden; background: var(--card-bg); margin: 0;
}
.vendor-thumb img { width: 100%; height: 90px; object-fit: cover; display: block; }
.vendor-thumb figcaption {
    font-size: 0.72rem; padding: 4px 6px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vendor-thumb button {
    width: 100%; border: none; border-top: 1px solid var(--border);
    background: #fff; padding: 5px; font-size: 0.72rem; cursor: pointer; color: #991b1b;
}

/* ── Preview and approval ─────────────────────────────────────────────────── */
.vendor-drafting { text-align: center; padding: 60px 20px; }
.vendor-drafting code { word-break: break-all; font-size: 0.8rem; }
.vendor-edit-section {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px;
}
.vendor-edit-section.flagged { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(252,165,165,0.2); }
.vendor-edit-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.vendor-edit-head h3 { font-size: 1.05rem; margin-right: auto; }
.vendor-ai-tag {
    background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe;
    font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 99px;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.vendor-own-tag {
    background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1;
    font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 99px;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.btn-small { padding: 5px 12px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.vendor-pair {
    border-left: 3px solid var(--border); padding-left: 12px; margin-bottom: 14px;
}
.vendor-flags {
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
}
.vendor-flags h3 { color: #991b1b; font-size: 1.05rem; margin-bottom: 8px; }
.vendor-flags ul { margin: 10px 0 0 20px; line-height: 1.7; font-size: 0.9rem; }
.vendor-fields {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px;
}
.vendor-fields summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.vendor-fields h4 { margin-top: 20px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.vendor-fields select { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; }
.vendor-inline { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; }
.vendor-inline input[type="checkbox"] { width: auto; margin: 0; flex: none; }
.vendor-hours-edit { display: grid; gap: 8px; margin-top: 8px; }
.vendor-hours-edit-row {
    display: grid; grid-template-columns: 110px auto 1fr 1fr; gap: 10px; align-items: center;
}
.vendor-hours-edit-row > span { font-weight: 600; font-size: 0.92rem; }
.vendor-hours-edit-row .vendor-inline { margin-top: 0; white-space: nowrap; font-weight: 400; }
.vendor-hours-edit-row input[type="time"] { margin-top: 0; padding: 8px; border: 1px solid var(--border); border-radius: 8px; font: inherit; min-width: 0; }
@media (max-width: 640px) {
    .vendor-hours-edit-row { grid-template-columns: 1fr 1fr; }
    .vendor-hours-edit-row > span { grid-column: 1 / -1; }
    .vendor-hours-edit-row .vendor-inline { grid-column: 1 / -1; }
}
.vendor-approve {
    background: var(--card-bg); border: 2px solid var(--primary);
    border-radius: var(--radius); padding: 22px; margin-top: 24px;
}
.vendor-approve h3 { font-size: 1.2rem; margin-bottom: 10px; }
.vendor-live { border-color: #047857; background: #ecfdf5; }
.vendor-share { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.vendor-share input { flex: 1 1 240px; margin-top: 0; }

/* ── Staff queue ──────────────────────────────────────────────────────────── */
.staff-shell { max-width: 960px; }
.staff-shell h2 { margin: 28px 0 12px; }
.staff-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
}
.staff-card header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.staff-card h3 { font-size: 1.1rem; margin-right: auto; }
.staff-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.staff-meta dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.staff-meta dd { font-size: 0.9rem; word-break: break-word; }
.staff-missing { margin: 10px 0 0 20px; font-size: 0.85rem; color: #991b1b; }
.staff-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.staff-actions select, .staff-actions button {
    padding: 7px 12px; font-size: 0.85rem; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: #fff; cursor: pointer; margin: 0; width: auto;
}
.staff-actions button:hover { background: var(--bg); }
.staff-output { margin-top: 12px; font-size: 0.88rem; }
.staff-audit { margin: 0 0 0 20px; font-size: 0.82rem; line-height: 1.7; }
.staff-audit pre { white-space: pre-wrap; word-break: break-all; color: var(--text-muted); font-size: 0.78rem; }

@media (max-width: 640px) {
    /* Step chips are the primary way through a long form on a phone, so they
       need a real tap target rather than a 29px pill. */
    .vendor-steps { gap: 8px; }
    .vendor-steps button { min-height: 40px; padding: 8px 15px; font-size: 0.88rem; }
    .vendor-row { grid-template-columns: 1fr; }
    .vendor-hours-day { grid-template-columns: 1fr 1fr; }
    .vendor-hours-day > span { grid-column: 1 / -1; }
    .vendor-checks { grid-template-columns: 1fr; }
    .vendor-step { padding: 18px 16px; }
    .vendor-hero { padding: 32px 16px; }
    .vendor-gallery { grid-template-columns: 1fr 1fr; }
    .vendor-gallery img { height: 130px; }
    .vendor-nav button { flex: 1; min-height: 48px; }
    .staff-actions { flex-direction: column; align-items: stretch; }
    .staff-actions select, .staff-actions button { width: 100%; min-height: 44px; }
}

/* Profile directory index */
.vendor-index-list { list-style: none; margin: 0; padding: 0; }
.vendor-index-list li {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 12px 0; border-bottom: 1px solid var(--border);
}
.vendor-index-list a { font-weight: 600; }
.vendor-index-cats { color: var(--text-muted); font-size: 0.85rem; }

/* Onboarding cross-sell on the claim page */
.pros-alt-cta {
    background: var(--card-bg); border: 2px solid var(--accent);
    border-radius: var(--radius); padding: 22px 24px; margin: 24px 0;
}
.pros-alt-cta h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pros-alt-cta p { line-height: 1.65; margin-bottom: 14px; }
.pros-alt-note { font-size: 0.88rem; margin: 12px 0 0; }

/* ── Added Sep 2026: city pages, homepage additions, 404 ── */
.home-cities { padding: 72px 24px; background: #fff; }
.home-cities-inner { max-width: 1120px; margin: 0 auto; }
.home-cities .section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.home-cities .section-subtitle { margin: 6px 0 0; text-align: left; max-width: 60ch; }
.home-city-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.home-city-grid a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-weight: 600; text-decoration: none; min-height: 44px; transition: border-color .15s, transform .15s; }
.home-city-grid a span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--accent-dark); }
.home-city-grid a:hover, .home-city-grid a:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.home-faq { padding: 64px 24px 80px; background: var(--bg); }
.home-faq-inner { max-width: 760px; margin: 0 auto; }
.home-faq h2 { font-size: 1.9rem; margin-bottom: 24px; }
.home-faq .faq-item { padding: 18px 0; border-top: 1px solid var(--border); }
.home-faq .faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.home-faq .faq-item p { color: var(--text-muted); }
.local-trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 18px; }
.local-trade-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.local-trade-card:hover, .local-trade-card:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.local-trade-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(232,163,23,0.14); color: var(--accent-dark); }
.local-trade-icon svg { width: 22px; height: 22px; }
.local-trade-name { font-weight: 700; }
.local-trade-sub { font-size: .82rem; color: var(--text-muted); }
.local-live { margin-top: 8px; }
.local-live .section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.local-live .listings-grid { min-height: 120px; }
.local-vendors .listings-grid { margin-top: 16px; }
.vendor-listing-card h3 a { color: inherit; text-decoration: none; }
.vendor-listing-card h3 a:hover { text-decoration: underline; }
.local-cta { margin-top: 40px; }
.local-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.local-page .guide-hero { max-width: 900px; }
.local-page .guide-side-card p br { line-height: 1.9; }
.paused-state .btn { margin-top: 12px; }
.not-found-page .guide-hero code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 4px; }
.not-found-search .location-search-bar { display: flex; gap: 10px; max-width: 520px; }
.not-found-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 16px; }
.featured-upgrade-link { font-size: .82rem; font-weight: 600; color: var(--accent-dark); text-decoration: none; }
/* Tap targets: footer links and popular chips */
.footer-links a, .hero-popular a { display: inline-block; padding: 6px 0; min-height: 32px; }
.hero-popular a { padding: 6px 12px; }
@media (max-width: 768px) {
  .home-cities .section-heading-row { flex-direction: column; align-items: flex-start; }
  .local-live .section-heading-row { flex-direction: column; align-items: flex-start; }
  .not-found-search .location-search-bar { flex-direction: column; }
}
.guide-hub-more { margin: 8px 0 40px; color: var(--text-muted); font-size: .95rem; }

/* ── Vendor preview: design picker and plan card ── */
.vendor-design-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0; }
.vendor-design-card { display: block; padding: 14px; border: 2px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; }
.vendor-design-card.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,163,23,.18); }
.vendor-design-card input { margin-right: 8px; }
.vendor-design-card strong { display: block; margin-bottom: 4px; }
.vendor-design-card span { font-size: .85rem; color: var(--text-muted); }
.vendor-design-card .vendor-badge { margin-left: 6px; }
.vendor-accents { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.vendor-accent { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border); cursor: pointer; }
.vendor-accent.selected { box-shadow: 0 0 0 3px var(--text); }
.vendor-plan { padding: 24px; border-radius: 14px; background: linear-gradient(135deg, #14141c, #262633); color: #fff; margin: 20px 0; }
.vendor-plan h3 { color: #fff; margin: 0 0 6px; }
.vendor-plan .vendor-plan-price { font-size: 1.8rem; font-weight: 800; margin: 6px 0 12px; }
.vendor-plan .vendor-plan-price span { font-size: .9rem; font-weight: 500; opacity: .75; }
.vendor-plan ul { margin: 0 0 16px 18px; padding: 0; line-height: 1.7; color: rgba(255,255,255,.88); }
.vendor-plan .vendor-note { color: rgba(255,255,255,.7); }
.vendor-plan-active { background: linear-gradient(135deg, #1c3d2a, #2f7a4a); }
.vendor-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.staff-leads .staff-card p { margin: 6px 0; white-space: pre-wrap; }

/* /claim: postcard code entry */
.claim-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 20px 0 12px; }
.claim-form .vendor-label { flex-basis: 100%; }
.claim-form input { font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.35rem; letter-spacing: .12em; text-transform: uppercase; padding: 12px 14px; border: 2px solid #d9d4c7; border-radius: 8px; width: 12ch; }
.claim-form input:focus { outline: 3px solid #e8a317; outline-offset: 2px; border-color: #e8a317; }
.claim-error { color: #9b2c1e; font-weight: 600; }

/* "Add your business" invitation on the homepage hero and city pages */
.hero-pro { margin: 18px 0 0; font-size: .95rem; color: rgba(255,255,255,.82); }
.hero-pro a { color: #f0b429; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.guide-hero-pro { margin: 0 0 8px; font-size: .92rem; color: var(--text-muted); }
.guide-hero-pro a { color: #164e79; font-weight: 650; }
