/* =========================================================
   MOYINNET ESTATE MANAGEMENT
   Global Stylesheet
   ========================================================= */

:root {
    --gold: #d4af37;
    --gold-light: #e8cf73;
    --gold-dark: #a8891f;

    --black: #101317;
    --black-soft: #171b20;
    --black-card: #1d2228;

    --white: #ffffff;
    --off-white: #f8f8f6;

    --text: #17202a;
    --text-soft: #667085;
    --text-light: #aeb4bc;

    --border: #e5e7eb;
    --border-dark: #2d333a;

    --green: #137333;
    --green-bg: #e8f7ee;

    --yellow: #8a6400;
    --yellow-bg: #fff6d8;

    --red: #b42318;
    --red-bg: #fdebec;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --max-width: 1280px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
    line-height: 1.2;
}

p {
    margin-top: 0;
}


/* =========================================================
   GENERAL
   ========================================================= */

.public {
    background: var(--white);
}

.muted {
    color: var(--text-soft);
}

.eyebrow {
    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 18px;

    border: 0;
    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.gold {
    background: var(--gold);
    color: var(--black);

    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.20);
}

.btn.gold:hover {
    background: var(--gold-light);
}

.btn.light {
    background: #eef0f2;
    color: var(--text);
}

.btn.light:hover {
    background: #e1e4e7;
}

.btn.dark {
    background: var(--black);
    color: var(--white);
}


/* =========================================================
   PUBLIC NAVIGATION
   ========================================================= */

