﻿/* =================================================================
   index.css — MSIE
   --lo-accent is declared on :root in _Layout.cshtml and updated by JS.
   Dark theme is the default. Light overrides are at the bottom.
   ================================================================= */

/* ===== GLOBAL ===== */
body {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ===== LAYOUT ===== */
.hero {
    padding: 100px 0 10px 0;
}

.section {
    padding: 40px 0;
}

/* ===== HERO ===== */
.hero-profile {
    margin-top: 30px;
}

.profile-frame-wrap {
    position: relative;
    width: 176px;
    height: 176px;
    margin-left: auto;
    margin-right: auto;
}

.profile-img {
    position: absolute;
    inset: 13px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

.profile-outer-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: profileOuterSpin 10s linear infinite;
    filter: drop-shadow(0 0 4px #22d3ee);
}

    .profile-outer-ring circle {
        stroke: #22d3ee;
        transition: stroke 0.4s;
    }

body.theme-light .profile-outer-ring {
    filter: drop-shadow(0 0 4px #dc2626);
}

    body.theme-light .profile-outer-ring circle {
        stroke: #dc2626;
    }

@property --ring-angle-dark {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@property --ring-angle-light {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.profile-inner-ring {
    position: absolute;
    inset: 13px;
    border-radius: 50%;
    padding: 5px;
    z-index: 2;
    background: conic-gradient(from var(--ring-angle-dark), #06b6d4, #22d3ee 30%, #a3e635 55%, #06b6d4 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: profileInnerSpinDark 2.4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(34,211,238,0.6));
}

body.theme-light .profile-inner-ring {
    background: conic-gradient(from var(--ring-angle-light), #dc2626, #ea580c 30%, #f59e0b 55%, #dc2626 100%);
    animation: profileInnerSpinLight 2.4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(220,38,38,0.5));
}

@keyframes profileOuterSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes profileInnerSpinDark {
    from {
        --ring-angle-dark: 360deg;
    }

    to {
        --ring-angle-dark: 0deg;
    }
}

@keyframes profileInnerSpinLight {
    from {
        --ring-angle-light: 360deg;
    }

    to {
        --ring-angle-light: 0deg;
    }
}

@media (max-width: 768px) {

    .hero h1.display-4 {
        font-size: 1.7rem;
        line-height: 1.4;
    }

    .hero p.lead {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    /* Hero buttons */
    .hero .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        align-items: center;
        gap: 12px !important;
    }

    .hero .btn {
        width: 220px;
        max-width: 90%;
    }
}

/* ===== BUTTONS ===== */
.btn-custom {
    background-color: var(--lo-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: filter 0.2s;
}

    .btn-custom:hover {
        filter: brightness(0.85);
        color: #fff;
    }

/* POINT 1: "See the Results First" outline button */
.hero .btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}

    .hero .btn-outline-light:hover {
        background-color: #ffffff;
        color: #0f172a;
        border-color: #ffffff;
    }

body.theme-light .hero .btn-outline-light {
    border-color: #0f172a;
    color: #0f172a;
    background-color: transparent;
}

    body.theme-light .hero .btn-outline-light:hover {
        background-color: #0f172a;
        color: #ffffff;
        border-color: #0f172a;
    }

/* ===== SECTION TITLES ===== */
.section-title {
    color: #e2e8f0;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.title-accent {
    width: 50px;
    height: 3px;
    background: var(--lo-accent);
    margin: 0 auto 28px auto;
    border-radius: 2px;
    transition: background 0.4s;
}

.title-accent-left {
    width: 50px;
    height: 3px;
    background: var(--lo-accent);
    margin: 0 0 28px 0;
    border-radius: 2px;
    transition: background 0.4s;
}

/* ===== GENERIC CARD ===== */
.card-custom {
    background-color: #1e293b;
    border: none;
    border-radius: 15px;
    color: #e2e8f0;
}

    .card-custom h5 {
        color: var(--lo-accent);
        margin-bottom: 10px;
        font-weight: 600;
    }

    .card-custom p {
        color: #cbd5e1;
        margin: 0;
    }

/* ===== OVERVIEW — diamond dot list ===== */
.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .help-list li {
        padding: 12px 0;
        border-bottom: 1px solid #1e293b;
        color: #cbd5e1;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        line-height: 1.7;
    }

        .help-list li::before {
            content: '';
            width: 7px;
            height: 7px;
            background: var(--lo-accent);
            transform: rotate(45deg);
            flex-shrink: 0;
            margin-top: 8px;
            transition: background 0.4s;
        }

/* ===== NUMBERED LIST ===== */
.help-number-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-number-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #1e293b;
}

    .help-number-item:last-child {
        border-bottom: none;
    }

.help-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lo-accent);
    min-width: 52px;
    line-height: 1;
    letter-spacing: -1px;
    opacity: 0.85;
    transition: color 0.4s;
}

.help-num-text {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== WHY THIS WORKS ===== */
.why-block {
    background: #1e293b;
    padding: 18px 20px;
    border-left: 3px solid var(--lo-accent);
    margin-bottom: 14px;
    color: #cbd5e1;
    line-height: 1.9;
    transition: border-color 0.4s;
}

/* ===== PROCESS STEPS ===== */
.step-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    border-left: 3px solid var(--lo-accent);
    margin-bottom: 16px;
    transition: border-color 0.4s;
}

    .step-card h5 {
        color: var(--lo-accent);
        margin-bottom: 6px;
        font-weight: 600;
        transition: color 0.4s;
    }

    .step-card p {
        color: #cbd5e1;
        margin: 0;
    }

/* ===== WHO THIS IS FOR ===== */
.for-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px 24px;
    color: #cbd5e1;
    border-left: 3px solid #4ade80;
    margin-bottom: 12px;
}

.not-for-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px 24px;
    color: #cbd5e1;
    border-left: 3px solid #f87171;
    margin-bottom: 12px;
}

/* ===== CTA STRIP ===== */
.cta-strip {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 32px 40px;
    text-align: center;
    margin: 20px auto;
    max-width: 700px;
}

    .cta-strip p {
        color: #94a3b8;
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 1.7;
    }

    .cta-strip strong {
        color: #e2e8f0;
    }

/* ===== PRICING ===== */
/*
    POINT 4 FIX (dark theme): accent-colored glow on pricing card edges.
    Very subtle — just enough to feel premium without distracting.
    Uses box-shadow with the accent variable so it changes with accent selection.
*/
.pricing-card {
    /* Define the mixed colors first */
    --shadow-glow: color-mix(in srgb, var(--lo-accent) 20%, transparent);
    --shadow-spread: color-mix(in srgb, var(--lo-accent) 12%, transparent);
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #334155;
    /* Accent glow — changes with --lo-accent */
    box-shadow: 0 0 0 1px var(--shadow-glow), 0 8px 32px var(--shadow-spread), 0 2px 8px rgba(0,0,0,0.4);
    transition: box-shadow 0.4s, border-color 0.4s;
}

    .pricing-card .price {
        color: var(--lo-accent);
        font-size: 3rem;
        font-weight: 700;
        transition: color 0.4s;
    }

    .pricing-card .badge-label {
        color: var(--lo-accent);
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 12px;
        transition: color 0.4s;
    }

body.theme-light .pricing-item {
    border-bottom-color: #e2e8f0;
}

.pricing-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #334155;
}

    .pricing-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .pricing-item .check {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--lo-accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        flex-shrink: 0;
        margin-top: 2px;
        transition: background 0.4s;
    }

    .pricing-item h6 {
        color: #e2e8f0;
        font-weight: 600;
        margin: 0 0 2px;
    }

    .pricing-item p {
        color: #94a3b8;
        font-size: 14px;
        margin: 0;
    }

