/* ==========================================================================
   Prime Lending Corp – Premium Frontend Stylesheet
   Brand: #C8102E (red) · #0B1120 (near-black) · #F7F5F2 (warm off-white)
    Fonts: Playfair Display (headings) · Manrope (body) · Cormorant Garamond (accent)
   ========================================================================== */

/* ── Variables ────────────────────────────────────────────────────────── */
:root {
    --red: #C8102E;
    --red-dark: #A00D24;
    --red-light: rgba(200, 16, 46, .08);
    --dark: #0B1120;
    --dark-2: #1C2638;
    --mid: #3D4B63;
    --muted: #64748B;
    --border: #E2E8F0;
    --warm-bg: #F7F5F2;
    --white: #FFFFFF;
    --gold: #B8972E;

    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, .07);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .09);
    --shadow: 0 4px 16px rgba(0, 0, 0, .11);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .14);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, .18);
    --shadow-card: 0 2px 12px rgba(11, 17, 32, .08);

    --trans: .28s cubic-bezier(.4, 0, .2, 1);
    --trans-slow: .55s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--mid);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    color: var(--dark);
    line-height: 1.22;
    margin-bottom: .75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--mid);
}

a {
    color: var(--red);
    text-decoration: none;
    transition: color var(--trans);
}

a:hover {
    color: var(--red-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Utility ──────────────────────────────────────────────────────────── */
.text-red {
    color: var(--red) !important;
}

.text-dark-plc {
    color: var(--dark) !important;
}

.bg-warm {
    background-color: var(--warm-bg) !important;
}

.bg-brand {
    background-color: var(--red) !important;
}

.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .5rem;
}

.home-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .5rem;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--dark);
    font-weight: 700;
}

.divider-line {
    width: 48px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: .75rem 0 1.5rem;
}

.divider-line.center {
    margin-left: auto;
    margin-right: auto;
}

.lift {
    transition: transform var(--trans), box-shadow var(--trans);
}

.lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.elevate {
    transition: transform var(--trans), box-shadow var(--trans);
}

.elevate:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .025em;
    border-radius: var(--radius-sm);
    padding: .65rem 1.6rem;
    transition: background var(--trans), color var(--trans), border-color var(--trans),
        box-shadow var(--trans), transform var(--trans);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 2px solid transparent;
    line-height: 1.4;
}

.btn:active {
    transform: translateY(1px) !important;
}

.btn-brand,
.btn-danger {
    background: var(--red);
    color: #fff !important;
    border-color: var(--red);
}

.btn-brand:hover,
.btn-danger:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: 0 6px 20px rgba(200, 16, 46, .35);
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-outline-danger {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-outline-danger:hover {
    background: var(--red);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, .25);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff !important;
}

.btn-dark-plc {
    background: var(--dark);
    color: #fff !important;
    border-color: var(--dark);
}

.btn-dark-plc:hover {
    background: var(--dark-2);
    border-color: var(--dark-2);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: #1D4ED8;
    border-color: #1D4ED8;
}

.btn-outline-primary:hover {
    background: #1D4ED8;
    color: #fff !important;
}

.btn-secondary {
    background: var(--mid);
    color: #fff !important;
    border-color: var(--mid);
}

.btn-secondary:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff !important;
}

.btn-light {
    background: #fff;
    color: var(--dark) !important;
    border-color: var(--border);
}

.btn-light:hover {
    background: var(--warm-bg);
    border-color: #CBD5E1;
    color: var(--dark) !important;
}

/* btn-light on red/dark backgrounds */
.cta-band .btn-light,
.cta-band-red .btn-light,
.bg-dark .btn-light,
[style*='background:var(--dark)'] .btn-light {
    background: #fff;
    color: var(--red) !important;
    border-color: #fff;
    font-weight: 700;
}

.cta-band .btn-light:hover,
.cta-band-red .btn-light:hover {
    background: var(--warm-bg);
    color: var(--red-dark) !important;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--dark-2);
    border-color: #94A3B8;
}

.btn-outline-secondary:hover {
    background: var(--warm-bg);
    color: var(--dark);
    border-color: var(--mid);
}

