:root {
    --ink: #16202a;
    --muted: #637083;
    --line: #dbe3ea;
    --paper: #ffffff;
    --soft: #f5f8f7;
    --navy: #0b1f3a;
    --blue: #1e3a5f;
    --accent: #ff7a29;
    --accent-dark: #c95712;
    --heading-gradient: linear-gradient(110deg, #b9470d 0%, var(--accent-dark) 28%, var(--accent) 54%, var(--navy) 100%);
    --heading-gradient-dark: linear-gradient(110deg, #fff3e8 0%, #ffbf8a 28%, var(--accent) 58%, #ffffff 100%);
    --teal: #0f766e;
    --green-soft: #e7f5f1;
    --shadow: 0 18px 45px rgba(22, 32, 42, .10);
}

* {
    letter-spacing: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

main,
.container,
.container-fluid,
.row,
.row > * {
    min-width: 0;
}

img,
video {
    max-width: 100%;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--accent-dark);
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.btn-primary {
    --bs-btn-bg: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--blue);
    --bs-btn-hover-border-color: var(--blue);
}

.btn-outline-primary {
    --bs-btn-color: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--navy);
    --bs-btn-hover-border-color: var(--navy);
}

.btn-accent {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-color: #111827;
    --bs-btn-hover-bg: #ff9a4f;
    --bs-btn-hover-border-color: #ff9a4f;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 8px;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .16);
}

.navbar {
    min-height: 84px;
    padding: .45rem 0;
    box-shadow: 0 8px 28px rgba(22, 32, 42, .06);
}

.navbar > .container {
    position: relative;
}

.navbar-brand {
    padding: 0;
}

.navbar-toggler {
    border-color: var(--line);
    border-radius: 8px;
    padding: .45rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(201, 87, 18, .18);
}

.brand-logo {
    width: 236px;
    max-width: 58vw;
    height: 64px;
    object-fit: contain;
}

.navbar .nav-link {
    color: #2f3a46;
    font-weight: 700;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--accent-dark);
}

.mega-menu-item > .nav-link {
    width: 100%;
    border: 0;
    background: transparent;
}

.mega-menu-item .dropdown-toggle::after {
    margin-left: .4rem;
    vertical-align: .15rem;
}

.mega-menu {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 22px 50px rgba(22, 32, 42, .16);
}

.mega-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #f5f8f7;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.15rem;
}

.mega-menu-header strong,
.mega-menu-header span {
    display: block;
}

.mega-menu-header strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.mega-menu-eyebrow {
    color: var(--teal);
    font-size: .68rem;
    font-weight: 850;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

.mega-menu-header > a,
.mega-menu-footer > a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--navy);
    font-size: .86rem;
    font-weight: 850;
    white-space: nowrap;
}

.mega-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.about-mega-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-service-link {
    min-width: 0;
    min-height: 112px;
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    color: var(--ink);
    background: #fff;
    padding: 1.05rem;
}

.mega-service-link:hover,
.mega-service-link.active {
    color: var(--ink);
    background: #eef7f4;
}

.mega-service-link.mega-service-quote {
    background: #fff8f1;
}

.mega-service-link.mega-service-quote:hover {
    background: #eef7f4;
}

.mega-service-link.mega-service-quote .mega-service-icon {
    color: var(--accent-dark);
    background: #fff1e7;
}

.mega-service-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    background: var(--green-soft);
    border-radius: 8px;
    font-size: 1.1rem;
}

.mega-service-link strong,
.mega-service-link small {
    display: block;
}

.mega-service-link strong {
    color: var(--ink);
    font-size: .92rem;
    margin-bottom: .3rem;
}

.mega-service-link small {
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.45;
}

.mega-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #586675;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: .8rem 1.15rem;
    font-size: .84rem;
}

.mega-menu-footer > span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

@media (min-width: 992px) {
    .navbar-collapse,
    .navbar-nav,
    .mega-menu-item {
        position: static;
    }

    .mega-menu {
        width: 70vw !important;
        max-width: 1120px;
        top: calc(100% - 1px) !important;
        right: auto !important;
        left: 50% !important;
        margin: 0;
        transform: translateX(-50%) !important;
    }

    .mega-menu-item:hover > .mega-menu,
    .mega-menu-item:focus-within > .mega-menu,
    .mega-menu-item.mega-menu-open > .mega-menu {
        display: block;
    }
}

.demo-banner {
    background: #fff6e9;
    border-bottom: 1px solid #f3d0aa;
    color: #573413;
    font-size: .92rem;
    padding: .55rem 0;
}

.demo-banner code {
    color: #573413;
}

.flash-wrap {
    padding-top: 1rem;
}

.hero-section {
    min-height: min(650px, 78vh);
    background-size: cover;
    background-position: center 46%;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 76px 0 64px;
}

.hero-section > .container {
    min-width: 0;
}

.hero-content {
    width: min(100%, 860px);
    min-width: 0;
}

.hero-content h1 {
    max-width: 760px;
    font-size: 58px;
    line-height: 1.04;
    font-weight: 850;
    margin-bottom: 1.15rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .86);
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: .9rem;
}

.hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.18rem;
    line-height: 1.65;
    margin-bottom: 1.55rem;
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
    gap: .75rem;
    align-items: end;
    width: min(100%, 880px);
    padding: .85rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-search > * {
    min-width: 0;
}

.hero-search .form-label {
    color: rgba(255, 255, 255, .82);
    font-size: .8rem;
    margin-bottom: .25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.15rem;
}

.hero-text-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #fff;
    font-weight: 750;
    padding: .25rem 0;
}

.hero-text-link:hover {
    color: #ffd6bd;
}

.eyebrow {
    color: var(--teal);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
    margin-bottom: .45rem;
}

.text-white-75 {
    color: rgba(255, 255, 255, .78);
}

.trust-band {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(22, 32, 42, .05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid > div {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-height: 104px;
    padding: 1.2rem 1.1rem;
    border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust-grid i {
    color: var(--teal);
    font-size: 1.55rem;
}

.trust-grid span,
.trust-grid strong {
    display: block;
}

.trust-grid span {
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.45;
}

.trust-grid strong {
    color: var(--ink);
    font-size: .93rem;
    font-weight: 800;
}

.section {
    padding: 68px 0;
}

.section-soft {
    background: var(--soft);
    border-top: 1px solid #eef2f1;
    border-bottom: 1px solid #eef2f1;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-intro {
    max-width: 690px;
    color: var(--muted);
    line-height: 1.7;
    margin: .65rem 0 0;
}

.section-heading h2,
.page-title h1,
.form-surface h2,
.detail-panel h2 {
    font-weight: 850;
    color: var(--ink);
}

.property-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(22, 32, 42, .06);
    display: flex;
    flex-direction: column;
}

.property-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--soft);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.03);
}

.property-badge {
    position: absolute;
    left: .8rem;
    top: .8rem;
    border-radius: 999px;
    padding: .35rem .7rem;
    background: rgba(11, 31, 58, .88);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.property-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    flex: 1;
}

.property-title {
    font-size: 1.12rem;
    line-height: 1.28;
    font-weight: 850;
    margin: 0;
}

.property-title a {
    color: var(--ink);
}

.property-price {
    color: var(--accent-dark);
    min-width: max-content;
    font-size: .96rem;
}

.property-summary {
    color: var(--muted);
    margin: 0;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .85rem;
    color: #45515e;
    font-size: .9rem;
    margin-top: auto;
}

.property-meta span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.service-card,
.quote-card,
.form-surface,
.detail-panel,
.admin-panel,
.admin-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(22, 32, 42, .06);
}

.service-card {
    height: 100%;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
    border-color: #b9c8d2;
    box-shadow: 0 14px 34px rgba(22, 32, 42, .09);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--green-soft);
}

.service-icon i {
    color: var(--teal);
    font-size: 1.45rem;
}

.service-card h3,
.service-card h2 {
    font-size: 1.05rem;
    font-weight: 850;
    margin: .8rem 0 .45rem;
}

.service-card h2 a,
.service-card h3 a {
    color: var(--ink);
}

.service-card h2 a:hover,
.service-card h3 a:hover {
    color: var(--teal);
}

.service-card-large h2 {
    font-size: 1.25rem;
}

.service-card-large {
    min-height: 270px;
}

.service-card p,
.quote-card blockquote {
    color: var(--muted);
    margin: 0;
}

.service-card p {
    line-height: 1.65;
    margin-bottom: 1rem;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 800;
    margin-top: auto;
}

.service-detail-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    padding: 42px 0 38px;
}

.service-detail-hero > .container,
.page-title > .container,
.legal-hero > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    column-gap: 2.5rem;
    align-items: start;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    color: rgba(255, 255, 255, .64);
    font-size: .83rem;
    margin-bottom: 2rem;
}

.service-detail-hero .service-breadcrumb,
.page-title .service-breadcrumb,
.legal-hero .legal-breadcrumb {
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-self: end;
    align-self: start;
    justify-content: flex-end;
    max-width: 360px;
    margin: 0;
    padding: .82rem .95rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(8, 25, 43, .42);
    backdrop-filter: blur(6px);
}

.service-hero-side .service-breadcrumb {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    justify-content: flex-start;
}

.service-detail-heading,
.page-title > .container > :not(.service-breadcrumb),
.legal-hero > .container > :not(.legal-breadcrumb) {
    grid-column: 1;
}

.service-hero-side {
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-self: end;
    align-self: start;
    display: grid;
    gap: .75rem;
    width: 100%;
    max-width: 360px;
}

.service-breadcrumb a {
    color: rgba(255, 255, 255, .82);
}

.service-breadcrumb a:hover {
    color: #fff;
}

.service-breadcrumb i {
    font-size: .65rem;
}

.service-detail-heading {
    max-width: 790px;
}

.service-detail-icon {
    display: none;
}

.service-detail-heading h1 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 850;
    margin-bottom: .75rem;
}

.service-detail-heading > p:last-of-type {
    max-width: 700px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.06rem;
    line-height: 1.55;
}

.service-detail-actions {
    grid-column: 1;
    display: grid;
    gap: .65rem;
    margin: 0;
}

.service-detail-actions .btn {
    width: 100%;
    min-height: 46px;
    white-space: normal;
}