/* ===== CONTACT ===== */
.contact-option {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #e2e8f0;
    text-decoration: none;
    display: block;
    transition: background 0.2s, color 0.2s;
    position: relative;
    z-index: 9999;
}

    .contact-option:hover {
        background: #273548;
        color: var(--lo-accent);
    }

    .contact-option .contact-label {
        font-size: 13px;
        color: #94a3b8;
        margin-top: 6px;
    }

/* ===== PROPERTY CARDS ===== */
.property-card {
    background: #1e293b;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #334155;
    transition: transform 0.2s, border-color 0.2s;
    height: 100%;
}

    .property-card:hover {
        transform: translateY(-4px);
        border-color: var(--lo-accent);
    }

.property-card-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.property-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.property-card-body {
    padding: 16px 18px 20px;
}

    .property-card-body .prop-tag {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--lo-accent);
        margin-bottom: 6px;
        transition: color 0.4s;
    }

    .property-card-body h5 {
        color: #e2e8f0;
        font-weight: 700;
        font-size: 15px;
        margin: 0 0 4px;
    }

    .property-card-body .prop-location {
        color: #64748b;
        font-size: 13px;
        margin-bottom: 14px;
    }

    .property-card-body .prop-cta {
        font-size: 13px;
        color: var(--lo-accent);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color 0.4s;
    }

        .property-card-body .prop-cta::after {
            content: '→';
            transition: transform 0.2s;
        }

