/* ═══════════════════════════════════════════════════════════
   VASTGOED.LAND — Premium Design System v2.0
   Navy / White / Gold — Bloomberg meets Funda
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Brand palette */
    --vg-navy: #081F3C;
    --vg-navy-light: #1a3a5c;
    --vg-blue: #1463FF;
    --vg-blue-light: #3b82f6;
    --vg-green: #16A34A;
    --vg-green-light: #DCFCE7;
    --vg-green-dark: #166534;
    --vg-gold: #C89B3C;
    --vg-gold-light: #F5E6C8;

    /* Neutrals */
    --vg-bg: #F8FAFC;
    --vg-white: #FFFFFF;
    --vg-text: #111827;
    --vg-text-secondary: #4B5563;
    --vg-text-light: #9CA3AF;
    --vg-border: #E5E7EB;
    --vg-border-light: #F3F4F6;

    /* Typography */
    --vg-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --vg-font-display: "Inter", -apple-system, sans-serif;

    /* Shadows */
    --vg-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --vg-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --vg-shadow-lg: 0 10px 30px rgba(0,0,0,0.10);
    --vg-shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --vg-shadow-glow: 0 0 30px rgba(20, 99, 255, 0.15);

    /* Radius */
    --vg-radius-sm: 8px;
    --vg-radius: 16px;
    --vg-radius-lg: 24px;
    --vg-radius-xl: 32px;

    /* Transitions */
    --vg-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─────────────────────────────────────────── */

* {
    box-sizing: border-box;
}

body {
    background: var(--vg-bg);
    font-family: var(--vg-font);
    color: var(--vg-text);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--vg-blue);
    text-decoration: none;
    transition: color var(--vg-transition);
}
a:hover {
    color: var(--vg-navy);
}

h1, h2, h3, h4 {
    font-family: var(--vg-font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--vg-navy);
    margin: 0 0 16px;
}

p {
    line-height: 1.6;
    color: var(--vg-text-secondary);
}

/* ─── Layout ───────────────────────────────────────────────── */

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

.vg-section {
    padding: 64px 0;
}

.vg-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.vg-section-header h2 {
    font-size: 28px;
    margin: 0;
}

.vg-section-header a {
    font-size: 14px;
    font-weight: 600;
    color: var(--vg-blue);
}

/* ─── Header ───────────────────────────────────────────────── */

.vastgoed-header {
    background: var(--vg-white);
    border-bottom: 1px solid var(--vg-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.vastgoed-header .vastgoed-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vastgoed-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.03em;
}

.vastgoed-header h1 a {
    color: var(--vg-navy);
    text-decoration: none;
}

.vastgoed-header nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.vastgoed-header nav a {
    color: var(--vg-text-secondary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--vg-transition);
}

.vastgoed-header nav a:hover {
    color: var(--vg-navy);
}

.vg-header-cta {
    background: var(--vg-navy);
    color: var(--vg-white) !important;
    padding: 8px 20px;
    border-radius: var(--vg-radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.vg-header-cta:hover {
    background: var(--vg-navy-light);
}

.vg-header-account { padding: 8px 12px; border: 1px solid var(--vg-border); border-radius: var(--vg-radius-sm); color: var(--vg-text); text-decoration: none; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.vg-header-account:hover { border-color: var(--vg-blue); color: var(--vg-blue); }

/* Account dropdown menu (header) */
.vg-account-menu { position: relative; }
.vg-account-menu > summary { list-style: none; cursor: pointer; }
.vg-account-menu > summary::-webkit-details-marker { display: none; }
.vg-account-menu > summary::after { content: ' ⌄'; font-size: 12px; color: var(--vg-text-light); }
.vg-account-menu[open] > summary::after { content: ' ⌃'; }
.vg-account-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--vg-white);
    border: 1px solid var(--vg-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(8,31,60,.12);
    padding: 16px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vg-account-panel strong { color: var(--vg-text); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.vg-account-panel small { color: var(--vg-text-light); font-size: 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--vg-border-light); }
.vg-account-panel a {
    color: var(--vg-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.12s;
}
.vg-account-panel a:hover { background: var(--vg-bg); color: var(--vg-blue); }
.vg-account-panel a:last-child:hover { background: #FEF2F2; color: #DC2626; }
.vg-nav-mega { position: static; }
.vg-nav-mega-toggle { border: 0; background: transparent; color: var(--vg-text-secondary); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; padding: 10px 0; }
.vg-nav-mega-toggle span { display: inline-block; transition: transform 180ms ease; }
.vg-nav-mega.open .vg-nav-mega-toggle span { transform: rotate(180deg); }
.vg-mega-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; width: 100vw; background: var(--vg-white); border-top: 1px solid var(--vg-border); border-bottom: 1px solid var(--vg-border); box-shadow: 0 22px 48px rgba(8,31,60,.14); }
.vg-nav-mega.open .vg-mega-panel { display: block; }
.vg-mega-inner { max-width: 1280px; margin: 0 auto; padding: 30px 24px 34px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(260px,1.15fr); gap: 28px; }
.vg-mega-inner section { display: flex; flex-direction: column; gap: 5px; }
.vastgoed-header nav .vg-mega-inner a,.vg-mega-coming { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.vastgoed-header nav .vg-mega-inner a:hover { background: var(--vg-bg); }
.vg-mega-inner strong { color: var(--vg-navy); font-size: 14px; }
.vg-mega-inner small { color: var(--vg-text-light); font-size: 12px; line-height: 1.4; }
.vg-mega-eyebrow { color: var(--vg-gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 12px 8px; }
.vg-mega-coming { opacity: .58; }
.vg-mega-inner aside { background: var(--vg-bg); color: var(--vg-text); border: 1px solid var(--vg-border); border-radius: 14px; padding: 22px; }
.vg-mega-inner aside strong { color: var(--vg-navy); font-size: 18px; }
.vg-mega-inner aside p { color: var(--vg-text-secondary); font-size: 13px; line-height: 1.55; }
.vastgoed-header nav .vg-mega-action { display: inline-flex; background: var(--vg-gold); color: var(--vg-navy); font-weight: 700; margin-top: 6px; }

/* Old 768px nav shrink removed — hamburger menu handles mobile nav now */

/* ─── Hero ─────────────────────────────────────────────────── */

.vg-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--vg-navy);
}

.vg-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.vg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,31,60,0.85) 0%, rgba(8,31,60,0.4) 50%, rgba(8,31,60,0.1) 100%);
}

.vg-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.vg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--vg-white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.vg-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--vg-green);
    border-radius: 50%;
    animation: vg-pulse 2s infinite;
}

@keyframes vg-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.vg-hero h1 {
    color: var(--vg-white);
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 16px;
    max-width: 700px;
    letter-spacing: -0.03em;
}

.vg-hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    margin: 0 0 40px;
    max-width: 500px;
    line-height: 1.5;
}

/* ─── Search Bar (Hero) ────────────────────────────────────── */

.vg-search-hero {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 8px;
    display: flex;
    gap: 8px;
    max-width: 640px;
    box-shadow: var(--vg-shadow-xl);
    align-items: center;
}

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

.vg-search-hero input::placeholder {
    color: var(--vg-text-light);
}

.vg-search-btn {
    background: var(--vg-navy);
    color: var(--vg-white);
    border: none;
    padding: 16px 32px;
    border-radius: var(--vg-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--vg-transition);
    font-family: var(--vg-font);
    white-space: nowrap;
}

.vg-search-btn:hover {
    background: var(--vg-navy-light);
}

/* ─── Popular searches ─────────────────────────────────────── */

.vg-popular {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.vg-popular-label {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
}

.vg-popular a {
    color: var(--vg-white);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--vg-transition);
    backdrop-filter: blur(5px);
}

.vg-popular a:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

/* ─── Stats bar ────────────────────────────────────────────── */

.vg-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    box-shadow: var(--vg-shadow-lg);
    overflow: hidden;
    margin: -40px 24px 0;
    position: relative;
    z-index: 10;
}

.vg-stat-item {
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid var(--vg-border-light);
}

.vg-stat-item:last-child {
    border-right: none;
}

.vg-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--vg-navy);
    letter-spacing: -0.02em;
}

.vg-stat-label {
    font-size: 13px;
    color: var(--vg-text-light);
    margin-top: 4px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .vg-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin: -20px 16px 0;
    }
    .vg-stat-item {
        padding: 20px 16px;
    }
    .vg-stat-number {
        font-size: 24px;
    }
    .vg-hero h1 {
        font-size: 36px;
    }
    .vg-hero-subtitle {
        font-size: 16px;
    }
    .vg-search-hero {
        flex-direction: column;
        padding: 12px;
    }
    .vg-search-hero input {
        width: 100%;
    }
    .vg-search-btn {
        width: 100%;
    }
}

/* ─── Property Cards ───────────────────────────────────────── */

.vg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.vg-property-card {
    display: block;
    background: var(--vg-white);
    border-radius: var(--vg-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--vg-text);
    box-shadow: var(--vg-shadow);
    transition: all var(--vg-transition);
    border: 1px solid var(--vg-border-light);
}

.vg-property-card:hover {
    box-shadow: var(--vg-shadow-xl);
    transform: translateY(-6px);
}

.vg-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--vg-border-light);
}

