/* =========================================================================
   PropertyManagers — public website theme (v3)
   Premium property palette: cool slate primary, warm brass accent, paper neutrals.
   Bootstrap 5 from public/assets/vendor/bootstrap/bootstrap.min.css
   ========================================================================= */

:root {
    --pm-primary: #1a2744;
    --pm-primary-dark: #0d121c;
    --pm-primary-soft: #2c3d5c;
    --pm-primary-rgb: 26, 39, 68;
    --pm-accent: #c9a040;
    --pm-accent-soft: #f4ead4;
    --pm-accent-dark: #9a7424;
    --pm-bg: #f6f7f9;
    --pm-bg-alt: #eceef2;
    --pm-surface: #ffffff;
    --pm-text: #161c24;
    --pm-text-muted: #5c6575;
    --pm-border: #e2e5ea;
    /* Positive / “verified” tone — blue-slate, not green */
    --pm-success: #3d5580;
    --pm-warning: #8a5a1a;
    --pm-radius: 20px;
    --pm-radius-sm: 12px;
    --pm-shadow-sm: 0 1px 2px rgba(15, 20, 28, .05), 0 6px 20px rgba(15, 20, 28, .05);
    --pm-shadow-md: 0 10px 36px rgba(15, 20, 28, .09);
    --pm-shadow-lg: 0 22px 60px rgba(15, 20, 28, .12);
}

/* ----------------------- Base typography ------------------------ */
html.pm-html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
body.pm-site {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}
.pm-main {
    overflow-x: hidden;
    max-width: 100%;
}

.pm-site {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pm-text);
    background: var(--pm-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.pm-site .row > [class*="col-"] {
    min-width: 0;
}

.pm-site h1, .pm-site h2, .pm-site h3, .pm-site h4, .pm-site h5 {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--pm-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pm-site .pm-display {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.pm-site p { color: var(--pm-text); line-height: 1.72; }
.pm-site .pm-footer p { color: var(--pm-footer-body); }
.pm-site .pm-lead { font-size: 1.125rem; color: var(--pm-text-muted); line-height: 1.72; }
.pm-site .pm-kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--pm-primary-soft);
    margin-bottom: .5rem;
}
.pm-site .pm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(var(--pm-primary-rgb), .08);
    color: var(--pm-primary-soft);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    border: 1px solid rgba(var(--pm-primary-rgb), .12);
}

/* ----------------------- Bootstrap palette override -------------- */
.pm-site .btn-primary {
    background-color: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
    border-radius: 999px;
    padding: .65rem 1.45rem;
    font-weight: 600;
    box-shadow: var(--pm-shadow-sm);
}
.pm-site .btn-primary:hover,
.pm-site .btn-primary:focus {
    background-color: var(--pm-primary-soft);
    border-color: var(--pm-primary-soft);
    color: #fff;
    box-shadow: var(--pm-shadow-md);
}
.pm-site .btn-outline-primary {
    color: var(--pm-primary);
    border-color: rgba(var(--pm-primary-rgb), .35);
    border-radius: 999px;
    padding: .65rem 1.45rem;
    font-weight: 600;
    background: var(--pm-surface);
}
.pm-site .btn-outline-primary:hover {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
}
.pm-site .btn-accent {
    background-color: var(--pm-accent);
    border-color: var(--pm-accent);
    color: #fff;
    border-radius: 999px;
    padding: .65rem 1.45rem;
    font-weight: 600;
}
.pm-site .btn-accent:hover {
    background-color: var(--pm-accent-dark);
    border-color: var(--pm-accent-dark);
    color: #fff;
}
.pm-site .btn-ghost {
    color: var(--pm-primary);
    background: transparent;
    border-radius: 999px;
    padding: .55rem 1.2rem;
    font-weight: 600;
}
.pm-site .btn-ghost:hover {
    background: var(--pm-bg-alt);
}
.pm-site .text-primary { color: var(--pm-primary) !important; }
.pm-site .text-accent { color: var(--pm-accent-dark) !important; }
.pm-site .text-muted { color: var(--pm-text-muted) !important; }

