/* =========================================================
   HOMES BY MAKENZIE — Main Stylesheet
   Aesthetic: Refined Luxury | Deep Navy + Champagne Gold
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ========================================================= */

/* ── CSS Custom Properties ── */
:root {
    /* Color System */
    --navy-950: #060D1A;
    --navy-900: #0D1F3C;
    --navy-800: #122540;
    --navy-700: #1A3358;
    --navy-600: #204070;
    --navy-500: #2B5494;
    --gold-400: #C9A84C;
    --gold-300: #D4B86A;
    --gold-200: #E2CC96;
    --gold-100: #F2E8C6;
    --gold-50:  #FAF5E8;
    --cream-100: #F8F5EE;
    --cream-50:  #FDFBF7;
    --stone-200: #E8E0D0;
    --stone-400: #B8A990;
    --stone-600: #8A7A64;
    --stone-800: #4A3E30;
    --white: #FFFFFF;
    --text-primary: #0D1F3C;
    --text-secondary: #4A3E30;
    --text-muted: #8A7A64;

    /* Dark Mode Colors */
    --bg-dark: #060D1A;
    --bg-dark-card: #0D1F3C;
    --text-dark: #F2E8C6;
    --text-dark-muted: #B8A990;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-py: clamp(4rem, 8vw, 8rem);
    --container-max: 1320px;
    --container-px: clamp(1.25rem, 4vw, 3rem);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(13,31,60,0.08), 0 1px 2px rgba(13,31,60,0.04);
    --shadow-md: 0 4px 16px rgba(13,31,60,0.12), 0 2px 6px rgba(13,31,60,0.06);
    --shadow-lg: 0 12px 40px rgba(13,31,60,0.18), 0 4px 12px rgba(13,31,60,0.10);
    --shadow-xl: 0 24px 64px rgba(13,31,60,0.24), 0 8px 20px rgba(13,31,60,0.12);
    --shadow-gold: 0 4px 20px rgba(201,168,76,0.3);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Z-index Scale */
    --z-nav: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;
    --z-chat: 500;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
    --cream-50: #060D1A;
    --cream-100: #0D1F3C;
    --text-primary: #F2E8C6;
    --text-secondary: #D4B86A;
    --text-muted: #B8A990;
    --stone-200: #1A3358;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Remove focus outlines from non-interactive elements (Blazor router focuses
   the first rendered element after navigation, causing unwanted boxes). */
:focus:not(:focus-visible) { outline: none; }
*:not(a):not(button):not(input):not(select):not(textarea):not([tabindex]):focus {
    outline: none !important;
}
/* FocusOnNavigate adds tabindex="-1" before calling .focus() — kill that outline too */
[tabindex="-1"]:focus { outline: none !important; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

/* ── App Loading Screen ── */
.app-loading {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-brand {
    text-align: center;
    animation: fadeInUp 0.6s ease both;
}

.loading-logo {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 300;
    color: var(--gold-300);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.loading-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-200);
    margin-bottom: 2rem;
}

.loading-bar {
    width: 200px;
    height: 1px;
    background: rgba(201,168,76,0.2);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1px;
}

.loading-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
    animation: shimmer 1.5s infinite;
    width: 60%;
}

@keyframes shimmer {
    0% { transform: translateX(-200%); }
    100% { transform: translateX(400%); }
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

.display-serif {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.01em;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-secondary);
}

a {
    color: var(--gold-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--gold-300); }

/* ── Layout Utilities ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section { padding: var(--section-py) 0; }
.section-sm { padding: calc(var(--section-py) * 0.5) 0; }
.section-lg { padding: calc(var(--section-py) * 1.5) 0; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-400);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-300);
    color: var(--navy-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}

.btn-outline {
    background: transparent;
    color: var(--gold-400);
    border: 1px solid var(--gold-400);
}

.btn-outline:hover {
    background: var(--gold-400);
    color: var(--navy-900);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--navy-900);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    font-size: 1rem;
    padding: 1.125rem 2.5rem;
}

.btn-sm {
    font-size: 0.8125rem;
    padding: 0.625rem 1.5rem;
}

.btn-icon {
    padding: 0.875rem;
    width: 3rem;
    height: 3rem;
    justify-content: center;
}

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: 1.25rem 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(13, 31, 60, 0.97);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.brand-mark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-mark span { color: var(--gold-300); }

.brand-tagline {
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-200);
    margin-top: 0.15rem;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.navbar-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--gold-300);
    background: rgba(201,168,76,0.08);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-phone {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.navbar-phone:hover { color: var(--gold-300); }
.navbar-phone i { color: var(--gold-400); }

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Mobile Nav */
@media (max-width: 991px) {
    .navbar-links { display: none; }
    .navbar-toggle { display: block; }
    .navbar-phone { display: none; }

    .navbar-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--navy-950);
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        z-index: calc(var(--z-nav) - 1);
        align-items: flex-start;
        justify-content: flex-start;
        animation: slideInLeft 0.3s ease;
    }

    .navbar-links.open a {
        font-size: 1.5rem;
        padding: 0.75rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(201,168,76,0.1);
        width: 100%;
        letter-spacing: 0.05em;
    }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ── Navbar Dropdown ────────────────────────────────────────────────────────── */