/* Premium placeholder when no photo exists yet */
.vg-card-image.vg-no-photo {
    background: linear-gradient(135deg, var(--vg-navy) 0%, var(--vg-navy-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vg-card-image.vg-no-photo .vg-placeholder-icon {
    width: 56px;
    height: 56px;
    opacity: 0.25;
}

.vg-card-image.vg-no-photo .vg-placeholder-text {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.vg-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vg-card-image .vg-lqip,
.vg-card-image .vg-progressive-image {
    position: absolute;
    inset: 0;
}

.vg-card-image .vg-lqip {
    filter: blur(14px);
    transform: scale(1.08);
    transition: opacity 320ms ease;
}

.vg-card-image .vg-progressive-image {
    opacity: 0;
    transition: opacity 320ms ease, transform 0.5s ease;
}

.vg-card-image.vg-image-loaded .vg-progressive-image {
    opacity: 1;
}

.vg-card-image.vg-image-loaded .vg-lqip {
    opacity: 0;
}

.vg-gallery.vg-gallery-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.65);
    background: linear-gradient(135deg, var(--vg-navy) 0%, var(--vg-navy-light) 100%);
}

.vg-gallery.vg-gallery-empty .vg-placeholder-icon { width: 64px; height: 64px; opacity: 0.35; }

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

.vg-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--vg-white);
    color: var(--vg-navy);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--vg-shadow-sm);
}

.vg-card-badge-ai {
    background: var(--vg-green-light);
    color: var(--vg-green-dark);
}

.vg-card-badge-new {
    background: var(--vg-gold-light);
    color: #92660a;
}

.vg-card-badge-drop {
    background: #FEE2E2;
    color: #991B1B;
}

.vg-card-body {
    padding: 24px;
}

.vg-card-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--vg-navy);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.vg-card-price small {
    font-size: 13px;
    font-weight: 600;
    color: var(--vg-text-light);
    margin-left: 2px;
}

.vg-card-price-m2 {
    font-size: 12px;
    color: var(--vg-text-light);
    margin-bottom: 6px;
}

.vg-card-type {
    font-size: 12px;
    color: var(--vg-text-secondary);
    margin-top: 8px;
    text-transform: capitalize;
}

.vg-card-age {
    font-size: 11px;
    color: var(--vg-text-light);
    margin-top: 4px;
}

/* Status badge on card image */
.vg-card-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(4px);
    z-index: 2;
}
.vg-status-sold { background: rgba(220, 38, 38, 0.9); }
.vg-status-rented { background: rgba(220, 38, 38, 0.9); }
.vg-status-available, .vg-status-active { background: rgba(22, 163, 74, 0.9); }
.vg-status-onder_optie { background: rgba(234, 179, 8, 0.9); }

/* Price change badge */
.vg-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.vg-badge-drop { background: rgba(22, 163, 74, 0.9); }
.vg-badge-up { background: rgba(234, 88, 12, 0.9); }

/* Card image needs position relative for badges */
.vg-card-image { position: relative; }

.vg-card-address {
    font-size: 16px;
    font-weight: 600;
    color: var(--vg-text);
    margin-bottom: 2px;
}

.vg-card-city {
    font-size: 14px;
    color: var(--vg-text-light);
    margin-bottom: 16px;
}

.vg-card-specs {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--vg-text-secondary);
    padding-top: 16px;
    border-top: 1px solid var(--vg-border-light);
}

.vg-card-spec {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vg-card-ai-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--vg-green-light);
    color: var(--vg-green-dark);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
}

.vg-card-ai-score svg {
    width: 14px;
    height: 14px;
}

/* ─── City Cards ───────────────────────────────────────────── */

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

.vg-city-card {
    display: block;
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 0;
    text-decoration: none;
    color: var(--vg-text);
    box-shadow: var(--vg-shadow-sm);
    transition: all var(--vg-transition);
    border: 1px solid var(--vg-border);
    text-align: left;
    overflow: hidden;
}

.vg-city-card:hover {
    box-shadow: var(--vg-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--vg-blue);
}

.vg-city-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--vg-bg);
}

.vg-city-card-image .vg-lqip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}

.vg-city-card-image .vg-progressive-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vg-city-card-image .vg-progressive-image.loaded {
    opacity: 1;
}

/* Error fallback — show LQIP if full image fails to load */
.vg-city-card-image .vg-progressive-image.vg-image-error {
    opacity: 0;
}
.vg-city-card-image:has(.vg-image-error) .vg-lqip {
    opacity: 1;
}
.vg-card-image:has(.vg-image-error) .vg-lqip {
    opacity: 1;
}

/* No-JS fallback — if JavaScript doesn't run, show images anyway */
.no-js .vg-progressive-image { opacity: 1 !important; }
.no-js .vg-lqip { opacity: 0 !important; }

.vg-city-card > *:not(.vg-city-card-image) {
    padding-left: 22px;
    padding-right: 22px;
}

.vg-city-card h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--vg-navy);
}

.vg-city-card-top { display:flex; justify-content:space-between; align-items:center; padding-top:18px; margin-bottom:18px; }
.vg-city-card-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; background:var(--vg-bg); color:var(--vg-blue); }
.vg-city-card-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; }
.vg-city-card-province { font-size:11px; font-weight:700; color:var(--vg-text-light); text-transform:uppercase; letter-spacing:.05em; }
.vg-city-card-primary { display:flex; align-items:baseline; gap:7px; margin:8px 0 16px; }
.vg-city-card-primary strong { font-size:24px; color:var(--vg-navy); }
.vg-city-card-primary span { font-size:13px; color:var(--vg-text-secondary); }
.vg-city-card-stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:14px 0; border-top:1px solid var(--vg-border-light); border-bottom:1px solid var(--vg-border-light); font-size:13px; font-weight:700; color:var(--vg-navy); }
.vg-city-card-stats span { display:flex; flex-direction:column; gap:3px; }
.vg-city-card-stats small { font-size:10px; font-weight:600; color:var(--vg-text-light); text-transform:uppercase; letter-spacing:.05em; }
.vg-city-card-link { display:flex; justify-content:space-between; margin-top:14px; color:var(--vg-blue); font-size:12px; font-weight:700; }

@media (max-width: 1100px) {
    .vastgoed-header nav { gap: 14px; }
    .vg-mega-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
    .vg-nav-mega { width: 100%; }
    .vg-nav-mega-toggle { width:100%; text-align:left; display:flex; justify-content:space-between; padding:12px 0; }
    .vg-mega-panel { position:static; width:100%; box-shadow:none; border:0; max-height:60vh; overflow:auto; }
    .vg-mega-inner { grid-template-columns:1fr; padding:12px 0; gap:14px; }
    .vg-mega-inner aside { display:none; }
}

.vg-city-card-count {
    font-size: 14px;
    color: var(--vg-text-secondary);
    margin-bottom: 12px;
}

.vg-city-card-avg {
    font-size: 13px;
    color: var(--vg-text-light);
}

.vg-city-card-trend {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--vg-green);
    background: var(--vg-green-light);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ─── Market Intelligence Cards ────────────────────────────── */

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

.vg-intel-card {
    background: var(--vg-white);
    border-radius: var(--vg-radius-lg);
    padding: 32px;
    box-shadow: var(--vg-shadow);
    border: 1px solid var(--vg-border-light);
    transition: all var(--vg-transition);
}

.vg-intel-card:hover {
    box-shadow: var(--vg-shadow-lg);
}

.vg-intel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--vg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.vg-intel-icon-blue {
    background: #EFF6FF;
    color: var(--vg-blue);
}

.vg-intel-icon-green {
    background: var(--vg-green-light);
    color: var(--vg-green);
}

.vg-intel-icon-gold {
    background: var(--vg-gold-light);
    color: var(--vg-gold);
}

.vg-intel-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.vg-intel-card p {
    font-size: 14px;
    margin: 0;
}

.vg-intel-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--vg-navy);
    margin: 12px 0 4px;
    letter-spacing: -0.02em;
}

.vg-intel-change {
    font-size: 14px;
    font-weight: 600;
}

.vg-intel-change-up {
    color: var(--vg-green);
}

.vg-intel-change-down {
    color: #DC2626;
}

@media (max-width: 768px) {
    .vg-intelligence-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Why Vastgoed.land Section ────────────────────────────── */

.vg-why {
    background: var(--vg-navy);
    color: var(--vg-white);
    padding: 80px 0;
    margin-top: 64px;
}

.vg-why h2 {
    color: var(--vg-white);
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.vg-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.vg-why-item {
    text-align: center;
}

.vg-why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--vg-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.vg-why-item h3 {
    color: var(--vg-white);
    font-size: 20px;
    margin: 0 0 8px;
}

.vg-why-item p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .vg-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Horizontal layout on mobile: icon left, text right */
    .vg-why-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
    .vg-why-icon {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
        font-size: 22px;
    }
    .vg-why-item h3 {
        font-size: 17px;
        margin: 0 0 4px;
    }
    .vg-why-item p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ─── Property Detail Page ─────────────────────────────────── */

.vg-breadcrumb {
    font-size: 14px;
    color: var(--vg-text-light);
    padding: 20px 0;
}

.vg-breadcrumb a {
    color: var(--vg-text-secondary);
    text-decoration: none;
}

.vg-breadcrumb a:hover {
    color: var(--vg-blue);
}

.vg-breadcrumb span {
    color: var(--vg-text);
    font-weight: 500;
}

/* Breadcrumbs (WHYBLE-2310) — used on /woningen hierarchy pages */
.vg-breadcrumbs {
    font-size: 14px;
    color: var(--vg-text-light);
    padding: 16px 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.vg-breadcrumbs a {
    color: var(--vg-text-secondary);
    text-decoration: none;
}

.vg-breadcrumbs a:hover {
    color: var(--vg-blue);
}

.vg-breadcrumbs span {
    color: var(--vg-text);
    font-weight: 500;
}

/* Property header */
.vg-property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.vg-property-header h1 {
    font-size: 36px;
    margin: 0 0 4px;
}

.vg-property-location {
    font-size: 18px;
    color: var(--vg-text-secondary);
    margin: 0;
}

.vg-property-price {
    text-align: right;
}

.vg-property-price .vg-price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--vg-navy);
    letter-spacing: -0.02em;
}

.vg-property-price .vg-price-note {
    font-size: 14px;
    color: var(--vg-text-light);
}

/* Gallery */
.vg-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 8px;
    margin-bottom: 40px;
    border-radius: var(--vg-radius-lg);
    overflow: hidden;
}