.btn-lg {
    padding: .8rem 2.2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: .4rem 1rem;
    font-size: .8rem;
}

/* ── Top Bar ──────────────────────────────────────────────────────────── */
.top-bar {
    background: var(--dark);
    font-size: .8rem;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.top-bar a {
    color: #fff;
    transition: color var(--trans);
}

.top-bar a:hover {
    color: #fff;
}

.top-bar-divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .2);
    vertical-align: middle;
    margin: 0 .75rem;
}

/* ── Navbar ───────────────────────────────────────────────────────────── */
.navbar {
    background: #fff;
    padding: .9rem 0;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--trans), padding var(--trans);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    padding: .6rem 0;
}

.navbar-brand {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--red) !important;
    letter-spacing: -.02em;
    line-height: 1;
    padding: 0;
}

.navbar-brand .navbar-logo {
    height: 110px;
    width: auto;
    transition: height var(--trans);
}

.navbar.scrolled .navbar-brand .navbar-logo {
    height: 90px;
}

.navbar-brand span {
    color: var(--dark);
}

.navbar-brand:hover {
    color: var(--red-dark) !important;
}

.nav-link {
    font-weight: 500;
    font-size: .875rem;
    color: var(--dark) !important;
    padding: .45rem .85rem !important;
    border-radius: var(--radius-sm);
    transition: color var(--trans), background var(--trans);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red) !important;
    background: var(--red-light);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    min-width: 190px;
    animation: dropIn .18s ease;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--mid);
    transition: background var(--trans), color var(--trans);
}

.dropdown-item:hover {
    background: var(--red-light);
    color: var(--red);
}

.nav-cta {
    background: var(--red);
    color: #fff !important;
    border-radius: var(--radius-xl);
    padding: .45rem 1.2rem !important;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: 2px solid var(--red);
}

.nav-cta:hover {
    background: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
    color: #fff !important;
}

.navbar-toggler {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .3rem .5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-size: 1.25rem;
}

/* ── Page Header Banner ───────────────────────────────────────────────── */
.page-header-banner {
    background: var(--dark);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/innerpages_banner_bg.jpg') center/cover no-repeat;
    opacity: .45;
    z-index: 0;
}

.page-header-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(11, 17, 32, .92) 0%,
            rgba(11, 17, 32, .75) 45%,
            rgba(11, 17, 32, .55) 70%,
            rgba(200, 16, 46, .20) 100%);
    z-index: 1;
}

.page-header-banner>* {
    position: relative;
    z-index: 2;
}

.page-header-banner .container {
    position: relative;
    z-index: 2;
}

.page-header-banner h1 {
    color: #fff;
    margin: 0;
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: .82rem;
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--border);
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--red);
}

.breadcrumb-item.active {
    color: #fff;
}

/* ── Hero (home) ──────────────────────────────────────────────────────── */
.plc-hero,
.home-hero {
    position: relative;
    min-height: auto;
    background: linear-gradient(135deg, #0B1120 0%, #1C2638 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 4rem 0 3rem;
}

.plc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: url('../images/innerpages_banner_bg.jpg') center/cover no-repeat; */
    opacity: .45;
}

.home-hero::before {
    content: none;
}

.plc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(11, 17, 32, .85) 0%,
            rgba(11, 17, 32, .55) 50%,
            rgba(200, 16, 46, .18) 100%);
}

.home-hero::after {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
}

.hero-headline {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}

.hero-headline em {
    font-style: normal;
    color: var(--red);
}

/* Search box */
.hero-search-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem 1.75rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.hero-search-box .form-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: .35rem;
}

.hero-search-box .form-control,
.hero-search-box .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--dark);
    padding: .6rem .9rem;
    background: #FAFBFD;
    transition: border-color var(--trans), box-shadow var(--trans);
}

.hero-search-box .form-control:focus,
.hero-search-box .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
    background: #fff;
}

/* Stats strip */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat-num {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: .75rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: .2rem;
}

.stats-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .75rem 0;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.stats-bar-item:last-child {
    border-right: none;
}