.property-card:hover .prop-cta::after {
    transform: translateX(4px);
}

/* ===== PROPERTY MODAL ===== */
.prop-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

    .prop-modal-overlay.active {
        display: flex;
    }

.prop-modal-box {
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    max-width: 960px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideUp 0.25s ease;
    overflow: hidden;
}

.prop-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #334155;
    border: none;
    color: #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

    .prop-modal-close:hover {
        background: #f87171;
        color: #fff;
    }

.prop-modal-fixed {
    flex-shrink: 0;
}

.prop-modal-header {
    padding: 24px 28px 0;
}

    .prop-modal-header .prop-tag {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--lo-accent);
        margin-bottom: 6px;
        transition: color 0.4s;
    }

    .prop-modal-header h3 {
        color: #e2e8f0;
        font-weight: 800;
        font-size: 1.5rem;
        margin: 0 0 4px;
        letter-spacing: -0.4px;
        line-height: 1.2;
    }

    .prop-modal-header .prop-location {
        color: #64748b;
        font-size: 14px;
        margin-bottom: 0;
    }

.prop-carousel-wrapper {
    padding: 18px 28px 0;
}

.carousel-labels {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    margin-bottom: 10px;
}

    .carousel-labels .lbl-before {
        color: #f87171;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-align: center;
        text-shadow: 0 0 6px rgba(248,113,113,0.8), 0 0 14px rgba(248,113,113,0.4), 0 0 28px rgba(248,113,113,0.2);
    }

    .carousel-labels .lbl-divider {
        background: #334155;
        height: 20px;
        width: 1px;
        margin: 0 auto;
    }

    .carousel-labels .lbl-after {
        color: #4ade80;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-align: center;
        text-shadow: 0 0 6px rgba(74,222,128,0.8), 0 0 14px rgba(74,222,128,0.4), 0 0 28px rgba(74,222,128,0.2);
    }

/* Desktop: side-by-side */
.carousel-slide-row {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 260px;
}

.carousel-img-slot {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #334155;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    transition: border-color 0.2s;
}

    .carousel-img-box:hover {
        border-color: var(--lo-accent);
    }

    .carousel-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .carousel-img-box:hover img {
        transform: scale(1.02);
    }

    .carousel-img-box .img-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #334155;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .carousel-img-box .zoom-hint {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(0,0,0,0.6);
        color: #94a3b8;
        font-size: 14px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.2s;
        pointer-events: none;
    }

    .carousel-img-box:hover .zoom-hint {
        opacity: 1;
    }

.carousel-divider {
    background: #334155;
    width: 1px;
    min-height: 100%;
    align-self: stretch;
}

/*
    POINT 6 FIX — MOBILE MODAL LAYOUT
    On screens under 600px, the before/after images stack vertically.
    Each image gets its own clearly labeled row with a proper header ("Before"/"After")
    above it, a reasonable height, and the description section is always visible
    below the images with guaranteed scroll room.
*/
@media (max-width: 600px) {

    /* Modal box — allow more vertical space on mobile */
    .prop-modal-box {
        max-height: 92vh;
        border-radius: 12px;
    }

    /* Header padding reduced so more content fits */
    .prop-modal-header {
        padding: 16px 16px 0;
    }

        .prop-modal-header h3 {
            font-size: 1.1rem;
        }

    /* Carousel wrapper padding reduced */
    .prop-carousel-wrapper {
        padding: 12px 16px 0;
    }

    /* Labels row — stacked, each label full width above its image */
    .carousel-labels {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

        /* Hide the center divider between labels — replaced by image separation */
        .carousel-labels .lbl-divider {
            display: none;
        }

        /* Label text — each takes full width as a header row */
        .carousel-labels .lbl-before,
        .carousel-labels .lbl-after {
            display: none; /* labels moved inline into the slot row below */
        }

    /* Slide row stacks vertically */
    .carousel-slide-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: unset;
    }

    /* Vertical divider becomes invisible between stacked items */
    .carousel-divider {
        display: none;
    }

    /* Each image slot — full width, reasonable height */
    .carousel-img-slot {
        padding: 0 0 8px 0;
        flex-direction: column;
        align-items: stretch;
    }

        /* Label pill above each image slot — injected by this CSS using data attributes */
        /* We use ::before on the slot to show BEFORE / AFTER labels inline */
        .carousel-img-slot:first-child::before {
            content: 'BEFORE';
            display: block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            color: #f87171;
            text-shadow: 0 0 6px rgba(248,113,113,0.6);
            text-align: center;
            padding: 6px 0 6px;
        }

        .carousel-img-slot:last-child::before {
            content: 'AFTER';
            display: block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            color: #4ade80;
            text-shadow: 0 0 6px rgba(74,222,128,0.6);
            text-align: center;
            padding: 6px 0 6px;
            border-top: 1px solid #334155;
            margin-top: 4px;
        }

    /* Image box on mobile — shorter height, full width */
    .carousel-img-box {
        aspect-ratio: 16/9; /* wider ratio fits mobile screen better than 4/3 */
        border-radius: 8px;
        width: 100%;
    }

    /* Description area — ensure it shows with enough room to read */
    .prop-modal-desc-inner {
        max-height: 120px;
        padding: 12px 16px 16px;
    }

    /* Description wrap border top */
    .prop-modal-desc-wrap {
        margin-top: 8px;
    }

    /* Control bar — compact */
    .carousel-controls {
        margin: 10px 0 4px;
    }

    .carousel-bar {
        padding: 4px 6px;
        gap: 2px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .carousel-counter {
        font-size: 12px;
        padding: 0 10px;
    }
}

/* Carousel control bar */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px 0 6px;
}