.service-overview h2,
.service-enquiry-section h2 {
    font-weight: 850;
}

.service-lead {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.service-outcome-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-outcome-grid article {
    min-height: 190px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.25rem;
}

.service-outcome-grid i {
    color: var(--teal);
    font-size: 1.4rem;
}

.service-outcome-grid h3 {
    font-size: 1rem;
    font-weight: 850;
    margin: 1rem 0 .45rem;
}

.service-outcome-grid p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-process-grid article {
    min-height: 220px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem;
}

.service-process-grid span {
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 850;
}

.service-process-grid h3 {
    font-size: 1.02rem;
    font-weight: 850;
    margin: 1.4rem 0 .55rem;
}

.service-process-grid p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.service-enquiry-section {
    scroll-margin-top: 84px;
}

.service-contact-line {
    display: flex;
    align-items: center;
    gap: .8rem;
    border-top: 1px solid var(--line);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.service-contact-line > i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    background: var(--green-soft);
    border-radius: 8px;
}

.service-contact-line span,
.service-contact-line a {
    display: block;
}

.service-contact-line span {
    color: var(--muted);
    font-size: .86rem;
}

.service-contact-line a {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 850;
    margin-top: .1rem;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--navy);
    font-weight: 800;
    margin-top: 1.5rem;
}

.about-hero {
    min-height: min(440px, 58vh);
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    padding: 52px 0;
}

.about-hero-content {
    max-width: 800px;
}

.about-hero-content h1 {
    font-size: 54px;
    line-height: 1.06;
    font-weight: 850;
    margin-bottom: 1.1rem;
}

.about-hero-content > p:last-of-type {
    max-width: 700px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.16rem;
    line-height: 1.7;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.about-intro-section h2,
.team-section h2 {
    font-weight: 850;
}

.about-lead {
    color: var(--ink);
    font-size: 1.22rem;
    line-height: 1.75;
}

.about-intro-section .text-muted {
    line-height: 1.75;
}

.about-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-top: 1.8rem;
}

.about-focus-grid > div {
    min-height: 150px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
}

.about-focus-grid i {
    color: var(--teal);
    font-size: 1.3rem;
}

.about-focus-grid span,
.about-focus-grid strong {
    display: block;
}

.about-focus-grid span {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.5;
    margin-top: .9rem;
}

.about-focus-grid strong {
    color: var(--ink);
    font-size: .9rem;
    margin-bottom: .2rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.about-intro-section,
.about-values-section,
.about-purpose-section,
.team-section {
    scroll-margin-top: 96px;
}

.about-values-grid article {
    min-height: 220px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.35rem;
}

.about-values-grid i {
    color: var(--accent-dark);
    font-size: 1.35rem;
}

.about-values-grid h3 {
    font-size: 1rem;
    font-weight: 850;
    margin: 1.3rem 0 .5rem;
}

.about-values-grid p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
}

.about-purpose-grid article {
    min-height: 340px;
    padding: 2.2rem;
}

.about-purpose-grid article:first-child {
    color: #fff;
    background: var(--navy);
}

.about-purpose-grid article:last-child {
    background: #fff7ef;
}

.about-purpose-grid article + article {
    border-left: 1px solid var(--line);
}

.about-purpose-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    background: var(--green-soft);
    border-radius: 8px;
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
}

.about-purpose-grid h2 {
    max-width: 520px;
    font-size: 1.55rem;
    line-height: 1.4;
    font-weight: 850;
}

.about-purpose-grid article > p:last-child {
    max-width: 550px;
    color: var(--muted);
    line-height: 1.75;
}

.about-purpose-grid article:first-child > p:last-child {
    color: rgba(255, 255, 255, .7);
}

.team-section {
    background: #f3f7f6;
    border-top: 1px solid #e3ebe8;
    scroll-margin-top: 84px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.team-grid article {
    min-height: 250px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.4rem;
}

.team-role-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    background: var(--green-soft);
    border-radius: 8px;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.team-grid h3 {
    font-size: 1.08rem;
    font-weight: 850;
    margin-bottom: .55rem;
}

.team-grid article > p:last-child {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.vision-mission-section {
    border-bottom: 1px solid var(--line);
}

.vision-mission-heading {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 2rem;
}

.vision-mission-heading h2 {
    max-width: 620px;
    font-weight: 850;
    margin: 0;
}

.vision-mission-heading > p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.75;
    margin: 0;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.vision-mission-grid article {
    min-height: 310px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2rem;
}

.vision-mission-grid article:first-child {
    background: #f0f7f5;
}

.vision-mission-grid article:last-child {
    background: #fff7ef;
}

.vision-mission-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--teal);
    font-size: 1.45rem;
    margin-bottom: 2rem;
}

.vision-mission-meta span {
    color: #92a0ac;
    font-size: .76rem;
    font-weight: 850;
}

.vision-mission-grid h3 {
    max-width: 520px;
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 850;
    margin-bottom: .8rem;
}