/* ----------------------- Header / nav ---------------------------- */
.pm-header {
    background: linear-gradient(180deg, rgba(246, 247, 249, .94) 0%, rgba(246, 247, 249, .82) 100%);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(226, 229, 234, .95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .65) inset;
}
.pm-header .navbar {
    padding-top: .85rem;
    padding-bottom: .85rem;
}
.pm-header .navbar-brand {
    color: var(--pm-primary) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.pm-header .navbar-brand .pm-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--pm-primary) 0%, var(--pm-primary-soft) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: var(--pm-shadow-sm);
    border: 1px solid rgba(255, 255, 255, .15);
}
.pm-header .nav-link {
    color: var(--pm-text) !important;
    font-weight: 500;
    padding: .5rem .85rem !important;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}
.pm-header .nav-link:hover {
    background: rgba(var(--pm-primary-rgb), .06);
    color: var(--pm-primary) !important;
}
.pm-header .nav-link.active {
    color: var(--pm-primary) !important;
    background: rgba(var(--pm-primary-rgb), .1);
    font-weight: 600;
}
.pm-header .dropdown-menu {
    border: 1px solid var(--pm-border);
    border-radius: 14px;
    box-shadow: var(--pm-shadow-md);
    padding: .5rem;
    background: var(--pm-surface);
}
.pm-header .dropdown-item { border-radius: 8px; padding: .55rem .85rem; }
.pm-header .dropdown-item:hover { background: var(--pm-bg-alt); }

/* ----------------------- Sections -------------------------------- */
.pm-section { padding: 5rem 0; }
.pm-section--muted { background: var(--pm-bg-alt); }
.pm-section--dark { background: var(--pm-primary-dark); color: #fff; }
.pm-section--dark h1, .pm-section--dark h2, .pm-section--dark h3 { color: #fff; }
.pm-section--dark .pm-lead, .pm-section--dark p { color: rgba(255, 255, 255, .82); }

@media (max-width: 768px) {
    .pm-section { padding: 3.25rem 0; }
}

/* ----------------------- Hero ------------------------------------ */
.pm-hero {
    background:
        radial-gradient(900px 520px at 92% 0%, rgba(201, 160, 64, .11), transparent 58%),
        radial-gradient(720px 420px at 0% 100%, rgba(26, 39, 68, .07), transparent 52%),
        linear-gradient(180deg, var(--pm-bg) 0%, var(--pm-surface) 74%);
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--pm-border);
}
.pm-hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.45rem);
    line-height: 1.06;
    margin-bottom: 1.15rem;
}
.pm-hero .pm-hero-lead {
    font-size: 1.125rem;
    color: var(--pm-text-muted);
    max-width: 36rem;
    line-height: 1.68;
}