.public-nav {
    position: sticky;
    top: 0;

    z-index: 1000;

    min-height: 74px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 0 7%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.public-nav .logo {
    display: flex;
    align-items: baseline;
    gap: 6px;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 1px;
}

.public-nav .logo span {
    color: var(--gold-dark);

    font-size: 12px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links > a:not(.btn) {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: #444b53;
}

.nav-links > a:not(.btn)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.2s ease;
}

.nav-links > a:not(.btn):hover::after {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 590px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.85fr);

    align-items: center;

    gap: 70px;

    padding: 90px 7%;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(212, 175, 55, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0d1013 0%,
            #171b20 60%,
            #0e1114 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    bottom: -220px;

    border: 1px solid rgba(212, 175, 55, 0.22);

    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: 40px;
    bottom: -150px;

    border: 1px solid rgba(212, 175, 55, 0.14);

    border-radius: 50%;
}

.hero > div {
    position: relative;
    z-index: 2;
}

.hero .muted {
    color: var(--gold-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;

    margin-bottom: 18px;
}

.hero h1 {
    max-width: 760px;

    margin-bottom: 24px;

    font-size: clamp(42px, 5vw, 72px);

    font-weight: 800;

    letter-spacing: -2px;
}

.hero p {
    max-width: 650px;

    margin-bottom: 30px;

    color: #cbd0d7;

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   HERO CARD
   ========================================================= */

.hero-card {
    position: relative;
    z-index: 2;

    padding: 40px;

    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow: var(--shadow-lg);

    backdrop-filter: blur(12px);
}

.hero-card-label {
    margin-bottom: auto;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.hero-card h2 {
    margin-bottom: 10px;

    font-size: 30px;
}

.hero-card p {
    margin-bottom: 12px;

    color: #cbd0d7;
}

.hero-location {
    color: var(--gold-light);

    font-size: 14px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-section {
    position: relative;

    z-index: 10;

    margin-top: -50px;

    padding: 0 7%;
}

.stats-grid {
    max-width: var(--max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.stat-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: #f8f2dd;

    font-size: 23px;
}

.stat-card strong {
    display: block;

    font-size: 25px;
    line-height: 1.1;
}

.stat-card span {
    display: block;

    margin-top: 4px;

    color: var(--text-soft);

    font-size: 13px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 100px 7%;
}

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 38px;
}

.section-heading h2 {
    margin-bottom: 10px;

    font-size: clamp(30px, 4vw, 44px);

    letter-spacing: -1px;
}


/* =========================================================
   PROPERTY GRID
   ========================================================= */

.property-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   PROPERTY CARD
   ========================================================= */

.property-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.property-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   PROPERTY IMAGE
   ========================================================= */

.property-image {
    position: relative;

    height: 225px;

    overflow: hidden;

    background: #e8e8e8;
}

.property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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

.property-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    background:
        linear-gradient(
            135deg,
            #e8e8e8,
            #f8f8f8
        );

    color: #999;
}

.property-placeholder span {
    font-size: 50px;
}

.property-placeholder small {
    font-weight: 600;
}

.property-status {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 6px 10px;

    border-radius: 20px;

    background: rgba(16, 19, 23, 0.88);

    color: var(--white);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


/* =========================================================
   PROPERTY BODY
   ========================================================= */

.property-body {
    padding: 22px;
}

.property-code {
    margin-bottom: 7px;

    color: var(--gold-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.property-body h3 {
    margin-bottom: 7px;

    font-size: 21px;
}

.property-location {
    margin-bottom: 18px;

    color: var(--text-soft);

    font-size: 13px;
}

.property-features {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 22px;
}

.property-features span {
    padding: 6px 9px;

    border-radius: 6px;

    background: #f5f6f7;

    color: #555d66;

    font-size: 12px;
}

.property-footer {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.property-footer small {
    display: block;

    margin-bottom: 2px;

    color: var(--text-soft);

    font-size: 11px;
}

.property-footer strong {
    font-size: 20px;
}


/* =========================================================
   EMPTY PROPERTY STATE
   ========================================================= */

.empty-properties {
    grid-column: 1 / -1;

    padding: 70px 30px;

    text-align: center;

    background: var(--off-white);

    border: 1px dashed #d3d6da;

    border-radius: var(--radius-md);
}

.empty-icon {
    margin-bottom: 12px;

    font-size: 48px;
}

.empty-properties h3 {
    margin-bottom: 8px;
}

.empty-properties p {
    max-width: 480px;

    margin: 0 auto 22px;

    color: var(--text-soft);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    max-width: none;

    background: var(--off-white);
}

.about-grid {
    max-width: var(--max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: start;
}

.about-grid h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 48px);

    letter-spacing: -1px;
}

.about-grid p {
    color: #555d66;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   FEATURES
   ========================================================= */

.feature-section {
    background: var(--white);
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.feature-card {
    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--white);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(212, 175, 55, 0.45);

    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 13px;

    background: #f8f2dd;

    font-size: 22px;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}

.feature-card p {
    margin-bottom: 0;

    color: var(--text-soft);

    font-size: 14px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    max-width: none;

    background: var(--black);

    color: var(--white);
}

.contact-card {
    max-width: var(--max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 70px;

    align-items: center;
}

.contact-card .eyebrow {
    color: var(--gold-light);
}

.contact-card h2 {
    margin-bottom: 15px;

    font-size: clamp(32px, 4vw, 48px);
}

.contact-card p {
    max-width: 650px;

    color: #bfc5cc;
}

.contact-details {
    display: grid;

    gap: 16px;
}

.contact-details > div {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px 18px;

    border: 1px solid var(--border-dark);

    border-radius: var(--radius-sm);

    background: rgba(255, 255, 255, 0.03);
}

.contact-details span {
    font-size: 20px;
}

.contact-details strong {
    font-size: 14px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 55px 7% 25px;

    background: #0b0d10;

    color: #aeb4bc;
}

.footer-grid {
    max-width: var(--max-width);

    margin: 0 auto 45px;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;
}

.footer-logo {
    color: var(--white);

    font-size: 18px;
    font-weight: 900;

    letter-spacing: 1px;
}

.footer p {
    max-width: 300px;

    font-size: 13px;
}

.footer h4 {
    margin-bottom: 15px;

    color: var(--white);

    font-size: 13px;
}

.footer-grid a {
    display: block;

    margin-bottom: 8px;

    color: #aeb4bc;

    font-size: 13px;
}

.footer-grid a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: var(--max-width);

    margin: 0 auto;

    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #23272d;

    font-size: 12px;
}


/* =========================================================
   INSTALL PROMPT
   ========================================================= */

.install-prompt {
    position: fixed;

    z-index: 2000;

    left: 20px;
    right: 20px;
    bottom: 20px;

    max-width: 560px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px;

    border: 1px solid rgba(212, 175, 55, 0.45);

    border-radius: 14px;

    background: rgba(16, 19, 23, 0.97);

    color: var(--white);

    box-shadow: var(--shadow-lg);

    backdrop-filter: blur(12px);
}

.install-icon img {
    width: 48px;
    height: 48px;

    border-radius: 10px;
}

.install-text {
    flex: 1;
}

.install-text strong {
    display: block;

    margin-bottom: 2px;

    font-size: 14px;
}

.install-text small {
    display: block;

    color: #aeb4bc;

    font-size: 11px;
}

.install-close {
    width: 32px;
    height: 32px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    font-size: 20px;
}


/* =========================================================
   ADMIN LAYOUT
   ========================================================= */

.admin-shell {
    min-height: 100vh;

    display: flex;

    background: #f5f6f8;
}

.sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 245px;

    display: flex;

    flex-direction: column;

    padding: 22px 16px;

    background: var(--black);

    color: var(--white);

    overflow-y: auto;
}

.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px 8px 28px;

    font-size: 16px;
    font-weight: 800;
}

.brand > span {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--gold);

    color: var(--black);

    font-weight: 900;
}

.brand small {
    color: #aeb4bc;

    font-size: 10px;
    font-weight: 400;
}

.sidebar nav {
    display: grid;

    gap: 5px;
}

.sidebar nav a,
.side-bottom a {
    padding: 12px 13px;

    border-radius: 8px;

    color: #cbd0d7;

    font-size: 14px;
}

.sidebar nav a:hover,
.side-bottom a:hover {
    background: #22272d;

    color: var(--white);
}

.side-bottom {
    margin-top: auto;
}

.main {
    flex: 1;

    margin-left: 245px;

    min-width: 0;
}

.topbar {
    position: sticky;

    top: 0;

    z-index: 100;

    height: 70px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 28px;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

.user-chip {
    padding: 8px 12px;

    border-radius: 20px;

    background: #f1f3f5;

    color: #4b5563;

    font-size: 13px;
}

.content {
    padding: 28px;
}


/* =========================================================
   ADMIN CARDS
   ========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 24px;
}

.card,
.panel {
    padding: 20px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow-sm);
}

.metric {
    margin-top: 8px;

    font-size: 28px;

    font-weight: 800;
}

.panel {
    margin-bottom: 20px;
}

.panel h2 {
    margin-bottom: 18px;

    font-size: 17px;
}


/* =========================================================
   TABLES
   ========================================================= */

.table-wrap {
    width: 100%;

    overflow-x: auto;
}

.table {
    width: 100%;

    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 10px;

    border-bottom: 1px solid #edf0f2;

    text-align: left;

    font-size: 14px;

    white-space: nowrap;
}

.table th {
    color: #667085;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =========================================================
   STATUS BADGES
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;
}

.green {
    background: var(--green-bg);
    color: var(--green);
}

.yellow {
    background: var(--yellow-bg);
    color: var(--yellow);
}

.red {
    background: var(--red-bg);
    color: var(--red);
}

.gray {
    background: #eef0f2;
    color: #5f6368;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.form-group {
    display: grid;

    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #344054;

    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #d7dce1;

    border-radius: 8px;

    outline: none;

    background: var(--white);

    color: var(--text);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 100px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(212, 175, 55, 0.14);
}


/* =========================================================
   NOTICES
   ========================================================= */

.notice {
    margin-bottom: 16px;

    padding: 12px 14px;

    border: 1px solid #f0d78b;

    border-radius: 8px;

    background: #fff7df;

    color: #765600;

    font-size: 14px;
}


/* =========================================================
   LOGIN PAGE
   ========================================================= */

.login-page {
    min-height: 100vh;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(212, 175, 55, 0.15),
            transparent 30%
        ),
        var(--black);
}

.login-box {
    width: min(430px, 100%);

    padding: 35px;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 18px;

    background: var(--white);

    box-shadow: var(--shadow-lg);
}

.login-box h1 {
    margin-bottom: 5px;

    font-size: 28px;
}

.login-box form {
    display: grid;

    gap: 14px;

    margin-top: 24px;
}

.login-box input {
    width: 100%;

    padding: 13px;

    border: 1px solid #d7dce1;

    border-radius: 8px;

    outline: none;
}

.login-box input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(212, 175, 55, 0.14);
}


/* =========================================================
   MOBILE BOTTOM NAV FOUNDATION
========================================================= */

.mobile-bottom-nav {
    display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1000px) {

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

        gap: 40px;

        min-height: auto;

        padding-top: 75px;
        padding-bottom: 90px;
    }

    .hero-card {
        min-height: 260px;
    }

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

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

    .about-grid {
        gap: 45px;
    }

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

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .public-nav {
        padding: 0 5%;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links > a:not(.btn) {
        display: none;
    }

    .section {
        padding: 75px 5%;
    }

    .stats-section {
        padding: 0 5%;
    }

    .about-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {

    body {
        padding-bottom: 0;
    }

    .public-nav {
        min-height: 64px;

        padding: 0 18px;
    }

    .public-nav .logo {
        font-size: 17px;
    }

    .public-nav .logo span {
        font-size: 10px;
    }

    .public-nav .btn {
        min-height: 38px;

        padding: 7px 10px;

        font-size: 11px;
    }

    .hero {
        padding: 60px 20px 80px;
    }

    .hero h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-card {
        padding: 28px;

        min-height: 230px;
    }

    .hero-card h2 {
        font-size: 25px;
    }

    .stats-section {
        margin-top: -35px;

        padding: 0 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .stat-card {
        padding: 17px;
    }

    .section {
        padding: 65px 18px;
    }

    .section-heading {
        display: block;

        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .property-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .property-image {
        height: 210px;
    }

    .property-body {
        padding: 18px;
    }

    .property-footer strong {
        font-size: 18px;
    }

    .about-grid {
        gap: 25px;
    }

    .about-grid h2 {
        font-size: 32px;
    }

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

    .contact-card {
        gap: 30px;
    }

    .contact-card h2 {
        font-size: 32px;
    }

    .footer {
        padding: 45px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 28px;

        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 6px;
    }

    .install-prompt {
        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 12px;
    }

    .install-icon img {
        width: 42px;
        height: 42px;
    }

    .install-text small {
        font-size: 10px;
    }

    .install-prompt .btn {
        padding: 8px 11px;

        font-size: 11px;
    }

    /* ADMIN */

    .admin-shell {
        display: block;
    }

    .sidebar {
        position: relative;

        width: 100%;

        height: auto;

        padding: 10px 12px;
    }

    .brand {
        padding: 5px 5px 10px;
    }

    .sidebar nav {
        display: flex;

        overflow-x: auto;

        gap: 5px;

        padding-bottom: 3px;
    }

    .sidebar nav a {
        flex: 0 0 auto;

        padding: 9px 11px;

        font-size: 12px;
    }

    .side-bottom {
        display: none;
    }

    .main {
        margin-left: 0;
    }

    .topbar {
        height: 60px;

        padding: 0 16px;
    }

    .content {
        padding: 16px;
    }

    .cards {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .card {
        padding: 15px;
    }

    .metric {
        font-size: 23px;
    }

    .panel {
        padding: 16px;

        overflow: hidden;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 35px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .property-footer {
        align-items: center;
    }

    .install-text {
        min-width: 0;
    }

    .install-text strong,
    .install-text small {
        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   DEVELOPMENT PORTFOLIO
   ========================================================= */

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

.development-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.development-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.development-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #171b20,
            #30363d
        );
}

.development-visual {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(212,175,55,0.18),
            transparent 55%
        );
}

.development-icon {
    font-size: 65px;
    filter: grayscale(0.1);
}

.development-name {
    color: var(--white);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.development-status {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 12px;
    border-radius: 20px;
    color: var(--white);
    background: rgba(16,19,23,0.88);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.development-status.progress {
    background: rgba(212,175,55,0.95);
    color: var(--black);
}

.development-status.commercial {
    background: rgba(31,95,138,0.95);
}

.development-status.managed {
    background: rgba(19,115,51,0.95);
}

.development-body {
    padding: 25px;
}

.development-category {
    margin-bottom: 7px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.development-body h3 {
    margin-bottom: 7px;
    font-size: 25px;
}

.development-location {
    margin-bottom: 15px;
    color: var(--text-soft);
    font-size: 13px;
}

.development-description {
    min-height: 65px;
    margin-bottom: 20px;
    color: #555d66;
    font-size: 14px;
    line-height: 1.7;
}

.unit-summary {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.unit-summary > div {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    border-radius: 9px;
    background: #f6f7f8;
}

.unit-summary strong {
    display: block;
    font-size: 20px;
    color: var(--text);
}

.unit-summary span {
    display: block;
    margin-top: 2px;
    color: var(--text-soft);
    font-size: 10px;
}

.unit-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.unit-breakdown span {
    padding: 7px 9px;
    border-radius: 7px;
    background: #f5f6f7;
    color: #555d66;
    font-size: 11px;
}

.unit-breakdown strong {
    color: var(--gold-dark);
}

.development-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
}

.development-link {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
}

.development-link:hover {
    color: var(--black);
}


/* =========================================================
   DEVELOPMENT MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .development-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .development-image {
        height: 220px;
    }

    .development-name {
        font-size: 22px;
    }

    .development-body {
        padding: 20px;
    }

    .development-body h3 {
        font-size: 22px;
    }

    .unit-summary {
        gap: 5px;
    }

    .unit-summary > div {
        padding: 10px 5px;
    }

    .development-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .development-footer .btn {
        width: 100%;
    }

    .development-link {
        text-align: center;
    }

}