.vision-mission-grid article > p:last-child {
    max-width: 570px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.advisory-section {
    overflow: hidden;
}

.advisory-section h2 {
    max-width: 520px;
    font-weight: 850;
}

.home-process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.home-process > div {
    position: relative;
    min-height: 210px;
    padding: 1.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-process > div > span {
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    color: #aab6c1;
    font-size: .8rem;
    font-weight: 850;
}

.home-process i {
    color: var(--accent-dark);
    font-size: 1.55rem;
}

.home-process h3 {
    font-size: 1.05rem;
    font-weight: 850;
    margin: 1.1rem 0 .5rem;
}

.home-process p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.testimonial-section {
    background: #f3f7f6;
    border-top: 1px solid #e6eceb;
}

.testimonial-heading {
    max-width: 620px;
}

.quote-card {
    height: 100%;
    padding: 1.4rem;
}

.quote-mark {
    display: block;
    color: var(--teal);
    font-size: 1.5rem;
    margin-bottom: .7rem;
}

.quote-card blockquote {
    line-height: 1.7;
}

.quote-card figcaption {
    margin-top: 1rem;
    font-weight: 850;
}

.quote-card span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.home-cta {
    background: var(--navy);
    color: #fff;
    padding: 54px 0;
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.home-cta h2 {
    font-size: 2rem;
    font-weight: 850;
    margin-bottom: .65rem;
}

.home-cta p:last-child {
    color: rgba(255, 255, 255, .72);
    margin: 0;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    flex: 0 0 auto;
}

.legal-hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 25, 43, .95), rgba(8, 25, 43, .78), rgba(8, 25, 43, .38)),
        url("../img/property-consultancy-hero.png");
    background-size: cover;
    background-position: center 48%;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding: 42px 0 38px;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    margin-bottom: 1.05rem;
}

.legal-breadcrumb a {
    color: rgba(255, 255, 255, .86);
}

.legal-breadcrumb a:hover {
    color: #fff;
}

.legal-breadcrumb i {
    font-size: .62rem;
}

.legal-hero h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 850;
    margin-bottom: .9rem;
}

.legal-hero > .container > p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem;
    line-height: 1.7;
}

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
    font-weight: 750;
    margin-top: .5rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 100px;
    display: grid;
    border-left: 2px solid var(--line);
    padding-left: 1rem;
}

.legal-toc strong {
    color: var(--ink);
    font-size: .82rem;
    text-transform: uppercase;
    margin-bottom: .7rem;
}

.legal-toc a {
    color: var(--muted);
    font-size: .86rem;
    padding: .38rem 0;
}

.legal-toc a:hover {
    color: var(--teal);
}

.legal-content {
    min-width: 0;
    max-width: 850px;
}

.legal-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: .8rem;
    color: #31414d;
    background: #fff7ef;
    border: 1px solid #f0cfad;
    border-radius: 8px;
    padding: 1.15rem;
    margin-bottom: 2.5rem;
}

.legal-notice > i {
    color: var(--accent-dark);
    font-size: 1.2rem;
}

.legal-notice p {
    line-height: 1.65;
    margin: 0;
}

.legal-content > section {
    scroll-margin-top: 96px;
    border-bottom: 1px solid var(--line);
    padding: 0 0 2.2rem;
    margin-bottom: 2.2rem;
}

.legal-section-number {
    display: block;
    color: var(--teal);
    font-size: .72rem;
    font-weight: 850;
    margin-bottom: .55rem;
}

.legal-content h2 {
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 850;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    color: #556372;
    line-height: 1.8;
}

.legal-content ul {
    display: grid;
    gap: .45rem;
    padding-left: 1.3rem;
    margin-bottom: 1rem;
}

.legal-content a:not(.btn) {
    color: var(--teal);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-contact-section {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.legal-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.2rem;
}

.page-title {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 25, 43, .95), rgba(8, 25, 43, .78), rgba(8, 25, 43, .38)),
        url("../img/property-consultancy-hero.png");
    background-size: cover;
    background-position: center 48%;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding: 42px 0 38px;
}

.page-title-sell {
    background:
        linear-gradient(90deg, rgba(8, 25, 43, .95), rgba(8, 25, 43, .74), rgba(201, 87, 18, .38)),
        url("../img/property-consultancy-hero.png");
    background-size: cover;
    background-position: center 48%;
}

.page-title h1 {
    max-width: 860px;
    color: #fff;
    font-size: 40px;
    line-height: 1.1;
}

.page-title p {
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.06rem;
}

.page-title .eyebrow,
.legal-hero .eyebrow {
    color: #ffbf8a;
}

.page-title .service-breadcrumb {
    margin-bottom: 0;
}

.filter-band {
    background: var(--soft);
    border-bottom: 1px solid #e6eceb;
    padding: 24px 0;
}

.empty-state {
    background: #fff;
    border: 1px dashed #b9c7d2;
    color: var(--muted);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.process-list {
    display: grid;
    gap: 1rem;
}

.process-list div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: .15rem 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.process-list span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
}

.process-list strong {
    font-size: 1.05rem;
}

.process-list p {
    color: var(--muted);
    margin: 0;
}

.form-surface {
    padding: 1.3rem;
}

.lead-form .btn-lg {
    min-height: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.feature-grid span {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .95rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
}

.feature-grid i {
    color: var(--accent-dark);
    font-size: 1.2rem;
}

.property-detail-hero {
    position: relative;
    min-height: min(420px, 54vh);
    display: flex;
    align-items: end;
    color: #fff;
    overflow: hidden;
}

.property-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 58, .15), rgba(11, 31, 58, .88));
}