.stats-bar-item__icon {
    font-size: 1.4rem;
    color: #C8102E;
    margin-bottom: .25rem;
}

@media (max-width: 575.98px) {
    .stats-bar-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        padding-bottom: 1rem;
    }

    .stats-bar-item:nth-child(even) {
        border-bottom: none;
    }
}

/* ── Section spacing ──────────────────────────────────────────────────── */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3.5rem 0;
}

.section-lg {
    padding: 7rem 0;
}

/* ── Generic card ─────────────────────────────────────────────────────── */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--trans), transform var(--trans);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: .75rem 1.5rem;
}

/* ── Property Cards ───────────────────────────────────────────────────── */
.prop-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--trans), transform var(--trans);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prop-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.prop-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #EEF0F4;
    flex-shrink: 0;
}

.prop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
    display: block;
}

.prop-card:hover .prop-card__img {
    transform: scale(1.06);
}

.prop-card__badges {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.prop-card__badge-end {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.prop-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .28rem .7rem;
    border-radius: 4px;
    line-height: 1.3;
}

.prop-badge--sale {
    background: var(--red);
    color: #fff;
}

.prop-badge--rent {
    background: #1D4ED8;
    color: #fff;
}

.prop-badge--sold {
    background: #64748B;
    color: #fff;
}

.prop-badge--pending {
    background: #D97706;
    color: #fff;
}

.prop-badge--featured {
    background: var(--dark);
    color: #F8C400;
}

.prop-badge--status {
    background: rgba(11, 17, 32, .75);
    color: #fff;
}

.prop-card__body {
    padding: 1.1rem 1.25rem .8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prop-card__price {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: .25rem;
    line-height: 1;
}

.prop-card__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: .35rem;
}

.prop-card__title a {
    color: var(--dark);
    transition: color var(--trans);
}

.prop-card__title a:hover {
    color: var(--red);
}

.prop-card__address {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .75rem;
    display: flex;
    align-items: flex-start;
    gap: .25rem;
}

.prop-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-top: auto;
}

.prop-card__spec {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    color: var(--mid);
    font-weight: 500;
}

.prop-card__spec i {
    color: var(--muted);
    font-size: .85rem;
}

.prop-card__footer {
    padding: .7rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prop-card__type {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
}

.prop-card__link {
    font-size: .8rem;
    font-weight: 700;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: .2rem;
    transition: gap var(--trans), color var(--trans);
    text-decoration: none;
}

.prop-card__link:hover {
    color: var(--red-dark);
    gap: .5rem;
}

/* ── Agent Cards ─────────────────────────────────────────────────────── */
.agent-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow var(--trans), transform var(--trans);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.agent-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.agent-card__img-wrap {
    position: relative;
    padding-top: 2rem;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
}

.agent-card__img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow);
    margin: 0 auto 1rem;
    display: block;
}

.agent-card__body {
    padding: .75rem 1.25rem 1.5rem;
}

.agent-card__name {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .15rem;
}

.agent-card__title {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .8rem;
}

.agent-card__contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--mid);
    margin-bottom: .35rem;
    text-decoration: none;
    transition: color var(--trans);
}

.agent-card__contact a:hover {
    color: var(--red);
}

/* ── Testimonials ─────────────────────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    position: relative;
    height: 100%;
    transition: box-shadow var(--trans), transform var(--trans);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-card__quote {
    font-size: 4.5rem;
    line-height: .8;
    color: var(--red);
    opacity: .12;
    font-family: Georgia, serif;
    position: absolute;
    top: 1rem;
    left: 1.25rem;
}

.testimonial-card__stars {
    color: #F59E0B;
    font-size: .9rem;
    margin-bottom: .75rem;
}

.testimonial-card__text {
    font-size: .92rem;
    line-height: 1.7;
    color: var(--mid);
    font-style: italic;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__author-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--dark);
}

.testimonial-card__author-loc {
    font-size: .78rem;
    color: var(--muted);
}

/* ── Service Cards ────────────────────────────────────────────────────── */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    height: 100%;
    transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(200, 16, 46, .2);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
    color: var(--red);
    transition: background var(--trans), color var(--trans);
}

