/*
Theme Name: Local Essex
Theme URI: https://localessex.org
Author: Samaroo Solutions
Author URI: https://samaroosolutions.com
Description: Local Essex – Essex County NJ Business Directory. Custom theme by Samaroo Solutions.
Version: 1.0.0
License: Private
Text Domain: local-essex
*/

/* ═══════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════ */
:root {
    --red:        #b60534;
    --red-dark:   #8c0427;
    --red-light:  #F5E0E3;
    --blue:       #012969;
    --blue-dark:  #011a47;
    --blue-navy:  #0D1A4A;
    --gold:       #FFD700;
    --gold-dark:  #E5C000;
    --white:      #FFFFFF;
    --off-white:  #F8F8FC;
    --light-gray: #F2F2F6;
    --mid-gray:   #E0E0E8;
    --text:       #1A1A2E;
    --text-muted: #5A5A72;
    --shadow-sm:  0 2px 8px rgba(0,0,40,0.08);
    --shadow-md:  0 4px 20px rgba(0,0,40,0.12);
    --shadow-lg:  0 8px 40px rgba(0,0,40,0.16);
    --radius:     10px;
    --radius-lg:  16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════
   TOP UTILITY BAR
═══════════════════════════════════════ */
.top-bar {
    background: var(--blue-navy);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.8); transition: color .2s; }
.top-bar a:hover { color: var(--gold); }
.top-bar-left { display: flex; align-items: center; gap: 8px; }
.top-bar-right { display: flex; align-items: center; gap: 6px; }
.social-icons { display: flex; gap: 6px; }
.social-icons a {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    font-size: 12px; font-weight: 600;
    transition: background .2s, color .2s;
}
.social-icons a:hover { background: var(--gold); color: var(--blue-navy); }
.top-bar-link {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 4px 10px;
    border-radius: 4px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.top-bar-link:hover { color: var(--gold); background: rgba(255,255,255,0.06); }
.top-bar-link.highlight {
    color: var(--gold);
    border: 1px solid rgba(255,215,0,0.35);
    font-weight: 600;
}
.top-bar-link.highlight:hover { background: rgba(255,215,0,0.12); }
.top-bar-divider {
    width: 1px; height: 14px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.navbar {
    background: var(--white);
    border-bottom: 3px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}
.navbar-logo img {
    height: 44px;
    width: auto;
}
.navbar-logo-fallback {
    font-size: 20px; font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.5px;
}
.navbar-logo-fallback span { color: var(--red); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    font-size: 14px; font-weight: 500;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.nav-links a:hover { background: var(--light-gray); color: var(--blue); }
.nav-links a.active { color: var(--red); font-weight: 600; }

.nav-dropdown {
    position: relative;
}
.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 11px;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 24px;
    min-width: 540px;
    z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: grid; }
.dropdown-menu a {
    font-size: 13px; font-weight: 500;
    color: var(--text-muted);
    padding: 6px 8px;
    border-radius: 6px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--blue); }

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    white-space: nowrap;
    transition: background .2s, transform .15s !important;
}
.nav-cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   HERO SECTION — IMAGE CAROUSEL
═══════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 90px 0 80px;
}

/* ── Carousel slides (background layer) ── */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* ── Dark gradient overlay — heavier left for text legibility ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(5, 10, 30, 0.82) 0%,
        rgba(5, 10, 30, 0.60) 45%,
        rgba(5, 10, 30, 0.30) 100%
    );
}

/* ── Slide caption (bottom-right) ── */
.hero-caption {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 3;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: opacity .4s;
    pointer-events: none;
}

/* ── Carousel nav arrows ── */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s, transform .2s;
    line-height: 1;
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* ── Carousel dots ── */
.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
    align-items: center;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .3s, width .3s;
}
.hero-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* ── Hero text (always on top, never moves) ── */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

/* Search Bar */
.hero-search {
    background: var(--white);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    max-width: 680px;
}
.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: text;
    background: var(--off-white);
}
.search-field:focus-within { background: var(--light-gray); }
.search-icon { font-size: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-field select,
.search-field input {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text);
    width: 100%;
    outline: none;
}
.search-divider {
    width: 1px;
    background: var(--mid-gray);
    margin: 8px 0;
    flex-shrink: 0;
}
.search-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-btn:hover { background: var(--red-dark); transform: scale(1.02); }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
.hero-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.hero-stat-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.hero-towns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.hero-towns a {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    transition: background .2s, color .2s;
}
.hero-towns a:hover { background: var(--white); color: var(--blue); }

