
:root {
    --mhm-accent: #e66a3d;
    --mhm-accent-alt: #f3b562;
    --mhm-ink: #142132;
    --mhm-surface: #f7f5f1;
    --mhm-surface-dark: #0f1724;
    --mhm-white: #ffffff;
    --mhm-border: rgba(20, 33, 50, 0.12);
    --mhm-shadow: 0 18px 50px rgba(7, 15, 25, 0.12);
    --mhm-shadow-soft: 0 10px 30px rgba(7, 15, 25, 0.08);
    --mhm-radius: 24px;
    --mhm-radius-sm: 16px;
    --mhm-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--mhm-ink);
    background: linear-gradient(180deg, #fff 0%, var(--mhm-surface) 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mhm-accent); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.skip-link:focus {
    position: fixed;
    z-index: 9999;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: .75rem 1rem;
    clip: auto;
    background: #111;
    color: #fff;
    border-radius: 999px;
}
.mhm-container {
    width: min(calc(100% - 2rem), var(--mhm-max));
    margin: 0 auto;
}
.mhm-topbar {
    background: var(--mhm-surface-dark);
    color: rgba(255,255,255,.86);
    font-size: .95rem;
}
.mhm-topbar-inner {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    flex-wrap: wrap;
}
.mhm-topbar-item,
.mhm-topbar-copy {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.mhm-icon,
.mhm-icon-inline {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mhm-icon svg,
.mhm-icon-inline svg { width: 100%; height: 100%; }
.mhm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,.84);
    border-bottom: 1px solid transparent;
    transition: all .25s ease;
}
.mhm-header.is-scrolled {
    border-bottom-color: rgba(20,33,50,.08);
    box-shadow: 0 8px 22px rgba(15,23,36,.06);
}
.mhm-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    min-height: 88px;
}
.mhm-logo-wrap img { max-height: 58px; width: auto; }
.mhm-site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.04em;
}
.mhm-site-tagline {
    margin: .2rem 0 0;
    font-size: .95rem;
    color: rgba(20,33,50,.68);
}
.mhm-primary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}
.mhm-primary-nav li a {
    font-weight: 600;
    color: rgba(20,33,50,.8);
}
.mhm-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--mhm-border);
    border-radius: 14px;
    background: #fff;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}
.mhm-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--mhm-ink);
    border-radius: 999px;
}
.mhm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 999px;
    padding: .95rem 1.35rem;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    border: 1px solid transparent;
}
.mhm-button:hover { transform: translateY(-1px); }
.mhm-button-primary {
    background: linear-gradient(135deg, var(--mhm-accent) 0%, var(--mhm-accent-alt) 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(230,106,61,.28);
}
.mhm-button-secondary {
    background: #fff;
    color: var(--mhm-ink);
    border-color: var(--mhm-border);
    box-shadow: var(--mhm-shadow-soft);
}
.mhm-button-full { width: 100%; }
.mhm-header-cta { white-space: nowrap; }
.mhm-hero,
.mhm-page-hero {
    padding: 5rem 0 6rem;
    background:
        radial-gradient(circle at top right, rgba(243,181,98,.25), transparent 28%),
        radial-gradient(circle at top left, rgba(230,106,61,.16), transparent 22%),
        linear-gradient(180deg, #fff 0%, #f8f4ed 100%);
}
.mhm-page-hero-archive,
.mhm-page-hero-single { padding-bottom: 8rem; }
.mhm-section-pull-up { margin-top: -4rem; position: relative; z-index: 2; }
.mhm-hero-grid,
.mhm-single-hero-grid,
.mhm-two-column-callout { display: grid; grid-template-columns: 1.2fr .9fr; gap: 2rem; align-items: start; }
.mhm-section { padding: 4.5rem 0; }
.mhm-section-alt { background: rgba(255,255,255,.75); }
.mhm-section-kicker,
.mhm-card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 1rem;
    color: var(--mhm-accent);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .82rem;
    font-weight: 800;
}
.mhm-hero h1,
.mhm-page-hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.06em;
    max-width: 12ch;
}
.mhm-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(20,33,50,.75);
    max-width: 60ch;
}
.mhm-button-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.mhm-filter-card,
.mhm-stat-card,
.mhm-feature-card,
.mhm-callout-card,
.mhm-property-card,
.mhm-content-card,
.mhm-gallery-card,
.mhm-side-card,
.mhm-footer-card,
.mhm-empty-state,
.mhm-dashboard-shell,
.mhm-single-hero-card {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(20,33,50,.08);
    border-radius: var(--mhm-radius);
    box-shadow: var(--mhm-shadow);
}
.mhm-filter-card,
.mhm-content-card,
.mhm-side-card,
.mhm-footer-card,
.mhm-single-hero-card,
.mhm-gallery-card,
.mhm-empty-state,
.mhm-dashboard-shell { padding: 1.5rem; }
.mhm-filter-card h2,
.mhm-single-hero-card h2,
.mhm-footer-card h2 { margin-top: 0; }
.mhm-form-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.mhm-form-grid-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mhm-form-grid > div,
.mhm-form-grid-tight > div { min-width: 0; }
label {
    display: block;
    margin-bottom: .45rem;
    font-weight: 700;
    color: rgba(20,33,50,.88);
}
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    border: 1px solid rgba(20,33,50,.12);
    border-radius: 14px;
    background: #fff;
    padding: .9rem 1rem;
    color: var(--mhm-ink);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}