.service-card:hover .service-card__icon {
    background: var(--red);
    color: #fff;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
}

.service-card p {
    font-size: .88rem;
    color: var(--muted);
    flex: 1;
    margin-bottom: 1rem;
}

/* ── Feature strips ───────────────────────────────────────────────────── */
.feature-strip {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--trans), transform var(--trans);
}

.feature-strip:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-strip__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--red);
    flex-shrink: 0;
}

.feature-strip__title {
    font-size: .92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .15rem;
}

.feature-strip__text {
    font-size: .82rem;
    color: var(--muted);
    margin: 0;
}

/* ── CTA Bands ────────────────────────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 5rem 0;
}

.cta-band::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, .25), transparent 70%);
}

.cta-band h2 {
    color: #fff;
}

.cta-band p {
    color: #fff;
}

.cta-band-red {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-band-red h2,
.cta-band-red p {
    color: #fff;
}

.dark-panel {
    background-color: #111;
    color: #fff;
}

/* ── Filter Bar ───────────────────────────────────────────────────────── */
.filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .9rem 0;
    box-shadow: var(--shadow-xs);
}

.filter-bar .form-select,
.filter-bar .form-control {
    border: 1.5px solid #B8C4CE;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 500;
    color: var(--dark);
    background: #fff;
    padding: .45rem .75rem;
    transition: border-color var(--trans);
}

.filter-bar .form-select:focus,
.filter-bar .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .10);
    outline: none;
}

/* ── Form Controls ────────────────────────────────────────────────────── */
.form-control,
.form-select {
    border: 1.5px solid #B8C4CE;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-size: .9rem;
    padding: .6rem .9rem;
    transition: border-color var(--trans), box-shadow var(--trans);
    background: #fff;
}

.form-control::placeholder {
    color: #94A3B8;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
    background: #fff;
    outline: none;
    color: var(--dark);
}

.form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: .35rem;
}

.form-control.is-invalid {
    border-color: #DC2626;
}

.invalid-feedback {
    font-size: .8rem;
    color: #DC2626;
}

.form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

/* ── Blog Cards ──────────────────────────────────────────────────────── */
.post-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--trans), transform var(--trans);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.post-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #EEF0F4;
    flex-shrink: 0;
}

.post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
    display: block;
}

.post-card:hover .post-card__img {
    transform: scale(1.05);
}

.post-card__body {
    padding: 1.25rem 1.25rem .5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__cat {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .5rem;
}

.post-card__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: .5rem;
}

.post-card__title a {
    color: var(--dark);
}

.post-card__title a:hover {
    color: var(--red);
}

.post-card__excerpt {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.post-card__meta {
    font-size: .76rem;
    color: var(--muted);
    padding: .75rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-card__meta a {
    color: var(--red);
    font-weight: 600;
    font-size: .8rem;
}

/* ── Pagination ──────────────────────────────────────────────────────── */
.pagination {
    gap: .3rem;
}

.premium-pagination {
    margin: 3rem 0;
}

.page-item .page-link,
.premium-pagination .premium-page-link {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    color: var(--mid);
    font-weight: 600;
    font-size: .84rem;
    padding: .55rem 1rem;
    transition: all var(--trans);
    background: #fff;
    text-decoration: none;
    display: inline-block;
}

.page-item .page-link:hover,
.premium-pagination .premium-page-link:hover {
    background: var(--red-light);
    border-color: var(--red);
    color: var(--red);
}

.page-item.active .page-link,
.premium-pagination .page-item.active .premium-page-link {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(200, 16, 46, .3);
}

.page-item.disabled .page-link,
.premium-pagination .page-item.disabled .premium-page-link {
    background: #F8FAFC;
    color: #CBD5E1;
    border-color: var(--border);
}

/* ── Stat boxes ─────────────────────────────────────────────────────── */
.stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-box__num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    margin-bottom: .3rem;
}

.stat-box__label {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

/* ── Property show ────────────────────────────────────────────────────── */
.prop-gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #EEF0F4;
}

.prop-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prop-gallery-thumbs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.prop-gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--trans);
}

