/* ---------- Outfit (local) ---------- */
@font-face {
    font-family: 'Outfit';
    src: url(fonts/outfit-latin.woff2) format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #3B0CA3;
    --secondary: #ffffff;
    --glass: rgba(255, 255, 255, .08);
    --glass-border: rgba(255, 255, 255, .28);
    --font-head: 'Outfit', -apple-system, 'system-ui', sans-serif;
    --font-body: 'Inter', -apple-system, 'system-ui', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    min-height: 100%;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--secondary);
    background: #0e0a1f;
    overflow-x: hidden;
    max-width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .container-fluid {
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-shell {
    background: #3B0CA3;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 20px;
    transition: border-radius 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease,
        border 0.3s ease;
}

/* Scrolled State: Sticky at top: 0 with 0 side space on left and right */
.site-header.scrolled {
    top: 0;
}

.site-header.scrolled .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-header.scrolled .nav-shell {
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(10, 5, 30, 0.35);
    background: rgba(59, 12, 163, 0.96);
    padding: 10px 28px;
}

@media (max-width: 991.98px) {
    .site-header {
        top: 10px;
    }

    .site-header.scrolled {
        top: 0;
    }

    .site-header.scrolled .nav-shell {
        padding: 10px 16px;
    }
}

.brand {
    font-family: var(--font-head);
    font-size: 34px;
    letter-spacing: .12em;
    color: var(--secondary);
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    width: 140px;
    position: relative;
    height: 50px;
}

/* 
    .brand::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 24px;
        height: 2px;
        background: #c9a27a;
        transform: translateX(-50%);
    } */

.main-nav .nav-link {
    font-family: var(--font-head);
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 0.2px;
    font-weight: 400;
    position: relative;
    padding: 4px 0;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .nav-link.active {
    color: var(--secondary);
    font-weight: 600;
}

.main-nav .dropdown-toggle::after {
    border: 0;
    font-family: "bootstrap-icons";
    content: "\f282";
    font-size: .7em;
    vertical-align: middle;
    margin-left: .35rem;
}

.btn-pill {
    font-family: var(--font-head);
    border-radius: 50rem;
    padding: .70rem 1.7rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: background-color .2s, color .2s, border-color .2s;
}

.btn-light-pill {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--secondary);
}

.btn-light-pill:hover {
    background: #ece6fb;
    color: var(--primary);
    border-color: #ece6fb;
}

.btn-glass {
    background: var(--glass);
    color: var(--secondary);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .18);
    color: var(--secondary);
}

.home-icon {
    color: var(--secondary);
    font-size: 26px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 170px 0 60px;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

/* Background image layer: slow zoom + gentle drift */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('images/hero-bg.png') center / cover no-repeat;
    transform-origin: 50% 50%;
    will-change: transform;
    animation: bgZoom 24s ease-in-out infinite alternate;
}

/* Dark overlay stays still on top of the image */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(16, 12, 36, .62) 0%, rgba(16, 12, 36, .55) 55%, rgba(16, 12, 36, .78) 100%);
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-inline: 0;
}

.navbar-collapse {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@keyframes bgZoom {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.08) translate3d(-1.2%, -1%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1.6rem;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    border-radius: 50rem;
    font-size: 17px;
    color: rgba(255, 255, 255, .92);
}

.status-pill .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3ddc84;
}

.hero h1 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    /* 67px on desktop */
    line-height: 1.09;
    letter-spacing: -.01em;
    margin: 2.4rem auto 0;
    max-width: 1000px;
}

.divider {
    width: 200px;
    height: 2px;
    margin: 2.5rem auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
}

.hero .lead-text {
    font-size: 1.35rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .85);
    max-width: 620px;
    margin: 0 auto 3rem;
}

/* Search */
.search-box {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 26px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid var(--glass-border);
    border-radius: 50rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-box i {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}

.search-box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--secondary);
    font-size: 1.15rem;
    padding: .7rem 1rem;
}

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

.search-box:focus-within {
    border-color: var(--secondary);
}

.search-box .btn {
    padding: .7rem 1.9rem;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 700;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.4rem;
}

.chip {
    padding: 5px 14px;
    font-size: 12px;
    color: var(--secondary);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    border-radius: 50rem;
    font-weight: 500;
}

.chip:hover {
    background: rgba(255, 255, 255, .2);
    color: var(--secondary);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2.6rem;
}

.cta-row .btn-pill {
    padding: 14px 32px;
}

.trust {
    margin-top: 1.8rem;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    letter-spacing: .03em;
}

/* Stats */
.stats {
    max-width: 1150px;
    margin: 4.5rem auto 0;
    padding-top: 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 48px;
}

.stat-num {
    font-family: var(--font-head);
    font-size: 29px;
    font-weight: 400;
    line-height: 1.1;
}

.stat-label {
    margin-top: .6rem;
    font-size: 11px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}

.navbar-expand-lg .navbar-nav {
    display: flex;
    gap: 19px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .site-header {
        top: 12px;
    }

    .nav-shell {
        padding: 12px 18px;
    }

    .hero {
        padding-top: 130px;
    }

    .hero .lead-text {
        font-size: 1.1rem;
    }

    .mobile-actions {
        padding: 1rem 0 .5rem;
        display: grid;
        gap: .75rem;
    }
}

@media (max-width: 575.98px) {
    .status-pill {
        font-size: 14px;
        padding: .5rem 1rem;
    }

    .search-box {
        padding-left: 16px;
    }

    .search-box .btn {
        padding: .7rem 1.2rem;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: .8rem;
    }
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .4);
}

.navbar-toggler-icon {
    filter: invert(1);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

.btn-light-pill:focus-visible {
    outline-color: #c7b3f5;
}

/* ========================================================
   Consultation Section (Second Section)
   Theme: Primary #3B0CA3 & White #FFFFFF
   ======================================================== */
.consultation-section {
    background: #f7f8fd;
    color: #121624;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative ambient glow matching primary color #3B0CA3 */
.consultation-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 12, 163, 0.045) 0%, rgba(59, 12, 163, 0) 70%);
    pointer-events: none;
}

.consultation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.15rem;
    background: rgba(59, 12, 163, 0.08);
    border: 1px solid rgba(59, 12, 163, 0.16);
    color: var(--primary);
    border-radius: 50rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.consultation-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 12, 163, 0.2);
}

.consultation-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.3rem, 4.2vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #0d101a;
    margin-bottom: 1.4rem;
}

.consultation-lead {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.72;
    color: #4e5567;
    max-width: 520px;
    margin-bottom: 2.4rem;
}

.consultation-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--primary);
    background: #ffffff;
    border: 1.5px solid var(--primary);
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(59, 12, 163, 0.05);
}

.btn-contact-pill i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.btn-contact-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 12, 163, 0.22);
}

.btn-contact-pill:hover i {
    transform: scale(1.1);
}

