/* =========================================================================
   LOCAL CHEROKEE - THE CHEROKEE COUNTY OPERATING SYSTEM
   Awwwards Submission Candidate / High-Fidelity UI
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #fcfcfc;
    --bg-secondary: #f3f3f3;
    --text-primary: #121212;
    --text-secondary: #6e6e6e;
    --accent: #E55039;
    /* Punchy high-contrast neon red/orange */
    --accent-dark: #b33929;
    --verified: #000000;
    /* Absolute black for verified/trust badges */

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout Variables */
    --container-max: 1600px;
    --padding-global: 5vw;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #de7777;
    letter-spacing: -0.02em;
}

/* ----------------------------------------------------------------------
   NOISE GRAIN OVERLAY
---------------------------------------------------------------------- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------------- */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--padding-global);
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95) !important; /* Force dark globally */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: white !important;
}

/* ====== MOBILE NAV OVERLAY ====== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 9998; /* Must be below floating CTA (9999) but above everything else */
    background: rgba(15, 15, 35, 0.99);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255,255,255,0.08);
    flex-direction: column;
    padding: 8px 0 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.mobile-nav-overlay.open {
    display: flex;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px var(--padding-global);
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, padding-left 0.2s;
    letter-spacing: 0.01em;
}

.mobile-nav-link i {
    color: rgba(255,255,255,0.5);
    width: 20px;
    text-align: center;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.06);
    padding-left: calc(var(--padding-global) + 6px);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(16px, 4vw, 22px); /* Responsive sizing */
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: white !important;
}

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

.nav-links a {
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.5;
}

.nav-action-btn {
    background: var(--text-primary);
    color: white !important;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 13px !important;
}

.nav-action-btn:hover {
    opacity: 0.8 !important;
}

/* Hamburger menu (hidden on desktop) */
.nav-hamburger {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 5px;
}


/* ----------------------------------------------------------------------
   HERO / BEST CHOICE ENGINE
---------------------------------------------------------------------- */
.engine-hero {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--padding-global);
    position: relative;
    background-color: #0c0c0c;
    color: white;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 30px;
    color: white;
    font-weight: 800;
}

/* The Decision Search Box */
.decision-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 12px 12px 12px 28px;
    width: 100%;
    max-width: 900px;
    transition: background 0.3s, border-color 0.3s;
}

.decision-bar:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-input {
    flex: 2;
    background: transparent;
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 24px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.location-input {
    flex: 1;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 18px;
    padding-left: 20px;
    outline: none;
}

.submit-decision {
    background: var(--accent);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 20px;
}

.submit-decision:hover {
    transform: scale(1.1);
}

.hero-tags {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    align-items: center;
}

.h-tag {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: 0.3s;
}

.h-tag:hover {
    background: white;
    color: black;
}

/* ----------------------------------------------------------------------
   DISCOVERY SECTIONS (Trending, Hidden Gems)
---------------------------------------------------------------------- */
.discovery-section {
    padding: 120px var(--padding-global);
    background: var(--bg-primary);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
}

.section-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    transition: opacity 0.3s;
}

.section-link:hover {
    opacity: 0.5;
}

/* Horizontal Strip Layout */
.discovery-strip {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
    /* Firefox */
}

.discovery-strip::-webkit-scrollbar {
    display: none;
}

.card-monolith {
    min-width: 400px;
    flex-shrink: 0;
    cursor: pointer;
    group: hover;
}

/* Inside a slider, cards must be fully fluid - no min-width constraint */
.slide .card-monolith {
    min-width: 0;
    width: 100%;
}

.card-monolith .media-wrap {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    /* Slight radius or keep sharp for brutalism */
    margin-bottom: 20px;
}

.card-monolith img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.monolith-info {
    padding: 20px 5px 0;
}