.vg-gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.vg-gallery-item:first-child {
    grid-row: span 2;
}

.vg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

@media (max-width: 768px) {
    .vg-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px;
    }
    .vg-gallery-item:first-child {
        grid-row: span 1;
        grid-column: span 2;
    }
}

/* Intelligence panels */
.vg-intelligence-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.vg-panel {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 28px;
    box-shadow: var(--vg-shadow);
    border: 1px solid var(--vg-border-light);
}

.vg-panel-label {
    font-size: 13px;
    color: var(--vg-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.vg-panel-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--vg-navy);
    letter-spacing: -0.02em;
}

.vg-panel-value-green {
    color: var(--vg-green);
}

.vg-panel-value-gold {
    color: var(--vg-gold);
}

.vg-panel-sub {
    font-size: 14px;
    color: var(--vg-text-secondary);
    margin-top: 8px;
}

.vg-panel-bar {
    height: 8px;
    background: var(--vg-border-light);
    border-radius: 100px;
    margin-top: 16px;
    overflow: hidden;
}

.vg-panel-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 0.6s ease;
}

.vg-panel-bar-fill-green {
    background: var(--vg-green);
}

.vg-panel-bar-fill-gold {
    background: var(--vg-gold);
}

.vg-panel-bar-fill-blue {
    background: var(--vg-blue);
}

@media (max-width: 768px) {
    .vg-intelligence-panels {
        grid-template-columns: 1fr;
    }
}

/* Property layout */
.vg-property-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    margin-top: 20px;
}

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

/* Facts table */
.vg-facts {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 32px;
    box-shadow: var(--vg-shadow);
    margin-bottom: 32px;
}

.vg-facts h2 {
    font-size: 22px;
    margin: 0 0 24px;
}

.vg-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.vg-fact-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--vg-border-light);
    display: flex;
    justify-content: space-between;
}

.vg-fact-label {
    color: var(--vg-text-light);
    font-size: 14px;
}

.vg-fact-value {
    font-weight: 600;
    font-size: 14px;
    color: var(--vg-text);
}

@media (max-width: 600px) {
    .vg-facts-grid {
        grid-template-columns: 1fr;
    }
}

/* AI Analysis panel */
.vg-ai-panel {
    background: var(--vg-white);
    border: 1px solid #D7E4F2;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 18px 48px rgba(10, 37, 64, 0.08);
}

.vg-ai-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.vg-ai-icon {
    width: 40px;
    height: 40px;
    background: var(--vg-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vg-white);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.vg-ai-heading { flex: 1; }

.vg-ai-eyebrow,
.vg-ai-section-label {
    display: block;
    color: var(--vg-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.vg-ai-panel h2 {
    font-size: 22px;
    margin: 2px 0 0;
}

.vg-ai-verdict {
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.vg-ai-verdict-positive { background: #E8F7EF; color: #087443; }
.vg-ai-verdict-attention { background: #FFF3DF; color: #9A5A00; }
.vg-ai-verdict-neutral { background: #EAF2FF; color: #2459A9; }

.vg-ai-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.vg-ai-metric {
    padding: 14px;
    background: #F6F9FC;
    border: 1px solid #E5EDF5;
    border-radius: 12px;
}

.vg-ai-metric span { display: block; color: var(--vg-text-light); font-size: 12px; margin-bottom: 5px; }
.vg-ai-metric strong { color: var(--vg-navy); font-size: 18px; }

.vg-ai-summary {
    font-size: 16px;
    font-weight: 500;
    color: var(--vg-navy);
    margin: 8px 0 20px;
    line-height: 1.65;
    max-width: 72ch;
}

.vg-ai-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vg-ai-col h3 {
    font-size: 15px;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vg-ai-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vg-ai-col li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.vg-ai-strengths li {
    color: var(--vg-green-dark);
}

.vg-ai-risks li {
    color: #92400E;
}

.vg-ai-confidence {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(186, 230, 253, 0.5);
    font-size: 13px;
    color: var(--vg-text-secondary);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 16px;
}

.vg-ai-confidence > div:first-child { display: flex; gap: 6px; flex-direction: column; }
.vg-ai-confidence > div:first-child span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.vg-ai-confidence-track { height: 7px; overflow: hidden; border-radius: 999px; background: #E3EBF3; }
.vg-ai-confidence-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2A64EE, #28A880); }
.vg-ai-confidence small { grid-column: 1 / -1; color: var(--vg-text-light); line-height: 1.45; }

.vg-ai-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vg-ai-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 9px; background: #F3F7FC; color: var(--vg-navy); font-size: 13px; font-weight: 650; text-decoration: none; }
.vg-ai-actions a:hover { background: #E7F0FF; color: var(--vg-blue); }

/* Intelligence insight tags (WHYBLE-2298) */
.vg-ai-insights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.vg-insight-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(186, 230, 253, 0.15);
    color: var(--vg-blue);
    border: 1px solid rgba(186, 230, 253, 0.3);
}

.vg-confidence-dots {
    display: inline-flex;
    gap: 4px;
}

.vg-confidence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vg-border);
}

.vg-confidence-dot.active {
    background: var(--vg-blue);
}

@media (max-width: 600px) {
    .vg-ai-columns {
        grid-template-columns: 1fr;
    }
    .vg-ai-panel { padding: 20px; }
    .vg-ai-panel-header { align-items: flex-start; flex-wrap: wrap; }
    .vg-ai-verdict { margin-left: 52px; }
    .vg-ai-metrics { grid-template-columns: 1fr; }
    .vg-ai-confidence { grid-template-columns: 1fr; }
}

/* Price history */
.vg-history {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 32px;
    box-shadow: var(--vg-shadow);
    margin-bottom: 32px;
}

.vg-history h2 {
    font-size: 22px;
    margin: 0 0 24px;
}

.vg-timeline {
    position: relative;
    padding-left: 24px;
}

.vg-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--vg-border);
}

.vg-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.vg-timeline-item:last-child {
    padding-bottom: 0;
}

.vg-timeline-dot {
    position: absolute;
    left: -22px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--vg-white);
    border: 3px solid var(--vg-blue);
}

.vg-timeline-dot.drop {
    border-color: var(--vg-green);
}

.vg-timeline-dot.increase {
    border-color: #DC2626;
}

.vg-timeline-date {
    font-size: 13px;
    color: var(--vg-text-light);
    margin-bottom: 2px;
}

.vg-timeline-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--vg-navy);
}

.vg-timeline-change {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
}

.vg-timeline-change.drop {
    color: var(--vg-green);
}

.vg-timeline-change.increase {
    color: #DC2626;
}

/* Evidence panel */
.vg-evidence {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 32px;
    box-shadow: var(--vg-shadow);
    margin-bottom: 32px;
}

.vg-evidence h2 {
    font-size: 22px;
    margin: 0 0 8px;
}

.vg-evidence-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--vg-green-light);
    color: var(--vg-green-dark);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.vg-evidence-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vg-evidence-item {
    background: var(--vg-bg);
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    padding: 16px 20px;
    text-align: center;
    min-width: 140px;
}

.vg-evidence-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--vg-navy);
}

.vg-evidence-label {
    font-size: 12px;
    color: var(--vg-text-light);
    margin-top: 4px;
}

/* Similar properties */
.vg-similar {
    margin-bottom: 32px;
}

.vg-similar h2 {
    font-size: 22px;
    margin: 0 0 24px;
}

/* Sidebar */
.vg-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.vg-lead-box {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 28px;
    box-shadow: var(--vg-shadow-lg);
    border: 1px solid var(--vg-border);
    margin-bottom: 20px;
}

.vg-lead-box h3 {
    font-size: 20px;
    margin: 0 0 4px;
}

.vg-lead-box p {
    font-size: 14px;
    color: var(--vg-text-secondary);
    margin: 0 0 20px;
}

.vg-form input,
.vg-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    margin-bottom: 10px;
    font-size: 15px;
    font-family: var(--vg-font);
    transition: border-color var(--vg-transition);
}

.vg-form input:focus,
.vg-form textarea:focus {
    outline: none;
    border-color: var(--vg-blue);
    box-shadow: 0 0 0 3px rgba(20, 99, 255, 0.1);
}