textarea { min-height: 140px; }
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(230,106,61,.18);
    border-color: rgba(230,106,61,.55);
}
.mhm-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1rem;
}
.mhm-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.mhm-stat-card {
    padding: 1.25rem;
    text-align: center;
}
.mhm-stat-card strong {
    display: block;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    line-height: 1;
    margin-bottom: .35rem;
}
.mhm-section-heading,
.mhm-section-heading-tight {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}
.mhm-section-heading h2,
.mhm-section-heading-tight h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.mhm-text-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
    color: var(--mhm-accent);
}
.mhm-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.mhm-property-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.mhm-property-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(15,23,36,.15); }
.mhm-property-card-link { display: grid; height: 100%; }
.mhm-property-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #e3eaf3 0%, #f5f8fc 100%); }
.mhm-property-image { width: 100%; height: 100%; object-fit: cover; }
.mhm-property-image-placeholder { min-height: 100%; }
.mhm-card-badges,
.mhm-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.mhm-card-badges { position: absolute; top: 1rem; left: 1rem; right: 1rem; }
.mhm-badge {
    display: inline-flex;
    align-items: center;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(20,33,50,.92);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.mhm-badge-soft { background: rgba(255,255,255,.85); color: var(--mhm-ink); }
.mhm-property-body { padding: 1.25rem; display: grid; gap: .85rem; }
.mhm-property-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: start; }
.mhm-property-heading h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.mhm-property-price,
.mhm-single-price { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--mhm-accent); }
.mhm-property-location,
.mhm-property-monthly { margin: 0; color: rgba(20,33,50,.7); }
.mhm-property-stats,
.mhm-property-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(20,33,50,.8);
    font-weight: 700;
}
.mhm-property-stats span,
.mhm-property-meta-row span { display: inline-flex; gap: .45rem; align-items: center; }
.mhm-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mhm-feature-card { padding: 1.5rem; }
.mhm-feature-number {
    margin: 0 0 1rem;
    color: var(--mhm-accent);
    font-weight: 800;
    font-size: 1rem;
}
.mhm-callout-card ul,
.mhm-contact-list,
.mhm-facts-list,
.mhm-footer-menu,
.mhm-footer-widget-area ul { list-style: none; padding: 0; margin: 0; }
.mhm-callout-card ul li,
.mhm-contact-list li,
.mhm-facts-list li { padding: .75rem 0; border-bottom: 1px solid rgba(20,33,50,.08); }
.mhm-contact-list li,
.mhm-facts-list li { display: flex; gap: .75rem; align-items: start; }
.mhm-facts-list li { justify-content: space-between; }
.mhm-results-bar { margin: 0 0 1rem; color: rgba(20,33,50,.72); font-weight: 700; }
.mhm-pagination-wrap { margin-top: 2rem; }
.mhm-pagination-wrap .nav-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.mhm-pagination-wrap .page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(20,33,50,.12);
    background: #fff;
}
.mhm-pagination-wrap .current {
    background: var(--mhm-accent);
    border-color: var(--mhm-accent);
    color: #fff;
}
.mhm-single-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) 360px; gap: 1.5rem; align-items: start; }
.mhm-single-main { display: grid; gap: 1.5rem; }
.mhm-gallery-card { overflow: hidden; }
.mhm-featured-home-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 18px;
}
.mhm-gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    margin-top: 1rem;
}
.mhm-gallery-strip img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
.mhm-entry-content > *:first-child { margin-top: 0; }
.mhm-entry-content > *:last-child { margin-bottom: 0; }
.mhm-entry-content h2,
.mhm-entry-content h3,
.mhm-entry-content h4 { letter-spacing: -.03em; }
.mhm-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.mhm-feature-pill {
    padding: .7rem 1rem;
    border-radius: 999px;
    background: rgba(230,106,61,.1);
    color: var(--mhm-ink);
    font-weight: 700;
}
.mhm-single-sidebar { position: sticky; top: 110px; }
.mhm-contact-stack { display: grid; gap: .75rem; margin-top: 1rem; }
.mhm-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,.85);
}
.mhm-page-hero-single {
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(243,181,98,.3), transparent 25%),
        linear-gradient(145deg, var(--mhm-surface-dark) 0%, #17283f 60%, #203451 100%);
}
.mhm-page-hero-single .mhm-single-price,
.mhm-page-hero-single .mhm-section-kicker,
.mhm-page-hero-single .mhm-text-link,
.mhm-page-hero-single .mhm-card-eyebrow { color: #ffd6b3; }
.mhm-page-hero-single .mhm-property-meta-row,
.mhm-page-hero-single .mhm-lead,
.mhm-page-hero-single p { color: rgba(255,255,255,.86); }
.mhm-single-hero-card {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    color: #fff;
    box-shadow: none;
}
.mhm-narrow-shell { max-width: 860px; }
.mhm-post-stack { display: grid; gap: 1rem; }
.mhm-footer {
    padding: 4rem 0 2rem;
    background:
        radial-gradient(circle at bottom left, rgba(243,181,98,.12), transparent 20%),
        linear-gradient(180deg, #101927 0%, #09101b 100%);
    color: rgba(255,255,255,.88);
}
.mhm-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; }
.mhm-footer-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
    box-shadow: none;
}
.mhm-footer-card h2,
.mhm-footer-card h3 { margin-top: 0; color: #fff; }
.mhm-footer-menu { display: grid; gap: .65rem; }
.mhm-footer-menu a { color: rgba(255,255,255,.88); }
.mhm-footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    color: rgba(255,255,255,.66);
    font-size: .95rem;
}
.mhm-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}
.mhm-social-row a {
    padding: .55rem .8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
}
.mhm-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
}
.mhm-dashboard-shell { overflow: hidden; }