.property-detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-title {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 60px 0;
}

.property-detail-title h1 {
    font-size: 46px;
    font-weight: 850;
    line-height: 1.08;
}

.property-detail-title p:last-child {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .84);
}

.detail-panel {
    padding: 1.35rem;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.detail-stats div {
    background: var(--soft);
    border-radius: 8px;
    padding: .85rem;
}

.detail-stats span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
}

.detail-stats strong {
    display: block;
    color: var(--ink);
    margin-top: .2rem;
}

.detail-meta {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    margin-top: 1.2rem;
}

.detail-form {
    top: 96px;
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-list div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .1rem .8rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.contact-list i {
    grid-row: span 2;
    color: var(--teal);
    font-size: 1.35rem;
}

.contact-list strong {
    font-weight: 850;
}

.site-footer {
    background: #101820;
    color: #fff;
    padding: 48px 0 24px;
}

.footer-logo {
    width: 116px;
    /* The img carries intrinsic width/height attributes for CLS. Without an
       explicit height here the height attribute applies as a presentational
       hint and the logo renders at its full 520px. */
    height: auto;
    flex: 0 0 116px;
    max-width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: .5rem;
}

.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.footer-brand-lockup strong,
.footer-brand-lockup span {
    display: block;
    margin: 0;
}

.footer-brand-lockup strong {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 850;
    margin-bottom: .25rem;
}

.footer-brand-lockup span {
    max-width: 170px;
    color: rgba(255, 255, 255, .64);
    font-size: .82rem;
    line-height: 1.45;
}

.site-footer a,
.site-footer span {
    display: block;
    color: rgba(255, 255, 255, .78);
    margin-bottom: .45rem;
}

.site-footer a:hover {
    color: #fff;
}

.footer-heading {
    color: #fff;
    font-size: .92rem;
    font-weight: 850;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-bottom {
    color: rgba(255, 255, 255, .55);
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom span,
.footer-bottom a {
    display: inline;
    margin: 0;
}

.developer-credit a {
    color: rgba(255, 255, 255, .88);
    font-weight: 750;
}

.developer-credit a:hover {
    color: #fff;
}

.admin-login-body {
    min-height: 100vh;
    background: var(--soft);
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.login-panel {
    width: min(100%, 430px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.login-panel img {
    width: 160px;
    display: block;
    margin: 0 auto 1.2rem;
}

.admin-body {
    background:
        linear-gradient(180deg, #f3f6f8 0, #f7f9fb 320px),
        #f7f9fb;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(22, 32, 42, .05);
}

.admin-topbar .container-fluid {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-brand-wrap {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.admin-sidebar-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 1.1rem;
}

.admin-sidebar-toggle:hover {
    background: var(--soft);
    border-color: #bdc9d3;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--ink);
    font-weight: 850;
    min-width: 0;
}

.admin-brand img {
    width: 36px;
    height: 36px;
}

.admin-actions {
    display: flex;
    gap: .5rem;
}

.admin-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    min-height: calc(100vh - 64px);
    transition: grid-template-columns .2s ease;
}

.admin-sidebar {
    position: sticky;
    top: 64px;
    align-self: start;
    height: calc(100vh - 64px);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border-right: 1px solid var(--line);
    padding: 1rem .85rem;
    overflow-y: auto;
    transition: padding .2s ease;
}

.sidebar-heading {
    color: #8a96a3;
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
    padding: .2rem .75rem .7rem;
}

.sidebar-group {
    border-bottom: 1px solid #edf1f4;
    padding: .3rem 0;
}

.sidebar-group:last-child {
    border-bottom: 0;
}

.sidebar-group-toggle,
.sidebar-link {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #344050;
    font-weight: 750;
    padding: .62rem .72rem;
    border-radius: 8px;
    text-align: left;
}

.sidebar-group-toggle {
    border: 0;
    background: transparent;
}

.sidebar-group-toggle:hover,
.sidebar-link:hover {
    background: #f4f7f8;
    color: var(--navy);
}

.sidebar-group-toggle > i:first-child,
.sidebar-link > i:first-child {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
    font-size: 1.05rem;
}

.sidebar-group-toggle .sidebar-chevron {
    margin-left: auto;
    font-size: .72rem;
    transition: transform .2s ease;
}

.sidebar-group-toggle:not(.collapsed) .sidebar-chevron {
    transform: rotate(180deg);
}

.sidebar-group-menu {
    padding: .15rem 0 .25rem;
}

.sidebar-link {
    color: #596574;
    font-size: .91rem;
    padding-left: 1.05rem;
}

.sidebar-link.active {
    background: #fff4eb;
    color: var(--accent-dark);
    box-shadow: inset 3px 0 0 var(--accent);
}

.sidebar-footer {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #44515e;
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding: 1rem .72rem .25rem;
}

.sidebar-footer > i {
    width: 22px;
    flex: 0 0 22px;
    color: var(--teal);
    text-align: center;
    font-size: 1.15rem;
}

.sidebar-footer strong,
.sidebar-footer small {
    display: block;
}

.sidebar-footer small {
    max-width: 190px;
    color: var(--muted);
    font-size: .72rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-sidebar-saved-collapsed .admin-layout {
    grid-template-columns: 76px minmax(0, 1fr);
}

.admin-sidebar-saved-collapsed .admin-sidebar {
    padding-inline: .55rem;
}

.admin-sidebar-saved-collapsed .sidebar-heading,
.admin-sidebar-saved-collapsed .sidebar-label,
.admin-sidebar-saved-collapsed .sidebar-chevron {
    display: none;
}

.admin-sidebar-saved-collapsed .sidebar-group-toggle,
.admin-sidebar-saved-collapsed .sidebar-link,
.admin-sidebar-saved-collapsed .sidebar-footer {
    justify-content: center;
    padding-inline: .35rem;
}

.admin-sidebar-saved-collapsed .sidebar-group-toggle > i:first-child,
.admin-sidebar-saved-collapsed .sidebar-link > i:first-child,
.admin-sidebar-saved-collapsed .sidebar-footer > i {
    width: 24px;
    flex-basis: 24px;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-main {
    min-width: 0;
    padding: 1.5rem;
}

.admin-page-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-page-title h1 {
    font-weight: 850;
    margin: 0;
}

.admin-stat {
    padding: 1rem;
    min-height: 112px;
    border-color: #d6e1e8;
}

.admin-stat span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.admin-stat strong {
    font-size: 2rem;
    color: var(--navy);
}

.admin-stat small {
    display: block;
    color: var(--muted);
    margin-top: .25rem;
}

.admin-panel {
    padding: 1.15rem;
    border-color: #d6e1e8;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.panel-heading h2 {
    font-size: 1.15rem;
    margin: 0;
    font-weight: 850;
}

h1,
h2,
h3,
h4,
h5,
h6,
.property-title a,
.service-card h2 a,
.service-card h3 a {
    color: var(--accent-dark);
}

.hero-section h1,
.about-hero-content h1,
.service-detail-heading h1,
.page-title h1,
.legal-hero h1,
.property-detail-title h1,
.home-cta h2,
.about-purpose-grid article:first-child h2,
.site-footer h2 {
    color: #ffbf8a;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .property-title a,
    .service-card h2 a,
    .service-card h3 a {
        background-image: var(--heading-gradient);
        background-size: 230% 100%;
        background-position: 0% 50%;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    .hero-section h1,
    .about-hero-content h1,
    .service-detail-heading h1,
    .page-title h1,
    .legal-hero h1,
    .property-detail-title h1,
    .home-cta h2,
    .about-purpose-grid article:first-child h2,
    .site-footer h2 {
        background-image: var(--heading-gradient-dark);
    }
}

@media (prefers-reduced-motion: no-preference) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .property-title a,
    .service-card h2 a,
    .service-card h3 a {
        animation: brandHeadingGradient 14s ease-in-out infinite;
    }
}

@keyframes brandHeadingGradient {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.admin-table {
    margin: 0;
}

.admin-list-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr)) auto;
    gap: .85rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: .95rem;
    border: 1px solid #dce6ec;
    border-radius: 8px;
    background: #f8fbfc;
}

.admin-list-filters .form-label {
    margin-bottom: .32rem;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-filter-actions {
    display: flex;
    gap: .5rem;
}

.sort-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--muted);
    text-decoration: none;
}

.sort-link:hover,
.sort-link.active {
    color: var(--accent-dark);
}

.sort-link i {
    font-size: .8rem;
}

.admin-table th {
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    vertical-align: middle;
}

.admin-table td strong,
.admin-table td span {
    display: block;
}

.admin-table td span {
    color: var(--muted);
    font-size: .88rem;
}

.message-cell {
    min-width: 260px;
    max-width: 460px;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.admin-pagination .page-link {
    color: var(--ink);
    border-color: #d8e3e8;
}

.admin-pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #111827;
    font-weight: 850;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--teal);
    font-weight: 800;
    font-size: .82rem;
}

.icon-btn {
    width: 34px;
    height: 34px;
    padding: 0;
}

.compact-list {
    display: grid;
    gap: .65rem;
}

.compact-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--line);
}

.compact-list a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.compact-list span {
    color: var(--ink);
    font-weight: 750;
}

.compact-list strong {
    color: var(--accent-dark);
    white-space: nowrap;
}

.admin-form textarea {
    resize: vertical;
}

.admin-command-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid #d6e1e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(22, 32, 42, .06);
}

.admin-command-strip a {
    min-width: 0;
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem;
    color: var(--ink);
    border-right: 1px solid var(--line);
}

.admin-command-strip a:last-child {
    border-right: 0;
}

.admin-command-strip a:hover {
    background: #fff8f1;
}

.admin-command-strip i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    background: #fff1e7;
    border-radius: 8px;
    font-size: 1.2rem;
}

.admin-command-strip strong,
.admin-command-strip small {
    display: block;
}

.admin-command-strip strong {
    color: var(--ink);
    font-weight: 850;
}

.admin-command-strip small {
    color: var(--muted);
    line-height: 1.45;
}

.admin-section-label {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--accent-dark);
    background: #fff8f1;
    border: 1px solid #f1d3b8;
    border-radius: 8px;
    padding: .75rem .9rem;
    font-weight: 850;
}