.carousel-bar {
    display: flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 40px;
    padding: 6px 8px;
    gap: 4px;
}

.carousel-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

    .carousel-btn:hover {
        color: var(--lo-accent);
        background: #1e293b;
    }

    .carousel-btn:disabled {
        color: #334155;
        cursor: not-allowed;
        background: transparent;
    }

.carousel-counter {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    min-width: 48px;
    text-align: center;
    letter-spacing: 0.5px;
    border-left: 1px solid #334155;
    border-right: 1px solid #334155;
    padding: 0 14px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Description area */
.prop-modal-desc-wrap {
    flex: 1 1 auto;
    overflow: hidden;
    border-top: 1px solid #334155;
    margin-top: 14px;
    position: relative;
}

    .prop-modal-desc-wrap::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, transparent, #1e293b);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .prop-modal-desc-wrap.has-overflow::after {
        opacity: 1;
    }

    .prop-modal-desc-wrap.scrolled-to-bottom::after {
        opacity: 0;
    }

.prop-modal-desc-inner {
    max-height: 160px;
    overflow-y: auto;
    padding: 18px 28px 28px;
    scrollbar-width: thin;
    scrollbar-color: #334155 transparent;
}

    .prop-modal-desc-inner::-webkit-scrollbar {
        width: 4px;
    }

    .prop-modal-desc-inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .prop-modal-desc-inner::-webkit-scrollbar-thumb {
        background: #334155;
        border-radius: 2px;
    }

    .prop-modal-desc-inner h6 {
        color: var(--lo-accent);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 10px;
        transition: color 0.4s;
    }

    .prop-modal-desc-inner p {
        color: #94a3b8;
        font-size: 14px;
        line-height: 1.8;
        margin: 0 0 12px;
    }