/* Suite plugin polish */
.mhllfs-property-suite,
.mhllfs-lead-panel,
.mhllfs-property-card {
    font-family: inherit;
}
.mhllfs-property-suite {
    border-radius: var(--mhm-radius);
    overflow: hidden;
}
.mhllfs-property-card,
.mhllfs-lead-panel {
    border: 1px solid rgba(20,33,50,.08);
    border-radius: var(--mhm-radius);
    box-shadow: var(--mhm-shadow);
}
.mhllfs-button,
.mhllfs-form button,
.mhllfs-form input[type="submit"] {
    border-radius: 999px !important;
}
.mhllfs-button-secondary {
    background: #fff !important;
    border-color: rgba(20,33,50,.12) !important;
    color: var(--mhm-ink) !important;
}
.mhllfs-button:not(.mhllfs-button-secondary),
.mhllfs-form button,
.mhllfs-form input[type="submit"] {
    background: linear-gradient(135deg, var(--mhm-accent) 0%, var(--mhm-accent-alt) 100%) !important;
    border: none !important;
    color: #fff !important;
}
.mhllfs-live-total,
.mhllfs-money { color: var(--mhm-accent) !important; }
.mhllfs-form-grid input,
.mhllfs-form-grid select,
.mhllfs-form-grid textarea,
.mhllfs-listing-form input,
.mhllfs-listing-form select,
.mhllfs-listing-form textarea {
    border-radius: 14px !important;
}
.mhllfs-tabs,
.mhllfs-panel,
.mhllfs-lead-panel,
.mhllfs-property-card,
.mhllfs-card,
.mhllfs-stat,
.mhllfs-alert {
    box-shadow: none !important;
}

@media (max-width: 1120px) {
    .mhm-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mhm-property-grid,
    .mhm-feature-grid,
    .mhm-footer-grid,
    .mhm-single-layout,
    .mhm-single-hero-grid,
    .mhm-hero-grid,
    .mhm-two-column-callout { grid-template-columns: 1fr; }
    .mhm-gallery-strip { grid-template-columns: repeat(3, 1fr); }
    .mhm-single-sidebar { position: static; }
}