.vg-form textarea {
    resize: vertical;
    min-height: 80px;
}

.vg-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--vg-navy);
    color: var(--vg-white);
    border: none;
    border-radius: var(--vg-radius-sm);
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--vg-font);
    transition: all var(--vg-transition);
    text-align: center;
}

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

.vg-btn-blue {
    background: var(--vg-blue);
}

.vg-btn-blue:hover {
    background: #2563EB;
}

.vg-btn-full {
    width: 100%;
    display: block;
}

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

.vg-btn-outline:hover {
    border-color: var(--vg-navy);
    background: var(--vg-bg);
}

/* Source link */
.vg-source-box {
    background: var(--vg-bg);
    border-radius: var(--vg-radius);
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--vg-text-light);
}

.vg-source-box a {
    font-weight: 600;
}

/* ─── City Page ────────────────────────────────────────────── */

.vg-city-hero {
    background: var(--vg-navy);
    color: var(--vg-white);
    padding: 60px 0 40px;
    border-radius: 0 0 var(--vg-radius-xl) var(--vg-radius-xl);
    margin-bottom: 40px;
}

.vg-city-hero h1 {
    color: var(--vg-white);
    font-size: 42px;
    margin: 0 0 8px;
}

.vg-city-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    margin: 0;
}

.vg-city-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.vg-stat-card {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 24px;
    box-shadow: var(--vg-shadow);
    border: 1px solid var(--vg-border-light);
}

.vg-stat-card .vg-stat-label {
    font-size: 13px;
    color: var(--vg-text-light);
    margin-bottom: 8px;
}

.vg-stat-card .vg-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--vg-navy);
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .vg-city-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Transaction Tabs (city pages) ────────────────────────── */

.vg-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--vg-border-light);
    margin-bottom: 32px;
}

.vg-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 15px;
    font-weight: 700;
    color: var(--vg-text-secondary);
    cursor: pointer;
    transition: all var(--vg-transition);
}

.vg-tab:hover {
    color: var(--vg-navy);
}

.vg-tab-active {
    color: var(--vg-blue);
    border-bottom-color: var(--vg-blue);
}

.vg-empty-state {
    padding: 48px 24px;
    text-align: center;
    color: var(--vg-text-light);
    font-size: 16px;
    background: var(--vg-bg);
    border-radius: var(--vg-radius);
}

/* ─── Search Page ──────────────────────────────────────────── */

.vg-search-page {
    padding: 40px 0;
}

.vg-search-page h1 {
    font-size: 32px;
    margin-bottom: 24px;
}

/* Transaction type toggle (koop/huur) */
.vg-search-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-radius: var(--vg-radius);
    overflow: hidden;
    width: fit-content;
    box-shadow: var(--vg-shadow);
}
.vg-toggle-btn {
    padding: 12px 32px;
    background: var(--vg-white);
    color: var(--vg-text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.vg-toggle-btn.active {
    background: var(--vg-primary);
    color: white;
}
.vg-toggle-btn:hover:not(.active) {
    background: var(--vg-bg);
}

/* Filter row (two inputs side by side) */
.vg-filter-row {
    display: flex;
    gap: 8px;
}
.vg-filter-row input {
    width: 50% !important;
}

.vg-search-filters-bar {
    background: var(--vg-white);
    border-radius: var(--vg-radius);
    padding: 20px;
    box-shadow: var(--vg-shadow);
    margin-bottom: 32px;
}

.vg-search-main {
    display: flex;
    gap: 32px;
}

.vg-search-sidebar {
    width: 280px;
    flex-shrink: 0;
    align-self: flex-start;
}

.vg-search-results {
    flex: 1;
}

.vg-filter-group {
    margin-bottom: 24px;
}

.vg-filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--vg-text);
    margin-bottom: 8px;
}

.vg-filter-group select,
.vg-filter-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    font-size: 14px;
    font-family: var(--vg-font);
}

@media (max-width: 768px) {
    .vg-search-main {
        flex-direction: column;
    }
    .vg-search-sidebar {
        width: 100%;
    }
}

/* Search toolbar (count + sort) */
.vg-search-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.vg-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vg-sort-wrapper label {
    font-size: 14px;
    color: var(--vg-text-secondary);
    font-weight: 500;
}
.vg-sort-select {
    padding: 8px 14px;
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    font-size: 14px;
    font-family: var(--vg-font);
    background: var(--vg-white);
    cursor: pointer;
}

.vg-results-count {
    font-size: 16px;
    color: var(--vg-text-secondary);
    margin: 0;
}

/* Energy label badge on cards */
.vg-card-energy {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    z-index: 2;
}
.vg-energy-a { background: #00a651; }
.vg-energy-b { background: #50b848; }
.vg-energy-c { background: #aed136; }
.vg-energy-d { background: #fcb813; color: #333; }
.vg-energy-e { background: #f7941d; }
.vg-energy-f { background: #ed1c24; }
.vg-energy-g { background: #9e1b1e; }

/* Pagination */
.vg-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    padding: 20px 0;
}
.vg-page-btn {
    padding: 8px 14px;
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--vg-text);
    text-decoration: none;
    background: var(--vg-white);
    transition: all 0.2s;
    cursor: pointer;
}
.vg-page-btn:hover {
    border-color: var(--vg-primary);
    color: var(--vg-primary);
}
.vg-page-btn.active {
    background: var(--vg-primary);
    color: white;
    border-color: var(--vg-primary);
}
.vg-page-ellipsis {
    padding: 8px 6px;
    color: var(--vg-text-light);
}

/* Ghost button */
.vg-btn-ghost {
    background: transparent !important;
    color: var(--vg-text-secondary) !important;
    border: 1px solid var(--vg-border) !important;
}
.vg-btn-ghost:hover {
    border-color: var(--vg-primary) !important;
    color: var(--vg-primary) !important;
}

/* ─── Opportunities Page ───────────────────────────────────── */

.vg-opportunity-card {
    border-left: 4px solid var(--vg-green);
}

.vg-card-ppm {
    font-size: 13px;
    color: var(--vg-text-light);
    margin-top: 4px;
}

.vg-card-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vg-green-dark);
    background: var(--vg-green-light);
    padding: 4px 10px;
    border-radius: 100px;
    margin-top: 8px;
}

/* ─── Footer ───────────────────────────────────────────────── */

.vastgoed-footer {
    background: var(--vg-navy);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
    /* No margin-top — navy flows into navy when preceded by .vg-why.
       On white-section pages the color change provides enough separation. */
}

.vastgoed-footer .vg-container {
    max-width: 1280px;
}

.vg-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.vg-footer-brand h2 {
    color: var(--vg-white);
    font-size: 24px;
    margin: 0 0 12px;
}

.vg-footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    max-width: 300px;
}

.vg-footer-col h4 {
    color: var(--vg-white);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px;
}

.vg-footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    padding: 4px 0;
    text-decoration: none;
    transition: color var(--vg-transition);
}

.vg-footer-col a:hover {
    color: var(--vg-white);
}

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

@media (max-width: 768px) {
    .vg-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ─── Floating AI Assistant ────────────────────────────────── */

.vg-ai-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.vg-ai-fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--vg-navy);
    border: none;
    cursor: pointer;
    box-shadow: var(--vg-shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--vg-transition);
    position: relative;
}

.vg-ai-fab-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(20, 99, 255, 0.3);
}

.vg-ai-fab-btn svg {
    width: 28px;
    height: 28px;
    color: var(--vg-white);
}

.vg-ai-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--vg-blue);
    opacity: 0.3;
    animation: vg-fab-pulse 2s infinite;
}

@keyframes vg-fab-pulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

.vg-ai-chat {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 380px;
    background: var(--vg-white);
    border-radius: var(--vg-radius-lg);
    box-shadow: var(--vg-shadow-xl);
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 500px;
}

.vg-ai-chat.open {
    display: flex;
}

/* ─── Chat + Nav Responsive ─────────────────────────────────── */
/* When chat is open on tablet, force hamburger menu if not already */
@media (max-width: 900px) {
    .vg-ai-chat {
        width: calc(100vw - 48px);
        max-width: 380px;
    }
}

/* On mid-size screens (901-1100px) where nav is visible but space is tight,
   show hamburger when chat opens to avoid overlap */
@media (min-width: 901px) and (max-width: 1100px) {
    /* When chat is open, hide inline nav and show hamburger */
    body.vg-chat-open .vastgoed-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--vg-white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--vg-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    body.vg-chat-open .vastgoed-header nav.open {
        max-height: 500px;
        padding: 8px 0;
    }
    body.vg-chat-open .vg-nav-toggle {
        display: flex;
    }
}

.vg-ai-chat-header {
    background: var(--vg-navy);
    color: var(--vg-white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vg-ai-chat-header h4 {
    color: var(--vg-white);
    margin: 0;
    font-size: 16px;
}

.vg-ai-chat-header span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vg-ai-chat-header span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--vg-green);
    border-radius: 50%;
}

.vg-ai-chat-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.vg-ai-chat-msg {
    margin-bottom: 16px;
}

.vg-ai-chat-msg-ai {
    background: var(--vg-bg);
    border-radius: var(--vg-radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--vg-text);
    line-height: 1.5;
}