.nav-dropdown {
    position: relative;
}

.nav-chevron {
    font-size: 0.6rem;
    margin-left: 3px;
    vertical-align: middle;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
}

/* Trigger button — styled identically to the anchor links in the navbar */
.nav-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-trigger:hover,
.nav-dropdown.is-open .nav-trigger {
    color: var(--gold-300);
    background: rgba(201,168,76,0.08);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    /* top: 100% closes the gap — padding-top provides the visual space */
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    background: transparent;
    z-index: 200;
    list-style: none;
    margin: 0;
    min-width: 190px;
}

/* Visible card inside the padding bridge */
.nav-dropdown-menu::after {
    content: "";
    position: absolute;
    inset: 12px 0 0 0;
    background: rgba(10, 24, 50, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.45);
    z-index: -1;
}

/* Small arrow pointing up */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(10, 24, 50, 0.98);
    border-left: 1px solid rgba(201,168,76,0.18);
    border-top: 1px solid rgba(201,168,76,0.18);
    rotate: 45deg;
    z-index: 1;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    animation: dropdownFade 0.15s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Invisible full-screen layer to catch outside clicks when dropdown is open */
.nav-drop-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
}

.nav-dropdown-menu li { margin: 0; padding: 0; list-style: none; }

.nav-dropdown-menu a {
    display: block !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.75rem !important;
    text-align: left !important;
    border-radius: 0 !important;
    white-space: nowrap;
    border-bottom: 1px solid rgba(201,168,76,0.06) !important;
}

.nav-dropdown-menu li:last-child a {
    border-bottom: none !important;
}

/* Mobile: show sub-items inline, indented */
@media (max-width: 991px) {
    .nav-dropdown-menu {
        display: block;
        position: static;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        min-width: auto;
    }

    .nav-dropdown-menu::before,
    .nav-dropdown-menu::after { display: none; }

    .nav-trigger {
        font-size: 1.4rem !important;
        letter-spacing: 0.06em !important;
        padding: 0.75rem 0 !important;
        color: rgba(255,255,255,0.85) !important;
        background: none !important;
        border-radius: 0 !important;
        width: 100%;
        text-align: left;
    }

    .nav-dropdown-menu a {
        font-size: 1.1rem !important;
        padding: 0.5rem 0 0.5rem 1.75rem !important;
        border-bottom: 1px solid rgba(201,168,76,0.06) !important;
        color: rgba(255,255,255,0.55) !important;
        letter-spacing: 0.04em !important;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a.active {
        color: var(--gold-300) !important;
        background: transparent !important;
    }

    .nav-chevron { display: none; }

    /* Backdrop not needed on mobile — full-screen menu already open */
    .nav-drop-backdrop { display: none; }
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 5rem;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6,13,26,0.95) 0%,
        rgba(6,13,26,0.6) 40%,
        rgba(6,13,26,0.2) 70%,
        rgba(6,13,26,0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--gold-400);
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    max-width: 14ch;
    animation: fadeInUp 0.6s ease 0.35s both;
}

.hero-heading em {
    font-style: italic;
    color: var(--gold-300);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    max-width: 50ch;
    margin-bottom: 2.5rem;
    line-height: 1.65;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.6s ease 0.65s both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--gold-300);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