.prop-gallery-thumb.active {
    border-color: var(--red);
}

.prop-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prop-detail-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
}

.prop-detail-price {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
}

.prop-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin: 1rem 0;
}

.prop-detail-stat {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
}

.prop-detail-stat i {
    color: var(--red);
}

.map-placeholder {
    background: var(--warm-bg);
    border-radius: var(--radius);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    font-size: .9rem;
}

.sidebar-contact-card {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    border-radius: var(--radius);
    padding: 1.75rem;
    color: #fff;
}

.sidebar-contact-card h4,
.sidebar-contact-card h5 {
    color: #fff;
}

.sidebar-contact-card .form-control,
.sidebar-contact-card .form-select,
.dark-form .form-control,
.dark-form .form-select {
    background: rgba(255, 255, 255, .1) !important;
    border: 1.5px solid rgba(255, 255, 255, .25) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.sidebar-contact-card .form-control::placeholder,
.sidebar-contact-card .form-select::placeholder,
.dark-form .form-control::placeholder,
.dark-form .form-select::placeholder {
    color: rgba(255, 255, 255, .5) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .5);
}

.sidebar-contact-card .form-control:focus,
.sidebar-contact-card .form-select:focus,
.dark-form .form-control:focus,
.dark-form .form-select:focus {
    border-color: var(--red) !important;
    background: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .3);
}

/* Fix autocomplete bg on dark forms */
.dark-form .form-control:-webkit-autofill,
.sidebar-contact-card .form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px rgba(28, 38, 56, .95) inset !important;
    -webkit-text-fill-color: #fff !important;
}

.sidebar-contact-card .form-label,
.dark-form .form-label {
    color: rgba(255, 255, 255, .8);
}

.dark-form {
    /* Container class for forms on dark backgrounds */
}

/* ── Alerts ──────────────────────────────────────────────────────────── */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: .9rem;
    font-weight: 500;
    padding: .9rem 1.25rem;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
}

.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
}

.alert-info {
    background: #EFF6FF;
    color: #1E40AF;
}

/* ── Nav Tabs ────────────────────────────────────────────────────────── */
.nav-tabs {
    border-bottom: 2px solid var(--border);
    gap: .25rem;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--muted);
    font-weight: 600;
    font-size: .88rem;
    padding: .65rem 1.1rem !important;
    margin-bottom: -2px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: var(--red) !important;
    background: none;
    border-bottom-color: var(--red);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer,
footer.site-footer {
    background: var(--dark);
    color: #fff;
}

.footer-top {
    padding: 4.5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
    display: block;
}

.footer-tagline {
    font-size: .82rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .85rem;
    color: #fff;
    margin-bottom: .6rem;
    text-decoration: none;
    transition: color var(--trans);
}

.footer-contact-item:hover {
    color: #fff;
}

.footer-contact-item i {
    color: var(--red);
    flex-shrink: 0;
    margin-top: .15rem;
}

.footer-heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
    font-family: var(--font-body);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    font-size: .85rem;
    color: #fff;
    text-decoration: none;
    transition: color var(--trans), padding-left var(--trans);
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* keep existing footer from app.blade.php working */
footer a {
    color: #fff;
    text-decoration: none;
    transition: color var(--trans);
}

footer a:hover {
    color: #fff !important;
}

footer h5,
footer h6 {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: background var(--trans), color var(--trans);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--red);
    color: #fff;
}

.footer-bottom {
    padding: 1.25rem 0;
    font-size: .78rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .55s ease both;
}

.fade-in {
    animation: fadeIn .4s ease both;
}

.delay-1 {
    animation-delay: .1s;
}

.delay-2 {
    animation-delay: .2s;
}

.delay-3 {
    animation-delay: .3s;
}

.delay-4 {
    animation-delay: .4s;
}

.delay-5 {
    animation-delay: .5s;
}

/* ── Accessibility ───────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ── Page Header Helpers ─────────────────────────────────────────────── */
.page-header-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 .5rem;
    line-height: 1.2;
}