.vg-ai-chat-msg-user {
    background: var(--vg-blue);
    color: var(--vg-white);
    border-radius: var(--vg-radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    margin-left: 40px;
    line-height: 1.5;
}

.vg-ai-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.vg-ai-suggestion {
    background: var(--vg-bg);
    border: 1px solid var(--vg-border);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--vg-text-secondary);
    cursor: pointer;
    transition: all var(--vg-transition);
}

.vg-ai-suggestion:hover {
    background: var(--vg-blue);
    color: var(--vg-white);
    border-color: var(--vg-blue);
}

.vg-ai-chat-input {
    padding: 16px;
    border-top: 1px solid var(--vg-border);
    display: flex;
    gap: 8px;
}

.vg-ai-chat-input input {
    flex: 1;
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--vg-font);
    outline: none;
}

.vg-ai-chat-input input:focus {
    border-color: var(--vg-blue);
}

.vg-ai-chat-input button {
    background: var(--vg-navy);
    color: var(--vg-white);
    border: none;
    border-radius: var(--vg-radius-sm);
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 480px) {
    .vg-ai-chat {
        width: calc(100vw - 48px);
    }
}

/* ─── Utility ──────────────────────────────────────────────── */

.vg-hidden {
    display: none !important;
}

.vg-text-green { color: var(--vg-green); }
.vg-text-gold { color: var(--vg-gold); }
.vg-text-navy { color: var(--vg-navy); }

.vg-mt-0 { margin-top: 0; }
.vg-mb-0 { margin-bottom: 0; }
.vg-mt-20 { margin-top: 20px; }
.vg-mt-40 { margin-top: 40px; }

/* ─── SEO Page Hero (compact variant) ───────────────────────── */

.vg-hero-seo {
    min-height: 420px;
    display: flex;
    align-items: center;
}

.vg-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* When CTAs stack vertically on small screens, give them bottom margin */
@media (max-width: 600px) {
    .vg-hero-ctas {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .vg-hero-ctas .vg-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ─── Contact Form ──────────────────────────────────────────── */

.vg-form {
    width: 100%;
}

.vg-contact-card {
    max-width: 600px;
    background: var(--vg-white);
    border-radius: var(--vg-radius-lg);
    padding: 32px;
    box-shadow: var(--vg-shadow);
    border: 1px solid var(--vg-border-light);
}

.vg-form-field {
    margin-bottom: 20px;
}

.vg-form-field:last-of-type {
    margin-bottom: 24px;
}

.vg-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--vg-navy);
    margin-bottom: 6px;
}

.vg-form input,
.vg-form select,
.vg-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-sm);
    font-size: 15px;
    font-family: var(--vg-font);
    background: var(--vg-white);
    box-sizing: border-box;
    transition: border-color var(--vg-transition);
}

.vg-form input:focus,
.vg-form select:focus,
.vg-form textarea:focus {
    border-color: var(--vg-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 99, 255, 0.1);
}

.vg-btn-full {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* ─── Mobile Nav Toggle (Hamburger) ─────────────────────────── */

.vg-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.vg-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--vg-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.vg-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.vg-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.vg-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Nav Breakpoint (≤ 900px) — hamburger activates ────────── */
/* Must come AFTER base .vg-nav-toggle { display: none } so it overrides */

@media (max-width: 900px) {
    .vg-nav-toggle {
        display: flex;
    }

    .vastgoed-header .vastgoed-container {
        position: relative;
    }

    .vastgoed-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--vg-white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--vg-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .vastgoed-header nav.open {
        max-height: 500px;
        padding: 8px 0;
    }

    .vastgoed-header nav a {
        padding: 14px 24px;
        font-size: 15px;
        border-bottom: 1px solid var(--vg-border-light);
        width: 100%;
        box-sizing: border-box;
    }

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

    .vg-header-cta {
        margin: 8px 24px;
        text-align: center;
        border-radius: var(--vg-radius-sm);
    }
}

/* ─── Tablet Breakpoint (≤ 1024px) ──────────────────────────── */

@media (max-width: 1024px) {
    .vg-intelligence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vg-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vg-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 24px;
    }
}

/* ─── Mobile Breakpoint (≤ 768px) ───────────────────────────── */

@media (max-width: 768px) {
    /* Hero — smaller on mobile */
    .vg-hero {
        min-height: 380px;
    }
    .vg-hero h1 {
        font-size: 28px !important;
    }
    .vg-hero-subtitle {
        font-size: 15px !important;
    }

    /* Stats bar — 2x2 grid on mobile */
    .vg-stats-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    .vg-stat-number {
        font-size: 24px !important;
    }

    /* Sections — less padding on mobile */
    .vg-section {
        padding: 40px 0;
    }
    .vg-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .vg-section-header h2 {
        font-size: 22px;
    }

    /* Cards — full width on mobile */
    .vg-intelligence-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .vg-intel-card {
        padding: 24px;
    }

    /* Why section — less padding on mobile, horizontal items */
    .vg-why {
        padding: 48px 0;
        margin-top: 40px;
    }
    .vg-why h2 {
        font-size: 26px;
        margin-bottom: 32px;
    }
    .vg-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .vg-why-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
    .vg-why-icon {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
        font-size: 22px;
    }
    .vg-why-item h3 {
        font-size: 17px;
        margin: 0 0 4px;
    }
    .vg-why-item p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Footer — stack on mobile */
    .vg-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Container — less padding on mobile */
    .vg-container,
    .vastgoed-header .vastgoed-container {
        padding: 0 16px;
    }

    /* Contact form — responsive */
    .vg-form input,
    .vg-form select,
    .vg-form textarea {
        font-size: 16px !important; /* prevents iOS zoom */
    }
    .vg-contact-card {
        padding: 24px;
    }
}

/* ─── Small Mobile (≤ 480px) ────────────────────────────────── */

@media (max-width: 480px) {
    .vg-hero {
        min-height: 320px;
    }
    .vg-hero h1 {
        font-size: 24px !important;
    }
    .vg-hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    .vg-stats-bar {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }
    .vg-stat-number {
        font-size: 20px !important;
    }
    .vg-stat-label {
        font-size: 11px !important;
    }
    .vg-section {
        padding: 32px 0;
    }
    .vg-intel-card {
        padding: 20px;
    }
    .vg-why {
        padding: 40px 0;
    }
    .vg-why h2 {
        font-size: 22px;
    }
}

