/* U Property shared site styles */
:root {
    --primary: #bc2026;
    --primary-dark: #94161b;
    --gold: #c99b37;
    --gold-light: #e8c978;
    --dark: #222222;
    --dark-light: #333333;
    --text: #343434;
    --muted: #747474;
    --light: #f8f7f4;
    --border: #e7e1d6;
    --white: #ffffff;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans TC", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

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

ul {
    list-style: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--dark);
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
}

.heading-line {
    width: 55px;
    height: 3px;
    margin: 15px auto;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 25px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-gold:hover {
    background: #ae8125;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    color: var(--white);
    background: var(--gold);
}

/* =========================
   Header D
========================== */

.topbar {
    background: linear-gradient(90deg, #202020, #303030);
    color: var(--white);
    font-size: 14px;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar-features,
.topbar-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.topbar-item i {
    color: var(--gold-light);
}

.topbar-contact a {
    transition: 0.2s ease;
}

.topbar-contact a:hover {
    color: var(--gold-light);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(231, 225, 214, 0.8);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: clamp(230px, 24vw, 310px);
    min-width: 0;
    padding: 8px 22px 8px 0;
    border-right: 1px solid rgba(231, 225, 214, 0.9);
}

.logo img {
    width: 100%;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 86px;
    padding: 0 12px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    color: var(--dark);
    transition: 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 18px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: 210px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.submenu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    white-space: nowrap;
}

.submenu a:hover {
    color: var(--primary);
    background: #faf7f0;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-property-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(188, 32, 38, 0.18);
    transition: 0.25s ease;
}

.search-property-btn:hover {
    background: linear-gradient(135deg, var(--gold), #aa7d22);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(170, 125, 34, 0.22);
}

.mobile-toggle {
    display: none;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--light);
    color: var(--primary);
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* =========================
   Hero
========================== */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 38%,
            rgba(255, 255, 255, 0.12) 72%),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(201, 155, 55, 0.07),
            transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 670px;
    padding: 90px 0 130px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.14em;
    margin-bottom: 14px;

    background: linear-gradient(180deg,
            #e2bd5d 0%,
            #b98625 48%,
            #8e6217 100%);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    filter: drop-shadow(0 5px 10px rgba(91, 61, 8, 0.18));
}

.hero h2 {
    font-size: clamp(25px, 4vw, 40px);
    color: var(--dark);
    letter-spacing: 7px;
    margin-bottom: 18px;
}

.hero-description {
    max-width: 560px;
    color: #555;
    font-size: 18px;
    margin-bottom: 24px;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 32px;
}

.hero-services span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hero-services i {
    color: var(--gold);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}



/* =========================
   Property cards
========================== */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.property-card {
    background: var(--white);
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.property-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.property-image {
    position: relative;
    height: 235px;
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 5px 11px;
    color: var(--white);
    background: var(--gold);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}

.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--primary);
    background: var(--white);
    cursor: pointer;
}

.property-content {
    padding: 22px;
}

.property-content h3 {
    font-size: 21px;
    margin-bottom: 9px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 11px;
}

.property-location {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-price {
    color: var(--primary);
    font-size: 21px;
    font-weight: 700;
}

/* =========================
   Services
========================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    min-height: 260px;
    padding: 35px 28px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: 0.3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-size: 31px;
    transition: 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--white);
    background: var(--gold);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   Why choose us
========================== */

.why-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    min-height: 560px;
    object-fit: cover;
}

.experience-box {
    position: absolute;
    right: -25px;
    bottom: 35px;
    width: 190px;
    padding: 25px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-box strong {
    display: block;
    font-size: 40px;
    color: var(--gold-light);
}

.why-content h2 {
    font-size: clamp(30px, 4vw, 43px);
    margin-bottom: 17px;
}

.why-content>p {
    color: var(--muted);
    margin-bottom: 28px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    border: 1px solid var(--border);
    background: var(--white);
}

.why-item i {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--gold);
    border-radius: 50%;
}

.why-item h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.why-item p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   Statistics
========================== */

.statistics {
    position: relative;
    padding: 70px 0;
    color: var(--white);
    background:
        linear-gradient(rgba(184, 135, 32, 0.89), rgba(184, 135, 32, 0.89)),
        url("https://images.unsplash.com/photo-1536599018102-9f803c140fc1?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

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

.stat-item {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item i {
    font-size: 26px;
    margin-bottom: 12px;
}

.stat-number {
    display: block;
    font-size: 43px;
    line-height: 1.2;
    font-weight: 700;
}

.stat-label {
    font-size: 16px;
}

/* =========================
   News
========================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--white);
    border: 1px solid #ececec;
    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

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

.news-category {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 5px 10px;
    color: var(--white);
    background: var(--primary);
    font-size: 12px;
}

.news-content {
    padding: 22px;
}

.news-date {
    display: block;
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 19px;
    margin-bottom: 9px;
    line-height: 1.45;
}

.news-content p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   CTA
========================== */

.cta-section {
    position: relative;
    padding: 75px 0;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(248, 244, 234, 0.98),
            rgba(255, 255, 255, 0.9)),
        url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=80") right center / cover no-repeat;
}

.cta-content {
    max-width: 720px;
}

.cta-content h2 {
    color: #a87818;
    font-size: clamp(30px, 4vw, 45px);
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 25px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

/* =========================
   Footer
========================== */

.footer {
    color: #d9d9d9;
    background: #202020;
}

.footer-main {
    padding: 65px 0 45px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 45px;
}

.footer-logo {
    max-width: 300px;
    padding: 12px;
    margin-bottom: 20px;
    background: var(--white);
}

.footer-about p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 18px;
}

.footer-about h1 {
    background: linear-gradient(180deg,
            #e2bd5d 0%,
            #b98625 48%,
            #8e6217 100%);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    transition: 0.2s ease;
}

.social-links a:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links li,
.footer-contact li,
.opening-hours li {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 14px;
}

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

.footer-contact li {
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 5px;
}

.footer-bottom {
    padding: 20px 0;
    color: #fff;
    border-top: 1px solid #363636;
    font-size: 13px;
    background-color: #000;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Floating WhatsApp */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.24);
    font-size: 28px;
    transition: 0.25s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
}

/* =========================
   Staff Login
========================== */

.staff-login-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background:
        radial-gradient(circle at 8% 20%, rgba(201, 155, 55, 0.18), transparent 28%),
        linear-gradient(135deg, #fffaf1 0%, #ffffff 48%, #f7f4ee 100%);
}

.staff-login-section::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -120px;
    width: 420px;
    height: 420px;
    border: 72px solid rgba(188, 32, 38, 0.06);
    border-radius: 50%;
}

.staff-login-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: center;
}

.staff-login-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 14px;
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(188, 32, 38, 0.12);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.staff-login-copy h1 {
    margin-bottom: 18px;
    color: #a87818;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.staff-login-copy p {
    max-width: 610px;
    color: var(--muted);
    font-size: 18px;
}

.staff-login-points {
    display: grid;
    gap: 13px;
    margin-top: 28px;
}

.staff-login-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-weight: 600;
}

.staff-login-points i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.staff-login-card {
    padding: 34px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.staff-login-card-header {
    margin-bottom: 26px;
    text-align: center;
}

.staff-login-card-header img {
    width: min(100%, 275px);
    margin: 0 auto 20px;
}

.staff-login-card-header h2 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 27px;
}

.staff-login-card-header p {
    color: var(--muted);
    font-size: 15px;
}

.form-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.form-message-error {
    color: #8b1218;
    background: #fff2f2;
    border: 1px solid rgba(188, 32, 38, 0.18);
}

.staff-login-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--dark);
    font-weight: 700;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: var(--gold);
    transform: translateY(-50%);
}