/* Booking Card (Right Side) */
.consultation-card {
    background: #ffffff;
    border: 1px solid rgba(59, 12, 163, 0.09);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 24px 50px -15px rgba(59, 12, 163, 0.09), 0 3px 12px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.consultation-card:hover {
    box-shadow: 0 30px 65px -15px rgba(59, 12, 163, 0.14), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.consultation-form .form-label,
.consultation-cf7-wrapper .form-label {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consultation-form .form-label .optional-label,
.consultation-cf7-wrapper .form-label .optional-label {
    font-size: 0.84rem;
    font-weight: 400;
    color: #94a3b8;
}

.consultation-input,
.consultation-select,
.consultation-cf7-wrapper .wpcf7-text,
.consultation-cf7-wrapper .wpcf7-select {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s ease;
    width: 100%;
}

.consultation-input::placeholder,
.consultation-cf7-wrapper .wpcf7-text::placeholder {
    color: #94a3b8;
}

.consultation-input:focus,
.consultation-select:focus,
.consultation-cf7-wrapper .wpcf7-text:focus,
.consultation-cf7-wrapper .wpcf7-select:focus {
    background-color: #ffffff;
    border-color: #3b0ca3;
    box-shadow: 0 0 0 3.5px rgba(59, 12, 163, 0.14);
    outline: none;
    color: #1e293b;
}

.consultation-select,
.consultation-cf7-wrapper .wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233B0CA3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 14px 10px;
    appearance: none;
    -webkit-appearance: none;
}

/* Primary Action CTA Button (Exact Match to Screenshot 2) */
.btn-submit-consultation,
.consultation-cf7-wrapper input[type="submit"],
.consultation-cf7-wrapper .wpcf7-submit {
    width: 100% !important;
    background: #1e085a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 1.05rem 2rem !important;
    font-family: var(--font-head) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    margin-top: 0.6rem !important;
    cursor: pointer !important;
    box-shadow: 0 14px 30px -6px rgba(30, 8, 90, 0.45), 0 4px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: center !important;
}

.btn-submit-consultation:hover,
.consultation-cf7-wrapper input[type="submit"]:hover,
.consultation-cf7-wrapper .wpcf7-submit:hover {
    background: #2d0c7b !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 36px -6px rgba(45, 12, 123, 0.52) !important;
}

.btn-submit-consultation:active,
.consultation-cf7-wrapper input[type="submit"]:active,
.consultation-cf7-wrapper .wpcf7-submit:active {
    transform: translateY(0) !important;
}

/* Privacy & Reassurance Micro-copy */
.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #64748b;
    margin-top: 1.25rem;
    text-align: center;
}

.privacy-note i {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Contact Form 7 Integration Cleanups */
.consultation-cf7-wrapper form {
    margin: 0;
}
.consultation-cf7-wrapper p {
    margin-bottom: 0;
}
.consultation-cf7-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.consultation-cf7-wrapper .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #dc3545;
    margin-top: 5px;
    font-weight: 500;
}
.consultation-cf7-wrapper .wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
}
.consultation-cf7-wrapper form.sent .wpcf7-response-output {
    background: rgba(25, 135, 84, 0.08) !important;
    border: 1px solid rgba(25, 135, 84, 0.25) !important;
    color: #155724 !important;
}
.consultation-cf7-wrapper form.invalid .wpcf7-response-output,
.consultation-cf7-wrapper form.unaccepted .wpcf7-response-output {
    background: rgba(220, 53, 69, 0.08) !important;
    border: 1px solid rgba(220, 53, 69, 0.25) !important;
    color: #721c24 !important;
}
.consultation-cf7-wrapper .wpcf7-spinner {
    margin: 10px auto 0 auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .consultation-section {
        padding: 80px 0;
    }

    .consultation-info-col {
        text-align: center;
    }

    .consultation-lead {
        margin-inline: auto;
    }

    .consultation-contacts {
        justify-content: center;
    }

    .consultation-card {
        padding: 2rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .consultation-section {
        padding: 65px 0;
    }

    .consultation-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }

    .btn-contact-pill {
        width: 100%;
        justify-content: center;
    }

    .btn-submit-consultation {
        font-size: 0.98rem;
        padding: 0.88rem 1.4rem;
    }
}

/* ========================================================
   My Promise / About Section (Third Section)
   Background: #fafafa | Primary Accent: #3B0CA3
   ======================================================== */
.promise-section {
    background-color: #fafafa;
    color: #1a1e2b;
    padding: 110px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.promise-badge {
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.1rem;
    display: inline-block;
}

.promise-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.3rem, 3.8vw, 3.4rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #0d101a;
    margin-bottom: 2rem;
}

/* Photo Card & Floating Review Badge */
.promise-photo-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.promise-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.75;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.promise-photo-card:hover .promise-photo {
    transform: scale(1.02);
}

.photo-review-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50rem;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #161b28;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
    z-index: 2;
}

.photo-review-badge i {
    color: #f59e0b;
    font-size: 0.95rem;
}

/* 4 Stat Cards in 2x2 Grid (Inspired by Acquisition.com accent bars) */
.promise-stats-grid {
    margin-top: 1.25rem;
}

.promise-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    border: 1px solid #ebeef5;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.025);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.promise-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(59, 12, 163, 0.1);
    border-color: rgba(59, 12, 163, 0.2);
    border-left-color: var(--primary);
}

.promise-stat-card .stat-value {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.12;
    color: #0d101a;
    margin-bottom: 5px;
}

.promise-stat-card .stat-title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #636e84;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Promise Story Typography */
.promise-body p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.76;
    color: #4b5264;
    margin-bottom: 1.45rem;
}

.promise-body p strong {
    color: #101420;
    font-weight: 600;
}

.promise-quote {
    margin: 2.2rem 0;
    padding: 1.25rem 1.8rem;
    border-left: 3.5px solid var(--primary);
    background: rgba(59, 12, 163, 0.035);
    border-radius: 0 14px 14px 0;
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.55;
    color: #181d2a;
}

.promise-closing {
    font-weight: 700 !important;
    color: #0e111d !important;
    font-size: 1.06rem;
    margin-top: 2rem;
    margin-bottom: 0 !important;
}

/* Responsive Breakpoints for Promise Section */
@media (max-width: 991.98px) {
    .promise-section {
        padding: 80px 0;
    }

    .promise-photo-card {
        max-width: 480px;
        margin-inline: auto;
    }

    .promise-stats-grid {
        max-width: 480px;
        margin-inline: auto;
    }

    .promise-content-col {
        margin-top: 2rem;
    }

    .promise-title {
        font-size: 2.1rem;
        margin-bottom: 1.5rem;
    }

    .promise-quote {
        font-size: 1.15rem;
        padding: 1rem 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .promise-section {
        padding: 65px 0;
    }

    .photo-review-badge {
        bottom: 14px;
        left: 14px;
        padding: 6px 14px;
        font-size: 12px;
    }

    .promise-stat-card {
        padding: 1rem;
    }

    .promise-stat-card .stat-value {
        font-size: 1.45rem;
    }

    .promise-stat-card .stat-title {
        font-size: 0.76rem;
    }

    .promise-title {
        font-size: 1.8rem;
    }

    .promise-body p {
        font-size: 0.98rem;
        line-height: 1.68;
    }
}

/* ========================================================
   Services / How I Help Section (Fourth Section)
   Theme: Primary #3B0CA3 | 3-Column Card Layout
   ======================================================== */
.services-section {
    background-color: #ffffff;
    color: #121624;
    padding: 110px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.services-badge {
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.9rem;
    display: inline-block;
}

.services-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0d101a;
    margin-bottom: 1.1rem;
}

.services-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555e70;
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* 3-Column Service Cards */
.service-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 520px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #120d2c;
    background-image: var(--card-bg-img);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(59, 12, 163, 0.14);
    box-shadow: 0 16px 36px -10px rgba(12, 8, 32, 0.16);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px -12px rgba(59, 12, 163, 0.32), 0 0 0 1.5px var(--primary);
    border-color: var(--primary);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 11, 40, 0.6) 0%, rgba(14, 9, 34, 0.84) 48%, rgba(10, 6, 26, 0.97) 100%);
    transition: background 0.35s ease;
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(59, 12, 163, 0.52) 0%, rgba(18, 10, 44, 0.86) 48%, rgba(10, 6, 26, 0.98) 100%);
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(59, 12, 163, 0.45);
}