.admin-section-label span {
    color: #6b7280;
    font-size: .86rem;
    font-weight: 650;
}

.assignment-select {
    min-height: 148px;
}

.admin-help-note {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: #536171;
    background: #f6faf9;
    border: 1px solid #d9e7e3;
    border-radius: 8px;
    padding: .8rem .9rem;
    font-size: .9rem;
}

.relation-toolbar {
    align-items: flex-start;
    gap: 1rem;
}

.relation-table td span {
    display: block;
}

.relation-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .32rem .65rem;
    color: var(--teal);
    background: var(--green-soft);
    font-size: .78rem;
    font-weight: 850;
}

.relation-seller,
.relation-owner {
    color: var(--accent-dark);
    background: #fff3e5;
}

.relation-office-manager {
    color: #3451a4;
    background: #edf2ff;
}

.relation-mini-list {
    display: grid;
    gap: .65rem;
}

.relation-mini-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .75rem .85rem;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
}

.relation-mini-list a:hover {
    border-color: #f0b36f;
    background: #fff8f1;
}

.relation-mini-list strong,
.relation-mini-list span {
    display: block;
}

.relation-mini-list span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 650;
}

.rbac-panel {
    padding: 0;
    overflow: hidden;
}

.rbac-panel .panel-heading {
    padding: 1rem 1.15rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
}