.input-with-icon input {
    width: 100%;
    min-height: 52px;
    padding: 13px 46px;
    color: var(--dark);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: 0.2s ease;
}

.input-with-icon input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 155, 55, 0.16);
    outline: none;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus {
    color: var(--primary);
    background: #fff4f4;
    outline: none;
}

.staff-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 14px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.staff-login-options a {
    color: var(--primary);
    font-weight: 700;
}

.staff-login-submit {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(188, 32, 38, 0.22);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.staff-login-submit:hover,
.staff-login-submit:focus {
    background: linear-gradient(135deg, var(--gold), #aa7d22);
    transform: translateY(-1px);
    outline: none;
}

.staff-login-help {
    margin-top: 18px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.staff-login-help a {
    color: var(--primary);
    font-weight: 800;
}

/* =========================
   Responsive
========================== */

@media (max-width: 1100px) {
    .topbar-features {
        display: none;
    }

    .topbar-inner {
        justify-content: flex-end;
    }

    .logo {
        width: 245px;
        padding-right: 14px;
    }

    .nav-link {
        padding-inline: 8px;
        font-size: 13px;
    }

    .search-property-btn {
        min-height: 42px;
        padding-inline: 14px;
        font-size: 14px;
    }

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

    .search-submit {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: none;
    }

    .header-inner {
        min-height: 78px;
        justify-content: space-between;
        gap: 12px;
    }

    .logo {
        width: min(260px, calc(100% - 58px));
        padding-right: 0;
        border-right: 0;
    }

    .logo img {
        max-height: 56px;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 18px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.1);
    }

    .nav.open {
        display: block;
    }

    .nav-list {
        display: grid;
        gap: 2px;
    }

    .nav-link {
        min-height: auto;
        justify-content: space-between;
        padding: 12px 4px;
        border-bottom: 1px solid #f0ece4;
    }

    .nav-link::after {
        display: none;
    }

    .submenu {
        position: static;
        width: 100%;
        display: none;
        min-width: 0;
        margin: 0 0 8px;
        padding: 6px 0 6px 12px;
        border-top: 0;
        border: 0;
        border-left: 3px solid var(--gold);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item:hover .submenu,
    .nav-item:focus-within .submenu,
    .nav-item.is-open .submenu {
        display: block;
    }

    .nav-item.is-open>.nav-link {
        color: var(--primary);
    }

    .search-property-btn {
        display: none;
    }

    .hero {
        min-height: 590px;
        background:
            linear-gradient(90deg,
                rgba(255, 255, 255, 0.95),
                rgba(255, 255, 255, 0.74)),
            url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
    }

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

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

    .why-image img {
        min-height: 420px;
    }

    .experience-box {
        right: 20px;
    }

    .staff-login-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .staff-login-copy {
        text-align: center;
    }

    .staff-login-copy p {
        margin-inline: auto;
    }

    .staff-login-points {
        max-width: 460px;
        margin-inline: auto;
        text-align: left;
    }

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

@media (max-width: 650px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 60px 0;
    }

    .logo {
        width: 225px;
    }

    .hero-content {
        padding: 70px 0 120px;
    }

    .hero h1 {
        letter-spacing: 2px;
    }

    .hero h2 {
        letter-spacing: 3px;
    }

    

    .stat-item {
        padding: 22px 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .experience-box {
        position: static;
        width: 100%;
    }

    .staff-login-section {
        padding: 64px 0;
    }

    .staff-login-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .staff-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