/* Hero image stack (photo + optional overlay card) */
.pm-hero__figure {
    position: relative;
    border-radius: var(--pm-radius);
    overflow: hidden;
    box-shadow: var(--pm-shadow-lg);
    aspect-ratio: 4/3;
    background: var(--pm-bg-alt);
    max-width: 100%;
}
.pm-hero__figure img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}
.pm-hero__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 18, 28, .58) 100%);
    pointer-events: none;
}
.pm-hero__card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: var(--pm-shadow-sm);
}
.pm-hero__card .pm-hero-visual__chip {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--pm-primary-soft);
    margin-bottom: .35rem;
}
.pm-hero__card h3 {
    color: var(--pm-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .25rem;
    font-family: 'Inter', sans-serif;
}
.pm-hero__card .pm-hero-visual__meta {
    color: var(--pm-text-muted);
    font-size: .9rem;
    margin: 0;
}
.pm-hero__card .pm-hero-visual__meta strong { color: var(--pm-accent-dark); font-weight: 600; }

/* Legacy gradient hero visual (fallback if no image) */
.pm-hero-visual {
    border-radius: var(--pm-radius);
    overflow: hidden;
    background: linear-gradient(145deg, var(--pm-primary) 0%, var(--pm-primary-soft) 100%);
    color: #fff;
    box-shadow: var(--pm-shadow-lg);
    padding: 2rem;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.pm-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 90% 110%, rgba(201, 160, 64, .28), transparent 60%);
    pointer-events: none;
}
.pm-hero-visual .pm-hero-visual__chip {
    align-self: flex-start;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.pm-hero-visual h3 { color: #fff; font-size: 1.35rem; font-family: 'Inter', sans-serif; }
.pm-hero-visual .pm-hero-visual__meta { color: rgba(255, 255, 255, .85); }
.pm-hero-visual .pm-hero-visual__meta strong { color: #fff; font-weight: 600; }

/* Collage strip under hero */
.pm-hero-collage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1rem;
    max-width: 100%;
}
.pm-hero-collage__cell {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--pm-shadow-sm);
    border: 1px solid var(--pm-border);
    min-width: 0;
    max-width: 100%;
}
.pm-hero-collage__cell img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* ----------------------- Metric cards ---------------------------- */
.pm-metric {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1.65rem;
    height: 100%;
    box-shadow: var(--pm-shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.pm-metric:hover { transform: translateY(-2px); box-shadow: var(--pm-shadow-md); }
.pm-metric__value {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--pm-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pm-metric__suffix { font-size: 1rem; color: var(--pm-accent-dark); font-weight: 700; margin-left: .12rem; }
.pm-metric__label { color: var(--pm-text-muted); margin-top: .5rem; font-weight: 500; }
.pm-metric__caption { color: var(--pm-text-muted); font-size: .85rem; margin-top: .35rem; }

/* ----------------------- Cards ----------------------------------- */
.pm-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .75) inset, var(--pm-shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.pm-card:hover { transform: translateY(-2px); box-shadow: var(--pm-shadow-md); }
.pm-card h3, .pm-card h4 { color: var(--pm-primary); }

.pm-icon-tile {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--pm-primary-rgb), .08);
    color: var(--pm-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.pm-icon-tile--accent { background: rgba(201, 160, 64, .16); color: var(--pm-accent-dark); }

/* ----------------------- Project card ---------------------------- */
.pm-project-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    overflow: hidden;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, var(--pm-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pm-project-card:hover { transform: translateY(-3px); box-shadow: var(--pm-shadow-md); }
.pm-project-card a { color: inherit; text-decoration: none; }
.pm-project-card__media {
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, var(--pm-bg-alt) 0%, #dfe3ea 100%);
    position: relative;
    overflow: hidden;
    min-height: 0;
    max-width: 100%;
}
.pm-project-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 250px at 100% 100%, rgba(201, 160, 64, .14), transparent 60%);
    pointer-events: none;
    transition: opacity .2s ease;
}
.pm-project-card__media--has-img::after {
    opacity: .35;
}
.pm-project-card__media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}
.pm-project-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(26, 39, 68, .92);
    color: #fff;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pm-project-card__badge--accent {
    background: var(--pm-accent);
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.pm-project-card__body { padding: 1.2rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pm-project-card__title { color: var(--pm-primary); font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.pm-project-card__location { color: var(--pm-text-muted); font-size: .88rem; }
.pm-project-card__divider { height: 1px; background: var(--pm-border); margin: 1rem 0 .85rem; }
.pm-project-card__meta { display: flex; justify-content: space-between; align-items: end; gap: .5rem; }
.pm-project-card__meta-label { font-size: .7rem; color: var(--pm-text-muted); text-transform: uppercase; letter-spacing: .1em; }
.pm-project-card__meta-value { color: var(--pm-primary); font-weight: 700; font-size: .98rem; }
.pm-project-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.pm-tag {
    display: inline-flex;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: var(--pm-bg-alt);
    color: var(--pm-primary);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
}
.pm-tag--success { background: rgba(61, 85, 128, .14); color: var(--pm-success); }
.pm-tag--accent { background: rgba(201, 160, 64, .16); color: var(--pm-accent-dark); }

/* ----------------------- Audience strip -------------------------- */
.pm-audience {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1.65rem;
    height: 100%;
}
.pm-audience h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.pm-audience ul { list-style: none; padding: 0; margin: 1rem 0; }
.pm-audience li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: .5rem;
    color: var(--pm-text);
    font-size: .94rem;
}
.pm-audience li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pm-accent);
}

/* ----------------------- Steps (How it works) -------------------- */
.pm-step {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1.45rem;
    height: 100%;
    position: relative;
}
.pm-step__num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pm-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: .8rem;
}
.pm-step h4 { color: var(--pm-primary); font-size: 1.02rem; margin-bottom: .35rem; }
.pm-step p { color: var(--pm-text-muted); font-size: .9rem; margin: 0; }