.hero-slide-dots {
    position: absolute;
    bottom: 2rem;
    right: var(--container-px);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.slide-dot {
    width: 1.5rem;
    height: 2px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slide-dot.active {
    width: 3rem;
    background: var(--gold-400);
}

/* ── Quick Search Bar ── */
.quick-search {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.quick-search-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--stone-200);
    padding-bottom: 0.75rem;
}

.search-tab {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.search-tab.active {
    background: var(--navy-900);
    color: var(--white);
}

.search-tab:hover:not(.active) {
    color: var(--text-primary);
    background: var(--cream-100);
}

.quick-search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 767px) {
    .quick-search-fields {
        grid-template-columns: 1fr 1fr;
    }
    .quick-search-fields .btn {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 479px) {
    .quick-search-fields {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--cream-50);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color var(--transition-fast);
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
    background: var(--white);
}

.form-control::placeholder { color: var(--stone-400); }

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7A64' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ── Property Cards ── */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

@media (max-width: 479px) {
    .property-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.property-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--stone-200);
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    z-index: 1;
}

.badge-new       { background: var(--gold-400); color: var(--navy-900); }
.badge-open      { background: #22C55E; color: var(--white); }
.badge-sold      { background: var(--stone-600); color: var(--white); }
.badge-reduced   { background: #EF4444; color: var(--white); }
.badge-preferred { background: var(--navy-900); color: var(--gold-300); }

/* ATTOM area listing card — slightly subdued to visually distinguish from preferred */
.attom-card { opacity: 0.93; }
.attom-card:hover { opacity: 1; }

.property-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--stone-400);
    transition: all var(--transition-fast);
    z-index: 1;
}

.property-favorite:hover,
.property-favorite.active {
    color: #EF4444;
    transform: scale(1.1);
}

.property-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.property-address {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.property-address .city {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.property-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-top: 0.875rem;
    border-top: 1px solid var(--stone-200);
    margin-top: auto;
}

.property-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.property-meta-item i { color: var(--gold-400); font-size: 0.875rem; }

.property-card-footer {
    padding: 0.875rem 1.5rem;
    background: var(--cream-50);
    border-top: 1px solid var(--stone-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.agent-mini {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.agent-mini-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-300);
}

.agent-mini-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Sticky CTA Bar ── */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--navy-900);
    padding: 0.875rem var(--container-px);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 1px solid rgba(201,168,76,0.2);
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sticky-cta-text {
    color: var(--white);
}

.sticky-cta-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.sticky-cta-text span {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
}

.sticky-cta-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.sticky-cta-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.25rem;
    transition: color var(--transition-fast);
    margin-left: 0.5rem;
}

.sticky-cta-close:hover { color: var(--white); }

/* ── Modal / Overlay ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,13,26,0.85);
    backdrop-filter: blur(6px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid var(--stone-200);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--cream-100);
    border: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--stone-200);
    color: var(--text-primary);
}

.modal-body { padding: 1.5rem 2rem; }
.modal-footer { padding: 1.25rem 2rem 2rem; }

.modal-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-100), var(--gold-50));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ── Chat Widget ── */
.chat-widget {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: var(--z-chat);
}

.chat-bubble {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gold-400);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 1.5rem;
    box-shadow: var(--shadow-gold), var(--shadow-md);
    transition: all var(--transition-base);
    animation: chatPulse 3s ease-in-out infinite;
}

.chat-bubble:hover {
    transform: scale(1.08);
    background: var(--gold-300);
}

@keyframes chatPulse {
    0%, 100% { box-shadow: var(--shadow-gold), var(--shadow-md); }
    50% { box-shadow: 0 0 0 8px rgba(201,168,76,0.15), var(--shadow-md); }
}

.chat-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 1.125rem;
    height: 1.125rem;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid var(--cream-50);
    font-size: 0.5625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.chat-panel {
    position: absolute;
    bottom: 4.5rem;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0.9) translateY(10px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
}

.chat-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-panel-header {
    background: var(--navy-900);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.chat-agent-avatar {
    position: relative;
}

.chat-agent-avatar img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-300);
}

.chat-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 0.75rem;
    height: 0.75rem;
    background: #22C55E;
    border-radius: 50%;
    border: 2px solid var(--navy-900);
}

.chat-agent-info strong {
    display: block;
    color: var(--white);
    font-size: 0.9375rem;
}

.chat-agent-info span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.chat-messages {
    padding: 1.25rem;
    height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.5;
    animation: fadeInUp 0.3s ease;
}

.chat-msg-agent {
    background: var(--cream-100);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-msg-user {
    background: var(--navy-900);
    color: var(--white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--stone-200);
}

.chat-quick-reply {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-full);
    background: none;
    cursor: pointer;
    color: var(--navy-900);
    transition: all var(--transition-fast);
}

.chat-quick-reply:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

.chat-input-row {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--stone-200);
}

.chat-input {
    flex: 1;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-full);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input:focus { border-color: var(--gold-400); }

.chat-send {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--gold-400);
    border: none;
    color: var(--navy-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.chat-send:hover { background: var(--gold-300); transform: scale(1.05); }

/* ── Testimonials ── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--gold-400);
    transition: box-shadow var(--transition-base);
}

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

.testimonial-stars {
    color: var(--gold-400);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.testimonial-detail {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Value Proposition / Features ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--gold-400);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--gold-100), var(--gold-50));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--navy-900);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Mortgage Calculator ── */
.calculator {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.calculator h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy-900);
}

.calc-result {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    margin: 1.5rem 0;
}

.calc-monthly {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold-300);
    letter-spacing: -0.02em;
    line-height: 1;
}

.calc-label {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.375rem;
}

.range-input {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--stone-200);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    margin: 0.75rem 0;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-400);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201,168,76,0.4);
    transition: transform var(--transition-fast);
}

.range-input::-webkit-slider-thumb:hover { transform: scale(1.2); }

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Lead Form ── */
.lead-form {
    background: var(--navy-900);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.lead-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lead-form-eyebrow { color: var(--gold-300); }

.lead-form h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0.5rem 0 0.75rem;
}

