:root {
    scroll-behavior: smooth;
    --bg: #f8fafc;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #0056b3;
    /* Rich Blue from 'Easy' */
    --primary-dark: #003d80;
    --accent: #ff8c00;
    /* Vibrant Orange from 'Business' */
    --accent-dark: #e67e00;
    --success: #4caf50;
    /* Fresh Green from 'Site' */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8) !important;
}

img.footer-logo {
    height: 100px;
}

.nav-link {
    position: relative;
    color: #475569 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--primary) !important;
}

.hero {
    color: #fff;
    padding: 100px 0 120px;
    background:
        linear-gradient(135deg, rgba(0, 45, 95, 0.94), rgba(0, 86, 179, 0.85)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
    position: relative;
    overflow: hidden;
}

img.header-logo {
    height: 89px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 70px;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-full {
    max-width: 1080px;
    margin-inline: auto;
    text-align: center;
}

.hero-kicker,
.section-kicker {
    display: inline-block;
    color: #dbeafe;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-kicker {
    color: var(--primary);
    margin-bottom: 6px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    line-height: .98;
    font-weight: 900;

    margin: 0 auto 20px;
}

.hero-copy {
    color: rgba(255, 255, 255, .86);
    font-size: 19px;
    max-width: 560px;
    margin: 0 auto 28px;
}

.hero-inline-search {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto 32px;
    background: #fff;
    padding: 8px;
    border-radius: 100px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-field {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.search-field:not(:last-of-type) {
    border-right: 1px solid var(--line);
}

.search-field i {
    color: var(--muted);
    font-size: 18px;
    margin-right: 12px;
}

.hero-inline-search .form-control,
.hero-inline-search .form-select {
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    font-size: 16px;
    color: var(--ink);
    box-shadow: none !important;
}

.hero-inline-search .form-control::placeholder {
    color: var(--muted);
}

.search-btn {
    border-radius: 100px !important;
    padding: 12px 36px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto;
    max-width: 980px;
}

.hero-info-grid div {
    min-height: 118px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.hero-info-grid strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
}

.hero-info-grid span {
    color: rgba(255, 255, 255, .74);
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats div {
    min-width: 130px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
}

.hero-stats strong {
    display: block;
    font-size: 20px;
}

.hero-stats span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.search-panel {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.search-field {
    margin-bottom: 14px;
}

.search-field label {
    color: #334155;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

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

.category-strip {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-weight: 900;
    margin: 0;
}

.chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 10px;
}

.category-chip {
    flex: 0 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #334155;
    font-weight: 750;
    padding: 10px 16px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}

.category-chip:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
}

.category-icon-card {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 158px;
    justify-content: center;
    padding: 18px 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.category-icon-card:hover {
    color: var(--ink);
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.category-icon-mini {
    align-items: center;
    background: #e6f0fa;
    border: 1px solid #cce0f5;
    border-radius: 8px;
    color: var(--primary);
    display: flex;
    font-size: 26px;
    height: 56px;
    justify-content: center;
    margin-bottom: 14px;
    width: 56px;
}

.category-icon-card strong {
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 6px;
}

.category-icon-card em {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.listing-card {
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.listing-media {
    display: block;
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
}

.listing-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.listing-card:hover .listing-img {
    transform: scale(1.035);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.badge-soft {
    background: #e6f0fa;
    color: var(--primary);
    border: 1px solid #cce0f5;
}

.listing-title {
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 6px;
    font-weight: 850;
}

.listing-title a {
    color: var(--ink);
    text-decoration: none;
}

.listing-title a:hover {
    color: var(--primary);
}

.listing-location {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.listing-desc {
    color: #475569;
    font-size: 14px;
    min-height: 42px;
}

.listing-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.empty-state {
    background: var(--surface);
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 44px 24px;
    text-align: center;
}

.empty-state h3 {
    font-weight: 850;
}

.empty-state p {
    color: var(--muted);
}

.page-hero-sm {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 54px 0;
}

.page-hero-sm h1 {
    font-weight: 900;
    margin-bottom: 8px;
}

.page-hero-sm p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
    max-width: 620px;
}

.detail-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 56px 0;
}

.detail-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.detail-hero p {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 760px;
}

.detail-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
    position: sticky;
    top: 92px;
}

.detail-panel h2 {
    font-weight: 850;
}

.detail-panel p {
    color: #475569;
}

.detail-meta {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
}

.detail-meta span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.detail-meta strong {
    color: var(--ink);
}

.review-card {
    position: static;
}

.business-website-hero {
    background:
        linear-gradient(135deg, rgba(0, 64, 133, .9), rgba(0, 86, 179, .84)),
        var(--cover) center/cover;
    color: #fff;
    padding: 92px 0;
}

.business-hero-content {
    max-width: 820px;
}

.business-hero-content h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: .98;
    margin-bottom: 18px;
}

.business-hero-content p {
    color: rgba(255, 255, 255, .86);
    font-size: 21px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.business-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.business-site-body {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.business-info-strip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
}

.business-info-strip div {
    padding: 18px;
}

.business-info-strip span,
.contact-list span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.business-info-strip strong,
.contact-list strong {
    color: var(--ink);
    display: block;
    line-height: 1.35;
}

.business-section-card,
.business-contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    margin-top: 24px;
    padding: 26px;
}

.business-section-card h2,
.business-contact-card h2 {
    font-weight: 900;
    margin-bottom: 14px;
}

.business-section-card p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.service-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

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

.highlight-list div {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    display: flex;
    font-weight: 750;
    gap: 10px;
    padding: 13px 14px;
}

.highlight-list span {
    align-items: center;
    background: #16a34a;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.business-contact-card {
    position: sticky;
    top: 92px;
}

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

.contact-list div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 13px 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.category-tile {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.category-tile:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.category-tile span {
    font-weight: 800;
}

.category-tile strong {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    min-width: 34px;
    padding: 5px 9px;
    text-align: center;
}

.status-payment_pending {
    background: #fef3c7;
    color: #92400e;
}

.status-pending {
    background: #dbeafe;
    color: #1e40af;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-rejected,
.status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.admin-sidebar a {
    color: #334155;
    text-decoration: none;
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: #e6f0fa;
    color: var(--primary);
}

.detail-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.table td,
.table th {
    vertical-align: middle;
}

.card {
    border-color: var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.btn-whatsapp {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    color: #475569;
}

.user-dashboard-body {
    background: #f3f6fb;
}

.user-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.user-sidebar {
    background: #002d5f;
    color: #fff;
    padding: 26px 20px;
}

.user-brand {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 22px;
    font-weight: 900;
    gap: 10px;
    margin-bottom: 34px;
    text-decoration: none;
}

.user-brand:hover {
    color: #fff;
}

.user-nav {
    display: grid;
    gap: 8px;
}

.user-nav a {
    align-items: center;
    border-radius: 8px;
    color: #cbd5e1;
    display: flex;
    font-weight: 750;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
}

.user-nav a:hover,
.user-nav a.active {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.user-main {
    min-width: 0;
}

.user-topbar {
    align-items: center;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 32px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.user-kicker {
    color: var(--primary);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.user-topbar h1 {
    font-size: 26px;
    font-weight: 900;
    margin: 2px 0 0;
}

.user-profile {
    align-items: center;
    display: flex;
    gap: 10px;
}

.user-profile span {
    color: #475569;
    font-weight: 750;
}

.user-profile strong {
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    border-radius: 50%;
    color: #fff;
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.user-content {
    padding: 32px;
}

.dashboard-welcome {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(9, 39, 88, .94), rgba(14, 116, 144, .9)),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1400&q=80") center/cover;
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.dashboard-welcome span {
    color: #bfdbfe;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dashboard-welcome h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 10px;
}

.dashboard-welcome p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
    max-width: 680px;
}

.user-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.user-stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
    padding: 22px;
}

.user-stat-card span {
    color: var(--muted);
    display: block;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.user-stat-card strong {
    display: block;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.user-stat-card em {
    color: #94a3b8;
    font-size: 13px;
    font-style: normal;
}

.user-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
    padding: 24px;
}

.user-panel-header {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.user-panel-header h2 {
    font-weight: 900;
    margin: 0;
}

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

.dashboard-listing-card {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 14px;
}

.dashboard-listing-media img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    width: 96px;
}

.dashboard-listing-info h3 {
    font-size: 19px;
    font-weight: 900;
    margin: 0 0 5px;
}

.dashboard-listing-info p {
    color: var(--muted);
    margin: 0;
}

.dashboard-listing-actions {
    text-align: right;
}

.dashboard-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 44px 22px;
    text-align: center;
}

.dashboard-empty h3 {
    font-weight: 900;
}

.dashboard-empty p {
    color: var(--muted);
}

.listing-landing {
    background:
        radial-gradient(circle at 10% 20%, rgba(15, 107, 255, .16), transparent 28rem),
        linear-gradient(135deg, rgba(9, 39, 88, .96), rgba(14, 116, 144, .92));
    color: #fff;
    padding: 68px 0;
}

.listing-landing-grid {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: .9fr 1.1fr;
}

.listing-landing-copy h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 22px;
}

.listing-landing-copy p {
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 620px;
}

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

.listing-benefits div {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 17px;
}

.listing-benefits strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.listing-benefits span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.listing-form-shell {
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--ink);
    overflow: hidden;
}

.listing-form-header {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    border-bottom: 1px solid var(--line);
    padding: 24px 28px;
}

.listing-form-header span {
    color: var(--primary);
    display: inline-block;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.listing-form-header h2 {
    font-weight: 900;
    margin-bottom: 6px;
}

.listing-form-header p {
    color: var(--muted);
    margin: 0;
}

.listing-form-card {
    padding: 28px;
}

.listing-form-card .form-label {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.listing-submit-row {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
}

.listing-submit-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 54px 0 72px;
    }

    .hero-title {
        font-size: 44px;
    }

    .search-panel {
        padding: 18px;
    }

    .hero-inline-search {
        max-width: 100%;
    }

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

    .navbar-collapse {
        padding-top: 14px;
    }

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

    .business-info-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-contact-card {
        position: static;
    }

    .user-shell {
        grid-template-columns: 1fr;
    }

    .user-sidebar {
        position: static;
    }

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

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

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 44px 0 64px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-stats div {
        min-width: calc(50% - 6px);
    }

    .hero-inline-search {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
    }

    .search-field {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 8px 12px;
    }

    .search-btn {
        width: 100%;
        border-radius: 12px !important;
        margin-top: 8px;
        height: 50px;
    }

    .hero-info-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-strip {
        margin-top: -22px;
    }

    .listing-desc {
        min-height: auto;
    }

    .listing-benefits {
        grid-template-columns: 1fr;
    }

    .listing-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .listing-submit-row .btn {
        width: 100%;
    }

    .business-info-strip {
        grid-template-columns: 1fr;
    }

    .business-website-hero {
        padding: 58px 0;
    }

    .user-content,
    .user-topbar {
        padding: 20px;
    }

    .user-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .user-nav {
        grid-template-columns: 1fr;
    }

    .user-stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-listing-card {
        grid-template-columns: 1fr;
    }

    .dashboard-listing-media img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .dashboard-listing-actions {
        text-align: left;
    }
}

/* Bootstrap Overrides & Brand Colors */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.35);
    filter: brightness(1.1);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-subtle {
    background-color: #eef5ff !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-success,
.bg-success {
    background: linear-gradient(135deg, var(--success), #388e3c) !important;
    border: none !important;
    color: #fff !important;
}

.btn-outline-success {
    color: var(--success) !important;
    border-color: var(--success) !important;
}

.btn-outline-success:hover {
    background-color: var(--success) !important;
    color: #fff !important;
}

.text-success {
    color: var(--success) !important;
}

.featured-badge,
.bg-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
}

.text-accent {
    color: var(--accent) !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.dropdown-item:hover {
    background-color: #eef5ff;
    color: var(--primary);
}

.btn-light {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

.text-primary-emphasis {
    color: var(--primary) !important;
}

footer,
.bg-dark {
    background-color: #001a33 !important;
}

/* --- MOBILE OPTIMIZATION LAYER --- */

@media (max-width: 768px) {
    /* Global Spacing */
    .section-padding {
        padding: 3rem 0;
    }

    /* Navbar Fixes */
    .navbar {
        padding: 0.75rem 0 !important;
    }
    
    img.header-logo {
        height: 60px;
    }
    
    .navbar-collapse {
        background: #fff;
        margin: 0 -15px;
        padding: 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    
    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .nav-link::after {
        display: none;
    }

    /* Hero Refinement */
    .hero {
        padding: 60px 0 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-copy {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    /* Search Bar Mobile Layout */
    .hero-inline-search {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .search-field {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid var(--line);
        padding: 10px 0;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 15px;
        height: 50px;
    }

    /* Cards & Grids */
    .category-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-icon-card {
        min-height: 140px;
        padding: 15px 10px;
    }
    
    .category-icon-mini {
        height: 44px;
        width: 44px;
        font-size: 20px;
    }

    .listing-card .card-body {
        padding: 1.25rem !important;
    }

    /* Footer Mobile Optimization */
    footer {
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
    
    .footer .d-flex {
        justify-content: center;
    }
    
    footer .row > div {
        margin-bottom: 30px;
    }
    
    footer .row > div:last-child {
        margin-bottom: 0;
    }

    /* Typography Adjustments */
    .display-5 {
        font-size: 24px !important;
    }
    
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Category Tile & Grid Mobile Fixes */
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)) !important;
        gap: 12px;
    }
    
    @media (min-width: 576px) {
        .category-grid {
            grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
        }
    }

    .category-tile {
        padding: 12px 15px;
    }

    /* Business Site Body Spacing */
    .business-site-body {
        margin-top: -20px !important;
    }
    
    .business-section-card {
        padding: 20px !important;
    }
    
    .detail-panel, .business-contact-card {
        position: static !important;
        margin-top: 20px;
    }

    /* Listing Image Ratios */
    .listing-img {
        aspect-ratio: 4 / 3;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .category-card-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
}