.service-tag-overline {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.45rem;
    display: block;
}

.service-card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.service-chip {
    padding: 5px 12px;
    font-size: 0.76rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50rem;
    transition: all 0.2s ease;
}

.service-chip:hover {
    background: rgba(59, 12, 163, 0.55);
    border-color: var(--primary);
}

.service-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
}

.service-explore-link i {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.service-card:hover .service-explore-link i {
    transform: translateX(5px);
}

.service-explore-link:hover {
    color: #ffffff;
}

/* Responsive Breakpoints for Services Section */
@media (max-width: 991.98px) {
    .services-section {
        padding: 80px 0;
    }

    .service-card {
        min-height: 480px;
    }

    .services-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 575.98px) {
    .services-section {
        padding: 65px 0;
    }

    .service-card {
        min-height: 460px;
    }

    .service-card-content {
        padding: 1.8rem 1.4rem;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .services-subtitle {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }
}

/* ========================================================
   Luxury Collection Section (Fifth Section)
   Theme: Primary #3B0CA3 | Carousel Layout with Cards
   ======================================================== */
.luxury-section {
    background-color: #f8f9fd;
    color: #121624;
    padding: 110px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.luxury-badge {
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.luxury-title {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 38px);
    line-height: 44px;
    letter-spacing: -0.015em;
    color: rgb(15, 25, 35);
    margin-bottom: 0.75rem;
}

.luxury-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555e70;
    line-height: 1.6;
}

/* Nav Controls */
.luxury-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e1e5f0;
    color: #151923;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.luxury-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 12, 163, 0.28);
}

/* Carousel Track & Card Items */
.luxury-carousel-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    -webkit-overflow-scrolling: touch;
}

.luxury-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.luxury-carousel-track {
    display: flex;
    gap: 24px;
}

.luxury-card-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 320px;
    max-width: 420px;
}

.luxury-property-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 450px;
    background-color: #100b27;
    background-image: var(--property-img);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(59, 12, 163, 0.12);
    box-shadow: 0 14px 34px -10px rgba(12, 8, 32, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.luxury-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px -10px rgba(59, 12, 163, 0.35), 0 0 0 1.5px var(--primary);
    border-color: var(--primary);
}

.luxury-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 8, 28, 0.4) 0%, rgba(12, 8, 28, 0.1) 35%, rgba(10, 7, 24, 0.8) 72%, rgba(8, 5, 20, 0.96) 100%);
    transition: background 0.35s ease;
}

.luxury-property-card:hover .luxury-card-overlay {
    background: linear-gradient(180deg, rgba(59, 12, 163, 0.32) 0%, rgba(12, 8, 28, 0.12) 35%, rgba(15, 9, 36, 0.85) 70%, rgba(8, 5, 20, 0.98) 100%);
}

.property-type-tag {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    background: rgba(14, 10, 32, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50rem;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.luxury-card-details {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.property-price {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.property-address {
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.property-location i {
    color: var(--primary);
    font-size: 0.85rem;
}

.property-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 10px;
    font-weight: 400;
}

.specs-dot {
    color: rgba(255, 255, 255, 0.4);
}

/* Pagination Dots */
.luxury-pagination-dots .luxury-dot {
    width: 8px;
    height: 8px;
    border-radius: 50rem;
    background: #d0d6e2;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.luxury-pagination-dots .luxury-dot.active {
    width: 24px;
    background: var(--primary);
}

/* Bottom CTA */
.btn-luxury-cta {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid #dcdfeb;
    border-radius: 50rem;
    padding: 0.78rem 1.9rem;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
}

.btn-luxury-cta:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(59, 12, 163, 0.28);
}

/* Responsive Breakpoints for Luxury Section */
@media (max-width: 991.98px) {
    .luxury-section {
        padding: 80px 0;
    }

    .luxury-card-item {
        flex: 0 0 calc(50% - 12px);
        min-width: 290px;
    }

    .luxury-property-card {
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .luxury-section {
        padding: 65px 0;
    }

    .luxury-card-item {
        flex: 0 0 85%;
        min-width: 260px;
    }

    .luxury-property-card {
        height: 390px;
        padding: 1.25rem;
    }

    .property-price {
        font-size: 1.35rem;
    }

    .luxury-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
}

/* ========================================================
   Current Listings Section (Sixth Section)
   Theme: Primary #3B0CA3 | Carousel Layout with Cards
   ======================================================== */
.listings-section {
    background-color: #ffffff;
    color: #121624;
    padding: 110px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.listings-badge {
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.listings-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 38px);
    line-height: 44px;
    letter-spacing: -0.015em;
    color: rgb(15, 25, 35);
    margin-bottom: 0.75rem;
}

.listings-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555e70;
    line-height: 1.6;
}

/* Nav Controls */
.listings-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e1e5f0;
    color: #151923;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.listings-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 12, 163, 0.28);
}

/* Carousel Track & Card Items */
.listings-carousel-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    -webkit-overflow-scrolling: touch;
}

.listings-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.listings-carousel-track {
    display: flex;
    gap: 24px;
}

.listings-card-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 320px;
    max-width: 420px;
}

.listing-property-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 450px;
    background-color: #100b27;
    background-image: var(--listing-img);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(59, 12, 163, 0.12);
    box-shadow: 0 14px 34px -10px rgba(12, 8, 32, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.listing-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px -10px rgba(59, 12, 163, 0.35), 0 0 0 1.5px var(--primary);
    border-color: var(--primary);
}

.listing-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 8, 28, 0.35) 0%, rgba(12, 8, 28, 0.1) 35%, rgba(10, 7, 24, 0.8) 72%, rgba(8, 5, 20, 0.96) 100%);
    transition: background 0.35s ease;
}

.listing-property-card:hover .listing-card-overlay {
    background: linear-gradient(180deg, rgba(59, 12, 163, 0.3) 0%, rgba(12, 8, 28, 0.1) 35%, rgba(15, 9, 36, 0.85) 70%, rgba(8, 5, 20, 0.98) 100%);
}