.lead-form p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.lead-form .form-control {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: var(--white);
}

.lead-form .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.lead-form .form-control::placeholder { color: rgba(255,255,255,0.3); }
.lead-form .form-label { color: rgba(255,255,255,0.6); }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 575px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ── Neighborhood Cards ── */
.neighborhood-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.neighborhood-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.neighborhood-card:hover img { transform: scale(1.06); }

.neighborhood-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,13,26,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background var(--transition-base);
}

.neighborhood-card:hover .neighborhood-overlay {
    background: linear-gradient(to top, rgba(6,13,26,0.95) 0%, rgba(6,13,26,0.2) 50%);
}

.neighborhood-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.neighborhood-count {
    font-size: 0.8125rem;
    color: var(--gold-300);
    letter-spacing: 0.05em;
}

.neighborhood-cta {
    margin-top: 1rem;
    transform: translateY(8px);
    opacity: 0;
    transition: all var(--transition-base);
}

.neighborhood-card:hover .neighborhood-cta {
    transform: translateY(0);
    opacity: 1;
}

/* ── Blog Cards ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--stone-200);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 0.5rem;
}

.blog-card-body h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.blog-card:hover h3 { color: var(--gold-400); }

.blog-card-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.blog-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--stone-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Map ── */
#property-map {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767px) { #property-map { height: 350px; } }

/* ── About Page ── */
.about-hero {
    position: relative;
    background: var(--navy-900);
    padding: calc(var(--section-py) * 1.5) 0;
    overflow: hidden;
}

.agent-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 767px) {
    .agent-profile-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.agent-photo-frame {
    position: relative;
}

.agent-photo-frame::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 80%;
    height: 80%;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.agent-photo {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.agent-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.credential-badge {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    color: var(--stone-800);
}

/* ── Timeline ── */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold-400), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.3125rem;
    top: 0.375rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.timeline-year {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold-400);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.timeline-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── Contact Page ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 767px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--stone-200);
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--gold-100), var(--gold-50));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* ── Dashboard ── */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

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

.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: sticky;
    top: 5rem;
}

.dashboard-user {
    padding: 2rem;
    background: var(--navy-900);
    text-align: center;
}

.dashboard-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy-900);
    margin: 0 auto 1rem;
}

.dashboard-username {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
}

.dashboard-email {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.2rem;
}

.dashboard-nav {
    list-style: none;
    padding: 0.75rem 0;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--cream-50);
    color: var(--navy-900);
}

.dashboard-nav a.active {
    border-right: 3px solid var(--gold-400);
    font-weight: 500;
}

.dashboard-nav i {
    width: 1.25rem;
    color: var(--gold-400);
}

.dashboard-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.dashboard-stat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--gold-400);
}

.dashboard-stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--navy-900);
    line-height: 1;
}

.dashboard-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

/* ── Property Detail ── */
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 520px;
}

@media (max-width: 767px) {
    .property-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    .property-gallery .gallery-img:not(:first-child) { display: none; }
}

.gallery-img {
    overflow: hidden;
    position: relative;
    background: var(--stone-200);
}

.gallery-img:first-child { grid-row: 1 / 3; }

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-img.gallery-img-broken {
    background: var(--stone-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img.gallery-img-broken::after {
    content: '\F3FC';
    font-family: 'bootstrap-icons';
    font-size: 2.5rem;
    color: var(--stone-400);
}

.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(6,13,26,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.gallery-more:hover { background: rgba(6,13,26,0.7); }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991px) {
    .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.detail-sidebar {
    position: sticky;
    top: 5rem;
}

.detail-inquiry {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

/* ── Neighborhood Detail ── */
.neighborhood-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.neighborhood-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.neighborhood-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy-900);
}

.neighborhood-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ── Footer ── */
.footer {
    background: var(--navy-950);
    padding: 5rem 0 0;
    color: rgba(255,255,255,0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

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

.footer-brand { color: var(--white); }

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-logo span { color: var(--gold-300); }

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.08);
}

.social-link:hover {
    background: var(--gold-400);
    color: var(--navy-900);
    border-color: var(--gold-400);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold-300); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--gold-300); }

/* ── Dark Mode Toggle ── */
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.15);
    color: var(--gold-300);
}

/* ── Notification Toast ── */
.toast-container {
    position: fixed;
    top: 5.5rem;
    right: 1.5rem;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    max-width: 360px;
    border-left: 3px solid var(--gold-400);
    animation: slideInRight 0.3s ease;
}