/* ═══════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════ */
section { padding: 72px 0; }
.section-header {
    margin-bottom: 48px;
}
.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-eyebrow::after {
    content: '';
    flex: 1;
    max-width: 40px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.5px;
}
.section-title em { font-style: normal; color: var(--blue); }
.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 540px;
    line-height: 1.7;
}
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap .2s;
}
.view-all-link:hover { gap: 10px; color: var(--red); }

/* ═══════════════════════════════════════
   FEATURED LISTINGS
═══════════════════════════════════════ */
.featured-section {
    background: var(--white);
    padding: 72px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.listing-card {
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: pointer;
    position: relative;
}
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}
/* ── Featured card premium treatment ── */
.listing-card.featured {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 1.5px var(--gold-dark), var(--shadow-sm);
}
.listing-card.featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 2px var(--gold), 0 12px 40px rgba(229,192,0,0.2);
    border-color: var(--gold);
}
/* Gold accent bar across top of featured card */
.listing-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    z-index: 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.listing-card-image {
    height: 160px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-card-image-placeholder {
    font-size: 48px;
    color: var(--mid-gray);
}
.featured-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--gold);
    color: #5A4000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.listing-card-body { padding: 18px 20px 20px; }
.listing-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    background: rgba(1,41,105,0.07);
    padding: 3px 10px;
    border-radius: 100px;
}
.tag.location {
    color: var(--red);
    background: rgba(207,20,43,0.07);
}
.listing-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}
.listing-card-address {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
    line-height: 1.4;
}
.listing-card-phone {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.listing-card-footer {
    border-top: 1px solid var(--mid-gray);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-view {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s, color .2s;
}
.btn-view:hover { gap: 10px; color: var(--red); }
.listing-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #5A4000;
}
.stars { color: var(--gold); font-size: 12px; }

/* ═══════════════════════════════════════
   BROWSE BY LOCATION
═══════════════════════════════════════ */
.locations-section {
    background: var(--off-white);
}
.locations-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.location-card {
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.location-card:hover {
    border-color: var(--blue);
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.location-card:hover .location-name,
.location-card:hover .location-count { color: var(--white); }
.location-icon {
    width: 36px; height: 36px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: background .2s;
}
.location-card:hover .location-icon { background: rgba(255,255,255,0.2); }
.location-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    transition: color .2s;
}
.location-count {
    font-size: 11px;
    color: var(--text-muted);
    transition: color .2s;
}

/* ═══════════════════════════════════════
   RECENT BUSINESSES
═══════════════════════════════════════ */
.recent-section { background: var(--white); }

.recent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.recent-card {
    background: var(--white);
    border: 1.5px solid var(--mid-gray);
    border-radius: var(--radius);
    padding: 20px;
    transition: all .2s;
    cursor: pointer;
}
.recent-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.recent-card-icon {
    width: 48px; height: 48px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}
.recent-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}
.recent-card-location {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}
.recent-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.recent-card-tags .tag { font-size: 10px; padding: 2px 8px; }

/* ═══════════════════════════════════════
   WHY LOCAL ESSEX
═══════════════════════════════════════ */
.why-section {
    background: var(--blue-navy);
    color: var(--white);
}
.why-section .section-eyebrow { color: var(--gold); }
.why-section .section-eyebrow::after { background: var(--gold); }
.why-section .section-title { color: var(--white); }
.why-section .section-title em { color: var(--gold); }
.why-section .section-subtitle { color: rgba(255,255,255,0.7); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 0;
}
.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: background .2s, border-color .2s;
}
.why-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,215,0,0.4);
}
.why-card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.why-card:nth-child(1) .why-card-icon { background: rgba(207,20,43,0.25); }
.why-card:nth-child(2) .why-card-icon { background: rgba(1,41,105,0.3); }
.why-card:nth-child(3) .why-card-icon { background: rgba(255,215,0,0.2); }
.why-card:nth-child(4) .why-card-icon { background: rgba(255,255,255,0.12); }
.why-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.why-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-section {
    background: var(--red);
    padding: 72px 0;
}
.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cta-section .section-eyebrow { color: rgba(255,255,255,0.7); justify-content: center; }
.cta-section .section-eyebrow::after { display: none; }
.cta-section .section-title { color: var(--white); text-align: center; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.82); text-align: center; max-width: 500px; margin: 12px auto 0; }
.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}
.btn-white {
    background: var(--white);
    color: var(--red);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s;
    border: 2px solid var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all .2s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
    background: var(--blue-navy);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-brand-logo img { height: 60px; }
.footer-brand-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--gold); color: var(--blue-navy); }
.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}
.footer-contact-item span:first-child { flex-shrink: 0; color: var(--gold); }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   MISC UTILS
═══════════════════════════════════════ */
.text-center { text-align: center; }
.text-center .section-eyebrow { justify-content: center; }
.text-center .section-eyebrow::after { display: none; }
.text-center .section-subtitle { margin: 12px auto 0; }