.listing-type-tag {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    background: rgba(14, 10, 32, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50rem;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.listing-card-details {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.listing-price {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.listing-address {
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.listing-location i {
    color: var(--primary);
    font-size: 0.85rem;
}

.listing-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 10px;
    font-weight: 400;
}

/* Pagination Dots */
.listings-pagination-dots .listing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50rem;
    background: #d0d6e2;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.listings-pagination-dots .listing-dot.active {
    width: 24px;
    background: var(--primary);
}

/* Responsive Breakpoints for Listings Section */
@media (max-width: 991.98px) {
    .listings-section {
        padding: 80px 0;
    }

    .listings-card-item {
        flex: 0 0 calc(50% - 12px);
        min-width: 290px;
    }

    .listing-property-card {
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .listings-section {
        padding: 65px 0;
    }

    .listings-card-item {
        flex: 0 0 85%;
        min-width: 260px;
    }

    .listing-property-card {
        height: 390px;
        padding: 1.25rem;
    }

    .listing-price {
        font-size: 1.35rem;
    }

    .listings-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
}

/* ========================================================
   Fraser Valley Insights Section (Seventh Section)
   ======================================================== */
.valley-section {
    background-color: #f8f9fd;
    color: #121624;
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.valley-badge {
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.valley-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.1rem, 3.8vw, 2.75rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #0f1923;
    margin-bottom: 1.25rem;
    max-width: 600px;
}

.valley-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.valley-all-link:hover {
    color: var(--primary);
    gap: 0.75rem;
}

.valley-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.valley-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(59, 12, 163, 0.12);
}

.valley-card-img-wrap {
    overflow: hidden;
    height: 220px;
}

.valley-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

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

.valley-card-meta {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #717d96;
    margin-bottom: 0.6rem;
}

.valley-card-title {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f1923;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.valley-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #242938;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.valley-card-link:hover {
    color: var(--primary);
    gap: 0.7rem;
}

@media (max-width: 991.98px) {
    .valley-section {
        padding: 75px 0;
    }
}

@media (max-width: 575.98px) {
    .valley-section {
        padding: 60px 0;
    }

    .valley-title {
        font-size: 1.85rem;
    }

    .valley-card-img-wrap {
        height: 190px;
    }
}

/* ========================================================
   SnapStats Market Data Banner (Eighth Section)
   ======================================================== */
.snapstats-section {
    background-color: #ffffff;
    padding: 70px 0 90px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.snapstats-card {
    background: #ffffff;
    border: 1px solid rgba(59, 12, 163, 0.12);
    border-radius: 28px;
    padding: 3.5rem 3.5rem;
    box-shadow: 0 16px 45px -10px rgba(59, 12, 163, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.snapstats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px -10px rgba(59, 12, 163, 0.15);
}

.snapstats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.1rem;
}

.snapstats-badge i {
    font-size: 0.85rem;
}

.snapstats-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.45rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #0d121e;
    margin-bottom: 1.15rem;
}

.snapstats-desc {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.68;
    color: #525a6c;
    max-width: 680px;
}

.btn-snapstats-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--primary);
    border: none;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 22px rgba(59, 12, 163, 0.28);
    white-space: nowrap;
}

.btn-snapstats-cta i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.btn-snapstats-cta:hover {
    background: #2a087a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 12, 163, 0.38);
}

.btn-snapstats-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .snapstats-section {
        padding: 50px 0 70px;
    }

    .snapstats-card {
        padding: 2.4rem 2rem;
        border-radius: 22px;
    }

    .btn-snapstats-cta {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .snapstats-card {
        padding: 1.8rem 1.4rem;
        border-radius: 20px;
    }

    .snapstats-title {
        font-size: 1.6rem;
    }

    .snapstats-desc {
        font-size: 0.94rem;
    }
}

/* ========================================================
   Neighbourhood Guides Section (Ninth Section)
   ======================================================== */
.neighbourhoods-section {
    background-color: #f8f9fd;
    padding: 95px 0 110px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.neighbourhoods-header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.neighbourhoods-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.15rem;
}

.neighbourhoods-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: #0d121e;
    margin-bottom: 1.2rem;
}

.neighbourhoods-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #525a6c;
    margin-bottom: 0;
}

.neighbourhoods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 1140px;
    margin: 0 auto;
}

.neighbourhood-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(59, 12, 163, 0.08);
    border-radius: 22px;
    padding: 2.3rem 2.4rem 2.4rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.025);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.28s ease;
}

/* Top accent bar matching screenshot */
.neighbourhood-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.neighbourhood-card:hover::before,
.neighbourhood-card.card-accent-top::before {
    opacity: 1;
}

.neighbourhood-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(59, 12, 163, 0.09);
    border-color: rgba(59, 12, 163, 0.22);
}

.neighbourhood-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 12, 163, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.35rem;
    transition: all 0.25s ease;
}

.neighbourhood-card:hover .neighbourhood-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.neighbourhood-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.22rem;
    line-height: 1.3;
    color: #0d121e;
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
    transition: color 0.2s ease;
}

.neighbourhood-card:hover .neighbourhood-name {
    color: var(--primary);
}

.neighbourhood-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #525a6c;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .neighbourhoods-section {
        padding: 70px 0 85px;
    }

    .neighbourhoods-grid {
        gap: 1.3rem;
    }

    .neighbourhood-card {
        padding: 1.9rem 1.8rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .neighbourhoods-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .neighbourhoods-header {
        margin-bottom: 2.5rem;
    }

    .neighbourhoods-title {
        font-size: 1.85rem;
    }

    .neighbourhoods-subtitle {
        font-size: 0.96rem;
    }
}

/* ========================================================
   Search by Location Section (Tenth Section - Full Width Auto-Scroll)
   ======================================================== */
.location-search-section {
    background-color: #ffffff;
    padding: 85px 0 95px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.location-search-header {
    margin-bottom: 2.5rem;
}

.location-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.location-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #0d121e;
    margin-bottom: 0;
}

/* Full Width Infinite Auto-Moving Marquee */
.location-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0 35px;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.location-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: locationAutoMove 40s linear infinite;
    will-change: transform;
}

.location-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes locationAutoMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.location-card {
    flex: 0 0 265px;
    width: 265px;
    height: 380px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 8px 24px rgba(10, 14, 25, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #0d121e;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(59, 12, 163, 0.28);
}

.location-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-card:hover .location-card-img {
    transform: scale(1.08);
}

.location-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 25, 0.08) 0%, rgba(10, 14, 25, 0.32) 45%, rgba(10, 14, 25, 0.92) 100%);
    transition: background 0.35s ease;
}

.location-card:hover .location-card-overlay {
    background: linear-gradient(180deg, rgba(59, 12, 163, 0.18) 0%, rgba(10, 14, 25, 0.45) 45%, rgba(10, 14, 25, 0.95) 100%);
}

.location-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.4rem;
    z-index: 2;
}

.location-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50rem;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.location-card:hover .location-badge {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(59, 12, 163, 0.4);
}

.location-card-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.location-card-desc {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .location-search-section {
        padding: 65px 0 75px;
    }

    .location-card {
        flex: 0 0 240px;
        width: 240px;
        height: 350px;
    }
}

@media (max-width: 575.98px) {
    .location-card {
        flex: 0 0 215px;
        width: 215px;
        height: 320px;
        border-radius: 18px;
    }

    .location-card-title {
        font-size: 1.2rem;
    }

    .location-card-desc {
        font-size: 0.78rem;
    }

    .location-title {
        font-size: 1.85rem;
    }
}

/* ========================================================
   Quote & Testimonials Section (Eleventh Section - Auto-Moving)
   ======================================================== */