.toast-success { border-left-color: #22C55E; }
.toast-error { border-left-color: #EF4444; }

.toast-icon { color: var(--gold-400); font-size: 1.25rem; flex-shrink: 0; }
.toast-success .toast-icon { color: #22C55E; }
.toast-error .toast-icon { color: #EF4444; }

.toast-body { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); }
.toast-message { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.2rem; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ── Quiz / Multi-step Wizard ── */
.wizard-progress {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 2rem;
}

.wizard-step-indicator {
    flex: 1;
    height: 3px;
    background: var(--stone-200);
    border-radius: 2px;
    transition: background var(--transition-base);
}

.wizard-step-indicator.done { background: var(--gold-400); }
.wizard-step-indicator.active { background: var(--navy-700); }

.wizard-step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stone-200);
}

/* ── Map Markers ── */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 0 !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: auto !important;
}

.map-popup {
    width: 220px;
    padding: 1rem;
}

.map-popup-price {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.2rem;
}

.map-popup-address {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.map-popup-meta {
    display: flex;
    gap: 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-fade-in { animation: fadeIn 0.5s ease both; }
.animate-fade-up { animation: fadeInUp 0.5s ease both; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* Delay utilities */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── Utility Classes ── */
.text-gold { color: var(--gold-400); }
.text-navy { color: var(--navy-900); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

.bg-navy { background: var(--navy-900); }
.bg-cream { background: var(--cream-50); }
.bg-white { background: var(--white); }
.bg-gold-light { background: var(--gold-50); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

/* ── Blazor Error UI ── */
#blazor-error-ui {
    color-scheme: light only;
    background: var(--navy-900);
    color: var(--white);
    bottom: 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    font-family: var(--font-body);
}

#blazor-error-ui .reload {
    color: var(--gold-300);
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--stone-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-600); }

/* ── Print ── */
@media print {
    .navbar, .sticky-cta, .chat-widget, .modal-overlay { display: none !important; }
}

/* ==========================================================
   VENDORS FEATURE
   ========================================================== */

/* ── Vendors Hero ── */
.vendors-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    text-align: center;
    color: var(--white);
}
.vendors-hero-content { max-width: 680px; margin: 0 auto; }
.vendors-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    margin: .5rem 0 1rem;
}
.vendors-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Filters Bar ── */
.vendors-filters-bar {
    background: var(--cream-50);
    border-bottom: 1px solid var(--stone-200);
    padding: 1.25rem 0;
    position: sticky;
    top: 70px;
    z-index: 50;
}
.vendors-filter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.vendors-search-wrap {
    position: relative;
    flex-shrink: 0;
}
.vendors-search-wrap .bi-search {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--stone-400);
    pointer-events: none;
}
.vendors-search {
    padding: .55rem .9rem .55rem 2.4rem;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--text-primary);
    background: var(--white);
    width: 240px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.vendors-search:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.vendors-category-pills {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    flex: 1;
}
.vendor-pill {
    padding: .4rem 1rem;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-full);
    background: var(--white);
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.vendor-pill:hover { border-color: var(--gold-400); color: var(--gold-400); }
.vendor-pill.active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

/* ── Vendors Section ── */
.vendors-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}
.vendors-featured-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 600;
    color: var(--gold-400);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.vendors-result-count {
    font-size: .9rem;
    color: var(--stone-600);
    margin-bottom: 1.5rem;
}
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.vendors-loading, .vendors-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 5rem 0;
    text-align: center;
    color: var(--text-secondary);
}
.vendors-empty h3 { font-size: 1.3rem; margin: 0; }
.vendors-empty p { color: var(--stone-600); margin: 0; }