.rbac-matrix-wrap {
    max-height: calc(100vh - 250px);
}

.rbac-matrix-table {
    min-width: 920px;
}

.rbac-matrix-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    vertical-align: bottom;
}

.rbac-matrix-table thead th:not(:first-child),
.rbac-check-cell {
    text-align: center;
}

.rbac-matrix-table thead th strong,
.rbac-matrix-table thead th span {
    display: block;
}

.rbac-matrix-table thead th strong {
    color: var(--ink);
    font-size: .88rem;
}

.rbac-matrix-table thead th span {
    max-width: 190px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
}

.rbac-group-row td {
    color: var(--accent-dark);
    background: #fff8f1;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.rbac-permission-cell {
    min-width: 260px;
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}

.rbac-group-row .rbac-permission-cell,
.rbac-group-row td {
    background: #fff8f1;
}

.rbac-check-cell .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.log-level-debug {
    background: #edf2ff;
    color: #3451a4;
}

.log-level-info {
    background: var(--green-soft);
    color: var(--teal);
}

.log-level-warning {
    background: #fff4db;
    color: #946200;
}

.log-level-error,
.log-level-critical {
    background: #ffe8e5;
    color: #b42318;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 48px 0;
    }

    .admin-command-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-list-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-actions {
        grid-column: 1 / -1;
    }

    .admin-command-strip a:nth-child(2n) {
        border-right: 0;
    }

    .rbac-matrix-wrap {
        max-height: none;
    }

    .navbar > .container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: .35rem .75rem;
    }

    .navbar-brand {
        min-width: 0;
        margin-right: auto;
    }

    .navbar-toggler {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        border-top: 1px solid #edf1f3;
        margin-top: .45rem;
        padding: .65rem 0 1rem;
    }

    .navbar-nav {
        width: 100%;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .navbar .nav-link {
        padding: .72rem 0;
    }

    .navbar-nav .btn {
        width: 100%;
        min-height: 44px;
        margin-top: .35rem;
    }

    .mega-menu-item > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .mega-menu {
        position: static !important;
        width: 100%;
        max-height: 62vh;
        margin: .2rem 0 .6rem !important;
        overflow-y: auto;
        transform: none !important;
        border-radius: 8px;
        box-shadow: none;
    }

    .mega-service-grid {
        grid-template-columns: 1fr;
    }

    .mega-service-link {
        min-height: 72px;
        padding: .8rem;
    }

    .mega-service-link small {
        display: none;
    }

    .mega-menu-header,
    .mega-menu-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mega-menu-header > div,
    .mega-menu-footer > span {
        display: none;
    }

    .hero-content h1,
    .page-title h1,
    .property-detail-title h1,
    .service-detail-heading h1 {
        font-size: 38px;
    }

    .service-detail-hero {
        min-height: auto;
        padding: 38px 0 42px;
    }

    .service-detail-hero > .container,
    .page-title > .container,
    .legal-hero > .container {
        grid-template-columns: 1fr;
    }

    .service-detail-hero .service-breadcrumb,
    .page-title .service-breadcrumb,
    .legal-hero .legal-breadcrumb,
    .service-hero-side,
    .service-detail-heading,
    .page-title > .container > :not(.service-breadcrumb),
    .legal-hero > .container > :not(.legal-breadcrumb) {
        grid-column: 1;
    }

    .service-detail-hero .service-breadcrumb,
    .page-title .service-breadcrumb,
    .legal-hero .legal-breadcrumb {
        justify-self: start;
        justify-content: flex-start;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .service-hero-side {
        display: contents;
        justify-self: start;
        max-width: 460px;
    }

    .service-hero-side .service-breadcrumb {
        order: 1;
    }

    .service-detail-heading {
        order: 2;
    }

    .service-detail-actions {
        order: 3;
        width: 100%;
        max-width: 460px;
        margin-top: .25rem;
    }

    .page-title,
    .legal-hero {
        padding: 36px 0 34px;
    }

    .service-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-content h1 {
        font-size: 40px;
    }

    .vision-mission-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-focus-grid {
        grid-template-columns: 1fr;
    }

    .about-focus-grid > div {
        min-height: 0;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .legal-toc {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1rem;
        border-left: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 1.25rem;
    }

    .legal-toc strong {
        grid-column: 1 / -1;
    }


    .hero-search {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid > div:nth-child(2) {
        border-right: 0;
    }

    .trust-grid > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading,
    .admin-page-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        z-index: 40;
        top: 64px;
        bottom: 0;
        left: 0;
        width: min(286px, calc(100vw - 48px));
        height: auto;
        padding: 1rem .85rem;
        border-right: 1px solid var(--line);
        box-shadow: 18px 0 40px rgba(22, 32, 42, .16);
        transform: translateX(-105%);
        transition: transform .2s ease;
    }

    .admin-sidebar-saved-collapsed .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-saved-collapsed .admin-sidebar {
        padding: 1rem .85rem;
    }

    .admin-sidebar-saved-collapsed .sidebar-heading,
    .admin-sidebar-saved-collapsed .sidebar-label,
    .admin-sidebar-saved-collapsed .sidebar-chevron {
        display: initial;
    }

    .admin-sidebar-saved-collapsed .sidebar-group-toggle,
    .admin-sidebar-saved-collapsed .sidebar-link,
    .admin-sidebar-saved-collapsed .sidebar-footer {
        justify-content: flex-start;
        padding-inline: .72rem;
    }

    .admin-sidebar-saved-collapsed .sidebar-link {
        padding-left: 1.05rem;
    }

    .admin-sidebar-mobile-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        z-index: 35;
        inset: 64px 0 0;
        width: 100%;
        border: 0;
        background: rgba(11, 31, 58, .42);
    }

    .admin-sidebar-mobile-open .admin-sidebar-backdrop {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        min-height: 74px;
        padding: .35rem 0;
    }

    .admin-command-strip {
        grid-template-columns: 1fr;
    }

    .admin-command-strip a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-command-strip a:last-child {
        border-bottom: 0;
    }

    .admin-section-label {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .admin-list-filters {
        grid-template-columns: 1fr;
    }

    .admin-filter-actions,
    .admin-filter-actions .btn {
        width: 100%;
    }

    .admin-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .relation-mini-list a {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .brand-logo {
        width: 198px;
        max-width: 62vw;
        height: 53px;
    }

    .hero-content h1,
    .page-title h1,
    .property-detail-title h1,
    .service-detail-heading h1 {
        font-size: 32px;
    }

    .service-detail-hero {
        padding: 34px 0 38px;
    }

    .about-hero {
        min-height: auto;
        padding: 38px 0;
    }

    .about-hero-content h1 {
        font-size: 34px;
    }

    .about-hero-actions,
    .about-hero-actions .btn {
        width: 100%;
    }

    .legal-hero {
        padding: 32px 0 30px;
    }

    .legal-hero h1 {
        font-size: 36px;
    }

    .legal-breadcrumb {
        margin-bottom: .9rem;
    }

    .legal-toc {
        grid-template-columns: 1fr;
    }

    .legal-contact-actions,
    .legal-contact-actions .btn {
        width: 100%;
    }

    .footer-brand-lockup {
        align-items: flex-start;
    }

    .footer-logo {
        width: 96px;
        flex-basis: 96px;
    }

    .service-breadcrumb {
        margin-bottom: 1.5rem;
    }

    .service-detail-actions,
    .service-detail-actions .btn,
    .service-outcome-grid,
    .service-process-grid {
        width: 100%;
    }

    .service-outcome-grid,
    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission-grid,
    .about-values-grid,
    .about-purpose-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission-grid article,
    .about-purpose-grid article,
    .team-grid article {
        min-height: 0;
    }

    .about-purpose-grid article + article {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .service-outcome-grid article,
    .service-process-grid article {
        min-height: 0;
    }

    .hero-content,
    .hero-search,
    .hero-search .btn {
        width: 100%;
    }

    .hero-section > .container,
    .hero-content {
        max-width: 100%;
    }

    .hero-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-content h1,
    .hero-copy {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero-copy {
        font-size: 1.05rem;
    }

    .section {
        padding: 48px 0;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-grid,
    .home-process {
        grid-template-columns: 1fr;
    }

    .trust-grid > div,
    .trust-grid > div:nth-child(2) {
        min-height: 88px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

    .home-process > div {
        min-height: 0;
    }

    .home-cta-actions,
    .home-cta-actions .btn {
        width: 100%;
    }

    .feature-grid,
    .detail-stats {
        grid-template-columns: 1fr;
    }

    .property-price {
        min-width: 0;
    }

    .admin-actions {
        flex-wrap: wrap;
        justify-content: end;
    }

    .admin-brand span,
    .topbar-action-label {
        display: none;
    }

    .admin-topbar .container-fluid {
        gap: .5rem;
    }
}