.testimonials-experience-section {
    background-color: #f8f9fd;
    padding: 95px 0 105px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Quote Statement Block */
.quote-statement-block {
    max-width: 820px;
    margin: 0 auto 5rem;
    padding-bottom: 4.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.quote-mark-icon {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.45;
    margin-bottom: 0.8rem;
}

.quote-statement-text {
    font-family: var(--font-head);
    font-size: clamp(1.28rem, 2.3vw, 1.7rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.58;
    color: #121926;
    margin: 0 auto 1.35rem;
    max-width: 760px;
}

.quote-author-cite {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    font-style: normal;
}

/* Testimonials Header */
.testimonials-header {
    margin-bottom: 2.4rem;
}

.testimonials-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.testimonials-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #0d121e;
    margin-bottom: 0;
}

/* Auto-moving Infinite Carousel Track */
.testimonials-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 25px;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.testimonials-marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: testimonialsAutoMove 48s linear infinite;
    will-change: transform;
}

.testimonials-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes testimonialsAutoMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 350px;
    width: 350px;
    background: #ffffff;
    border: 1px solid rgba(59, 12, 163, 0.08);
    border-radius: 22px;
    padding: 2.2rem 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.025);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(59, 12, 163, 0.1);
    border-color: rgba(59, 12, 163, 0.22);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--primary);
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-style: italic;
    line-height: 1.68;
    color: #2b3345;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(59, 12, 163, 0.08);
    color: var(--primary);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.testimonial-card:hover .testimonial-avatar {
    background: var(--primary);
    color: #ffffff;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: var(--font-head);
    font-size: 0.94rem;
    font-weight: 700;
    color: #0d121e;
    line-height: 1.25;
    margin-bottom: 2px;
}

.testimonial-source {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: #717d96;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-source i {
    color: #4285F4;
    font-size: 0.74rem;
}

@media (max-width: 991.98px) {
    .testimonials-experience-section {
        padding: 75px 0 85px;
    }

    .quote-statement-block {
        margin-bottom: 3.5rem;
        padding-bottom: 3rem;
    }

    .testimonial-card {
        flex: 0 0 310px;
        width: 310px;
        padding: 1.8rem 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .testimonial-card {
        flex: 0 0 275px;
        width: 275px;
        border-radius: 18px;
    }

    .quote-statement-text {
        font-size: 1.15rem;
    }

    .testimonials-title {
        font-size: 1.85rem;
    }

    .testimonial-text {
        font-size: 0.88rem;
    }
}

/* ========================================================
   Site Footer
   ======================================================== */
.site-footer {
    background: linear-gradient(180deg, rgba(16, 12, 36, .62) 0%, rgb(59 12 163) 55%, rgb(74 31 170) 100%);
    padding: 85px 0 35px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrap {
    display: inline-block;
    margin-bottom: 1.35rem;
    text-decoration: none;
}

.footer-logo-img {
    height: 50px;
    width: 140px;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.footer-logo-wrap:hover .footer-logo-img {
    transform: scale(1.03);
}

.footer-license-text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #bcbcbc;
    margin-bottom: 1.4rem;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(59, 12, 163, 0.25);
}

/* Get In Touch Block */
.footer-contact-block {
    margin-top: 0.5rem;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #bcbcbc;
    margin-bottom: 0.75rem;
}

.footer-contact-list li i {
    color: #ffffff;
    font-size: 0.95rem;
    width: 18px;
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: #bcbcbc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
    color: #ffffff;
}

/* Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.4rem;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #bcbcbc;
    text-decoration: none;
    margin-bottom: 0.85rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    width: fit-content;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Collapsible toggle */
.footer-links-collapsible [data-extra] {
    display: none;
}

.footer-links-collapsible.expanded [data-extra] {
    display: block;
    animation: fadeInExtra 0.3s ease forwards;
}

@keyframes fadeInExtra {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 0.6rem;
    padding: 6px 14px;
    border-radius: 50rem;
    border: 1px solid #e2e8f0;
    background: transparent;
    color: #64748b;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: all 0.2s ease;
}

.footer-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 12, 163, 0.05);
}

.footer-toggle-btn i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.footer-links-collapsible.expanded .footer-toggle-btn i {
    transform: rotate(180deg);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid #bcbcbc;
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-links a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .site-footer {
        padding: 70px 0 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding: 55px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ========================================================
   AI-Powered Home Search Section (Themed with Brand Colors)
   ======================================================== */
.ai-search-section {
    background-color: #ffffff;
    padding: 92px 0 100px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ai-search-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 420px;
    background: radial-gradient(circle, rgba(59, 12, 163, 0.045) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.ai-section-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
}

.ai-header-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.8rem;
}

.ai-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.1rem;
    position: relative;
}

.ai-main-title {
    font-family: var(--font-head);
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #0b0e17;
    margin-bottom: 1.25rem;
}

.ai-main-title sup {
    font-size: 0.45em;
    top: -0.85em;
    font-weight: 700;
}

.ai-lead-desc {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.74;
    color: #4b5264;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Pillars */
.ai-features-row {
    margin-bottom: 3.2rem;
}

.ai-feature-card {
    background: #ffffff;
    border: 1px solid #ebeef5;
    border-radius: 20px;
    padding: 2.3rem 1.85rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.025);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(59, 12, 163, 0.1);
    border-color: rgba(59, 12, 163, 0.25);
}

.ai-feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(59, 12, 163, 0.07);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.3rem;
    transition: all 0.3s ease;
}

.ai-feature-card:hover .ai-feature-icon-wrap {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(59, 12, 163, 0.25);
}

.ai-feature-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d101a;
    margin-bottom: 0.65rem;
}

.ai-feature-title sup {
    font-size: 0.5em;
    top: -0.6em;
}

.ai-feature-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.62;
    color: #636e84;
    margin-bottom: 0;
}