/* ── Vendor Card ── */
.vendor-card {
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-300);
}
.vendor-card.featured {
    border-color: var(--gold-300);
    background: linear-gradient(135deg, #FFFDF7 0%, var(--white) 100%);
}
.vendor-card-featured-ribbon {
    position: absolute;
    top: 0; right: 0;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    color: var(--navy-900);
    font-size: .7rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-bottom-left-radius: var(--radius-md);
    letter-spacing: .05em;
}
.vendor-card-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.vendor-card-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--stone-200);
}
.vendor-card-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gold-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-400);
    flex-shrink: 0;
}
.vendor-card-category {
    display: inline-block;
    background: var(--gold-50);
    color: var(--stone-800);
    border: 1px solid var(--gold-200);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .6rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.vendor-card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: .25rem 0 .35rem;
    line-height: 1.3;
}
.vendor-card-rating {
    display: flex;
    align-items: center;
    gap: .2rem;
}
.vendor-star-sm { font-size: .75rem; color: var(--gold-400); }
.vendor-rating-num { font-size: .8rem; font-weight: 700; color: var(--text-secondary); margin-left: .25rem; }
.vendor-review-cnt { font-size: .75rem; color: var(--stone-600); }
.vendor-card-desc {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}
.vendor-card-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.vendor-tag-sm {
    font-size: .72rem;
    color: var(--stone-600);
    background: var(--cream-100);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-full);
    padding: .15rem .55rem;
}
.vendor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--stone-200);
}
.vendor-card-contact { font-size: .8rem; color: var(--stone-600); }
.vendor-contact-line { display: flex; align-items: center; gap: .35rem; }
.vendor-card-actions { display: flex; align-items: center; gap: .5rem; }
.vendor-has-discount {
    font-size: .72rem;
    font-weight: 700;
    color: var(--white);
    background: #22a55b;
    border-radius: var(--radius-full);
    padding: .25rem .6rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.btn-xs {
    padding: .3rem .75rem;
    font-size: .8rem;
    border-radius: var(--radius-full);
}

/* ── Vendor Modal ── */
.vendor-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}
.vendor-modal-header {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--stone-200);
}
.vendor-modal-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--stone-200);
    flex-shrink: 0;
}
.vendor-modal-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: var(--gold-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-400);
    flex-shrink: 0;
}
.vendor-modal-category { font-size: .78rem; font-weight: 700; color: var(--stone-600); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .25rem; }
.vendor-modal-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 .4rem;
    line-height: 1.2;
}
.vendor-rating-row { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.vendor-star { font-size: .9rem; color: var(--gold-400); }
.vendor-rating-val { font-size: .9rem; font-weight: 700; color: var(--text-secondary); margin-left: .3rem; }
.vendor-rating-count { font-size: .85rem; color: var(--stone-600); }
.vendor-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--navy-900);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
    border-radius: var(--radius-full);
    padding: .25rem .75rem;
    margin-top: .5rem;
}
.vendor-modal-body { padding: 1.5rem 2rem 2rem; }
.vendor-modal-desc { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.vendor-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.vendor-tag {
    font-size: .78rem;
    color: var(--stone-800);
    background: var(--cream-100);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-full);
    padding: .25rem .7rem;
    font-weight: 500;
}
.vendor-modal-section { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--stone-200); }
.vendor-modal-section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}
.vendor-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.vendor-contact-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: .6rem .85rem;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.vendor-contact-item:hover { border-color: var(--gold-400); color: var(--gold-400); }
.vendor-contact-item .bi { color: var(--gold-400); flex-shrink: 0; }

/* ── Discount Cards ── */
.vendor-discounts { display: flex; flex-direction: column; gap: .75rem; }
.vendor-discount-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}
.vendor-discount-code-wrap {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .4rem;
}
.vendor-discount-code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #15803d;
    background: var(--white);
    border: 2px dashed #86efac;
    border-radius: var(--radius-sm);
    padding: .3rem .85rem;
    letter-spacing: .08em;
}
.vendor-copy-btn {
    background: #22c55e;
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: .3rem .6rem;
    cursor: pointer;
    font-size: .85rem;
    transition: background var(--transition-fast);
}
.vendor-copy-btn:hover { background: #16a34a; }
.vendor-discount-desc { font-size: .875rem; color: #166534; margin: 0 0 .3rem; }
.vendor-discount-expiry { font-size: .78rem; color: #4d7c0f; display: flex; align-items: center; gap: .3rem; }

/* ── Reviews ── */
.vendor-reviews-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1rem; }
.vendor-review-card {
    background: var(--cream-100);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    border: 1px solid var(--stone-200);
}
.vendor-review-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
    flex-wrap: wrap;
}
.vendor-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}
.vendor-review-meta { flex: 1; }
.vendor-review-stars { display: flex; gap: .15rem; margin-top: .1rem; }
.vendor-review-date { font-size: .78rem; color: var(--stone-600); margin-left: auto; }
.vendor-review-comment { font-size: .875rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ── Review Form ── */
.vendor-review-form {
    background: var(--cream-100);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1rem;
}
.vendor-review-form h5 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.vendor-star-picker { display: flex; align-items: center; gap: .2rem; }
.star-pick-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--stone-300);
    padding: 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.star-pick-btn.active { color: var(--gold-400); }
.star-pick-btn:hover { color: var(--gold-300); transform: scale(1.2); }

/* ── Copy Toast ── */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-900);
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: .9rem;
    font-weight: 600;
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: var(--shadow-lg);
    animation: toastIn .25s ease;
}
.copy-toast .bi-check-circle-fill { color: #4ade80; }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==========================================================
   ADMIN PANEL
   ========================================================== */

/* ── Admin Login ── */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
    padding: 2rem;
}
.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}
.admin-login-icon {
    font-size: 2.5rem;
    color: var(--gold-400);
    margin-bottom: 1rem;
}
.admin-login-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .5rem;
}
.admin-login-sub { color: var(--stone-600); margin-bottom: 1.5rem; }

/* ── Admin Hero ── */
.admin-panel-hero {
    background: var(--navy-900);
    color: var(--white);
    padding: 2.5rem 0;
}
.admin-panel-hero h1 { color: var(--white); }

/* ── Admin Stats ── */
.admin-stats-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    border: 1px solid var(--stone-200);
    text-align: center;
    min-width: 120px;
}
.admin-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1;
}
.admin-stat-label { font-size: .78rem; color: var(--stone-600); margin-top: .25rem; text-transform: uppercase; letter-spacing: .05em; }