.monolith-person {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.monolith-person i {
    font-size: 16px;
    opacity: 0.8;
}

.card-attribution {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ----------------------------------------------------------------------
   SEARCH DIRECTORY EXPERIENCE
---------------------------------------------------------------------- */
.split-layout {
    display: block;
    width: 100%;
    overflow-x: hidden;
}

/* Directory Layout (Full Width) */
.directory-pane {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.directory-header {
    position: sticky;
    top: 0;
    background: rgba(252, 252, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    padding: 100px var(--padding-global) 30px;
    /* Adjusted for fixed nav */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.explore-search-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.explore-search-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.d-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 20px;
}

/* Quick Search input in directory */
.d-search {
    border: none;
    border-bottom: 2px solid var(--text-primary);
    background: transparent;
    font-family: var(--font-heading);
    font-size: 20px;
    outline: none;
    padding: 5px;
    width: 300px;
}

.d-search::placeholder {
    color: var(--text-secondary);
}

.filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.f-pill {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.f-pill:hover {
    border-color: var(--text-primary);
}

.f-pill.active {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.sorting-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--padding-global);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sort-select {
    border: none;
    background: transparent;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.results-feed {
    padding: 20px var(--padding-global) 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Redesigned Search Result Card */
.result-card {
    display: flex;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.1);
}

.rc-media {
    width: 220px;
    height: 180px;
    background-size: cover;
    background-position: center top;
    border-radius: 8px;
    flex-shrink: 0;
}

.rc-info {
    padding: 0 0 0 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.rc-title {
    font-size: 24px;
    margin-bottom: 4px;
}

.rc-meta {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.open-badge {
    color: #27ae60;
    font-weight: 700;
}

.closed-badge {
    color: var(--accent);
    font-weight: 700;
}

.rc-actions {
    display: flex;
    gap: 15px;
}

.rc-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: 0.2s;
}

.rc-btn.primary {
    background: var(--text-primary);
    color: white;
}

.rc-btn:hover {
    opacity: 0.8;
}

/* Ensure long URLs in search cards wrap on mobile */
@media (max-width: 500px) {
    .rc-btn {
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 1000px) {
    .result-card {
        flex-direction: column;
    }

    .rc-media {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        margin-bottom: 20px;
    }

    .rc-info {
        padding: 0;
    }
}

.card-monolith:hover img {
    transform: scale(1.05);
}

.verified-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--verified);
    color: white;
    padding: 8px 15px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.monolith-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.monolith-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ----------------------------------------------------------------------
   MONETIZATION & INTELLIGENCE PLACEMENTS
---------------------------------------------------------------------- */
.local-intelligence {
    background: var(--bg-secondary);
    padding: 120px var(--padding-global);
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* ----------------------------------------------------------------------
   CARD SLIDER
---------------------------------------------------------------------- */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-viewport {
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    /* prevent flex overflow */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.slider-viewport::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
}

.slide {
    flex-shrink: 0;
    width: calc(100% / 3);
    padding: 0 12px;
    /* visual gutter only */
    box-sizing: border-box;
    scroll-snap-align: start;
}

@media (max-width: 960px) {
    .slide {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .slide {
        width: 100%;
        scroll-snap-align: center;
    }
}

/* Arrow buttons */
.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--text-primary);
    background: white;
    color: var(--text-primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
    z-index: 10;
    user-select: none;
}

.slider-arrow:hover:not(:disabled) {
    background: var(--text-primary);
    color: white;
    transform: scale(1.08);
}

.slider-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none;
}

/* Dot indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.slider-dot.active {
    background: var(--text-primary);
    width: 24px;
    border-radius: 4px;
}

/* ----------------------------------------------------------------------
   YELP SECTIONS (CATEGORIES & ACTIVITY)
---------------------------------------------------------------------- */
.cat-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: var(--container-max);
    margin: 0 auto;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.3s;
}

.cat-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-item:hover .cat-icon {
    background: var(--text-primary);
    color: white;
    transform: scale(1.1);
}

.cat-item span {
    font-weight: 600;
    font-size: 14px;
}

.activity-card {
    transition: 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.intel-card {
    border-top: 2px solid var(--text-primary);
    padding-top: 30px;
}

.intel-card .tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.intel-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* ----------------------------------------------------------------------
   APP DOWNLOAD & SEO FOOTER
---------------------------------------------------------------------- */
.app-cta-banner {
    background: var(--accent);
    color: white;
    padding: 80px var(--padding-global);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    margin: 60px var(--padding-global);
}

.app-cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.app-cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0.9;
}

.store-buttons {
    display: flex;
    gap: 15px;
}

.store-btn {
    background: black;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.store-btn i {
    font-size: 24px;
}

.store-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.app-qr {
    background: rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.app-qr p {
    margin-top: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.seo-footer {
    background: #0a0a0a;
    color: white;
    padding: 100px var(--padding-global) 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.ft-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ft-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: 0.2s;
}

.ft-col a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.geo-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    margin-right: 10px;
    transition: 0.2s;
}

.geo-btn:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .app-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px;
        margin: 20px;
    }

    .store-buttons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* ----------------------------------------------------------------------
   STRICT MOBILE RESPONSIVENESS
---------------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --padding-global: 18px;
    }

    /* Nav: Show hamburger, hide normal links */
    .nav-hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(26,26,46,0.98);
        padding: 20px var(--padding-global) 30px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.open {
        display: flex;
    }

    /* Force white text inside the dark mobile dropdown */
    .nav-links a {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 16px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Hero */
    .engine-hero {
        padding-top: 80px;
        justify-content: flex-end;
        padding-bottom: 50px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 10vw, 4rem);
        line-height: 1.05;
        margin-bottom: 24px;
    }

    /* Search bar stacks vertically */
    .decision-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px;
        padding: 16px;
        gap: 12px;
    }

    .search-input,
    .location-input {
        font-size: 16px;
        padding: 8px 0;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .submit-decision {
        width: 100%;
        border-radius: 10px;
        height: 50px;
        margin-top: 4px;
    }

    .geo-btn {
        align-self: flex-start;
    }

    .hero-tags {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 24px;
    }

    .h-tag {
        font-size: 11px;
        padding: 7px 14px;
    }

    /* Sections */
    .category-section,
    .recent-activity-section,
    .discovery-section,
    .local-intelligence {
        padding: 50px var(--padding-global);
    }

    .section-title {
        font-size: 2rem;
    }

    .section-head {
        margin-bottom: 30px;
    }

    /* Discovery cards */
    .discovery-strip {
        gap: 15px;
    }

    .card-monolith {
        min-width: 280px;
    }

    .card-monolith .media-wrap {
        height: 300px;
    }

    .monolith-info h3 {
        font-size: 20px;
    }

    /* Activity + Intelligence grids → single col */
    .activity-grid,
    .intelligence-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    /* Search results page */
    .result-card {
        flex-direction: column;
    }

    .rc-media {
        width: 100%;
        height: 200px;
    }

    .rc-info {
        padding: 15px 0 0;
    }

    .rc-title {
        font-size: 20px;
    }

    .rc-meta {
        flex-wrap: wrap;
    }

    .rc-actions {
        flex-wrap: wrap;
    }

    .rc-actions button,
    .rc-actions .rc-btn {
        width: 100%;
        justify-content: center;
    }

    .d-search {
        width: 100%;
    }

    .filter-bar {
        padding-bottom: 5px;
    }

    /* Business page */
    .biz-hero-grid {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        margin-top: 70px !important; /* Fix Dr. Burns gap */
        padding: 15px !important;
        gap: 15px !important;
    }

    .grid-main-img {
        height: 280px;
        border-radius: 16px !important; /* Standardize rounded corners */
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .grid-side-imgs {
        display: none !important;
    }

    .biz-container {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .biz-content-left {
        padding: 25px var(--padding-global) !important;
    }

    .biz-sidebar {
        position: relative !important;
        top: auto !important;
        padding: 0 var(--padding-global) 40px !important;
        width: 100% !important;
    }

    .biz-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px !important;
    }

    .trust-bar {
        flex-direction: column;
        gap: 10px !important;
    }

    .action-btn {
        width: 100% !important;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        line-height: 1.4;
        font-size: 14px;
        padding: 12px 15px;
    }

    /* App Banner */
    .app-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px var(--padding-global);
        margin: 20px var(--padding-global);
        border-radius: 16px;
    }

    .app-cta-content h2 {
        font-size: 2rem;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .app-qr {
        display: none;
    }

    /* Footer */
    .seo-footer {
        padding: 50px var(--padding-global) 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ----------------------------------------------------------------------
   FOOTER
---------------------------------------------------------------------- */
footer {
    background: #111;
    color: white;
    padding: 100px var(--padding-global) 40px;
}

.footer-top {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .decision-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
    }

    .search-input {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
    }

    .location-input {
        width: 100%;
        border-left: none;
        padding: 15px;
    }

    .submit-decision {
        width: 100%;
        border-radius: 10px;
        margin-top: 10px;
    }

    .nav-links {
        display: none;
    }

    .card-monolith {
        min-width: 300px;
    }

    .card-monolith .media-wrap {
        height: 350px;
    }
}

/* ----------------------------------------------------------------------
   BUSINESS LISTING PAGE (CONVERSION ENGINE)
---------------------------------------------------------------------- */
.biz-hero-grid {
    display: flex;
    height: 60vh;
    min-height: 500px;
    margin-top: 70px; /* Aligned with fixed header height */
    gap: 10px;
    padding: 20px var(--padding-global) 30px;
}

.grid-main-img {
    flex: 2;
    background-size: cover;
    background-position: center;
    border-radius: 12px 0 0 12px;
    position: relative;
}

.grid-side-imgs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.side-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.side-img:first-child {
    border-radius: 0 12px 0 0;
}

.side-img:last-child {
    border-radius: 0 0 12px 0;
}

.view-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
}

.view-all-photos:hover {
    transform: translateY(-2px);
}

/* Business Details Layout */
.biz-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--padding-global) 100px;
    display: flex;
    gap: 60px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.biz-content-left {
    flex: 6.5;
}

.biz-title-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.biz-logo-space {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biz-logo-space:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.biz-logo-space img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.biz-title-content {
    flex: 1;
}

@media (max-width: 768px) {
    .biz-title-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.verified-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--verified);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.biz-title-block h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 15px;
}

.biz-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-secondary);
}

.rating-lg {
    color: black;
    font-weight: 700;
    font-size: 18px;
}

.trust-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.trust-item {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.biz-section {
    margin-bottom: 60px;
}

.biz-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.biz-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.service-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-row h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.service-row p {
    font-size: 15px;
    color: var(--text-secondary);
}

.service-price {
    font-size: 20px;
    font-weight: 700;
}

.review-block {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.r-avatar {
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 700;
}

/* Right Sticky Action Block */
.biz-sidebar {
    flex: 3.5;
    position: relative;
}

.sticky-action-card {
    position: sticky;
    top: 120px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.action-card-header {
    background: var(--bg-secondary);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #27ae60;
    font-size: 14px;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

.action-card-body {
    padding: 25px;
}

.action-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.action-btn.main {
    background: var(--text-primary);
    color: white;
    border: none;
}

.action-btn.main.bg-accent {
    background: var(--accent);
}

.action-btn.main:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-btn.outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.action-btn.outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.alt-link {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.alt-link:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------------------
   MONETIZATION PAGE (PRICING)
---------------------------------------------------------------------- */
.pricing-container {
    padding: 150px var(--padding-global) 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-head {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-head h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 20px;
}

.pricing-head p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.price-tier {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    position: relative;
}

.price-tier:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.price-tier.featured-tier {
    border: 2px solid var(--text-primary);
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.price-tier h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-val span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
    min-height: 45px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-primary);
}

.features-list li i {
    color: var(--accent);
}

@media (max-width: 900px) {
    .biz-container {
        flex-direction: column;
    }

    .biz-sidebar {
        order: -1;
    }

    .biz-hero-grid {
        flex-direction: column;
    }

    .grid-main-img {
        min-height: 300px;
        border-radius: 12px 12px 0 0;
    }

    .grid-side-imgs {
        flex-direction: row;
        min-height: 150px;
    }

    .side-img:first-child {
        border-radius: 0 0 0 12px;
    }

    .side-img:last-child {
        border-radius: 0 0 12px 0;
    }

    .price-tier.featured-tier {
        transform: scale(1);
    }
}

/* ----------------------------------------------------------------------
   PHOTO GALLERY MODAL
---------------------------------------------------------------------- */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 60px var(--padding-global);
    overflow-y: auto;
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-close {
    position: fixed;
    top: 30px;
    right: 30px;
    font-size: 32px;
    cursor: pointer;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    z-index: 2001;
}

.gallery-close:hover {
    transform: scale(1.1);
    background: var(--text-primary);
    color: white;
}

.gallery-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

.gallery-header {
    margin-bottom: 50px;
}

.gallery-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.gallery-header p {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    background: var(--bg-secondary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-header h2 {
        font-size: 2rem;
    }
}

/* ----------------------------------------------------------------------
   IMAGE CAPTION SYSTEM — Premium Gradient Overlay
---------------------------------------------------------------------- */
.caption-overlay-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-caption-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 18px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.04em;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.static-caption {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------------
   MODERN BUSINESS CARD UI (SEO & UX Optimized)
---------------------------------------------------------------------- */
.biz-card-modern {
    position: relative;
    width: 100%;
    height: 480px;
    /* Fixed height for consistency in grids/sliders */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: block;
    text-decoration: none;
}

.biz-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.biz-card-modern .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.biz-card-modern:hover .card-img {
    transform: scale(1.05);
}

.biz-card-modern .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.biz-card-modern .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 3;
    width: 100%;
}

.biz-card-modern .card-owner {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 6px;
    display: block;
}

.biz-card-modern .card-title {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
}

.biz-card-modern .card-category {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

.biz-card-modern .verified-badge-top {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .biz-card-modern {
        height: 400px;
    }

    .biz-card-modern .card-title {
        font-size: 22px;
    }

    .biz-card-modern .card-content {
        padding: 20px;
    }
}

/* ----------------------------------------------------------------------
   UTILITIES
---------------------------------------------------------------------- */
.floating-cta {
    position: fixed !important;
    bottom: 28px !important;
    right: 24px !important;
    z-index: 9999 !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    text-decoration: none !important;
    color: white !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-cta i {
    color: white !important;
    font-size: 22px !important;
    line-height: 1;
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.08) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 20px !important;
    }
}
/* ==========================================================================
   MOBILE-RESPONSIVE LISTING GRIDS (ADDED VIA SCRIPT)
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.city-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-size: 14px;
}
.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.small-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .city-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .authority-grid {
        grid-template-columns: 1fr;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .small-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