/* Actions and CTAs */
.ai-actions-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.btn-ai-primary {
    background: #2b00a0;
    background: linear-gradient(135deg, #24008a 0%, #3a0ca3 100%);
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px -3px rgba(43, 0, 160, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-ai-primary:hover {
    background: linear-gradient(135deg, #1d006e 0%, #300a8a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -4px rgba(43, 0, 160, 0.6);
}

.btn-ai-primary i {
    transition: transform 0.2s ease;
}

.btn-ai-primary:hover i.bi-arrow-right {
    transform: translateX(4px);
}

.btn-ai-link {
    background: transparent;
    color: #0f172a;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 50rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ai-link:hover {
    color: #2b00a0;
    background: rgba(43, 0, 160, 0.05);
    text-decoration: none;
}

.btn-ai-secondary {
    background: #ffffff;
    color: #1a1f2c;
    font-family: var(--font-head);
    font-size: 0.96rem;
    font-weight: 600;
    padding: 0.92rem 2.1rem;
    border-radius: 50rem;
    border: 1.5px solid #d5dae5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-ai-secondary:hover {
    border-color: #2b00a0;
    color: #2b00a0;
    background: rgba(43, 0, 160, 0.035);
    transform: translateY(-2px);
}

.btn-ai-secondary i {
    transition: transform 0.2s ease;
}

.btn-ai-secondary:hover i {
    transform: translateX(4px);
}

.ai-footer-note {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #798296;
    text-align: center;
    margin-bottom: 3.5rem;
}

/* AI Interactive Search Modal */
.ai-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.ai-modal .modal-header {
    background: #2b00a0;
    color: #ffffff;
    padding: 1.25rem 1.75rem;
    border-bottom: none;
}

.ai-modal .modal-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    margin: 0;
}

.ai-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.ai-modal .btn-close:hover {
    opacity: 1;
}

.ai-modal .modal-body {
    padding: 1.8rem;
    background: #ffffff;
    color: #1a1f2c;
}

.ai-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
    background: #e6f9f0;
    padding: 4px 12px;
    border-radius: 50px;
}

.ai-status-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.ai-listings-count {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.ai-prompt-intro {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}

.ai-prompt-chip {
    background: #f1f5f9;
    border: none;
    color: #1e293b;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    margin: 4px;
    text-decoration: none;
}

.ai-prompt-chip:hover {
    background: #e2e8f0;
    color: #2b00a0;
}

/* AI How It Works Steps */
.ai-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3effe;
    color: #2b00a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ai-step-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.ai-step-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0;
}

.ai-chat-input-wrap {
    position: relative;
    margin-top: 1.2rem;
}

.ai-chat-input {
    width: 100%;
    border: 1.5px solid #d5dae5;
    border-radius: 50rem;
    padding: 0.85rem 3.4rem 0.85rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.94rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 12, 163, 0.12);
}

.ai-send-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ai-send-btn:hover {
    background: #4a12c4;
    transform: translateY(-50%) scale(1.06);
}

.ai-sample-match-box {
    margin-top: 1.5rem;
    background: #f8faff;
    border: 1px solid #e1e7f5;
    border-radius: 16px;
    padding: 1.2rem;
    display: none;
}

.ai-sample-match-box.active {
    display: block;
    animation: fadeInMatch 0.35s ease;
}

@keyframes fadeInMatch {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .ai-search-section {
        padding: 70px 0 75px;
    }

    .ai-header-block {
        margin-bottom: 2.8rem;
    }

    .ai-features-row {
        margin-bottom: 2.5rem;
    }

    .ai-footer-note {
        margin-bottom: 2.5rem;
    }

    .ai-stats-bar {
        padding: 1.5rem 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .ai-search-section {
        padding: 55px 0 60px;
    }

    .ai-stat-card {
        margin-bottom: 0.5rem;
    }

    .ai-actions-wrap {
        flex-direction: column;
        width: 100%;
    }

    .btn-ai-primary,
    .btn-ai-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================
   Local Expert & Map Section (Image 1 Theme)
   ======================================================== */
.local-expert-section {
    background-color: #ffffff;
    padding: 95px 0 100px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.expert-header-block {
    max-width: 820px;
    margin: 0 auto 2.2rem;
}

.expert-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.expert-main-title {
    font-family: var(--font-head);
    font-size: clamp(2.1rem, 3.8vw, 3.05rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #0c0f19;
    margin-bottom: 1.25rem;
}

.expert-lead-desc {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.25vw, 1.08rem);
    line-height: 1.74;
    color: #4b5264;
    max-width: 740px;
    margin: 0 auto;
}

/* Expert Review Block */
.expert-review-card {
    max-width: 760px;
    margin: 0 auto 3.2rem;
}

.expert-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 1.15rem;
    color: #f59e0b;
}

.expert-rating-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #4b5264;
}

.expert-rating-text strong {
    color: #0c0f19;
    font-weight: 700;
}

.expert-quote-text {
    font-family: var(--font-body);
    font-size: clamp(1.02rem, 1.4vw, 1.12rem);
    font-style: italic;
    color: #374151;
    line-height: 1.62;
    max-width: 660px;
    margin: 0.85rem auto 0.4rem;
}

.expert-quote-author {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.expert-review-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.expert-review-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.expert-review-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.expert-divider-dot {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Map Container */
.expert-map-wrap {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #ebeef5;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    height: 400px;
    background: #e5e7eb;
}

.expert-map-header {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
}

.btn-open-maps {
    background: #ffffff;
    color: #1e3a8a;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-open-maps:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.expert-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ========================================================
   Market Analysis CTA Card & Newsletter Section (Image 2 Theme)
   ======================================================== */
.cta-newsletter-section {
    background-color: #f8f9fd;
    padding: 85px 0 95px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.market-cta-card {
    background: linear-gradient(140deg, #18083c 0%, var(--primary) 70%, #4f11a8 100%);
    border-radius: 28px;
    padding: 68px 36px;
    box-shadow: 0 24px 60px rgba(59, 12, 163, 0.24);
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.market-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.market-cta-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.1rem;
    line-height: 1.22;
}

.market-cta-desc {
    font-family: var(--font-body);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto 2.2rem;
}

.btn-market-analysis {
    background: #ffffff;
    color: var(--primary);
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 700;
    padding: 0.95rem 2.5rem;
    border-radius: 50rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-market-analysis:hover {
    background: #fbfbfe;
    color: #2b087a;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

/* Newsletter Strip */
.newsletter-bar {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 36px;
    border: 1px solid #ebeef5;
    max-width: 980px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.025);
}

.newsletter-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(59, 12, 163, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.newsletter-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d101a;
    margin-bottom: 2px;
}

.newsletter-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #636e84;
    margin-bottom: 0;
    line-height: 1.5;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1 1 200px;
    min-width: 200px;
    background: #ffffff;
    border: 1.5px solid #d5dae5;
    border-radius: 50rem;
    padding: 0.72rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 12, 163, 0.12);
}

.btn-newsletter-subscribe {
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.72rem 1.8rem;
    border-radius: 50rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 12, 163, 0.25);
}

.btn-newsletter-subscribe:hover {
    background: #4a12c4;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59, 12, 163, 0.38);
    color: #ffffff;
}

.newsletter-feedback {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #059669;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .local-expert-section {
        padding: 75px 0 80px;
    }

    .cta-newsletter-section {
        padding: 70px 0 75px;
    }

    .market-cta-card {
        padding: 50px 24px;
        margin-bottom: 2.5rem;
    }

    .newsletter-bar {
        padding: 24px;
    }

    .expert-map-wrap {
        height: 340px;
    }
}

@media (max-width: 575.98px) {
    .local-expert-section {
        padding: 55px 0 60px;
    }

    .cta-newsletter-section {
        padding: 55px 0 60px;
    }

    .market-cta-card {
        padding: 40px 18px;
        border-radius: 20px;
    }

    .btn-market-analysis {
        width: 100%;
    }

    .newsletter-bar {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .newsletter-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-newsletter-subscribe {
        width: 100%;
    }

    .expert-map-wrap {
        height: 280px;
        border-radius: 18px;
    }
}

/* ========================================================
   Contact Page Styles (Exact Layout from Screenshot)
   ======================================================== */

.contact-main-section {
    padding-top: 140px;
    padding-bottom: 90px;
    background: #ffffff;
    position: relative;
}

.contact-breadcrumb {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.contact-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
    color: var(--primary);
}

.contact-breadcrumb .divider {
    margin: 0 8px;
    color: #94a3b8;
}

.contact-breadcrumb .active {
    color: #0e0a1f;
    font-weight: 500;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.contact-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.14;
    color: #0e0a1f;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.contact-title em {
    font-style: italic;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

.contact-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    max-width: 530px;
    margin-bottom: 2.2rem;
}

.contact-desc em {
    font-style: italic;
    font-weight: 600;
    color: var(--primary);
}

.contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 3.5rem;
}

.btn-book-consult {
    background: var(--primary);
    color: #ffffff;
    border: 1.5px solid var(--primary);
    border-radius: 50rem;
    padding: 13px 28px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(59, 12, 163, 0.3);
}

.btn-book-consult:hover {
    background: #2b087a;
    border-color: #2b087a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(59, 12, 163, 0.4);
}

.btn-call-text {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid rgba(59, 12, 163, 0.25);
    border-radius: 50rem;
    padding: 13px 26px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(59, 12, 163, 0.05);
}

.btn-call-text:hover {
    border-color: var(--primary);
    color: #ffffff;
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 12, 163, 0.25);
}

.contact-stats-row {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.contact-stat-item {
    display: flex;
    flex-direction: column;
}

.contact-stat-item:not(:last-child) {
    padding-right: 36px;
    border-right: 1px solid #e2e8f0;
}

.contact-stat-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.contact-stat-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.38;
}

/* Right Side Photo */
.contact-photo-container {
    position: relative;
    max-width: 480px;
    margin-left: auto;
}

.contact-photo-card {
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(14, 10, 31, 0.1);
    background: #e2e8f0;
}

.contact-photo-card img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.contact-badge-card {
    position: absolute;
    bottom: 28px;
    left: 24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-badge-name {
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 700;
    color: #0e1726;
    line-height: 1.2;
    margin-bottom: 3px;
}

.contact-badge-role {
    font-family: var(--font-body);
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

/* Switcher / Segmented Tabs */
.contact-tab-nav {
    margin-top: 60px;
    margin-bottom: 45px;
}

.contact-segmented-track {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 6px;
    display: flex;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.contact-tab-btn {
    flex: 1;
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.contact-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(59, 12, 163, 0.32);
}

.contact-tab-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(59, 12, 163, 0.06);
}

/* Panels */
.contact-panel {
    display: none;
    animation: fadeInTab 0.35s ease forwards;
}

.contact-panel.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form & Connect Cards */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 38px 42px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

.contact-form-card .form-label,
.contact-cf7-wrapper .form-label {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0e1726;
    margin-bottom: 7px;
    display: block;
}

.contact-form-card .form-control,
.contact-form-card .form-select,
.contact-cf7-wrapper .wpcf7-text,
.contact-cf7-wrapper .wpcf7-textarea,
.contact-cf7-wrapper .wpcf7-select {
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    padding: 13px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #0e1726;
    background: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
}

.contact-form-card .form-control::placeholder,
.contact-cf7-wrapper .wpcf7-text::placeholder,
.contact-cf7-wrapper .wpcf7-textarea::placeholder {
    color: #94a3b8;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus,
.contact-cf7-wrapper .wpcf7-text:focus,
.contact-cf7-wrapper .wpcf7-textarea:focus,
.contact-cf7-wrapper .wpcf7-select:focus {
    background: #ffffff;
    border-color: #3b0ca3;
    box-shadow: 0 0 0 3.5px rgba(59, 12, 163, 0.12);
    outline: none;
}

.contact-form-card .form-select,
.contact-cf7-wrapper .wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233B0CA3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 14px 10px;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form-card textarea.form-control,
.contact-cf7-wrapper textarea.wpcf7-textarea {
    min-height: 125px;
    resize: vertical;
}

/* Contact Form Submit Button (Exact Pill Layout from Screenshot) */
.btn-contact-submit,
.contact-cf7-wrapper input[type="submit"],
.contact-cf7-wrapper .wpcf7-submit {
    width: 100% !important;
    background: #23086a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50rem !important;
    padding: 15px 30px !important;
    font-family: var(--font-head) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    margin-top: 0.6rem !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px -4px rgba(35, 8, 106, 0.42), 0 4px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: center !important;
}

.btn-contact-submit:hover,
.contact-cf7-wrapper input[type="submit"]:hover,
.contact-cf7-wrapper .wpcf7-submit:hover {
    background: #170448 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px -4px rgba(23, 4, 72, 0.52) !important;
}

.btn-contact-submit:active,
.contact-cf7-wrapper input[type="submit"]:active,
.contact-cf7-wrapper .wpcf7-submit:active {
    transform: translateY(0) !important;
}

.contact-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #4b5563;
    margin-top: 1.25rem;
    text-align: center;
}

.contact-privacy-note i {
    color: #16a34a !important;
    font-size: 0.95rem;
}

/* Contact CF7 Response and Alert Output */
.contact-cf7-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-cf7-wrapper .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #dc3545;
    margin-top: 4px;
    font-weight: 500;
}

.contact-cf7-wrapper .wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
}

.contact-cf7-wrapper form.sent .wpcf7-response-output {
    background: rgba(25, 135, 84, 0.08) !important;
    border: 1px solid rgba(25, 135, 84, 0.25) !important;
    color: #155724 !important;
}

.contact-cf7-wrapper form.invalid .wpcf7-response-output,
.contact-cf7-wrapper form.unaccepted .wpcf7-response-output {
    background: rgba(220, 53, 69, 0.08) !important;
    border: 1px solid rgba(220, 53, 69, 0.25) !important;
    color: #721c24 !important;
}

.contact-cf7-wrapper .wpcf7-spinner {
    margin: 10px auto 0 auto;
    display: block;
}

.contact-info-card {
    background: linear-gradient(145deg, #240768 0%, #3B0CA3 55%, #4c11ce 100%);
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 40px rgba(59, 12, 163, 0.22);
}

.contact-info-card .badge {
    color: var(--primary) !important;
}

.contact-info-card-header h3 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-info-card-header p {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-detail-text small {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-detail-text a,
.contact-detail-text span {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-text a:hover {
    color: #e2e8f0;
}

.contact-info-card-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-card-bottom .status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #86efac;
    font-weight: 500;
}

.contact-info-card-bottom .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* FAQ Accordion */
.contact-faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 18px !important;
    margin-bottom: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.contact-faq-accordion .accordion-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.contact-faq-accordion .accordion-button {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: #0e1726;
    background: #ffffff;
    padding: 22px 26px;
    border-radius: 18px !important;
    box-shadow: none;
}

.contact-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(59, 12, 163, 0.03);
    box-shadow: none;
}

.contact-faq-accordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.25s ease;
}

.contact-faq-accordion .accordion-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    padding: 0 26px 24px 26px;
    background: rgba(59, 12, 163, 0.03);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-main-section {
        padding-top: 115px;
        padding-bottom: 60px;
    }

    .contact-photo-container {
        margin: 40px auto 0;
        max-width: 440px;
    }

    .contact-stats-row {
        gap: 20px;
    }

    .contact-stat-item:not(:last-child) {
        padding-right: 20px;
    }

    .contact-stat-num {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .contact-title {
        font-size: 2.2rem;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-book-consult,
    .btn-call-text {
        width: 100%;
        justify-content: center;
    }

    .contact-stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-stat-item:not(:last-child) {
        padding-right: 0;
        padding-bottom: 16px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .contact-badge-card {
        bottom: 16px;
        left: 16px;
        padding: 10px 16px;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 26px 20px;
    }
}

/* ==========================================================================
   Legal & Standard Content Pages (Privacy Policy, Terms of Service)
   ========================================================================== */
.legal-page-wrapper {
    position: relative;
    padding-top: 140px;
    padding-bottom: 90px;
    background: radial-gradient(circle at 50% 10%, rgba(59, 12, 163, 0.22) 0%, #0e0a1f 70%);
    min-height: 100vh;
}

.legal-hero-section {
    padding-bottom: 40px;
}

.legal-hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.legal-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.crumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.crumb-current {
    color: #ffffff;
    font-weight: 600;
}

.legal-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.legal-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.legal-meta-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.meta-dot {
    color: rgba(255, 255, 255, 0.35);
}

.legal-content-section {
    position: relative;
    z-index: 2;
}

.legal-article-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    padding: 56px 64px;
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Body Typography */
.legal-article-body {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.85;
    color: #334155;
}

.legal-article-body h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
}

.legal-article-body h2:first-of-type {
    margin-top: 0;
}

.legal-article-body h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

.legal-article-body p {
    margin-bottom: 1.3rem;
}

.legal-article-body ul,
.legal-article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.6rem;
}

.legal-article-body li {
    margin-bottom: 0.55rem;
    line-height: 1.75;
}

.legal-article-body strong {
    color: #0f172a;
    font-weight: 600;
}

.legal-article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.legal-article-body a:hover {
    opacity: 0.8;
}

/* Legal Notice Box / Callout */
.legal-callout-box {
    background: linear-gradient(135deg, rgba(59, 12, 163, 0.05) 0%, rgba(59, 12, 163, 0.02) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    padding: 22px 26px;
    margin: 28px 0;
    border-top: 1px solid rgba(59, 12, 163, 0.08);
    border-right: 1px solid rgba(59, 12, 163, 0.08);
    border-bottom: 1px solid rgba(59, 12, 163, 0.08);
}

.legal-callout-box p:last-child {
    margin-bottom: 0;
}

.legal-callout-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

/* Table styling */
.legal-article-body table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.95rem;
}

.legal-article-body table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.legal-article-body table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

/* Bottom Inquiries Box */
.legal-contact-card {
    margin-top: 48px;
    padding: 32px;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
}

.legal-contact-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
}

.legal-contact-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

.btn-legal-contact {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-legal-contact:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 12, 163, 0.35);
}

.btn-legal-phone {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-legal-phone:hover {
    background: #f1f5f9;
    color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 991.98px) {
    .legal-page-wrapper {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .legal-article-card {
        padding: 40px 32px;
        border-radius: 20px;
    }
}

@media (max-width: 575.98px) {
    .legal-page-wrapper {
        padding-top: 95px;
        padding-bottom: 50px;
    }

    .legal-article-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .legal-hero-title {
        font-size: 2rem;
    }

    .legal-meta-info {
        flex-direction: column;
        gap: 6px;
    }

    .meta-dot {
        display: none;
    }

    .btn-legal-contact,
    .btn-legal-phone {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Market Research Archive & Articles Portal (Light Theme)
   ========================================================================== */
.market-research-archive-wrapper {
    position: relative;
    padding-top: 130px;
    padding-bottom: 90px;
    background: #f8fafc;
    min-height: 100vh;
}

.research-hero-section {
    padding-bottom: 36px;
}

.research-hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.research-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 18px;
}

.research-breadcrumbs a {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.research-breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.crumb-separator {
    color: #94a3b8;
    font-size: 0.75rem;
}

.crumb-current {
    color: #0f172a;
    font-weight: 600;
}

.research-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 12, 163, 0.07);
    border: 1px solid rgba(59, 12, 163, 0.16);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.research-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.research-hero-subtitle {
    font-size: 1.12rem;
    color: #475569;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

/* Category Filter Pills (Light theme) */
.btn-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.btn-filter-pill:hover,
.btn-filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 12, 163, 0.3);
    transform: translateY(-2px);
}

/* Featured Article Card (Light theme) */
.research-featured-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.research-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.research-featured-img-wrap {
    height: 100%;
    min-height: 340px;
    overflow: hidden;
}

.research-featured-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.research-featured-card:hover .research-featured-img {
    transform: scale(1.04);
}

.featured-badge-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.research-badge-chip {
    display: inline-block;
    background: rgba(59, 12, 163, 0.08);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(59, 12, 163, 0.15);
}

.research-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #64748b;
}

.research-meta-sep {
    color: #cbd5e1;
}

.research-featured-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
}

.research-featured-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.research-featured-title a:hover {
    color: var(--primary);
}

.research-featured-excerpt {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.7;
}

.btn-read-article {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-read-article:hover {
    background: #2b087a;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(59, 12, 163, 0.35);
    transform: translateY(-2px);
}

/* Standard Research Cards (Light 3-Col Grid) */
.research-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
}

.research-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.research-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.research-card-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.research-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.research-card-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.research-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.research-card-title a:hover {
    color: var(--primary);
}

.research-card-excerpt {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    flex-grow: 1;
}

.research-card-link {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap 0.2s ease;
}

.research-card-link:hover {
    color: #2b087a;
}

.research-card-link i {
    transition: transform 0.2s ease;
}

.research-card:hover .research-card-link i {
    transform: translateX(4px);
}

/* Bottom CTA Card */
.research-cta-card {
    background: linear-gradient(135deg, #3B0CA3 0%, #1e055a 100%);
    border-radius: 24px;
    padding: 42px 48px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(59, 12, 163, 0.25);
}

.research-cta-title {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
}

.research-cta-desc {
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Pagination (Light theme) */
.research-pagination-wrap .pagination {
    gap: 8px;
}

.research-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.research-pagination-wrap .page-numbers.current,
.research-pagination-wrap .page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 12, 163, 0.3);
}

@media (max-width: 991.98px) {
    .market-research-archive-wrapper {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .research-featured-img-wrap,
    .research-featured-img {
        min-height: 240px;
    }

    .research-cta-card {
        padding: 32px 28px;
    }
}

@media (max-width: 575.98px) {
    .market-research-archive-wrapper {
        padding-top: 95px;
        padding-bottom: 50px;
    }

    .research-hero-title {
        font-size: 2.1rem;
    }

    .research-featured-body {
        padding: 24px 20px !important;
    }

    .research-card-body {
        padding: 20px;
    }
}

/* ==========================================================================
   Single Market Research Article Page (Light Theme)
   ========================================================================== */
.article-single-page {
    background: #f8fafc;
    min-height: 100vh;
}

.article-hero-banner {
    position: relative;
    padding-top: 130px;
    padding-bottom: 40px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}

.article-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.article-breadcrumbs a {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.crumb-sep {
    color: #94a3b8;
    font-size: 0.75rem;
}

.crumb-active {
    color: #0f172a;
    font-weight: 600;
    max-width: 340px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: bottom;
}

.article-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 12, 163, 0.07);
    border: 1px solid rgba(59, 12, 163, 0.16);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.article-main-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.article-meta-glass-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    color: #334155;
}

.author-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.author-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.96rem;
}

.author-sub-meta {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.btn-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-share-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 12, 163, 0.3);
}

/* Article Body Container */
.article-card-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.article-rich-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.article-rich-content h2 {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.article-rich-content h2:first-of-type {
    margin-top: 0;
}

.article-rich-content h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

.article-rich-content p {
    margin-bottom: 1.35rem;
}

.article-rich-content ul,
.article-rich-content ol {
    margin-bottom: 1.4rem;
    padding-left: 1.6rem;
}

.article-rich-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.article-rich-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 18px 24px;
    border-radius: 12px;
    margin: 24px 0;
    font-style: italic;
    color: #334155;
}

.badge-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    display: inline-block;
}

@media (max-width: 991.98px) {
    .article-hero-banner {
        padding-top: 110px;
        padding-bottom: 30px;
    }

    .article-card-container {
        padding: 36px 28px;
        border-radius: 20px;
    }
}

@media (max-width: 575.98px) {
    .article-hero-banner {
        padding-top: 95px;
        padding-bottom: 25px;
    }

    .article-main-title {
        font-size: 2rem;
    }

    .article-card-container {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .article-meta-glass-bar {
        padding: 14px 16px;
    }

    .crumb-active {
        max-width: 180px;
    }
}