/* ── Admin Tabs ── */
.admin-main { padding: 2rem 0 4rem; }
.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--stone-200);
    margin-bottom: 2rem;
}
.admin-tab {
    padding: .85rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    color: var(--stone-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: -2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.admin-tab:hover { color: var(--text-primary); }
.admin-tab.active { color: var(--navy-900); border-bottom-color: var(--gold-400); }
.admin-tab-content { padding-top: .5rem; }

/* ── Admin Vendor List ── */
.admin-vendor-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.admin-vendor-row {
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    transition: border-color var(--transition-fast);
}
.admin-vendor-row:hover { border-color: var(--gold-300); }
.admin-vendor-row.inactive { opacity: .6; }
.admin-vendor-row-info { display: flex; align-items: center; gap: 1rem; }
.admin-vendor-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--stone-200);
    flex-shrink: 0;
}
.admin-vendor-thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gold-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.admin-vendor-row-name { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.admin-vendor-row-meta { font-size: .8rem; color: var(--stone-600); display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .15rem; }
.admin-vendor-row-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.badge-featured-sm {
    font-size: .7rem; font-weight: 700;
    background: var(--gold-200); color: var(--stone-800);
    border-radius: var(--radius-full); padding: .15rem .5rem;
}
.badge-inactive-sm {
    font-size: .7rem; font-weight: 700;
    background: #fee2e2; color: #991b1b;
    border-radius: var(--radius-full); padding: .15rem .5rem;
}

/* ── Admin Form ── */
.admin-form-card {
    background: var(--cream-100);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}
.admin-form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.admin-checkboxes { display: flex; gap: 2rem; align-items: center; }
.admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    cursor: pointer;
}
.admin-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy-900); }
.admin-form-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--stone-200);
}

/* ── Admin Discount Blocks ── */
.admin-discount-vendor-block {
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.admin-discount-vendor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.admin-discount-form {
    background: var(--cream-100);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.admin-discount-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.admin-discount-row {
    background: var(--cream-100);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
}
.admin-discount-row.inactive { opacity: .5; }
.admin-discount-row-actions { display: flex; gap: .5rem; margin-top: .5rem; }

/* ── Admin Reviews ── */
.admin-reviews-vendor-block {
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.admin-reviews-vendor-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--stone-200);
}
.admin-review-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--stone-200);
}
.admin-review-row:last-child { border-bottom: none; }
.admin-review-info { flex: 1; }

/* ── Admin Confirm Modal ── */
.admin-confirm-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
}
.admin-confirm-icon { font-size: 2.5rem; color: #f59e0b; margin-bottom: 1rem; }
.admin-confirm-modal h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .75rem; }
.admin-confirm-modal p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.admin-confirm-actions { display: flex; gap: .75rem; justify-content: center; }