.divider {
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    border: none;
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--mid-gray); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ═══════════════════════════════════════
   FEATURED LISTING PREVIEW PANEL
═══════════════════════════════════════ */
.le-panel-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(1, 26, 71, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.le-panel-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.le-panel {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    width: 100%;
    max-width: 1100px;
    max-height: 88vh;
    box-shadow: 0 40px 120px rgba(1, 26, 71, 0.45), 0 0 0 1px rgba(255,255,255,0.1);
    transform: scale(0.95) translateY(16px);
    transition: transform .35s cubic-bezier(.22,.68,0,1.2);
}
.le-panel-overlay.active .le-panel {
    transform: scale(1) translateY(0);
}

/* Close button */
.le-panel-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.le-panel-close:hover {
    background: var(--red);
    transform: scale(1.1);
}

/* LEFT pane */
.le-panel-left {
    flex: 0 0 58%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.le-panel-browser {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.le-panel-browser-chrome {
    background: #2a2a2a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.le-browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.le-browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}
.le-browser-url-bar {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}
.le-browser-url {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', monospace;
}
.le-panel-browser-viewport {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #111;
}
.le-panel-browser-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .4s ease;
}
.le-panel-browser-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    transition: opacity .3s ease;
}
.le-panel-browser-viewport:hover .le-panel-browser-overlay { opacity: 1; }
.le-panel-browser-viewport:hover .le-panel-browser-img { transform: scale(1.03); }

.le-panel-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.le-panel-visit-btn:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: scale(1.04);
}

/* RIGHT pane */
.le-panel-right {
    flex: 1;
    padding: 32px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.le-panel-right::-webkit-scrollbar { width: 4px; }
.le-panel-right::-webkit-scrollbar-thumb { background: var(--mid-gray); border-radius: 2px; }

.le-panel-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.le-panel-featured-badge {
    font-size: 11px;
    padding: 5px 12px;
}
.le-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.le-panel-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.2;
    margin: 0;
}
.le-panel-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--mid-gray);
}
.le-panel-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.5;
}
.le-panel-detail-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 1px;
}
.le-panel-phone-link,
.le-panel-email-link {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}
.le-panel-phone-link:hover,
.le-panel-email-link:hover { color: var(--red); text-decoration: underline; }

.le-panel-section {}
.le-panel-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.le-panel-about {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Premium features pill grid */
.le-panel-premium-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.le-panel-premium-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    background: rgba(1, 41, 105, 0.06);
    border: 1px solid rgba(1, 41, 105, 0.12);
    border-radius: 8px;
    padding: 8px 10px;
}
.le-panel-premium-item svg { color: var(--gold-dark); flex-shrink: 0; }

/* CTA */
.le-panel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    margin-top: auto;
}
.le-panel-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    color: white;
}

/* Responsive — stack on mobile */
@media (max-width: 768px) {
    .le-panel {
        flex-direction: column;
        max-height: 96vh;
        border-radius: 16px;
    }
    .le-panel-left {
        flex: 0 0 240px;
    }
    .le-panel-right {
        padding: 24px 20px;
    }
    .le-panel-name { font-size: 20px; }
    .le-panel-premium-features { grid-template-columns: 1fr; }
}