/* ─── Map section ─────────────────────────────────────────── */
.vg-map-section { padding: 40px 0; background: #f8f9fc; }
.vg-map-section .vg-section-title { text-align: center; font-size: 28px; margin-bottom: 8px; }
.vg-map-section .vg-section-subtitle { text-align: center; color: #666; margin-bottom: 24px; }
.vg-map-page { padding: 30px 0; }
.vg-map-page h1 { font-size: 32px; margin-bottom: 8px; }
.vg-map-subtitle { color: #666; margin-bottom: 20px; }

/* ─── Login/Register divider ──────────────────────────────── */
.vg-login-divider { display: flex; align-items: center; margin: 20px 0; color: var(--vg-text-secondary); font-size: 14px; }
.vg-login-divider::before, .vg-login-divider::after { content: ''; flex: 1; height: 1px; background: var(--vg-border, #e0e0e0); }
.vg-login-divider span { padding: 0 12px; }
.vg-register-card { margin-top: 0; }
.vg-register-card .vg-login-note a { color: var(--vg-blue, #2563eb); text-decoration: none; font-weight: 600; }
.vg-register-card .vg-login-note a:hover { text-decoration: underline; }

/* ─── Login hero photo background (light theme) ─────────────── */
.vg-login-shell { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--vg-login-bg, none) center/cover no-repeat fixed var(--vg-bg); background-size: cover; }
.vg-login-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(248,250,252,0.92) 0%, rgba(248,250,252,0.85) 50%, rgba(248,250,252,0.95) 100%); }
.vg-login-content { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 40px 20px; }
.vg-login-photo-credit { position: fixed; bottom: 20px; right: 20px; font-size: 12px; color: rgba(0,0,0,0.3); z-index: 1; }
.vg-login-shell .vg-login-card { background: var(--vg-white); backdrop-filter: blur(20px); border: 1px solid var(--vg-border); border-radius: 16px; padding: 40px; box-shadow: 0 24px 48px rgba(8,31,60,0.08); }
.vg-login-shell .vg-login-card h1 { color: var(--vg-text); }
.vg-login-shell .vg-login-card p { color: var(--vg-text-secondary); }
.vg-login-shell .vg-login-card label { color: var(--vg-text-secondary); }
.vg-login-shell .vg-login-card input { background: var(--vg-white); border: 1px solid var(--vg-border); color: var(--vg-text); }
.vg-login-shell .vg-login-card input:focus { border-color: var(--vg-blue); }
.vg-login-shell .vg-mega-eyebrow { color: var(--vg-gold-dark); }
.vg-login-shell .vg-login-check { color: var(--vg-text-secondary); }
.vg-login-divider { color: var(--vg-text-light); }
.vg-login-divider::before, .vg-login-divider::after { background: var(--vg-border); }

/* ─── Account page (light theme) ────────────────────────────── */
.vg-account-section { padding: 60px 0; background: var(--vg-bg); min-height: 100vh; }
.vg-account-header { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.vg-account-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--vg-blue), var(--vg-blue-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.vg-account-title { flex: 1; }
.vg-account-title h1 { color: var(--vg-text); font-size: 32px; }
.vg-account-title p { color: var(--vg-text-secondary); }
.vg-account-title .vg-eyebrow { color: var(--vg-gold-dark); }
.vg-account-role-tag { background: var(--vg-gold-light); color: var(--vg-gold-dark); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.vg-account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.vg-account-stat { background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 12px; padding: 24px; text-align: center; }
.vg-account-stat-value { display: block; font-size: 28px; font-weight: 700; color: var(--vg-text); }
.vg-account-stat-label { display: block; font-size: 13px; color: var(--vg-text-light); margin-top: 4px; }
.vg-account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vg-account-card { background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 12px; padding: 28px; text-decoration: none; color: inherit; transition: all 0.2s; position: relative; overflow: hidden; }
.vg-account-card:hover { border-color: var(--vg-blue); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(8,31,60,0.08); }
.vg-account-card-icon { font-size: 32px; margin-bottom: 16px; }
.vg-account-card h3 { color: var(--vg-text); font-size: 18px; margin-bottom: 8px; }
.vg-account-card p { color: var(--vg-text-secondary); font-size: 14px; line-height: 1.5; }
.vg-account-card-arrow { position: absolute; bottom: 20px; right: 20px; font-size: 20px; color: var(--vg-text-light); transition: all 0.2s; }
.vg-account-card:hover .vg-account-card-arrow { color: var(--vg-blue); transform: translateX(4px); }
.vg-account-card-blue .vg-account-card-icon { color: var(--vg-blue); }
.vg-account-card-green .vg-account-card-icon { color: var(--vg-green); }
.vg-account-card-gold .vg-account-card-icon { color: var(--vg-gold); }
.vg-account-card-purple .vg-account-card-icon { color: #a855f7; }
.vg-account-card-dark .vg-account-card-icon { color: var(--vg-text-light); }
.vg-account-card-teal { border-left: 4px solid #0d9488; }
.vg-account-card-teal:hover { border-color: #0d9488; box-shadow: 0 4px 12px rgba(13,148,136,0.15); }
.vg-account-card-teal .vg-account-card-icon { color: #0d9488; }
.vg-account-card-admin .vg-account-card-icon { color: #ef4444; }
.vg-account-card-admin { border-color: rgba(239,68,68,0.15); }
@media (max-width: 1024px) {
    .vg-account-stats { grid-template-columns: repeat(2, 1fr); }
    .vg-account-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .vg-account-stats { grid-template-columns: 1fr; }
    .vg-account-grid { grid-template-columns: 1fr; }
    .vg-account-header { flex-direction: column; text-align: center; }
}

/* ─── Account journey (light theme) ─────────────────────────── */
.vg-account-journey { margin-top: 48px; }
.vg-account-journey-header { margin-bottom: 24px; }
.vg-account-journey-header h2 { color: var(--vg-text); font-size: 24px; margin-bottom: 4px; }
.vg-account-journey-header p { color: var(--vg-text-secondary); font-size: 14px; }
.vg-account-journey-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.vg-account-journey-panel { background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 12px; padding: 24px; }
.vg-account-journey-panel h3 { color: var(--vg-text); font-size: 16px; margin-bottom: 16px; }
.vg-account-empty { color: var(--vg-text-light); font-size: 14px; padding: 16px 0; }
.vg-account-activity-list { list-style: none; padding: 0; }
.vg-account-activity-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--vg-border-light); }
.vg-account-activity-item:last-child { border-bottom: none; }
.vg-account-activity-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.vg-account-activity-label { display: block; font-size: 13px; color: var(--vg-text); }
.vg-account-activity-time { display: block; font-size: 11px; color: var(--vg-text-light); margin-top: 2px; }
.vg-account-interest-bars { display: flex; flex-direction: column; gap: 12px; }
.vg-account-interest-item { display: grid; grid-template-columns: 100px 1fr 30px; align-items: center; gap: 12px; }
.vg-account-interest-item a { color: var(--vg-text); font-size: 13px; text-decoration: none; }
.vg-account-interest-item a:hover { color: var(--vg-blue); }
.vg-account-interest-item span { font-size: 12px; color: var(--vg-text-light); text-align: right; }
.vg-account-interest-bar { height: 6px; background: var(--vg-border-light); border-radius: 3px; overflow: hidden; }
.vg-account-interest-bar div { height: 100%; background: linear-gradient(90deg, var(--vg-blue), var(--vg-blue-light)); border-radius: 3px; }
.vg-account-journey-links { list-style: none; padding: 0; }
.vg-account-journey-links li { padding: 12px 0; border-bottom: 1px solid var(--vg-border-light); }
.vg-account-journey-links li:last-child { border-bottom: none; }
.vg-account-journey-links a { display: flex; flex-direction: column; text-decoration: none; }
.vg-account-journey-links span { color: var(--vg-text); font-size: 15px; font-weight: 600; }
.vg-account-journey-links em { color: var(--vg-text-secondary); font-size: 13px; font-style: normal; margin-top: 2px; }
.vg-account-journey-links a:hover span { color: var(--vg-blue); }
@media (max-width: 768px) {
    .vg-account-journey-grid { grid-template-columns: 1fr; }
}

/* ─── Saved Searches (WHYBLE-2259) ─────────────────────────── */
.vg-account-saved-searches { margin-top: 40px; }
/* ─── Autocomplete (WHYBLE-2259) — light theme ─────────────── */
.vg-autocomplete-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 24px rgba(8,31,60,0.08); z-index: 100; max-height: 320px; overflow-y: auto;
}
.vg-autocomplete-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    cursor: pointer; border-bottom: 1px solid var(--vg-border-light); transition: background 0.1s;
}
.vg-autocomplete-item:last-child { border-bottom: none; }
.vg-autocomplete-item:hover, .vg-autocomplete-item.active { background: var(--vg-bg); }
.vg-autocomplete-icon { font-size: 14px; flex-shrink: 0; }
.vg-autocomplete-text { color: var(--vg-text); font-size: 14px; flex: 1; }
.vg-autocomplete-count { color: var(--vg-text-light); font-size: 12px; }
/* ─── Near Me (WHYBLE-2259) — light theme ──────────────────── */
.vg-near-me-btn { background: #059669 !important; margin-left: 8px; white-space: nowrap; }
.vg-near-me-btn:hover { background: #047857 !important; }
.vg-nearme-section { margin-bottom: 32px; padding: 20px; background: var(--vg-white); border-radius: 12px; border: 1px solid var(--vg-border); }
.vg-nearme-section h2 { color: var(--vg-text); font-size: 20px; margin: 0 0 4px; }
.vg-nearme-count { color: var(--vg-text-secondary); font-size: 14px; margin: 0 0 16px; }
.vg-nearme-section .vg-property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.vg-nearme-section .vg-property-card { display: flex; flex-direction: column; background: var(--vg-bg); border: 1px solid var(--vg-border); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.2s; }
.vg-nearme-section .vg-property-card:hover { border-color: var(--vg-blue); }
.vg-nearme-section .vg-card-img-placeholder { height: 120px; background: var(--vg-border-light); display: flex; align-items: center; justify-content: center; color: var(--vg-text-light); }
.vg-nearme-section .vg-card-content { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.vg-nearme-section .vg-card-price { color: var(--vg-gold-dark); font-weight: 700; font-size: 16px; }
.vg-nearme-section .vg-card-address { color: var(--vg-text); font-size: 13px; }
.vg-nearme-section .vg-card-city { color: var(--vg-text-secondary); font-size: 12px; }
.vg-nearme-section .vg-card-specs { display: flex; gap: 12px; margin-top: 4px; }
.vg-nearme-section .vg-card-specs span { color: var(--vg-text-light); font-size: 12px; }
.vg-saved-search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.vg-saved-search-card { background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 12px; padding: 20px; transition: border-color 0.2s; }
.vg-saved-search-card:hover { border-color: var(--vg-blue); }
.vg-saved-search-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.vg-saved-search-card-header h4 { color: var(--vg-text); font-size: 16px; font-weight: 600; }
.vg-saved-search-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: var(--vg-border-light); color: var(--vg-text-secondary); }
.vg-saved-search-badge-active { background: var(--vg-green-light); color: var(--vg-green-dark); }
.vg-saved-search-desc { color: var(--vg-text-secondary); font-size: 13px; margin-bottom: 12px; }
.vg-saved-search-meta { display: flex; gap: 16px; font-size: 12px; color: var(--vg-text-light); margin-bottom: 14px; }
.vg-saved-search-meta strong { color: var(--vg-text); }
.vg-saved-search-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vg-saved-search-btn { padding: 7px 14px; font-size: 13px; border-radius: 6px; border: 1px solid var(--vg-border); background: transparent; color: var(--vg-text-secondary); cursor: pointer; text-decoration: none; transition: all 0.15s; }
.vg-saved-search-btn:hover { border-color: var(--vg-blue); color: var(--vg-blue); }
.vg-saved-search-btn-primary { background: var(--vg-blue); border-color: var(--vg-blue); color: #fff; }
.vg-saved-search-btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.vg-saved-search-btn-danger:hover { border-color: #ef4444; color: #ef4444; }
@media (max-width: 768px) {
    .vg-saved-search-grid { grid-template-columns: 1fr; }
}

/* ─── Account: Favorites + Reports (session 65) ────────────── */
.vg-favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vg-favorite-card { display: flex; flex-direction: column; background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--vg-text); transition: all 0.2s; }
.vg-favorite-card:hover { border-color: var(--vg-blue); box-shadow: 0 2px 12px rgba(0,122,255,0.08); }
.vg-favorite-card img { width: 100%; height: 140px; object-fit: cover; }
.vg-favorite-card-body { padding: 12px; }
.vg-favorite-card-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vg-favorite-card-price { font-size: 15px; font-weight: 700; color: var(--vg-navy); margin-top: 4px; }
.vg-favorite-card-city { font-size: 12px; color: var(--vg-text-secondary); margin-top: 2px; }

.vg-reports-list { display: flex; flex-direction: column; gap: 12px; }
.vg-report-card { background: var(--vg-white); border: 1px solid var(--vg-border); border-radius: 10px; padding: 16px; transition: border-color 0.2s; }
.vg-report-card:hover { border-color: var(--vg-blue); }
.vg-report-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.vg-report-card-header h4 { font-size: 15px; font-weight: 600; color: var(--vg-text); }
.vg-report-date { font-size: 12px; color: var(--vg-text-light); }
.vg-report-card p { font-size: 13px; color: var(--vg-text-secondary); margin-bottom: 8px; }
.vg-report-link { font-size: 13px; color: var(--vg-blue); text-decoration: none; font-weight: 500; }
.vg-report-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .vg-favorites-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE CARD RAILS + CATALOG CATEGORIES + CITY DIRECTORY
   Added Session 58 — these classes were used in the template but
   had no CSS, causing cards to stack full-width instead of scrolling
   horizontally.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Card Rail (horizontal scroll) ─────────────────────────── */
.vg-card-rail {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    margin-bottom: -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--vg-border) transparent;
}
.vg-card-rail::-webkit-scrollbar { height: 6px; }
.vg-card-rail::-webkit-scrollbar-track { background: transparent; }
.vg-card-rail::-webkit-scrollbar-thumb { background: var(--vg-border); border-radius: 3px; }
.vg-card-rail::-webkit-scrollbar-thumb:hover { background: var(--vg-text-light); }
.vg-card-rail .vg-property-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
}
.vg-card-rail .vg-opportunity-card {
    flex: 0 0 320px;
}

/* "View more" card at end of rail */
.vg-card-rail-more {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--vg-bg);
    border: 2px dashed var(--vg-border);
    border-radius: var(--vg-radius-lg);
    text-decoration: none;
    color: var(--vg-text-secondary);
    transition: all var(--vg-transition);
    scroll-snap-align: start;
    min-height: 280px;
}
.vg-card-rail-more:hover {
    border-color: var(--vg-blue);
    color: var(--vg-blue);
    background: rgba(20, 99, 255, 0.04);
}
.vg-card-rail-more-icon {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}
.vg-card-rail-more-text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* Transaction badge on opportunity cards */
.vg-card-transaction {
    font-size: 12px;
    font-weight: 700;
    color: var(--vg-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

/* Opportunity rail (uses card-rail + extra styling) */
.vg-opportunity-rail .vg-opportunity-card .vg-card-badge-ai {
    background: linear-gradient(135deg, var(--vg-gold), #d4a017);
    color: var(--vg-navy);
}

/* ─── Catalog Categories ────────────────────────────────────── */
.vg-catalog-categories {
    padding: 48px 0;
    background: var(--vg-bg);
}
.vg-catalog-categories .vg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}
.vg-catalog-categories .vg-section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--vg-navy);
    margin: 0 0 4px;
}
.vg-category-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.vg-category-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    background: var(--vg-white);
    border: 1px solid var(--vg-border-light);
    border-radius: var(--vg-radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--vg-transition);
}
.vg-category-link:hover {
    border-color: var(--vg-blue);
    box-shadow: var(--vg-shadow);
    transform: translateY(-2px);
}
.vg-category-link span {
    font-size: 18px;
    font-weight: 700;
    color: var(--vg-navy);
}
.vg-category-link strong {
    font-size: 32px;
    font-weight: 800;
    color: var(--vg-blue);
    line-height: 1;
}
.vg-category-link small {
    font-size: 13px;
    font-weight: 600;
    color: var(--vg-text-light);
    margin-top: 4px;
}
.vg-category-link small span { font-size: inherit; font-weight: inherit; color: inherit; }

/* ─── City A-Z Directory ───────────────────────────────────── */
.vg-city-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
    padding: 8px;
    background: var(--vg-bg);
    border-radius: var(--vg-radius);
}
.vg-city-alphabet a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--vg-text-secondary);
    text-decoration: none;
    transition: all var(--vg-transition);
}
.vg-city-alphabet a:hover {
    background: var(--vg-border-light);
    color: var(--vg-navy);
}
.vg-city-alphabet a.active {
    background: var(--vg-navy);
    color: var(--vg-white);
}
.vg-city-directory-summary {
    font-size: 15px;
    color: var(--vg-text-secondary);
    margin: 0 0 20px;
}
.vg-city-directory-summary strong {
    color: var(--vg-navy);
    font-weight: 700;
}

/* ─── City Card (new structure) ────────────────────────────── */
.vg-city-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--vg-bg);
}
.vg-city-card-media .vg-lqip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}
.vg-city-card-media .vg-progressive-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.vg-city-card-media .vg-progressive-image.loaded {
    opacity: 1;
}
.vg-city-card-photo-label {
    position: absolute;
    bottom: 10px;
    left: 14px;
    z-index: 3;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    pointer-events: none;
}
.vg-city-card-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vg-navy) 0%, var(--vg-navy-light) 100%);
}
.vg-city-monogram {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255,0.25);
}
.vg-city-card-content {
    padding: 18px 22px 22px;
}
.vg-city-card-content .vg-city-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.vg-city-card-count {
    font-size: 13px;
    color: var(--vg-text-secondary);
}
.vg-city-card-count strong {
    color: var(--vg-navy);
    font-weight: 700;
}
.vg-city-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--vg-border-light);
    border-bottom: 1px solid var(--vg-border-light);
    margin: 12px 0;
}
.vg-city-card-stats span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vg-city-card-stats small {
    font-size: 10px;
    font-weight: 600;
    color: var(--vg-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.vg-city-card-stats strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--vg-navy);
}
.vg-city-card-rent strong { color: var(--vg-green, #16a34a); }
.vg-city-card-assets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.vg-city-card-assets span {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--vg-bg);
    color: var(--vg-text-secondary);
}
.vg-city-card-assets .is-muted {
    color: var(--vg-text-light);
    font-style: italic;
}

/* ─── Hero verified image fallback ──────────────────────────── */
.vg-verified-image-fallback {
    background: linear-gradient(135deg, var(--vg-navy) 0%, var(--vg-navy-light) 100%);
}

/* ─── Responsive: card rails ────────────────────────────────── */
@media (max-width: 768px) {
    .vg-card-rail .vg-property-card { flex: 0 0 280px; }
    .vg-card-rail .vg-opportunity-card { flex: 0 0 260px; }
    .vg-card-rail-more { flex: 0 0 160px; min-height: 240px; }
    .vg-category-links { grid-template-columns: 1fr 1fr; }
    .vg-city-alphabet a { width: 32px; height: 32px; font-size: 13px; }
}
@media (max-width: 480px) {
    .vg-card-rail .vg-property-card { flex: 0 0 250px; }
    .vg-category-links { grid-template-columns: 1fr; }
}

/* ─── Historical (verkocht/verhuurd) pages ─────────────────── */
.vg-price-strikethrough { text-decoration: line-through; color: #94a3b8; font-size: 0.9em; margin-right: 8px; }
.vg-price-status { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 0.8em; font-weight: 600; }
.vg-status-sale { background: #fef3c7; color: #92400e; }
.vg-status-rent { background: #dbeafe; color: #1e40af; }
.vg-empty-state { text-align: center; padding: 60px 20px; }
.vg-empty-state h2 { font-size: 1.5rem; margin-bottom: 12px; color: #0f172a; }
.vg-empty-state p { color: #64748b; margin-bottom: 20px; }
.vg-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.vg-page-link { padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 8px; color: #1e293b; text-decoration: none; font-size: 0.9rem; }
.vg-page-link:hover { border-color: #c7a45c; }
.vg-page-active { background: #0f172a; color: #fff; border-color: #0f172a; }

/* ─── 112 Meldingen page ───────────────────────────────────── */
.vg-incident-list { display: flex; flex-direction: column; gap: 12px; }
.vg-incident-card { display: flex; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; transition: border-color 0.2s; }
.vg-incident-card:hover { border-color: #c7a45c; }
.vg-incident-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: #f1f5f9; }
.vg-incident-brand { background: #fee2e2; }
.vg-incident-verkeer { background: #fef3c7; }
.vg-incident-geweld { background: #fee2e2; }
.vg-incident-diefstal { background: #e0e7ff; }
.vg-incident-ziekenhuis { background: #dbeafe; }
.vg-incident-water { background: #cffafe; }
.vg-incident-storm { background: #f3e8ff; }
.vg-incident-other { background: #f1f5f9; }
.vg-incident-body h3 { font-size: 1rem; margin: 0 0 4px; color: #0f172a; }
.vg-incident-location { font-size: 0.85rem; color: #64748b; margin: 0 0 4px; }
.vg-incident-desc { font-size: 0.9rem; color: #475569; margin: 0 0 6px; line-height: 1.5; }
.vg-incident-time { font-size: 0.8rem; color: #94a3b8; }

/* ─── Provider directory pages ─────────────────────────────── */
.vg-provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.vg-provider-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s; }
.vg-provider-card:hover { border-color: #c7a45c; box-shadow: 0 4px 12px rgba(199,164,92,0.1); }
.vg-provider-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.vg-provider-card h3 { font-size: 1.1rem; margin: 0 0 4px; color: #0f172a; }
.vg-provider-location { font-size: 0.85rem; color: #64748b; margin: 0 0 6px; }
.vg-provider-spec { font-size: 0.9rem; color: #475569; margin: 0 0 12px; line-height: 1.4; }
.vg-provider-rating { color: #c7a45c; font-size: 1rem; margin-bottom: 16px; }
.vg-provider-rating span { color: #64748b; font-size: 0.85rem; }
.vg-cta-banner { background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 14px; padding: 32px; text-align: center; color: #fff; }
.vg-cta-banner h3 { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.vg-cta-banner p { color: #94a3b8; margin: 0 0 20px; }

/* ─── Stats row (meldingen) ────────────────────────────────── */
.vg-stats-row { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.vg-stat-card { flex: 1; min-width: 180px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; text-align: center; }
.vg-stat-number { display: block; font-size: 2rem; font-weight: 700; color: #0f172a; }
.vg-stat-label { display: block; font-size: 0.85rem; color: #64748b; margin-top: 4px; }

@media (max-width: 768px) {
    .vg-provider-grid { grid-template-columns: 1fr; }
    .vg-stats-row { flex-direction: column; }
}

/* ─── Location intelligence section ────────────────────────── */
.vg-intelligence-section { margin-top: 40px; }
.vg-intel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 24px; }
.vg-intel-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.vg-intel-card h3 { font-size: 1rem; margin: 0 0 12px; color: #0f172a; font-weight: 600; }
.vg-intel-card p { font-size: 0.9rem; color: #475569; margin: 0 0 6px; line-height: 1.5; }
.vg-intel-card p strong { color: #0f172a; }
.vg-intel-empty { background: #f8fafc; border-radius: 12px; padding: 32px; text-align: center; color: #64748b; }
.vg-intel-empty p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.vg-intel-incidents { margin-top: 24px; }
.vg-intel-incidents h3 { font-size: 1.1rem; margin: 0 0 12px; color: #0f172a; }
.vg-incident-list { list-style: none; padding: 0; margin: 0 0 16px; }
.vg-incident-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.vg-incident-list li:last-child { border-bottom: none; }
.vg-incident-date { color: #94a3b8; font-size: 0.85rem; white-space: nowrap; min-width: 100px; }
.vg-incident-title { color: #0f172a; flex: 1; }
.vg-incident-city { color: #64748b; font-size: 0.85rem; }
.vg-intel-source-note { font-size: 0.8rem; color: #94a3b8; margin-top: 16px; font-style: italic; }
.vg-freshness-label { font-size: 0.8rem; color: #94a3b8; font-weight: 400; }

/* ─── AI teaser section ────────────────────────────────────── */
.vg-ai-teaser { margin-top: 40px; }
.vg-ai-teaser-card { background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 16px; padding: 32px; color: #fff; }
.vg-ai-teaser-card h2 { color: #fff; font-size: 1.3rem; margin: 0 0 16px; }
.vg-ai-teaser-text { color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; margin: 0 0 12px; }
.vg-ai-teaser-text strong { color: #c7a45c; }
.vg-ai-teaser-cta { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.vg-ai-teaser-cta p { color: #94a3b8; margin: 0 0 16px; font-size: 0.9rem; }
.vg-ai-teaser-cta .vg-btn { background: #c7a45c; color: #0f172a; border: none; padding: 10px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; }
.vg-ai-teaser-cta .vg-btn:hover { background: #d4b06a; }
.vg-ai-source-label { font-size: 0.8rem; color: #94a3b8; margin: 0 0 12px; font-style: italic; }
.vg-ai-reasoning { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.vg-ai-reasoning h3 { color: #c7a45c; font-size: 0.95rem; margin: 0 0 12px; }
.vg-ai-reasoning ul { list-style: none; padding: 0; margin: 0; }
.vg-ai-reasoning li { color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; margin: 0 0 8px; }
.vg-ai-reasoning li strong { color: #fff; }

/* ─── Pagination ───────────────────────────────────────────── */
.vg-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.vg-page-link { padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 8px; color: #0f172a; text-decoration: none; font-size: 0.9rem; }
.vg-page-link.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.vg-page-link:hover { border-color: #0f172a; }

@media (max-width: 768px) {
    .vg-intel-grid { grid-template-columns: 1fr; }
    .vg-ai-teaser-card { padding: 24px; }
}

/* ─── Address Page CTAs ─── */
.vg-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.vg-cta-card {
    padding: 28px;
    border-radius: var(--vg-radius);
    background: #fff;
    border: 1px solid var(--vg-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vg-cta-card h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--vg-navy);
}

.vg-cta-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
    flex: 1;
}

.vg-cta-card p strong {
    color: var(--vg-navy);
}

.vg-cta-serious-bid {
    border-color: #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #fff 100%);
}

.vg-cta-notify {
    border-color: #7C3AED;
    background: linear-gradient(135deg, #F5F3FF 0%, #fff 100%);
}

.vg-btn-orange {
    background: #F59E0B;
    color: #fff;
}

.vg-btn-orange:hover {
    background: #D97706;
}

.vg-btn-purple {
    background: #7C3AED;
    color: #fff;
}

.vg-btn-purple:hover {
    background: #6D28D9;
}

.vg-btn-best {
    position: relative;
}

.vg-btn-best::after {
    content: 'Best Value';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10B981;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.vg-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vg-btn-group .vg-btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 768px) {
    .vg-cta-grid { grid-template-columns: 1fr; }
    .vg-btn-group { flex-direction: column; }
}

/* ─── Serious Bid Flow — Human-friendly ─── */
.vg-serious-bid-flow {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1px solid #FCD34D;
    border-radius: var(--vg-radius);
    padding: 32px;
    margin: 24px 0;
}

.vg-sbid-header h2 {
    color: #92400E;
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.vg-sbid-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #78350F;
    margin: 0 0 28px;
    max-width: 700px;
}

.vg-sbid-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 0 0 32px;
}

.vg-sbid-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.vg-sbid-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F59E0B;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-sbid-step-body h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: #78350F;
}

.vg-sbid-step-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #92400E;
}

.vg-sbid-step-body p strong {
    color: #78350F;
}

.vg-sbid-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.vg-sbid-option {
    background: #fff;
    border-radius: var(--vg-radius);
    padding: 28px;
    border: 2px solid #E5E7EB;
    position: relative;
    display: flex;
    flex-direction: column;
}

.vg-sbid-option-standard {
    border-color: #FCD34D;
}

.vg-sbid-option-signed {
    border-color: #F59E0B;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}

.vg-sbid-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: #F59E0B;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vg-sbid-option h4 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--vg-navy);
}

.vg-sbid-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F59E0B;
    margin: 0 0 16px;
}

.vg-sbid-plus {
    font-size: 1rem;
    color: #9CA3AF;
    font-weight: 400;
}

.vg-sbid-option ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.vg-sbid-option ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
}

.vg-sbid-option ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: 700;
}

@media (max-width: 768px) {
    .vg-sbid-steps { grid-template-columns: 1fr; }
    .vg-sbid-options { grid-template-columns: 1fr; }
    .vg-serious-bid-flow { padding: 20px; }
}

/* ─── Address Map + Street View ─── */
.vg-address-map {
    margin: 20px 0 12px;
    border-radius: var(--vg-radius);
    overflow: hidden;
    border: 1px solid var(--vg-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.vg-address-map iframe {
    display: block;
    width: 100%;
}

/* ─── Street View screenshot ─── */
.vg-streetview-container {
    position: relative;
    margin: 12px 0;
    border-radius: var(--vg-radius);
    overflow: hidden;
    border: 1px solid var(--vg-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #f0f0f0;
}

.vg-streetview-img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.vg-streetview-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.vg-streetview-open {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.vg-streetview-open:hover {
    background: rgba(0,0,0,0.9);
    color: #fff;
}

.vg-map-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.vg-btn-streetview {
    background: #4285F4;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vg-btn-streetview:hover {
    background: #3367D6;
}

.vg-btn-maps {
    background: #34A853;
    color: #fff;
}

.vg-btn-maps:hover {
    background: #2D9148;
}

.vg-btn-osm {
    background: #7EBC6F;
    color: #fff;
}

.vg-btn-osm:hover {
    background: #6BA85E;
}

.vg-sv-icon {
    font-size: 1.1rem;
}

/* ─── AI Area Description ─── */
.vg-ai-area {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
    border-radius: var(--vg-radius);
    padding: 28px;
}

.vg-ai-area h2 {
    color: #0369A1;
    margin: 0 0 12px;
}

.vg-ai-area-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #0C4A6E;
}

.vg-ai-area-content p {
    margin: 0 0 12px;
}

.vg-ai-disclaimer {
    font-size: 0.8rem;
    color: #64748B;
    font-style: italic;
    margin: 12px 0 0;
}