/* ----------------------- CTA band (panel, not loud banner) ----- */
.pm-cta-band {
    background: var(--pm-surface);
    color: var(--pm-text);
    border-radius: var(--pm-radius);
    padding: 2.5rem 2.75rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .75) inset, var(--pm-shadow-md);
}
.pm-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 220px at 100% 0%, rgba(201, 160, 64, .11), transparent 60%),
        radial-gradient(400px 200px at 0% 100%, rgba(26, 39, 68, .05), transparent 55%);
    pointer-events: none;
}
.pm-cta-band > * { position: relative; z-index: 1; }
.pm-cta-band h2 { color: var(--pm-primary); font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.pm-cta-band p { color: var(--pm-text-muted); }
.pm-cta-band .btn-outline-light {
    color: var(--pm-primary);
    border-color: rgba(var(--pm-primary-rgb), .35);
    background: var(--pm-surface);
}
.pm-cta-band .btn-outline-light:hover {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
}
.pm-cta-band .btn-light {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff;
}
.pm-cta-band .btn-light:hover {
    background: var(--pm-primary-soft);
    border-color: var(--pm-primary-soft);
    color: #fff;
}

/* ----------------------- Project detail gallery ------------------ */
.pm-gallery-main {
    aspect-ratio: 16/9;
    border-radius: var(--pm-radius);
    background: var(--pm-bg-alt);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--pm-border);
    max-width: 100%;
}
.pm-gallery-main img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; }
.pm-gallery-thumb {
    aspect-ratio: 1/1;
    border-radius: var(--pm-radius-sm);
    overflow: hidden;
    background: var(--pm-bg-alt);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pm-gallery-thumb:hover { border-color: rgba(var(--pm-primary-rgb), .25); }
.pm-gallery-thumb:focus {
    outline: 2px solid var(--pm-primary);
    outline-offset: 2px;
}
.pm-gallery-thumb.is-active {
    border-color: var(--pm-primary);
    box-shadow: 0 0 0 2px rgba(var(--pm-primary-rgb), .15);
}
.pm-gallery-thumb img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; }

.pm-spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .8rem 0;
    border-bottom: 1px solid var(--pm-border);
    gap: 1rem;
}
.pm-spec:last-child { border-bottom: none; }
.pm-spec__label { color: var(--pm-text-muted); font-size: .88rem; }
.pm-spec__value { color: var(--pm-primary); font-weight: 600; text-align: right; }

.pm-info-block {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1.65rem;
}
.pm-info-block--investor { background: var(--pm-bg-alt); }

/* ----------------------- Trust band ------------------------------ */
.pm-trust {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1.45rem 1.6rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.pm-trust__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(201, 160, 64, .14);
    color: var(--pm-accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
}
.pm-trust h4 { color: var(--pm-primary); font-size: .98rem; margin-bottom: .25rem; }
.pm-trust p { color: var(--pm-text-muted); font-size: .88rem; margin: 0; }

/* ----------------------- Disclaimer ------------------------------ */
.pm-disclaimer {
    background: rgba(154, 107, 46, .08);
    border: 1px solid rgba(154, 107, 46, .22);
    border-left: 4px solid var(--pm-accent-dark);
    padding: 1rem 1.2rem;
    border-radius: var(--pm-radius-sm);
    color: #5C4A32;
    font-size: .88rem;
    line-height: 1.62;
}
.pm-disclaimer strong { color: #3D3224; }

/* ----------------------- Filters bar ----------------------------- */
.pm-filter-bar {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 1rem;
}
.pm-filter-bar .form-select,
.pm-filter-bar .form-control {
    border-color: var(--pm-border);
    border-radius: 10px;
    padding: .52rem .8rem;
}
.pm-filter-bar .form-select:focus,
.pm-filter-bar .form-control:focus {
    border-color: var(--pm-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--pm-primary-rgb), .12);
}

/* ----------------------- Forms ----------------------------------- */
.pm-form-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 2rem;
    box-shadow: var(--pm-shadow-sm);
}
.pm-form-card label { color: var(--pm-primary); font-weight: 600; font-size: .84rem; margin-bottom: .35rem; }
.pm-form-card .form-control,
.pm-form-card .form-select,
.pm-form-card textarea.form-control {
    border-color: var(--pm-border);
    border-radius: 10px;
    padding: .62rem .85rem;
}
.pm-form-card .form-control:focus,
.pm-form-card .form-select:focus {
    border-color: var(--pm-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--pm-primary-rgb), .12);
}