@media (max-width: 860px) {
    .mhm-topbar-inner { justify-content: center; }
    .mhm-header-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas: "brand toggle" "nav nav";
        gap: 1rem;
        padding: .8rem 0;
    }
    .mhm-branding { grid-area: brand; }
    .mhm-menu-toggle { display: inline-flex; grid-area: toggle; }
    .mhm-primary-nav {
        grid-area: nav;
        display: none;
        width: 100%;
    }
    .mhm-primary-nav.is-open { display: block; }
    .mhm-primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid rgba(20,33,50,.08);
        border-radius: 18px;
        padding: .75rem;
        box-shadow: var(--mhm-shadow-soft);
    }
    .mhm-primary-nav li a { display: block; padding: .75rem; }
    .mhm-header-cta { display: none; }
    .mhm-form-grid,
    .mhm-form-grid-tight,
    .mhm-stat-row,
    .mhm-property-grid,
    .mhm-feature-grid,
    .mhm-gallery-strip { grid-template-columns: 1fr; }
    .mhm-property-heading,
    .mhm-section-heading,
    .mhm-section-heading-tight,
    .mhm-footer-bottom { flex-direction: column; align-items: start; }
    .mhm-hero,
    .mhm-page-hero { padding-top: 3.5rem; }
    .mhm-filter-card,
    .mhm-content-card,
    .mhm-side-card,
    .mhm-footer-card,
    .mhm-gallery-card,
    .mhm-empty-state,
    .mhm-dashboard-shell,
    .mhm-single-hero-card { padding: 1.2rem; }
}

.mhm-hidden-duplicate-calculator {
    display: none !important;
}

.mhm-mortgage-card {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(20,33,50,.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 50px rgba(7,15,25,.08) !important;
    padding: 1.5rem !important;
    overflow: hidden;
}

.mhm-mortgage-card h1,
.mhm-mortgage-card h2,
.mhm-mortgage-card h3,
.mhm-mortgage-card h4,
.mhm-mortgage-card h5,
.mhm-mortgage-card h6,
.mhm-mortgage-card .widget-title,
.mhm-mortgage-card .elementor-heading-title {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    color: var(--mhm-ink) !important;
    font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -.03em !important;
}

.mhm-mortgage-card form,
.mhm-mortgage-card [class*="form"],
.mhm-mortgage-card [class*="calculator"] {
    gap: 1rem;
}

.mhm-mortgage-card input,
.mhm-mortgage-card select,
.mhm-mortgage-card textarea {
    width: 100%;
    min-height: 56px;
    border-radius: 16px !important;
    border: 1px solid rgba(20,33,50,.12) !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    padding: .95rem 1rem !important;
}

.mhm-mortgage-card label,
.mhm-mortgage-card .label,
.mhm-mortgage-card strong {
    color: rgba(20,33,50,.86);
}

.mhm-mortgage-card .mhm-mortgage-button,
.mhm-mortgage-card button,
.mhm-mortgage-card input[type="submit"],
.mhm-mortgage-card .button,
.mhm-mortgage-card .wp-element-button {
    min-height: 50px;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--mhm-accent) 0%, var(--mhm-accent-alt) 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 12px 28px rgba(230,106,61,.25);
    padding: .9rem 1.25rem !important;
    font-weight: 800;
}

.mhm-mortgage-card canvas,
.mhm-mortgage-card svg {
    display: block;
    max-width: min(100%, 240px);
    height: auto;
    margin: 0 auto 1rem;
}

.mhm-mortgage-card table {
    width: 100%;
    border-collapse: collapse;
}

.mhm-mortgage-card td,
.mhm-mortgage-card th {
    padding: .75rem .5rem;
    border-bottom: 1px solid rgba(20,33,50,.08);
}

.mhm-mortgage-card .elementor-widget-container,
.mhm-mortgage-card .widget,
.mhm-mortgage-card .rp-box,
.mhm-mortgage-card .thim-elementor-kit,
.mhm-mortgage-card > div {
    max-width: 100%;
}

.mhm-single-property-page .mhm-section-heading h2 {
    max-width: 22ch;
}

@media (max-width: 860px) {
    .mhm-mortgage-card {
        padding: 1.15rem !important;
        border-radius: 20px !important;
    }
}
