:root {
    --gold: #c79322;
    --gold-bright: #e2b549;
    --gold-light: #f1deb1;
    --cream: #f6f1e7;
    --cream-soft: #fbf9f4;
    --white: #ffffff;
    --black: #171717;
    --dark: #20201e;
    --text: #222222;
    --gray: #696969;
    --border: #e5dfd4;
    --max-width: 1180px;
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.page-shell {
    min-height: 100vh;
}

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}


/* TYPE */

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* NAV */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(24, 24, 23, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-logo {
    width: 132px;
    height: 64px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .main-nav > a {
        color: rgba(255,255,255,0.87);
        font-size: 0.9rem;
        transition: color 0.2s ease;
    }

        .main-nav > a:hover {
            color: var(--gold-bright);
        }

.nav-contact {
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 999px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
}

.language-button {
    padding: 6px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

    .language-button.active {
        background: var(--gold);
        color: #111;
        font-weight: 800;
    }

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 1.7rem;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    padding: 80px 0 70px;
    background: linear-gradient( 115deg, #fbf7ef 0%, #ffffff 46%, #f2e3bd 100% );
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.hero-glow-one {
    width: 500px;
    height: 500px;
    right: -120px;
    top: -180px;
    background: rgba(202,151,34,0.16);
}

.hero-glow-two {
    width: 350px;
    height: 350px;
    left: -160px;
    bottom: -180px;
    background: rgba(202,151,34,0.10);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-content h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(3.2rem, 5.2vw, 5.8rem);
    font-weight: 400;
    line-height: 0.99;
}

    .hero-content h1 em {
        display: block;
        margin-top: 12px;
        color: var(--gold);
        font-size: 0.58em;
        font-weight: 400;
        line-height: 1.1;
    }

.hero-description {
    max-width: 640px;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 48px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--black);
    color: white;
}

    .btn-primary:hover {
        background: var(--gold);
    }

.btn-secondary {
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
}

    .btn-secondary:hover {
        background: var(--black);
        color: white;
    }

.btn-gold {
    background: var(--gold);
    color: #111;
    font-weight: 800;
}

.btn-full {
    width: 100%;
}

.hero-details {
    margin-top: 45px;
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    border-top: 1px solid rgba(0,0,0,0.12);
}

    .hero-details div {
        display: flex;
        flex-direction: column;
    }

    .hero-details small {
        color: var(--gray);
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .hero-details strong {
        font-size: 0.95rem;
    }

.hero-visual {
    position: relative;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    border-radius: 260px 260px 24px 24px;
    background: #eee;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.agent-card {
    position: absolute;
    left: -35px;
    bottom: 30px;
    min-width: 280px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(199,147,34,0.22);
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 20px 50px rgba(0,0,0,0.14);
    backdrop-filter: blur(10px);
}

    .agent-card span {
        color: var(--gold);
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .agent-card strong {
        margin-top: 3px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.25rem;
    }

    .agent-card small {
        color: var(--gray);
    }


/* TRUST */

.trust-strip {
    padding: 24px 0;
    background: white;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    padding: 7px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid var(--border);
}

    .trust-item:last-child {
        border-right: 0;
    }

.trust-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    color: var(--gold);
}

    .trust-icon svg,
    .service-icon svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.trust-item div:last-child {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
}

.trust-item small {
    color: var(--gray);
}


/* GENERAL */

.section {
    padding: 105px 0;
}

.section-light {
    background: var(--cream-soft);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 52px;
}

    .section-heading h2,
    .properties-intro h2,
    .about-content h2,
    .contact-content h2 {
        margin-bottom: 20px;
        font-size: clamp(2.4rem, 4vw, 4rem);
        font-weight: 400;
        line-height: 1.08;
    }

    .section-heading p,
    .properties-intro p,
    .contact-content p {
        color: var(--gray);
    }


/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    min-height: 330px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 60px rgba(0,0,0,0.08);
    }

.service-number {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.service-icon {
    width: 46px;
    height: 46px;
    margin-top: 44px;
    color: var(--gold);
}

.service-card h3 {
    margin: 16px 0 12px;
    font-size: 1.8rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.92rem;
}


/* PROPERTIES */

.property-section {
    background: white;
}

.properties-intro {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: end;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.platform-card {
    min-height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: white;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .platform-card:hover {
        background: var(--cream-soft);
    }

.platform-logo-box {
    height: 125px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .platform-logo-box img {
        max-width: 190px;
        max-height: 105px;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.2s ease;
    }

.platform-card:hover
.platform-logo-box img {
    transform: scale(1.04);
}

.platform-card h3 {
    margin-bottom: 7px;
    font-size: 1.35rem;
}

.platform-card p {
    flex: 1;
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 0.87rem;
}

.platform-card span {
    color: var(--gold);
    font-size: 0.84rem;
    font-weight: 800;
}

.property-cta {
    margin-top: 38px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid var(--border);
    background: var(--cream);
}

    .property-cta p {
        color: var(--gray);
    }

/* FEATURED PROPERTIES */

.featured-properties-section {
    background: var(--cream-soft);
}

.featured-properties-heading {
    margin-bottom: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

    .featured-properties-heading > div {
        max-width: 720px;
    }

    .featured-properties-heading h2 {
        margin-bottom: 16px;
        font-size: clamp(2.4rem, 4vw, 4rem);
        font-weight: 400;
        line-height: 1.08;
    }

    .featured-properties-heading p {
        max-width: 650px;
        color: var(--gray);
    }

.featured-property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.featured-property-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .featured-property-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.10);
    }

.featured-property-image {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
    background: var(--cream);
}

    .featured-property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.featured-property-card:hover
.featured-property-image img {
    transform: scale(1.035);
}

.property-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--cream), var(--gold-light) );
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.property-status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(23,23,23,0.92);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.featured-property-content {
    padding: 24px;
}

.featured-property-price {
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 800;
}

.featured-property-content h3 {
    margin-bottom: 7px;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.15;
}

    .featured-property-content h3 a {
        transition: color 0.2s ease;
    }

        .featured-property-content h3 a:hover {
            color: var(--gold);
        }

.featured-property-location {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 0.9rem;
}

.featured-property-meta {
    min-height: 42px;
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.82rem;
}

.property-card-link {
    margin-top: 20px;
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    transition: transform 0.2s ease;
}

    .property-card-link:hover {
        transform: translateX(3px);
    }


/* FEATURED PROPERTIES - TABLET */

@media (max-width: 1000px) {

    .featured-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* FEATURED PROPERTIES - MOBILE */

@media (max-width: 700px) {

    .featured-properties-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .featured-property-grid {
        grid-template-columns: 1fr;
    }

    .featured-property-image {
        height: 250px;
    }

    .featured-properties-heading .btn {
        width: 100%;
    }
}

/* PUBLIC PROPERTY HUB */

.properties-page-hero {
    padding: 90px 0 70px;
    background: linear-gradient( 115deg, #fbf7ef 0%, #ffffff 55%, #f2e3bd 100% );
    border-bottom: 1px solid var(--border);
}

    .properties-page-hero h1 {
        max-width: 780px;
        margin-bottom: 18px;
        font-size: clamp(3rem, 5vw, 5rem);
        font-weight: 400;
        line-height: 1;
    }

    .properties-page-hero p {
        max-width: 700px;
        color: var(--gray);
        font-size: 1.05rem;
    }

.public-properties-section {
    background: var(--white);
}

.public-properties-heading {
    margin-bottom: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

    .public-properties-heading h2 {
        font-size: clamp(2.3rem, 3.5vw, 3.5rem);
        font-weight: 400;
        line-height: 1.08;
    }

.property-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.public-property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.public-property-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .public-property-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.10);
    }

.public-property-image {
    position: relative;
    height: 290px;
    display: block;
    overflow: hidden;
    background: var(--cream);
}

    .public-property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.public-property-card:hover
.public-property-image img {
    transform: scale(1.035);
}

.property-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.public-property-content {
    padding: 26px;
}

.public-property-price {
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 800;
}

.public-property-content h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.15;
}

    .public-property-content h2 a {
        transition: color 0.2s ease;
    }

        .public-property-content h2 a:hover {
            color: var(--gold);
        }

.public-property-location {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.public-property-meta {
    min-height: 45px;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.82rem;
}

    .public-property-meta strong {
        color: var(--text);
    }

.properties-loading {
    padding: 80px 0;
    text-align: center;
    color: var(--gray);
}

.public-properties-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 30px;
    text-align: center;
    border: 1px solid var(--border);
    background: var(--cream-soft);
}

    .public-properties-empty h2 {
        margin-bottom: 15px;
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 400;
    }

    .public-properties-empty p {
        max-width: 600px;
        margin: 0 auto;
        color: var(--gray);
    }

.empty-properties-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* PUBLIC PROPERTY HUB - TABLET */

@media (max-width: 1000px) {

    .public-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* PUBLIC PROPERTY HUB - MOBILE */

@media (max-width: 700px) {

    .properties-page-hero {
        padding: 65px 0 50px;
    }

        .properties-page-hero h1 {
            font-size: clamp(2.7rem, 12vw, 4rem);
        }

    .public-properties-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .public-property-grid {
        grid-template-columns: 1fr;
    }

    .public-property-image {
        height: 255px;
    }

    .empty-properties-actions {
        flex-direction: column;
    }

        .empty-properties-actions .btn {
            width: 100%;
        }
}

/* PROPERTY DETAILS */

.property-detail-loading {
    padding: 80px 0;
    text-align: center;
    color: var(--gray);
}

.property-not-found {
    min-height: 65vh;
    display: flex;
    align-items: center;
    background: var(--cream-soft);
}

    .property-not-found .container {
        max-width: 800px;
        text-align: center;
    }

    .property-not-found h1 {
        margin-bottom: 18px;
        font-size: clamp(2.8rem, 5vw, 4.5rem);
        font-weight: 400;
        line-height: 1.05;
    }

    .property-not-found p {
        max-width: 620px;
        margin: 0 auto 28px;
        color: var(--gray);
    }

.property-detail-hero {
    padding: 55px 0 45px;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--border);
}

.property-back-link {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--gray);
    font-size: 0.88rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .property-back-link:hover {
        color: var(--gold);
        transform: translateX(-3px);
    }

.property-detail-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.property-detail-badges {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-status-badge-static,
.property-featured-badge-static {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.property-status-badge-static {
    background: var(--black);
    color: white;
}

.property-featured-badge-static {
    background: var(--gold);
    color: #111;
}

.property-detail-title-row h1 {
    max-width: 850px;
    margin-bottom: 10px;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1;
}

.property-detail-location {
    color: var(--gray);
    font-size: 1rem;
}

.property-detail-price {
    flex: 0 0 auto;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 1;
}


.property-gallery-section {
    padding: 55px 0 0;
    background: white;
}

.property-gallery {
    display: grid;
    gap: 16px;
}

.property-main-image {
    height: min(68vh, 720px);
    overflow: hidden;
    background: var(--cream);
}

    .property-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.property-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.property-thumbnail {
    height: 105px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--cream);
    opacity: 0.72;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

    .property-thumbnail:hover,
    .property-thumbnail.active {
        opacity: 1;
    }

    .property-thumbnail.active {
        border-color: var(--gold);
    }

    .property-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.property-detail-placeholder {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--cream), var(--gold-light) );
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
}


.property-information-section {
    background: white;
}

.property-information-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 80px;
    align-items: start;
}

.property-facts {
    margin: 20px 0 55px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.property-fact {
    min-height: 120px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

    .property-fact small {
        margin-bottom: 5px;
        color: var(--gray);
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .property-fact strong {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.3rem;
        font-weight: 400;
    }

.property-description,
.property-address {
    max-width: 760px;
}

.property-description {
    margin-bottom: 50px;
}

    .property-description h2,
    .property-address h2 {
        margin-bottom: 18px;
        font-size: 2rem;
        font-weight: 400;
    }

    .property-description p,
    .property-address p {
        color: var(--gray);
        white-space: pre-line;
    }

        .property-address p + p {
            margin-top: 4px;
        }


.property-contact-card {
    position: sticky;
    top: 105px;
    padding: 34px;
    border: 1px solid var(--border);
    background: var(--cream-soft);
}

    .property-contact-card h2 {
        margin-bottom: 16px;
        font-size: 2rem;
        font-weight: 400;
        line-height: 1.1;
    }

    .property-contact-card > p {
        color: var(--gray);
    }

.property-agent {
    margin: 28px 0;
    padding: 22px 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

    .property-agent strong {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.2rem;
    }

    .property-agent span,
    .property-agent small {
        color: var(--gray);
    }

.property-contact-actions {
    display: grid;
    gap: 10px;
}

.property-contact-link {
    margin-top: 8px;
    text-align: center;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
}


/* PROPERTY DETAILS - TABLET */

@media (max-width: 1000px) {

    .property-information-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .property-contact-card {
        position: static;
    }

    .property-thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* PROPERTY DETAILS - MOBILE */

@media (max-width: 700px) {

    .property-detail-hero {
        padding: 40px 0 35px;
    }

    .property-detail-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .property-detail-price {
        font-size: 2.2rem;
    }

    .property-gallery-section {
        padding-top: 30px;
    }

    .property-main-image {
        height: 330px;
    }

    .property-thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-thumbnail {
        height: 80px;
    }

    .property-detail-placeholder {
        height: 330px;
    }

    .property-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-contact-card {
        padding: 26px 22px;
    }
}


/* ABOUT */

.about-section {
    background: var(--dark);
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.about-image-wrapper {
    position: relative;
}

.about-accent {
    position: absolute;
    width: 85%;
    height: 92%;
    left: -25px;
    top: -25px;
    border: 1px solid var(--gold);
}

.about-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 570px;
    object-fit: cover;
    object-position: center 20%;
}

.eyebrow-light {
    color: var(--gold-bright);
}

.about-content h2 {
    color: white;
}

.about-lead {
    max-width: 650px;
    color: rgba(255,255,255,0.78);
    font-size: 1.12rem;
}

.about-content blockquote {
    margin: 28px 0;
    color: var(--gold-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-style: italic;
}

.about-meta {
    margin-top: 35px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

    .about-meta div {
        display: flex;
        flex-direction: column;
    }

    .about-meta small {
        color: rgba(255,255,255,0.45);
    }

.facebook-button {
    display: inline-block;
    margin-top: 30px;
    color: var(--gold-bright);
    font-weight: 800;
}


/* SELLER */

.seller-banner {
    padding: 70px 0;
    background: linear-gradient( 110deg, #eee4cf, #fff7e5 );
}

.seller-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.seller-banner h2 {
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
}


/* CONTACT */

.contact-section {
    background: var(--cream-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 80px;
}

.contact-details {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .contact-details a {
        width: fit-content;
        display: flex;
        flex-direction: column;
    }

    .contact-details small {
        color: var(--gray);
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

.contact-form {
    padding: 42px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 7px;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid #d8d4ca;
        border-radius: 4px;
        background: white;
        outline: none;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--gold);
        }

    .form-group textarea {
        resize: vertical;
    }

.form-status {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid var(--gold-light);
    background: #fff9eb;
    color: #6a4b0a;
    font-size: 0.86rem;
}


/* FOOTER */

.site-footer {
    padding: 48px 0 28px;
    background: #131313;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.footer-brand img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.footer-brand p,
.footer-person span,
.footer-contact a {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

.footer-person,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-copy {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
}


/* ERROR */

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 99999;
    padding: 10px 18px;
    background: #fff3cd;
    color: #111;
}


/* TABLET */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* SMALL TABLET / MOBILE */

@media (max-width: 850px) {

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        padding: 25px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        background: #181817;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

        .main-nav.open {
            display: flex;
        }

    .hero {
        min-height: auto;
        padding: 60px 0 80px;
    }

    .hero-grid,
    .properties-intro,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-image-frame {
        min-height: 540px;
    }

    .agent-card {
        left: 20px;
    }

    .properties-intro {
        gap: 20px;
    }

    .about-grid,
    .contact-grid {
        gap: 55px;
    }

    .seller-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* PHONE */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    .nav-container {
        min-height: 70px;
    }

    .brand-logo {
        width: 105px;
        height: 52px;
    }

    .main-nav {
        top: 70px;
    }

    html {
        scroll-padding-top: 75px;
    }

    .hero {
        padding: 45px 0 65px;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .hero-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .hero-image-frame {
        min-height: 445px;
        border-radius: 170px 170px 18px 18px;
    }

    .agent-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 30px);
        margin: -40px auto 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 15px 5px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

        .trust-item:last-child {
            border-bottom: 0;
        }

    .section {
        padding: 72px 0;
    }

    .services-grid,
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .platform-card {
        min-height: 290px;
    }

    .platform-logo-box {
        height: 105px;
    }

    .property-cta {
        align-items: flex-start;
        flex-direction: column;
    }

        .property-cta .btn {
            width: 100%;
        }

    .about-image {
        height: 450px;
    }

    .about-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .seller-banner {
        padding: 55px 0;
    }

        .seller-banner .btn {
            width: 100%;
        }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 26px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-copy {
        grid-column: auto;
    }
}
/* Remove ugly default focus boxes while keeping keyboard focus visible */

a,
button,
input,
textarea,
select {
    outline: none;
}

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 3px;
    }

.hero a:focus,
.hero button:focus,
.brand:focus {
    box-shadow: none;
}
*:focus {
    box-shadow: none;
}
/* Remove any remaining layout/frame outline */

html,
body,
main,
.page-shell,
#app {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

    main:focus,
    main:focus-visible,
    .page-shell:focus,
    .page-shell:focus-visible,
    #app:focus,
    #app:focus-visible {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

/* ADMIN LOGIN */

.admin-login-page {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--cream-soft), var(--cream) );
}

.admin-login-card {
    width: min(100%, 460px);
    padding: 42px;
    border: 1px solid var(--border);
    background: white;
    box-shadow: 0 25px 70px rgba(0,0,0,0.10);
}

.admin-login-brand {
    margin-bottom: 30px;
}

    .admin-login-brand img {
        width: 145px;
        height: 75px;
        object-fit: contain;
    }

.admin-login-heading {
    margin-bottom: 28px;
}

    .admin-login-heading > span {
        display: block;
        margin-bottom: 8px;
        color: var(--gold);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.15em;
    }

    .admin-login-heading h1 {
        margin-bottom: 10px;
        font-size: 2.6rem;
        font-weight: 400;
    }

    .admin-login-heading p {
        color: var(--gray);
    }

.admin-login-error {
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid #d7a4a4;
    background: #fff4f4;
    color: #8a2626;
    font-size: 0.88rem;
}

.admin-login-form {
    display: grid;
    gap: 18px;
}

.admin-login-field {
    display: grid;
    gap: 7px;
}

    .admin-login-field label {
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .admin-login-field input {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid #d8d4ca;
        border-radius: 4px;
        background: white;
        outline: none;
    }

        .admin-login-field input:focus {
            border-color: var(--gold);
        }

.admin-login-button {
    min-height: 48px;
    margin-top: 4px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--black);
    color: white;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .admin-login-button:hover {
        background: var(--gold);
        transform: translateY(-2px);
    }

.admin-login-back {
    display: block;
    margin-top: 24px;
    text-align: center;
    color: var(--gray);
    font-size: 0.82rem;
}

    .admin-login-back:hover {
        color: var(--gold);
    }


@media (max-width: 600px) {

    .admin-login-page {
        padding: 25px 15px;
    }

    .admin-login-card {
        padding: 30px 22px;
    }

    .admin-login-heading h1 {
        font-size: 2.2rem;
    }
}