/* ----------------------- FAQ accordion --------------------------- */
.pm-site .accordion-item {
    border: 1px solid var(--pm-border) !important;
    border-radius: var(--pm-radius-sm) !important;
    margin-bottom: .65rem;
    overflow: hidden;
    background: var(--pm-surface);
}
.pm-site .accordion-button {
    color: var(--pm-primary);
    font-weight: 600;
    padding: 1rem 1.15rem;
}
.pm-site .accordion-button:not(.collapsed) {
    background: var(--pm-bg-alt);
    color: var(--pm-primary);
    box-shadow: none;
}
.pm-site .accordion-button:focus { box-shadow: none; border-color: var(--pm-primary); }
.pm-site .accordion-body { color: var(--pm-text-muted); padding: 0 1.15rem 1.15rem; }

/* ----------------------- Footer ---------------------------------- */
.pm-footer {
    --pm-footer-body: #d2dbe8;
    --pm-footer-muted: #9aa8b8;
    --pm-footer-heading: #ffffff;
    background-color: var(--pm-primary-dark);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, transparent 42%);
    color: var(--pm-footer-body);
    padding: 3.75rem 0 1.75rem;
}
.pm-footer h5 {
    color: var(--pm-footer-heading);
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pm-footer a {
    color: #c5d0e0;
    text-decoration: none;
}
.pm-footer a:hover {
    color: var(--pm-accent-soft);
}
.pm-footer .pm-footer-brand {
    color: var(--pm-footer-heading);
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.pm-footer .pm-footer-brand .pm-brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255, 255, 255, .1); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, .14);
}
.pm-footer-legal {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2.75rem;
    padding-top: 1.35rem;
    color: var(--pm-footer-muted);
    font-size: .82rem;
}
.pm-footer-legal a {
    color: #b4c0d0;
}
.pm-footer-legal a:hover {
    color: var(--pm-accent-soft);
}

/* ----------------------- Insights -------------------------------- */
.pm-insight-card {
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    overflow: hidden;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    box-shadow: var(--pm-shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.pm-insight-card:hover { transform: translateY(-2px); box-shadow: var(--pm-shadow-md); }
.pm-insight-card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.pm-insight-card__media {
    aspect-ratio: 16/9;
    background: var(--pm-bg-alt);
    position: relative;
    overflow: hidden;
}
.pm-insight-card__media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}
.pm-insight-card__body { padding: 1.35rem; }
.pm-insight-card__date { color: var(--pm-text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.pm-insight-card__title { color: var(--pm-primary); font-size: 1.05rem; font-weight: 700; margin: .45rem 0; }
.pm-insight-card__excerpt { color: var(--pm-text-muted); font-size: .88rem; line-height: 1.62; }

/* Article hero image */
.pm-article-hero {
    border-radius: var(--pm-radius);
    overflow: hidden;
    aspect-ratio: 21/9;
    max-height: 320px;
    border: 1px solid var(--pm-border);
    box-shadow: var(--pm-shadow-sm);
}
.pm-article-hero img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* ----------------------- Prose (article body) -------------------- */
.pm-prose { color: var(--pm-text); font-size: 1.04rem; line-height: 1.78; }
.pm-prose h2 { font-size: 1.55rem; margin-top: 2.25rem; margin-bottom: .7rem; color: var(--pm-primary); }
.pm-prose h3 { font-size: 1.2rem; margin-top: 1.6rem; margin-bottom: .45rem; color: var(--pm-primary); }
.pm-prose p { margin-bottom: 1.05rem; color: var(--pm-text); }
.pm-prose ul, .pm-prose ol { padding-left: 1.2rem; margin-bottom: 1.05rem; }
.pm-prose li { margin-bottom: .45rem; }

/* ----------------------- Misc utilities -------------------------- */
.pm-site .border-soft { border-color: var(--pm-border) !important; }
.pm-site .bg-soft { background: var(--pm-bg-alt) !important; }
.pm-site .rounded-pm { border-radius: var(--pm-radius); }
.pm-site .rounded-pm-sm { border-radius: var(--pm-radius-sm); }

.pm-site #preloader { display: none !important; }