.desc-expand-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 0 14px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

    .desc-expand-btn:hover {
        color: var(--lo-accent);
    }

    .desc-expand-btn .expand-chevron {
        width: 16px;
        height: 16px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-top: -4px;
        transition: transform 0.3s;
    }

    .desc-expand-btn.expanded .expand-chevron {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

/* Lightbox */
.img-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
    animation: fadeIn 0.15s ease;
}

    .img-lightbox.active {
        display: flex;
    }

    .img-lightbox img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 0 60px rgba(0,0,0,0.8);
        animation: slideUp 0.2s ease;
    }

    .img-lightbox .lb-close-hint {
        position: absolute;
        top: 16px;
        right: 20px;
        color: #64748b;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

/* Results grid */
.results-grid img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* =================================================================
   LIGHT THEME OVERRIDES
   ================================================================= */

body.theme-light .hero h1.display-4 {
    color: #0f172a;
}

body.theme-light .hero p.lead {
    color: #475569;
}

body.theme-light .hero h2 {
    color: #0f172a !important;
}

/* Inline style overrides */
body.theme-light [style*="color:#e2e8f0"] {
    color: #0f172a !important;
}

body.theme-light [style*="color:#94a3b8"] {
    color: #475569 !important;
}

body.theme-light [style*="color:#64748b"] {
    color: #475569 !important;
}

body.theme-light [style*="color:#cbd5e1"] {
    color: #334155 !important;
}

body.theme-light .section-title {
    color: #0f172a;
}

/* About / services lists */
body.theme-light .help-list li {
    color: #334155;
    border-bottom-color: #cbd5e1;
}

body.theme-light .help-number-item {
    border-bottom-color: #cbd5e1;
}

body.theme-light .help-num-text {
    color: #334155;
}

/* Why this works */
body.theme-light .why-block {
    background: #ffffff;
    color: #334155;
}

/* Step cards */
body.theme-light .step-card {
    background: #ffffff;
}

    body.theme-light .step-card p {
        color: #475569;
    }

/* Who this is for */
body.theme-light .for-card {
    background: #ffffff;
    color: #334155;
    border-left-color: #16a34a;
}

body.theme-light .not-for-card {
    background: #ffffff;
    color: #334155;
    border-left-color: #ef4444;
}

/* CTA strip */
body.theme-light .cta-strip {
    background: #ffffff;
    border-color: #e2e8f0;
}

    body.theme-light .cta-strip p {
        color: #475569;
    }

    body.theme-light .cta-strip strong {
        color: #0f172a;
    }

/* Property cards */
body.theme-light .property-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.theme-light .property-card-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

body.theme-light .property-card-body h5 {
    color: #0f172a;
}

body.theme-light .property-card-body .prop-location {
    color: #94a3b8;
}

/* Modal */
body.theme-light .prop-modal-box {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.theme-light .prop-modal-close {
    background: #e2e8f0;
    color: #0f172a;
}

    body.theme-light .prop-modal-close:hover {
        background: #ef4444;
        color: #fff;
    }

body.theme-light .prop-modal-header h3 {
    color: #0f172a;
}

body.theme-light .prop-modal-header .prop-location {
    color: #94a3b8;
}

body.theme-light .carousel-labels .lbl-divider {
    background: #e2e8f0;
}

body.theme-light .carousel-img-box {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

    body.theme-light .carousel-img-box .img-placeholder {
        color: #cbd5e1;
    }

body.theme-light .carousel-divider {
    background: #e2e8f0;
}

body.theme-light .carousel-bar {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

body.theme-light .carousel-btn {
    color: #475569;
}

    body.theme-light .carousel-btn:hover {
        background: #e2e8f0;
    }

    body.theme-light .carousel-btn:disabled {
        color: #cbd5e1;
    }

body.theme-light .carousel-counter {
    color: #94a3b8;
    border-left-color: #e2e8f0;
    border-right-color: #e2e8f0;
}

body.theme-light .prop-modal-desc-wrap {
    border-top-color: #e2e8f0;
}

    body.theme-light .prop-modal-desc-wrap::after {
        background: linear-gradient(to bottom, transparent, #ffffff);
    }

body.theme-light .prop-modal-desc-inner p {
    color: #475569;
}

body.theme-light .prop-modal-desc-inner::-webkit-scrollbar-thumb {
    background: #e2e8f0;
}

body.theme-light .desc-expand-btn {
    color: #94a3b8;
}

/* Mobile modal light theme */
@media (max-width: 600px) {
    body.theme-light .carousel-img-slot:first-child::before {
        color: #dc2626;
        text-shadow: none;
    }

    body.theme-light .carousel-img-slot:last-child::before {
        color: #16a34a;
        text-shadow: none;
        border-top-color: #e2e8f0;
    }
}

/*
    POINT 4 FIX (light theme): pricing card — fixed dark shadow, no glow, no color change.
    Professional shadow, no accent dependence.
*/
body.theme-light .pricing-card {
    background: #ffffff;
    border-color: #cbd5e1;
    border-width: 1px;
    border-style: solid;
    /* Fixed shadow — not accent-colored in light theme */
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.10), 0 12px 32px rgba(0,0,0,0.07);
}

body.theme-light .pricing-item h6 {
    color: #0f172a;
}

body.theme-light .pricing-item p {
    color: #64748b;
}

body.theme-light hr[style*="border-color:#334155"] {
    border-color: #e2e8f0 !important;
}

/* Contact */
body.theme-light .contact-option {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

    body.theme-light .contact-option:hover {
        background: #f1f5f9;
    }

    body.theme-light .contact-option .contact-label {
        color: #64748b;
    }

/* Generic card */
body.theme-light .card-custom {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

    body.theme-light .card-custom p {
        color: #475569;
    }

/* Results grid */
body.theme-light .results-grid img {
    filter: none;
}