/* ── Danger Button ── */
.btn-danger {
    background: #ef4444;
    color: var(--white);
    border: none;
    padding: .6rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.btn-danger:hover { background: #dc2626; }
.btn-danger.btn-xs { padding: .3rem .75rem; font-size: .8rem; }

/* ── Alert ── */
.alert {
    padding: .75rem 1rem;
    border-radius: var(--radius-md);
    font-size: .875rem;
    margin-top: .75rem;
}
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* ── Responsive Vendor Adjustments ── */
@media (max-width: 768px) {
    .vendors-filter-row { flex-direction: column; align-items: stretch; }
    .vendors-search { width: 100%; }
    .vendors-search-wrap { width: 100%; }
    .vendor-contact-grid { grid-template-columns: 1fr; }
    .vendor-modal-header { flex-direction: column; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-form-grid [style*="grid-column:1/-1"] { grid-column: 1; }
    .vendors-grid { grid-template-columns: 1fr; }
    .admin-stats-row { justify-content: center; }
    /* Events responsive */
    .events-filter-row { flex-direction: column; align-items: stretch; gap: .75rem; }
    .events-search-wrap { width: 100%; }
    .events-city-tabs { flex-wrap: wrap; }
    .events-grid { grid-template-columns: 1fr; }
    .events-featured-grid { grid-template-columns: 1fr; }
    .event-modal { max-width: 95vw; max-height: 90vh; }
}

/* ==========================================================
   EVENTS PAGE
   ========================================================== */

/* ── Hero ── */
.events-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    text-align: center;
    color: var(--white);
}
.events-hero-content { max-width: 680px; margin: 0 auto; }
.events-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    margin: .5rem 0 1rem;
}
.events-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Filter Bar ── */
.events-filter-bar {
    background: var(--cream-50);
    border-bottom: 1px solid var(--stone-200);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.events-filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: .875rem;
}
.events-city-tabs {
    display: flex;
    gap: .375rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.events-city-tab {
    background: transparent;
    border: 1.5px solid var(--stone-300);
    border-radius: 2rem;
    padding: .35rem .85rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}
.events-city-tab:hover { border-color: var(--navy-600); color: var(--navy-700); }
.events-city-tab.active {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: var(--white);
}
.events-search-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--white);
    border: 1.5px solid var(--stone-300);
    border-radius: 2rem;
    padding: .4rem 1rem;
    min-width: 200px;
}
.events-search-wrap i { color: var(--stone-400); }
.events-search {
    border: none;
    outline: none;
    background: transparent;
    font-size: .875rem;
    width: 160px;
    color: var(--text-primary);
}
.events-category-pills {
    display: flex;
    gap: .375rem;
    flex-wrap: wrap;
}
.events-pill {
    background: transparent;
    border: 1.5px solid var(--stone-200);
    border-radius: 2rem;
    padding: .25rem .75rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.events-pill:hover { border-color: var(--sage-600); color: var(--sage-700); }
.events-pill.active {
    background: var(--sage-600);
    border-color: var(--sage-600);
    color: var(--white);
}

/* ── Section ── */
.events-section { padding: 3rem 0 5rem; background: var(--cream-100); }
.events-section-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ── Grids ── */
.events-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* ── Event Card ── */
.event-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--stone-200);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.event-card-featured {
    border: 2px solid var(--gold-400);
    box-shadow: 0 4px 16px rgba(212,175,55,.15);
}
.event-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--stone-100);
}
.event-card-featured .event-card-image { height: 220px; }
.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s;
}
.event-card:hover .event-card-image img { transform: scale(1.04); }
.event-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.35) 0%, transparent 60%);
}
.event-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: rgba(255,255,255,.35);
    font-size: 2.5rem;
}
.event-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}
.event-card-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.event-badge {
    display: inline-block;
    background: var(--navy-50);
    color: var(--navy-700);
    border: 1px solid var(--navy-200);
    border-radius: .375rem;
    padding: .15rem .5rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.event-badge-featured { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.event-city-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    color: var(--text-secondary);
}
.event-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}
.event-card-featured .event-card-title { font-size: 1.2rem; }
.event-card-date, .event-card-location {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .8rem;
    color: var(--text-secondary);
}
.event-card-date i, .event-card-location i { color: var(--sage-600); flex-shrink: 0; }
.event-card-desc {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: .25rem 0 0;
}

/* ── Loading / Empty ── */
.events-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem 0;
    color: var(--text-secondary);
}
.events-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}
.events-empty h3 { margin: 1rem 0 .5rem; color: var(--text-primary); }
.events-count-footer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: .85rem;
    color: var(--stone-500);
}

/* ── Event Modal ── */
.event-modal {
    background: var(--white);
    border-radius: 1.25rem;
    max-width: 640px;
    width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.25);
    animation: slideUp .25s ease;
}
.event-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,.5);
    border: none;
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    z-index: 2;
    transition: background .15s;
}
.event-modal-close:hover { background: rgba(0,0,0,.75); }
.event-modal-image { height: 280px; overflow: hidden; border-radius: 1.25rem 1.25rem 0 0; }
.event-modal-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.event-modal-body { padding: 1.75rem; }
.event-modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: .5rem 0 1.25rem;
    line-height: 1.3;
}
.event-modal-details {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.event-modal-detail-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--text-secondary);
}
.event-modal-detail-row i { color: var(--sage-600); flex-shrink: 0; }
.event-modal-desc {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
}

/* ── Event Modal Action Bar ── */
.event-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.375rem;
    padding-top: 1.125rem;
    border-top: 1px solid #f1f5f9;
}

.event-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .5rem 1rem;
    border-radius: 2rem;
    border: 1.5px solid #e2e8f0;
    background: var(--white);
    color: #475569;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.event-action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    text-decoration: none;
    transform: translateY(-1px);
}

.event-action-primary {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--navy-900);
}
.event-action-primary:hover {
    background: var(--gold-300);
    border-color: var(--gold-300);
    color: var(--navy-900);
}

.event-action-copied {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}
.event-action-copied:hover {
    background: #bbf7d0;
    border-color: #86efac;
    color: #15803d;
}

/* ── Social Share Panel ── */
.event-share-panel {
    margin-top: .875rem;
    padding: .875rem 1rem;
    background: #f8fafc;
    border-radius: .75rem;
    border: 1px solid #e2e8f0;
    animation: slideUp .18s ease;
}
.event-share-panel-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: .625rem;
}
.event-share-options {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.event-share-option {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 600;
    padding: .375rem .875rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: opacity .15s, transform .1s;
    line-height: 1;
}
.event-share-option:hover { opacity: .85; transform: translateY(-1px); text-decoration: none; }
.event-share-fb    { background: #1877f2; color: #fff; }
.event-share-x     { background: #000;    color: #fff; }
.event-share-wa    { background: #25d366; color: #fff; }
.event-share-email { background: #334155; color: #fff; }