.page-header-sub {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    max-width: 600px;
}

/* breadcrumb inside dark headers */
.breadcrumb-light .breadcrumb-item,
.breadcrumb-light .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-light .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-light .breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-light .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

/* ── Service Card BEM aliases ────────────────────────────────────────── */
.service-card__name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .6rem;
}

.service-card__desc {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* ── CMS Content Styles ──────────────────────────────────────────────── */
.cms-content h2,
.cms-content h3 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--dark);
    margin-top: 2rem;
}

.cms-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.cms-content blockquote {
    border-left: 4px solid var(--red);
    padding-left: 1.25rem;
    color: var(--muted);
    font-style: italic;
    margin: 1.5rem 0;
}

.cms-content ul li,
.cms-content ol li {
    margin-bottom: .4rem;
}

/* ── Borrower Authorization Form ─────────────────────────────────────── */
.borrower-auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.borrower-auth-card__header {
    background: var(--dark);
    color: #fff;
    padding: 1.15rem 1.75rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
}

.borrower-auth-card__body {
    padding: 2rem 1.75rem;
}

.auth-form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.auth-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.auth-form-section__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1.15rem;
}

.auth-form-section__title i {
    color: var(--red);
}

.auth-consent-box {
    background: var(--warm-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

/* ── Comprehensive Responsive Styles ─────────────────────────────────── */

/* Large tablets / small desktops (992px and below) */
@media (max-width: 991.98px) {

    /* Top bar */
    .top-bar {
        font-size: .72rem;
        padding: .35rem 0;
    }

    .top-bar-divider {
        margin: 0 .35rem;
    }

    /* Navbar */
    .navbar {
        padding: .6rem 0;
    }

    .navbar-brand .navbar-logo {
        height: 75px;
    }

    .navbar.scrolled .navbar-brand .navbar-logo {
        height: 60px;
    }

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--border);
        padding: .75rem 0;
        margin-top: .5rem;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow);
    }

    .nav-link {
        padding: .55rem 1rem !important;
    }

    .nav-cta {
        margin-top: .5rem;
        display: inline-block;
    }

    /* Page headers */
    .page-header-banner {
        padding: 2.25rem 0 2rem;
    }

    /* Property show page */
    .prop-gallery-main img {
        height: 380px;
    }

    .listed-by-card,
    .sidebar-contact-form,
    .sidebar-panel {
        margin-bottom: 1rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem 1.25rem;
    }

    /* Auth form */
    .borrower-auth-card__body {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-top {
        padding: 2.5rem 0 2rem;
    }
}

/* Tablets portrait (768px and below) */
@media (max-width: 767.98px) {

    /* Global spacing */
    .section {
        padding: 3.5rem 0;
    }

    .section-lg {
        padding: 4rem 0;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Typography */
    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    h1,
    .h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    h2,
    .h2 {
        font-size: clamp(1.3rem, 4vw, 1.7rem);
    }

    /* Top bar */
    .top-bar .d-none.d-md-flex {
        display: none !important;
    }

    /* Navbar */
    .navbar-brand .navbar-logo {
        height: 55px;
    }

    .navbar.scrolled .navbar-brand .navbar-logo {
        height: 45px;
    }

    /* Hero */
    .plc-hero,
    .home-hero {
        min-height: 70vh;
    }

    .hero-headline {
        font-size: clamp(1.9rem, 7vw, 2.8rem);
    }

    .hero-search-box {
        padding: 1.25rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    /* Page header */
    .page-header-banner {
        padding: 1.75rem 0 1.5rem;
    }

    .page-header-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .page-header-sub {
        font-size: .88rem;
    }

    /* Property gallery */
    .prop-gallery-main img {
        height: 280px;
    }

    .gallery-thumb {
        height: 60px;
        width: 90px;
    }

    /* Property show */
    .prop-section-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .stat-box {
        padding: .75rem .5rem;
    }

    .stat-box .stat-value {
        font-size: 1.2rem;
    }

    .stat-box .stat-label {
        font-size: .65rem;
    }

    .detail-row dt,
    .detail-row dd {
        font-size: .85rem;
    }

    .feature-pill {
        font-size: .78rem;
        padding: .25rem .7rem;
    }

    /* Sidebar stacks below content on mobile */
    .listed-by-card {
        padding: 1.25rem;
    }

    .sidebar-contact-form {
        padding: 1.25rem;
    }

    .sidebar-panel {
        padding: 1.15rem;
    }

    .quick-fact-row {
        font-size: .82rem;
    }

    /* Contact form */
    .contact-form-card {
        padding: 1.5rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-card__icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .service-card__name {
        font-size: 1.05rem;
    }

    /* Auth form */
    .borrower-auth-card__header {
        padding: 1rem 1.25rem;
        font-size: .95rem;
    }

    .borrower-auth-card__body {
        padding: 1.25rem;
    }

    .auth-form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .auth-consent-box {
        padding: 1rem;
    }

    /* Footer */
    .footer-top {
        padding: 3rem 0 2rem;
    }

    .footer-brand img {
        height: 32px;
    }

    .footer-heading {
        margin-top: .5rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    /* Dark form in two-column layout */
    .dark-form {
        margin-top: 1.5rem;
    }

    /* Blog cards */
    .blog-card__body {
        padding: 1rem;
    }

    /* Testimonial cards */
    .testi-card {
        padding: 1.5rem;
    }

    /* Agent cards */
    .agent-card {
        padding: 1.25rem;
    }

    /* Filter bar */
    .filter-bar {
        padding: 1rem;
    }

    .filter-bar .form-control,
    .filter-bar .form-select {
        font-size: .85rem;
    }
}

/* Small phones (576px and below) */
@media (max-width: 575.98px) {

    /* Typography */
    .section-title {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }

    body {
        font-size: 15px;
    }

    /* Hero */
    .plc-hero,
    .home-hero {
        min-height: 60vh;
    }

    .hero-headline {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .hero-search-box {
        padding: 1rem;
        border-radius: var(--radius);
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }

    /* Property cards */
    .prop-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .prop-badge {
        font-size: .6rem;
        padding: .2rem .5rem;
    }

    /* Property gallery */
    .prop-gallery-main img {
        height: 220px;
        border-radius: var(--radius-sm);
    }

    .prop-gallery-thumb-row {
        gap: .35rem;
    }

    .gallery-thumb {
        height: 50px;
        width: 75px;
    }

    /* Property show price */
    .prop-section-card .fw-bold[style*="font-size:2rem"] {
        font-size: 1.5rem !important;
    }

    /* Stat boxes: 2 column grid */
    .stat-box {
        padding: .6rem .4rem;
    }

    .stat-box .stat-value {
        font-size: 1.1rem;
    }

    /* Auth form */
    .borrower-auth-card__body {
        padding: 1rem;
    }

    .auth-form-section__title {
        font-size: .9rem;
    }

    .borrower-auth-card .btn-lg {
        font-size: .9rem;
        padding: .6rem 1.5rem;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: .9rem;
    }

    .footer-contact-item {
        font-size: .8rem;
    }

    /* Nav CTA full width on small */
    .nav-cta {
        width: 100%;
        text-align: center;
    }

    /* Breadcrumbs */
    .breadcrumb {
        font-size: .75rem;
    }

    /* Page header */
    .page-header-banner {
        padding: 1.5rem 0 1.25rem;
    }

    .page-header-title {
        font-size: clamp(1.1rem, 6vw, 1.5rem);
    }

    /* Buttons */
    .btn-lg {
        font-size: .9rem;
        padding: .55rem 1.25rem;
    }

    /* Contact form full-width buttons */
    .sidebar-contact-form .btn {
        font-size: .85rem;
    }

    /* Table responsive tweaks */
    .table {
        font-size: .82rem;
    }
}

/* Extra small devices (400px and below) */
@media (max-width: 399.98px) {
    .container {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .navbar-brand .navbar-logo {
        height: 52px;
    }

    .prop-gallery-main img {
        height: 180px;
    }

    .borrower-auth-card__body {
        padding: .75rem;
    }

    .hero-search-box .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}