/* ============ ESTATIA — Full CSS ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --navy: #0a1f44;
    --navy-2: #12285a;
    --navy-deep: #050f26;
    --gold: #c9a961;
    --white: #ffffff;
    --off: #f6f8fc;
    --muted: #6b7591;
    --line: rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 30px 60px -20px rgba(10, 31, 68, 0.25);
    --shadow-md: 0 10px 30px -10px rgba(10, 31, 68, 0.18);
    --radius: 18px;
    --green: #16a34a;
    --red: #dc2626;
    --orange: #ea580c;
    --blue: #2563eb;
}
html,
body {
    background: var(--white);
    color: var(--navy);
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    line-height: 1.6;
}
h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--navy);
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}
.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}
input,
select,
textarea {
    font-family: inherit;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: all 0.4s ease;
    background: transparent;
}
.nav.scrolled,
body.is-auth .nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--line);
    padding: 14px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    letter-spacing: 0.14em;
    font-weight: 600;
}
.brand span {
    color: var(--gold);
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a,
.nav-links button {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding: 8px 16px;
    transition: color 0.3s;
    background: none;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}
.nav-links a:not(.nav-cta):hover {
    color: var(--gold);
}
.nav-cta {
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-cta:hover {
    background: var(--gold) !important;
    transform: translateY(-2px);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.burger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
}

/* FLASH */
.flash {
    margin: 100px auto 0;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
}
.flash-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.flash-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
body.is-auth .flash {
    margin-top: 20px;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fbff 0%, #eef2fb 100%);
}
#hero-canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    width: min(1240px, 92%);
    margin: 0 auto;
}
.hero-content {
    max-width: 600px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 169, 97, 0.12);
    color: #8a6f2a;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 26px;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.hero h1 {
    font-size: clamp(38px, 5.5vw, 68px);
    margin-bottom: 24px;
}
.hero h1 .accent {
    color: var(--gold);
    font-style: italic;
}
.hero-sub {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 38px;
    max-width: 520px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}
.btn-primary {
    background: var(--navy);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}
.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    padding: 16px 32px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    cursor: pointer;
}
.btn-ghost:hover {
    background: var(--navy);
    color: var(--white);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px;
}
.hero-stats {
    display: flex;
    gap: 44px;
}
.stat .num {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    color: var(--navy);
    font-weight: 600;
}
.stat .lbl {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* SEARCH */
.search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -40px;
}
.search-bar {
    background: var(--white);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line);
}
.search-field {
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
}
.search-field + .search-field {
    border-left: 1px solid var(--line);
}
.search-field label {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
.search-field input,
.search-field select {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    background: transparent;
    padding: 2px 0;
    cursor: pointer;
    width: 100%;
}
.search-btn {
    background: var(--navy);
    color: var(--white);
    padding: 18px 28px;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.search-btn:hover {
    background: var(--gold);
    transform: scale(1.03);
}

/* SECTIONS */
section {
    padding: 120px 0;
    position: relative;
}
.sec-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 70px;
}
.sec-eyebrow {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}
.sec-head h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 18px;
}
.sec-head h2 em {
    color: var(--gold);
    font-style: italic;
}
.sec-head p {
    color: var(--muted);
    font-size: 17px;
}

/* CARDS */
.props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    display: block;
    color: inherit;
}
.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.card-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.card:hover .card-img img {
    transform: scale(1.08);
}
.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.card-tag.gold {
    background: var(--gold);
    color: var(--white);
}
.card-body {
    padding: 24px;
}
.card-price {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 6px;
}
.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--navy);
}
.card-loc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}
.card-specs {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.spec .v {
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
}
.spec .l {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
    text-align: center;
}
.spec {
    text-align: center;
}

/* SHOWCASE */
.showcase {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.showcase .sec-head h2,
.showcase h3 {
    color: var(--white);
}
.showcase .sec-head p {
    color: rgba(255, 255, 255, 0.7);
}
#showcase-canvas {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 80%;
    z-index: 1;
    opacity: 0.9;
}
.showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.feature {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    transition: all 0.4s;
    cursor: pointer;
}
.feature:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: var(--gold);
    transform: translateX(8px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.feature h3 {
    font-size: 20px;
    margin-bottom: 6px;
}
.feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* CTA */
.cta-banner {
    padding: 100px 0;
}
.cta-inner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-inner h2 {
    color: white;
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 16px;
}
.cta-inner h2 em {
    color: var(--gold);
}
.cta-inner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 17px;
}
.cta-inner .btn-primary {
    background: var(--gold);
}
.cta-inner .btn-primary:hover {
    background: white;
    color: var(--navy);
}

/* FOOTER */
footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.foot-brand {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    color: white;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}
.foot-brand span {
    color: var(--gold);
}
.foot-col h4 {
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 600;
}
.foot-col a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: 0.3s;
    cursor: pointer;
}
.foot-col a:hover {
    color: var(--gold);
    padding-left: 6px;
}
.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}
.reveal-x-l {
    opacity: 0;
    transform: translateX(-40px);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* PROPERTIES LIST */
.page-head {
    padding: 140px 0 40px;
    background: linear-gradient(135deg, #f9fbff, #eef2fb);
}
.page-head h1 {
    font-size: clamp(32px, 4vw, 54px);
}
.page-head p {
    color: var(--muted);
}
.listing-wrap {
    padding: 40px 0 100px;
    background: var(--off);
}
.listing-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}
.sidebar {
    background: white;
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-md);
}
.sidebar h3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
}
.filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.filter-group:last-child {
    border-bottom: none;
}
.filter-group label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 8px;
}
.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    outline: none;
    transition: 0.2s;
}
.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--gold);
}
.results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.results-head strong {
    color: var(--navy);
}
.results-head select {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    font-size: 14px;
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pagination-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.pagination-wrap ul {
    display: flex;
    gap: 6px;
    list-style: none;
}
.pagination-wrap a,
.pagination-wrap span {
    padding: 10px 14px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 14px;
    color: var(--navy);
    cursor: pointer;
}
.pagination-wrap .active span {
    background: var(--navy);
    color: white;
}

/* DETAIL */
.detail-hero {
    padding: 110px 0 40px;
    background: var(--off);
}
.detail-hero .breadcrumbs {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}
.detail-hero h1 {
    font-size: clamp(28px, 3.5vw, 44px);
    margin-bottom: 8px;
}
.detail-hero .price-tag {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    color: var(--gold);
    font-weight: 600;
}
.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    margin: 30px 0;
}
.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
    cursor: pointer;
}
.detail-gallery img:first-child {
    grid-row: 1/3;
}
.detail-gallery img:hover {
    opacity: 0.9;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px 0 100px;
}
.detail-content {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}
.detail-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    margin-top: 30px;
}
.detail-content h2:first-child {
    margin-top: 0;
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0;
}
.spec-item {
    background: var(--off);
    padding: 16px;
    border-radius: 12px;
}
.spec-item .l {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.spec-item .v {
    font-weight: 700;
    color: var(--navy);
    margin-top: 4px;
    font-size: 16px;
}
.amenity-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.amenity-list div {
    padding: 10px 14px;
    background: var(--off);
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.amenity-list div::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}
.contact-card {
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}
.agent-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}
.agent-block img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}
.agent-block .name {
    font-weight: 700;
}
.agent-block .role {
    font-size: 12px;
    color: var(--muted);
}
.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}
.contact-card input:focus,
.contact-card textarea:focus {
    border-color: var(--gold);
}
.contact-card button {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}
.contact-card button:hover {
    background: var(--gold);
}
.direct-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}
.direct-btns a {
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: 0.3s;
    color: white;
}
.direct-btns .wa {
    background: #25d366;
}
.direct-btns .call {
    background: var(--navy);
}
.direct-btns a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* AUTH */
.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--off);
}
.auth-side {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-side::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(201, 169, 97, 0.25),
        transparent 70%
    );
}
.auth-side .brand {
    color: white;
    position: relative;
    z-index: 2;
}
.auth-side h2 {
    color: white;
    font-size: 44px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}
.auth-side h2 em {
    color: var(--gold);
}
.auth-side p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-size: 16px;
    position: relative;
    z-index: 2;
}
.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
.auth-card {
    width: 100%;
    max-width: 420px;
}
.auth-card h1 {
    font-size: 32px;
    margin-bottom: 8px;
}
.auth-card > p {
    color: var(--muted);
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}
.form-group .err {
    color: var(--red);
    font-size: 12px;
    margin-top: 4px;
}
.auth-card button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    margin-top: 8px;
}
.auth-card button[type="submit"]:hover {
    background: var(--gold);
}
.auth-alt {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--muted);
}
.auth-alt a {
    color: var(--gold);
    font-weight: 600;
}

/* PANEL */
.panel {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: var(--off);
}
.panel-side {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.8);
    padding: 24px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.panel-side .brand {
    color: white;
    padding: 0 24px 30px;
    font-size: 22px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.panel-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}
.panel-nav .section-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    padding: 12px 24px 6px;
    font-weight: 600;
}
.panel-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    border-left: 3px solid transparent;
}
.panel-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-left-color: var(--gold);
}
.panel-nav a.active {
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.15), transparent);
    color: var(--gold);
    border-left-color: var(--gold);
}
.panel-nav .icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}
.panel-main {
    padding: 30px 40px 60px;
}
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.panel-header h1 {
    font-size: 32px;
    font-family: "Playfair Display", serif;
}
.panel-header .u {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 600;
}
.panel-header .u img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.stat-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}
.stat-card.blue::before {
    background: var(--blue);
}
.stat-card.green::before {
    background: var(--green);
}
.stat-card.orange::before {
    background: var(--orange);
}
.stat-card.red::before {
    background: var(--red);
}
.stat-card .lbl {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
.stat-card .num {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    color: var(--navy);
    font-weight: 600;
    margin-top: 6px;
}
.stat-card .change {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.panel-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.panel-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin-bottom: 16px;
}
.panel-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.panel-card-head h2 {
    margin: 0;
}

/* TABLES */
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.tbl th {
    text-align: left;
    padding: 14px 16px;
    background: var(--off);
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--line);
}
.tbl td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
}
.tbl tr:hover td {
    background: #fafcff;
}
.tbl .thumb {
    width: 60px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-pending {
    background: #fef3c7;
    color: #92400e;
}
.badge-approved {
    background: #dcfce7;
    color: #166534;
}
.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}
.badge-draft {
    background: #e5e7eb;
    color: #374151;
}
.badge-role {
    background: #e0e7ff;
    color: #3730a3;
}
.badge-featured {
    background: var(--gold);
    color: white;
}
.badge-new {
    background: #dbeafe;
    color: #1e40af;
}
.badge-contacted {
    background: #fef3c7;
    color: #92400e;
}
.badge-closed {
    background: #f3f4f6;
    color: #4b5563;
}
.actions {
    display: flex;
    gap: 6px;
}
.actions button,
.actions a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.act-approve {
    background: var(--green);
    color: white;
}
.act-reject {
    background: var(--red);
    color: white;
}
.act-edit {
    background: var(--blue);
    color: white;
}
.act-view {
    background: var(--navy);
    color: white;
}
.act-del {
    background: #e5e7eb;
    color: #374151;
}
.act-feature {
    background: var(--gold);
    color: white;
}
.actions button:hover,
.actions a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* FORMS */
.form-container {
    background: white;
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.form-container h2 {
    font-family: "Playfair Display", serif;
    margin-bottom: 6px;
}
.form-container > p {
    color: var(--muted);
    margin-bottom: 24px;
}
.form-container hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}
.amenities-check {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.amenities-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--off);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}
.amenities-check label:hover {
    background: #eef2fb;
}
.amenities-check input[type="checkbox"] {
    margin: 0;
}
.amenities-check input:checked + span {
    color: var(--gold);
    font-weight: 700;
}
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* REJECT MODAL */
details.reject-details {
    display: inline-block;
}
details.reject-details summary {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--red);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
details.reject-details summary::-webkit-details-marker {
    display: none;
}
details.reject-details[open] {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    width: 280px;
    margin-top: 6px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open {
        display: flex;
    }
    .burger {
        display: flex;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    #hero-canvas {
        opacity: 0.35;
        width: 100%;
    }
    .search-bar {
        grid-template-columns: 1fr;
        padding: 8px;
    }
    .search-field + .search-field {
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .props-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    .showcase-inner {
        grid-template-columns: 1fr;
    }
    #showcase-canvas {
        opacity: 0.3;
        width: 100%;
        right: 0;
    }
    .listing-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .detail-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    .detail-gallery img:first-child {
        grid-row: auto;
        height: 300px;
    }
    .detail-gallery img {
        height: 150px;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    section {
        padding: 80px 0;
    }
    .panel {
        grid-template-columns: 1fr;
    }
    .panel-side {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -260px;
        width: 260px;
        z-index: 100;
        transition: 0.3s;
    }
    .panel-side.open {
        left: 0;
    }
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .spec-grid,
    .amenity-list,
    .amenities-check {
        grid-template-columns: repeat(2, 1fr);
    }
    .auth-wrap {
        grid-template-columns: 1fr;
    }
    .auth-side {
        display: none;
    }
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   XPROPERTY-INSPIRED PREMIUM UI REFRESH
   Visual styling only. Existing Laravel routes, forms and data untouched.
   ================================================================ */
@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Raleway:wght@500;600;700;800&display=swap");

:root {
    --navy: #172321;
    --navy-2: #243c36;
    --navy-deep: #101816;
    --gold: #d7a34a;
    --gold-2: #e7bd70;
    --white: #ffffff;
    --off: #f7f8f5;
    --muted: #6f7874;
    --line: rgba(23, 35, 33, 0.1);
    --shadow-lg: 0 28px 70px rgba(22, 34, 31, 0.13);
    --shadow-md: 0 12px 34px rgba(22, 34, 31, 0.09);
    --radius: 18px;
    --green: #2d735b;
    --red: #c74e4e;
    --orange: #d58a3d;
    --blue: #476d8f;
}

html,
body {
    font-family:
        "Cabin",
        system-ui,
        -apple-system,
        sans-serif;
    background: #fff;
    color: var(--navy);
}
h1,
h2,
h3,
h4,
.brand,
.foot-brand,
.stat .num,
.stat-card .num,
.card-price,
.price-tag,
.panel-header h1,
.panel-card h2,
.form-container h2 {
    font-family: "Raleway", sans-serif !important;
    letter-spacing: -0.035em;
}
.container {
    width: min(1290px, 92%);
}

/* Header */
.nav {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
}
.nav.scrolled,
body.is-auth .nav {
    padding: 13px 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 30px rgba(18, 31, 27, 0.04);
}
.brand {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.brand span {
    color: var(--gold);
}
.nav-links {
    gap: 29px;
}
.nav-links a,
.nav-links button {
    font-size: 14px;
    font-weight: 600;
    color: #32403c;
}
.nav-links a::after {
    height: 2px;
    border-radius: 4px;
    background: var(--gold);
    bottom: -3px;
}
.nav-links a:not(.nav-cta):hover {
    color: var(--navy);
}
.nav-cta {
    border-radius: 8px;
    padding: 12px 21px;
    background: var(--navy) !important;
    box-shadow: 0 8px 24px rgba(23, 35, 33, 0.13);
}
.nav-cta:hover {
    background: var(--gold) !important;
    color: #172321 !important;
    transform: translateY(-1px);
}
.burger {
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    gap: 4px;
}
.burger span {
    width: 22px;
    height: 2px;
    border-radius: 4px;
}

/* Home hero */
.hero {
    min-height: 790px;
    padding: 148px 0 70px;
    background:
        radial-gradient(
            circle at 77% 25%,
            rgba(215, 163, 74, 0.14),
            transparent 31%
        ),
        linear-gradient(135deg, #f8faf7 0%, #f1f4ef 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 35, 33, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 35, 33, 0.025) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to right, #000, transparent 76%);
    pointer-events: none;
}
#hero-canvas {
    width: 55%;
    right: 1%;
    opacity: 0.88;
    filter: saturate(0.78) contrast(0.98);
}
.hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
}
.hero-content {
    max-width: 660px;
}
.eyebrow {
    background: #fff;
    border: 1px solid rgba(23, 35, 33, 0.09);
    color: #58645f;
    padding: 9px 15px;
    border-radius: 8px;
    font-size: 11px;
    box-shadow: 0 8px 24px rgba(23, 35, 33, 0.045);
    margin-bottom: 24px;
}
.eyebrow::before {
    width: 8px;
    height: 8px;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(215, 163, 74, 0.14);
}
.hero h1 {
    font-size: clamp(46px, 5.3vw, 76px);
    font-weight: 700;
    line-height: 1.03;
    margin-bottom: 24px;
    max-width: 680px;
}
.hero h1 .accent {
    color: var(--gold);
    font-style: normal;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.72;
    color: #6d7873;
    max-width: 570px;
    margin-bottom: 35px;
}
.hero-cta {
    margin-bottom: 44px;
    gap: 12px;
}
.btn-primary,
.btn-ghost {
    border-radius: 9px;
    padding: 15px 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.015em;
}
.btn-primary {
    background: var(--navy);
    box-shadow: 0 10px 26px rgba(23, 35, 33, 0.14);
}
.btn-primary:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}
.btn-ghost {
    background: #fff;
    border: 1px solid rgba(23, 35, 33, 0.16);
    box-shadow: 0 8px 24px rgba(23, 35, 33, 0.045);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--gold);
    border-color: var(--gold);
}
.hero-stats {
    gap: 0;
    border-top: 1px solid rgba(23, 35, 33, 0.11);
    padding-top: 25px;
    max-width: 520px;
}
.hero-stats .stat {
    padding: 0 33px;
    border-right: 1px solid rgba(23, 35, 33, 0.11);
}
.hero-stats .stat:first-child {
    padding-left: 0;
}
.hero-stats .stat:last-child {
    border-right: 0;
}
.stat .num {
    font-size: 31px;
    font-weight: 700;
}
.stat .lbl {
    font-size: 10px;
    letter-spacing: 0.11em;
}

/* Search */
.search-wrap {
    margin-top: -59px;
}
.search-bar {
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr auto;
    gap: 0;
    padding: 10px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid rgba(23, 35, 33, 0.09);
    box-shadow: 0 24px 60px rgba(23, 35, 33, 0.13);
}
.search-field {
    padding: 13px 18px;
    gap: 5px;
}
.search-field + .search-field {
    border-left: 1px solid rgba(23, 35, 33, 0.09);
}
.search-field label {
    font-size: 10px;
    color: #8a938f;
    font-weight: 700;
    letter-spacing: 0.09em;
}
.search-field input,
.search-field select {
    font-size: 14px;
    font-weight: 600;
    color: #273630;
}
.search-btn {
    border-radius: 10px;
    padding: 17px 25px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
}
.search-btn:hover {
    background: var(--navy);
    color: #fff;
    transform: none;
}

/* Sections */
section {
    padding: 105px 0;
}
#featured {
    background: #fff !important;
    padding: 118px 0 !important;
}
.sec-head {
    max-width: 690px;
    margin-bottom: 52px;
}
.sec-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #a4782f;
    margin-bottom: 12px;
}
.sec-head h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
}
.sec-head h2 em {
    font-style: normal;
    color: var(--gold);
}
.sec-head p {
    font-size: 16px;
    line-height: 1.75;
    color: #78817d;
}

/* Property cards */
.props-grid {
    gap: 24px;
}
.card {
    border-radius: 15px;
    box-shadow: none;
    border: 1px solid rgba(23, 35, 33, 0.1);
    background: #fff;
    transform: none !important;
    overflow: hidden;
}
.card:hover {
    border-color: rgba(215, 163, 74, 0.55);
    box-shadow: 0 18px 44px rgba(23, 35, 33, 0.11);
    transform: translateY(-5px) !important;
}
.card-img {
    height: 255px;
    background: #eef0ed;
}
.card-img::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}
.card:hover .card-img img {
    transform: scale(1.045);
}
.card-tag {
    top: 14px;
    left: 14px;
    border-radius: 7px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(8px);
    font-size: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}
.card-tag.gold {
    background: var(--gold);
    color: var(--navy);
}
.card-body {
    padding: 21px 20px 19px;
}
.card-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}
.card-title {
    font-family: "Raleway", sans-serif !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.32;
    margin-bottom: 7px;
}
.card-loc {
    font-size: 13px;
    color: #7a847f;
    margin-bottom: 17px;
}
.card-specs {
    justify-content: flex-start;
    gap: 25px;
    border-top: 1px solid rgba(23, 35, 33, 0.08);
    padding-top: 14px;
}
.spec {
    text-align: left;
}
.spec .v {
    font-size: 13px;
    font-weight: 700;
}
.spec .l {
    text-align: left;
    font-size: 9px;
    color: #929a96;
}

/* Why section */
.showcase {
    background: #17231f;
    color: #fff;
}
.showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 80% 50%,
        rgba(215, 163, 74, 0.13),
        transparent 35%
    );
}
#showcase-canvas {
    opacity: 0.55;
}
.feature-list {
    gap: 13px;
}
.feature {
    padding: 21px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.09);
}
.feature:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(215, 163, 74, 0.55);
}
.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: rgba(215, 163, 74, 0.14);
    color: var(--gold);
    font-size: 18px;
    border: 1px solid rgba(215, 163, 74, 0.28);
}
.feature h3 {
    font-family: "Raleway", sans-serif !important;
    font-size: 18px;
}
.feature p {
    font-size: 13px;
    line-height: 1.65;
}

/* CTA */
.cta-banner {
    padding: 92px 0;
    background: #fff;
}
.cta-inner {
    border-radius: 18px;
    padding: 68px 50px;
    background: linear-gradient(120deg, #17231f, #263a33);
    box-shadow: 0 26px 60px rgba(23, 35, 33, 0.17);
}
.cta-inner::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -95px;
    top: -130px;
}
.cta-inner h2 {
    font-size: clamp(32px, 4vw, 48px);
}

/* Footer */
footer {
    background: #101816;
    padding: 70px 0 28px;
}
.foot-grid {
    grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
    gap: 54px;
    margin-bottom: 46px;
}
.foot-brand {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.foot-grid p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 330px;
}
.foot-col h4 {
    font-family: "Raleway", sans-serif !important;
    font-size: 12px;
    letter-spacing: 0.1em;
}
.foot-col a {
    font-size: 13px;
    padding: 5px 0;
}
.foot-bottom {
    text-align: left;
    font-size: 12px;
}

/* Property listing */
.page-head {
    padding: 137px 0 52px;
    background: #f6f8f5;
    border-bottom: 1px solid var(--line);
}
.page-head h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
}
.listing-wrap {
    padding: 48px 0 95px;
    background: #fff;
}
.listing-grid {
    grid-template-columns: 265px 1fr;
    gap: 28px;
}
.sidebar {
    border: 1px solid var(--line);
    box-shadow: none;
    border-radius: 14px;
    padding: 22px;
    top: 92px;
    background: #fff;
}
.sidebar h3 {
    font-family: "Raleway", sans-serif !important;
    font-size: 17px;
    font-weight: 700;
}
.filter-group {
    margin-bottom: 18px;
    padding-bottom: 18px;
}
.filter-group label {
    font-size: 10px;
    color: #8a938f;
}
.filter-group input,
.filter-group select,
.results-head select {
    border-radius: 8px;
    border: 1px solid #e4e8e5;
    padding: 11px 12px;
    background: #fafbfa;
}
.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(215, 163, 74, 0.09);
}
.results-grid {
    gap: 22px;
}
.results-head {
    padding: 0 2px;
}
.pagination-wrap a,
.pagination-wrap span {
    border-radius: 8px;
    min-width: 40px;
    text-align: center;
}
.pagination-wrap .active span {
    background: var(--navy);
}

/* Property detail */
.detail-hero {
    padding: 128px 0 38px;
    background: #f7f8f5;
}
.detail-hero .breadcrumbs {
    font-size: 12px;
}
.detail-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
}
.detail-hero .price-tag {
    font-family: "Raleway", sans-serif !important;
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
}
.detail-gallery {
    height: 500px;
    border-radius: 16px;
    gap: 6px;
}
.detail-grid {
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 28px;
    padding-top: 34px;
}
.detail-content,
.contact-card {
    border: 1px solid var(--line);
    box-shadow: none;
    border-radius: 15px;
}
.detail-content {
    padding: 31px;
}
.detail-content h2 {
    font-family: "Raleway", sans-serif !important;
    font-size: 21px;
}
.spec-grid {
    gap: 10px;
}
.spec-item {
    border: 1px solid #edf0ed;
    background: #fafbfa;
    border-radius: 9px;
}
.amenity-list div {
    background: #fafbfa;
    border: 1px solid #edf0ed;
    border-radius: 8px;
}
.contact-card {
    padding: 24px;
    top: 92px;
}
.contact-card input,
.contact-card textarea {
    background: #fafbfa;
    border-color: #e2e7e3;
    border-radius: 8px;
}
.contact-card button {
    background: var(--gold);
    color: var(--navy);
    border-radius: 8px;
    font-weight: 700;
}
.contact-card button:hover {
    background: var(--navy);
    color: #fff;
}
.direct-btns a {
    border-radius: 8px;
}

/* Auth */
.auth-wrap {
    background: #f6f8f5;
}
.auth-side {
    background: linear-gradient(145deg, #17231f, #0f1714);
    padding: 64px;
}
.auth-side h2 {
    font-family: "Raleway", sans-serif !important;
    font-size: 46px;
}
.auth-panel {
    padding: 52px;
}
.auth-card {
    max-width: 430px;
    background: #fff;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(23, 35, 33, 0.08);
}
.auth-card h1 {
    font-family: "Raleway", sans-serif !important;
    font-size: 30px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: #fafbfa;
    border-color: #e2e7e3;
    border-radius: 8px;
}
.auth-card button[type="submit"] {
    border-radius: 8px;
    background: var(--navy);
}

/* Dashboard / panel */
.panel {
    grid-template-columns: 248px 1fr;
    background: #f4f6f3;
}
.panel-side {
    background: #121c19;
    padding: 22px 0;
}
.panel-side .brand {
    padding: 0 22px 24px;
    font-size: 21px;
}
.panel-nav {
    padding-top: 13px;
}
.panel-nav .section-lbl {
    font-size: 9px;
    letter-spacing: 0.16em;
    padding: 15px 22px 7px;
}
.panel-nav a {
    padding: 11px 22px;
    font-size: 13px;
    border-left: 0;
    position: relative;
}
.panel-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    border-radius: 0 4px 4px 0;
    transition: 0.2s;
}
.panel-nav a:hover,
.panel-nav a.active {
    background: rgba(255, 255, 255, 0.045);
    border-left-color: transparent;
}
.panel-nav a.active::before {
    height: 24px;
}
.panel-main {
    padding: 28px 34px 55px;
}
.panel-header {
    margin-bottom: 24px;
}
.panel-header h1 {
    font-size: 28px;
    font-weight: 700;
}
.panel-header .u {
    padding: 7px 12px;
    border: 1px solid var(--line);
    box-shadow: none;
    border-radius: 9px;
}
.stat-cards {
    gap: 15px;
    margin-bottom: 22px;
}
.stat-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(23, 35, 33, 0.07);
}
.stat-card::before {
    height: 2px;
}
.stat-card .lbl {
    font-size: 10px;
}
.stat-card .num {
    font-size: 31px;
    font-weight: 700;
}
.panel-card {
    padding: 21px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
}
.panel-card h2 {
    font-size: 19px;
    font-weight: 700;
}
.tbl {
    font-size: 13px;
}
.tbl th {
    padding: 12px 13px;
    background: #f7f8f5;
    font-size: 9px;
    border-bottom: 1px solid var(--line);
}
.tbl td {
    padding: 12px 13px;
}
.tbl tr:hover td {
    background: #fbfcfb;
}
.tbl .thumb {
    border-radius: 7px;
}
.badge {
    border-radius: 6px;
    font-size: 9px;
    padding: 5px 8px;
}
.actions button,
.actions a {
    border-radius: 6px;
    padding: 7px 10px;
}
.form-container {
    padding: 28px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
}
.form-container h2 {
    font-size: 22px;
}
.amenities-check label {
    border: 1px solid #edf0ed;
    background: #fafbfa;
}

/* Responsive refinements */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 58px;
    }
    .search-bar {
        grid-template-columns: 1.35fr 1fr 1fr auto;
    }
    .search-field:nth-of-type(4) {
        display: none;
    }
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 960px) {
    .nav {
        background: #fff;
        padding: 13px 0;
    }
    .nav-links {
        top: calc(100% + 1px);
        padding: 14px 4%;
        gap: 2px;
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(23, 35, 33, 0.09);
    }
    .nav-links a,
    .nav-links form,
    .nav-links button {
        width: 100%;
    }
    .nav-links a {
        padding: 11px 8px;
    }
    .nav-cta {
        justify-content: center;
    }
    .hero {
        min-height: auto;
        padding: 128px 0 112px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-content {
        max-width: 680px;
    }
    #hero-canvas {
        opacity: 0.24;
        width: 100%;
    }
    .search-bar {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 8px;
    }
    .search-field:nth-of-type(4) {
        display: flex;
    }
    .search-btn {
        grid-column: 1/-1;
        justify-content: center;
        margin-top: 7px;
    }
    .search-field:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .search-field:nth-child(4) {
        border-top: 1px solid var(--line);
    }
    .props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .listing-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        position: static;
    }
    .panel-main {
        padding: 22px 18px 45px;
    }
    .panel-side {
        width: 248px;
        left: -248px;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 680px) {
    .container {
        width: min(94%, 620px);
    }
    .brand {
        font-size: 21px;
    }
    .hero {
        padding: 112px 0 96px;
    }
    .hero h1 {
        font-size: clamp(39px, 11vw, 54px);
    }
    .hero-sub {
        font-size: 16px;
    }
    .hero-cta {
        display: grid;
        grid-template-columns: 1fr;
    }
    .btn-primary,
    .btn-ghost {
        justify-content: center;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-stats .stat {
        padding: 0 12px;
    }
    .hero-stats .stat:first-child {
        padding-left: 0;
    }
    .stat .num {
        font-size: 24px;
    }
    .search-wrap {
        margin-top: -52px;
    }
    .search-bar {
        grid-template-columns: 1fr;
        border-radius: 13px;
    }
    .search-field + .search-field,
    .search-field:nth-child(3),
    .search-field:nth-child(4) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .search-btn {
        grid-column: auto;
    }
    section,
    #featured {
        padding: 75px 0 !important;
    }
    .sec-head {
        margin-bottom: 34px;
    }
    .props-grid,
    .results-grid {
        grid-template-columns: 1fr !important;
    }
    .card-img {
        height: 235px;
    }
    .cta-inner {
        padding: 48px 22px;
    }
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .foot-bottom {
        text-align: center;
    }
    .detail-gallery {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .detail-gallery img:first-child {
        grid-column: 1/-1;
        height: 270px;
    }
    .detail-gallery img {
        height: 145px;
    }
    .detail-content {
        padding: 22px 17px;
    }
    .spec-grid,
    .amenity-list,
    .amenities-check {
        grid-template-columns: 1fr 1fr;
    }
    .auth-panel {
        padding: 20px 12px;
    }
    .auth-card {
        padding: 28px 20px;
    }
    .panel-header {
        align-items: flex-start;
        gap: 10px;
    }
    .panel-header h1 {
        font-size: 23px;
    }
    .panel-header .u span {
        display: none;
    }
    .stat-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .stat-card {
        padding: 16px 13px;
    }
    .stat-card .num {
        font-size: 26px;
    }
    .panel-card {
        overflow-x: auto;
        padding: 16px;
    }
    .tbl {
        min-width: 720px;
    }
}
@media (max-width: 420px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        row-gap: 18px;
    }
    .hero-stats .stat:nth-child(2) {
        border-right: 0;
    }
    .stat-cards {
        grid-template-columns: 1fr;
    }
    .spec-grid,
    .amenity-list,
    .amenities-check {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   RESPONSIVE ADMIN / AGENT PANEL
   Layout-only rules: routes, forms and backend behaviour are unchanged.
   ================================================================ */
.panel,
.panel-main,
.panel-card,
.form-container {
    min-width: 0;
}

.panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.panel-menu-toggle,
.panel-side-close,
.panel-overlay {
    display: none;
}

.panel-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 24px;
    align-items: start;
}

.panel-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
}

.panel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-filters input,
.panel-filters select {
    max-width: 100%;
}

.panel-filter-primary {
    margin-left: auto;
}

.panel-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.panel-card-head,
.actions,
.actions form {
    min-width: 0;
}

.actions {
    flex-wrap: wrap;
}

.tbl td,
.tbl th {
    vertical-align: middle;
}

.pagination-wrap {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 1100px) {
    .panel-main {
        padding-inline: 24px;
    }

    .panel-split {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
        gap: 18px;
    }
}

@media (max-width: 960px) {
    body.panel-menu-open {
        overflow: hidden;
    }

    .panel-main {
        width: 100%;
        padding: 20px 18px 42px;
    }

    .panel-menu-toggle {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
    }

    .panel-menu-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: var(--navy);
    }

    .panel-side {
        z-index: 1002;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
    }

    .panel-side-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        display: inline-grid;
        place-items: center;
        border: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 25px;
        line-height: 1;
        cursor: pointer;
    }

    .panel-overlay {
        position: fixed;
        inset: 0;
        z-index: 1001;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(8, 15, 13, 0.56);
        backdrop-filter: blur(2px);
    }

    .panel-overlay.open {
        display: block;
    }

    .panel-split {
        grid-template-columns: 1fr;
    }

    .panel-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-container {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .panel-main {
        padding: 16px 12px 36px;
    }

    .panel-header {
        align-items: center;
        margin-bottom: 18px;
    }

    .panel-title-wrap {
        gap: 9px;
    }

    .panel-header h1 {
        font-size: clamp(19px, 6vw, 23px);
        line-height: 1.15;
    }

    .panel-header .u {
        flex: 0 0 auto;
        padding: 5px;
    }

    .panel-header .u img {
        width: 30px;
        height: 30px;
    }

    .panel-card {
        padding: 14px;
        border-radius: 10px;
    }

    .panel-card-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .panel-card-head .btn-primary,
    .panel-card-head .btn-sm {
        width: 100%;
        justify-content: center;
    }

    .panel-filters {
        display: grid;
        grid-template-columns: 1fr;
    }

    .panel-filters input,
    .panel-filters select,
    .panel-filters button {
        width: 100%;
        min-width: 0 !important;
        justify-content: center;
    }

    .panel-filter-primary {
        margin-left: 0;
    }

    .tbl {
        min-width: 680px;
    }

    .form-container {
        padding: 20px 14px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions > button,
    .form-actions > a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .flash {
        font-size: 13px;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .panel-main {
        padding-inline: 10px;
    }

    .panel-menu-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .panel-header .u {
        display: none;
    }

    .stat-cards {
        grid-template-columns: 1fr;
    }
}
/* Brand logos */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.brand-logo--header {
    height: 65px;
}

.brand-logo--footer {
    height: 70px;
}

.brand-logo--auth {
    height: 70px;
}

.brand-logo--panel {
    height: 78px;
}

@media (max-width: 680px) {
    .brand-logo--header {
        height: 48px;
    }

    .brand-logo--auth {
        height: 82px;
    }
}

/* ============================================================
   Hero & Showcase images (replaces the 3D canvas)
   ============================================================ */
.hero-visual {
    position: relative;
    z-index: 2;
}
.hero-visual-frame {
    position: relative;
    background: transparent;
}
.hero-visual-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 44px rgba(23, 35, 33, 0.16));
}
.hero-float-card {
    position: absolute;
    left: -30px;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border-radius: 14px;
    padding: 15px 20px;
    box-shadow: 0 20px 50px rgba(23, 35, 33, 0.18);
    border: 1px solid rgba(23, 35, 33, 0.06);
}
.hero-float-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), #e7bd70);
    color: #172321;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(215, 163, 74, 0.4);
}
.hero-float-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
}
.hero-float-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.showcase-visual {
    position: relative;
    z-index: 2;
}
.showcase-visual::before {
    content: "";
    position: absolute;
    inset: -18px 22px 22px -18px;
    border: 1px solid rgba(215, 163, 74, 0.28);
    border-radius: 26px;
    pointer-events: none;
}
.showcase-visual img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(215, 163, 74, 0.45);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

@media (max-width: 1100px) {
    .hero-visual-frame img {
        height: auto;
        max-height: 430px;
    }
    .showcase-visual img {
        height: 440px;
    }
}

@media (max-width: 960px) {
    .hero-visual {
        margin-top: 18px;
    }
    .hero-visual-frame img {
        height: auto;
        max-height: none;
    }
    .hero-float-card {
        left: 12px;
        bottom: 16px;
        padding: 12px 16px;
    }
    .showcase-visual {
        margin-top: 10px;
    }
    .showcase-visual img {
        height: 380px;
    }
    .showcase-visual::before {
        display: none;
    }
}

@media (max-width: 680px) {
    .hero-visual-frame img {
        height: auto;
        max-height: 340px;
    }
    .hero-float-card {
        left: 8px;
        bottom: 10px;
        gap: 10px;
        padding: 10px 14px;
        border-radius: 11px;
    }
    .hero-float-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 8px;
    }
    .hero-float-title {
        font-size: 13px;
    }
    .hero-float-sub {
        font-size: 11px;
    }
    .showcase-visual img {
        height: 300px;
    }
}

/* Showcase section spacing (image layout) */
.showcase {
    padding: 110px 0;
}
@media (max-width: 960px) {
    .showcase {
        padding: 80px 0;
    }
}

/* True mobile tables: rows become readable cards instead of wide tables. */
@media (max-width: 680px) {
    .panel-card {
        overflow-x: visible;
    }

    .tbl {
        display: block;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
    }

    .tbl thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .tbl tbody,
    .tbl tr,
    .tbl td {
        display: block;
        width: 100%;
    }

    .tbl tbody {
        display: grid;
        gap: 14px;
    }

    .tbl tbody tr {
        padding: 8px 13px;
        border: 1px solid var(--line);
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 5px 18px rgba(23, 35, 33, 0.045);
    }

    .tbl tbody tr:hover td {
        background: transparent;
    }

    .tbl td {
        display: grid;
        grid-template-columns: minmax(88px, 34%) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
        overflow-wrap: anywhere;
        text-align: right;
    }

    .tbl td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.3;
        text-align: left;
        text-transform: uppercase;
    }

    .tbl td:last-child {
        border-bottom: 0;
    }

    .tbl td[colspan] {
        display: block;
        text-align: center;
    }

    .tbl td[colspan]::before,
    .tbl td[data-label=""]::before {
        display: none;
    }

    .tbl td[data-label=""] {
        grid-template-columns: 1fr;
        justify-items: end;
    }

    .tbl .thumb {
        width: 86px;
        height: 62px;
    }

    .tbl .actions,
    .tbl td.actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 7px;
        text-align: right;
    }

    .tbl td.actions::before {
        margin-right: auto;
    }

    .tbl .actions form {
        display: inline-flex !important;
        flex-wrap: wrap;
    }

    .tbl .actions button,
    .tbl .actions a,
    .tbl td.actions button,
    .tbl td.actions a {
        min-height: 34px;
    }

    details.reject-details[open] {
        position: fixed;
        left: 50%;
        top: 50%;
        width: min(300px, calc(100vw - 30px));
        margin: 0;
        transform: translate(-50%, -50%);
        z-index: 1100;
    }
}
@media (max-width: 360px) {
    .props-grid,
    .results-grid {
        grid-template-columns: 1fr !important;
    }
}
/* Login remember-me checkbox fix */
.auth-card .form-group input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    padding: 0 !important;
    margin: 0;
    flex: 0 0 16px;
    accent-color: var(--gold);
    cursor: pointer;
}

.auth-card .form-group label:has(input[type="checkbox"]) {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    white-space: nowrap;
}
/* =========================================================
   MOBILE HEADER PROPERTY SEARCH
========================================================= */

.nav-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/*
 * Desktop/tablet पर mobile search icon hidden रहेगा।
 */
.mobile-search-open {
    display: none;

    width: 40px;
    height: 40px;
    padding: 0;

    align-items: center;
    justify-content: center;

    color: var(--dark, #171717);
    background: transparent;

    border: 0;
    border-radius: 10px;

    cursor: pointer;
}

.mobile-search-open svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/*
 * Modal default hidden रहेगा।
 */
.mobile-property-search-modal {
    display: none;
}

/*
 * Modal open होने पर body scroll बंद रहेगा।
 */
body.mobile-search-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    /*
     * Header search icon mobile पर show होगा।
     */
    .mobile-search-open {
        display: inline-flex;
    }

    /*
     * Home page का existing बड़ा search section mobile पर hide।
     */
    .search-wrap {
        display: none !important;
    }

    .mobile-property-search-modal {
        position: fixed;
        inset: 0;

        z-index: 99999;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 14px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .mobile-property-search-modal.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-property-search-backdrop {
        position: absolute;
        inset: 0;

        background: rgba(8, 10, 12, 0.68);

        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .mobile-property-search-dialog {
        position: relative;

        width: 100%;
        max-width: 520px;
        max-height: calc(100dvh - 28px);

        padding: 20px;

        overflow-y: auto;
        overscroll-behavior: contain;

        background: #ffffff;

        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 22px;

        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);

        transform: translateY(30px);

        transition: transform 0.25s ease;
    }

    .mobile-property-search-modal.open .mobile-property-search-dialog {
        transform: translateY(0);
    }

    .mobile-property-search-head {
        margin-bottom: 18px;

        display: flex;
        align-items: flex-start;
        justify-content: space-between;

        gap: 15px;
    }

    .mobile-property-search-eyebrow {
        display: block;
        margin-bottom: 4px;

        color: var(--gold, #b99045);

        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .mobile-property-search-head h2 {
        margin: 0;

        color: var(--dark, #171717);

        font-family: "Playfair Display", serif;
        font-size: 25px;
        line-height: 1.15;
    }

    .mobile-search-close {
        flex: 0 0 34px;

        width: 34px;
        height: 34px;
        padding: 0;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        color: #ffffff;
        background: var(--dark, #171717);

        border: 0;
        border-radius: 50%;

        font-size: 22px;
        line-height: 1;

        cursor: pointer;
    }

    .mobile-property-search-form {
        width: 100%;
    }

    .mobile-search-grid {
        display: flow;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        align-items: end;
        gap: 10px;
    }

    .mobile-search-field {
        min-width: 0;
    }

    .mobile-search-location {
        margin-bottom: 10px;
    }

    .mobile-search-field label {
        margin: 0 0 5px;

        display: block;

        color: var(--dark, #171717);

        font-size: 11px;
        font-weight: 700;
    }

    .mobile-search-field input,
    .mobile-search-field select {
        width: 100%;
        min-width: 0;
        height: 42px;

        padding: 0 11px;

        color: var(--dark, #171717);
        background: #f7f5f1;

        border: 1px solid rgba(23, 23, 23, 0.1);
        border-radius: 10px;
        outline: none;

        font-size: 12px;
    }

    .mobile-search-field input:focus,
    .mobile-search-field select:focus {
        border-color: var(--gold, #b99045);

        box-shadow: 0 0 0 3px rgba(185, 144, 69, 0.12);
    }

    .mobile-search-input-wrap {
        position: relative;
    }

    .mobile-search-input-wrap svg {
        position: absolute;
        top: 50%;
        left: 11px;

        width: 18px;
        height: 18px;

        transform: translateY(-50%);

        fill: none;
        stroke: var(--gold, #b99045);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;

        pointer-events: none;
    }

    .mobile-search-input-wrap input {
        padding-left: 38px;
    }

    .mobile-property-search-submit {
        width: 100%;
        height: 42px;
        padding: 0 12px;
        margin-top: 15px;
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 7px;

        color: #ffffff;
        background: var(--gold, #b99045);

        border: 0;
        border-radius: 10px;

        font-size: 12px;
        font-weight: 800;

        cursor: pointer;
    }

    .mobile-property-search-submit svg {
        width: 17px;
        height: 17px;

        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

/*
 * Tablet और desktop पर modal forcefully hidden।
 */
@media (min-width: 641px) {
    .mobile-property-search-modal {
        display: none !important;
    }
}
/* =========================================================
   FINAL HEADER — SAME AS LIVE RIGHTWING SITE
========================================================= */

.nav-mobile-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Desktop: logo left, complete menu right */
@media (min-width: 901px) {
    .nav-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .brand {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .nav-links {
        margin-left: auto !important;
        margin-right: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .nav-mobile-actions,
    .burger,
    .mobile-search-open {
        display: none !important;
    }
}

/* Tablet: logo left, burger right */
@media (min-width: 641px) and (max-width: 900px) {
    .nav-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .brand {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .nav-mobile-actions {
        margin-left: auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    /*
     * Search modal icon केवल mobile पर चाहिए।
     */
    .mobile-search-open {
        display: none !important;
    }

    .burger {
        display: flex !important;
    }
}

/* Mobile: logo left, search + burger right */
@media (max-width: 640px) {
    .nav-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .brand {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .nav-mobile-actions {
        margin-left: auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 7px !important;
    }

    .mobile-search-open {
        display: inline-flex !important;
    }

    .burger {
        display: flex !important;
    }
}
/* Desktop search ko tablet par properly adjust karo */
@media (min-width: 641px) and (max-width: 900px) {
    .search-bar {
        grid-template-columns: 1.4fr 1fr 1fr 0.8fr auto;
        gap: 4px;
        padding: 9px;
    }

    .search-field {
        min-width: 0;
        padding: 11px 10px;
    }

    .search-field input,
    .search-field select {
        min-width: 0;
        font-size: 12px;
    }

    .search-btn {
        padding: 15px 14px;
        font-size: 12px;
        white-space: nowrap;
    }
}
/* =========================================================
   DESKTOP/TABLET SEARCH — SAME INPUT STYLE AS MOBILE MODAL
========================================================= */

@media (min-width: 641px) {
    /*
     * Old vertical separator remove.
     */
    .search-wrap .search-field,
    .search-wrap .search-field + .search-field {
        min-width: 0;
        padding: 6px 8px;
        border-left: 0 !important;
        border-top: 0 !important;
        gap: 5px;
    }

    /*
     * Label same as mobile modal.
     */
    .search-wrap .search-field label {
        display: block;
        margin: 0 0 5px;

        color: var(--dark, #171717);

        font-size: 11px;
        font-weight: 700;
        letter-spacing: normal;
        text-transform: none;
    }

    /*
     * Input and select same as mobile modal.
     */
    .search-wrap .search-field input,
    .search-wrap .search-field select {
        width: 100%;
        min-width: 0;
        height: 42px;

        padding: 0 11px;

        color: var(--dark, #171717);
        background: #f7f5f1;

        border: 1px solid rgba(23, 23, 23, 0.1) !important;
        border-radius: 10px;

        outline: none !important;
        box-shadow: none;

        font-size: 12px;
        font-weight: 500;
    }

    /*
     * Browser ka blue focus border remove karke
     * mobile wala gold focus lagao.
     */
    .search-wrap .search-field input:focus,
    .search-wrap .search-field input:focus-visible,
    .search-wrap .search-field select:focus,
    .search-wrap .search-field select:focus-visible {
        outline: none !important;

        border-color: var(--gold, #b99045) !important;

        box-shadow: 0 0 0 3px rgba(185, 144, 69, 0.12) !important;
    }

    /*
     * Search button input boxes ke same height mein.
     */
    .search-wrap .search-btn {
        height: 42px;
        padding: 0 18px;

        justify-content: center;

        border-radius: 10px;

        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }
}
/* Search button ko inputs ke level par lao */
@media (min-width: 641px) {
    .search-wrap .search-btn {
        align-self: center;
        margin: 0 !important;

        position: relative;
        top: 13px;
    }
}
/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 0;

    color: rgba(255, 255, 255, 0.76);
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(185, 144, 69, 0.13),
            transparent 28%
        ),
        var(--dark, #17231f);
}

.site-footer .foot-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.7fr)
        repeat(3, minmax(150px, 1fr));

    align-items: start;
    gap: 50px;
}

.foot-about {
    max-width: 360px;
}

.foot-brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.brand-logo--footer {
    width: auto;
    max-width: 190px;
    height: 65px;

    object-fit: contain;
}

.foot-about p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.8;
}

.site-footer .foot-col {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;
}

.site-footer .foot-col h4::after {
    content: "";

    width: 28px;
    height: 2px;

    position: absolute;
    left: 0;
    bottom: -7px;

    background: var(--gold, #b99045);
    border-radius: 10px;
}

.site-footer .foot-col > a {
    display: inline-flex;
    align-items: center;

    position: relative;

    color: rgba(255, 255, 255, 0.67);

    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;

    transform: translateX(0);

    transition:
        color 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

.site-footer .foot-col > a:hover {
    color: var(--gold, #b99045);

    transform: translateX(4px);
}
/* Contact information */

.site-footer .foot-contact {
    gap: 14px;
}

.site-footer .foot-contact > a,
.site-footer .foot-contact-item {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    line-height: 1.5;
}

.site-footer .foot-contact > a {
    transform: translateX(0);

    transition:
        color 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer .foot-contact > a:hover {
    color: var(--gold, #b99045);
    transform: translateX(4px);
}

.foot-contact-icon {
    flex: 0 0 31px;

    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: rgba(185, 144, 69, 0.2);

    border: 1px solid rgba(185, 144, 69, 0.32);
    border-radius: 9px;

    font-size: 13px;
}

.foot-contact small {
    display: block;
    margin-bottom: 1px;

    color: rgba(255, 255, 255, 0.43);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Footer bottom */

.site-footer .foot-bottom {
    margin-top: 52px;
    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.46);

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    font-size: 11px;
    line-height: 1.5;
}

.foot-bottom-tagline {
    text-align: right;
}

/* Tablet */

@media (max-width: 900px) {
    .site-footer .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 40px 30px;
    }

    .foot-about {
        max-width: 100%;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .site-footer {
        padding-top: 48px;
    }

    .site-footer .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 35px 20px;
    }

    .foot-about,
    .foot-contact {
        grid-column: 1 / -1;
    }

    .brand-logo--footer {
        max-width: 165px;
        height: 78px;
    }

    .site-footer .foot-bottom {
        margin-top: 38px;

        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

    .foot-bottom-tagline {
        text-align: left;
    }
}

@media (max-width: 360px) {
    .site-footer .foot-grid {
        grid-template-columns: 1fr;
    }

    .foot-about,
    .foot-contact {
        grid-column: auto;
    }
}

/* Projects dropdown */
.nav-projects {
    position: relative;
}

.nav-projects-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.nav-projects-toggle svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.nav-projects-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 1000;
    width: 200px;
    max-width: 82vw;
    max-height: 320px;
    padding: 7px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(10, 31, 68, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(10, 31, 68, 0.15);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

/* केवल open class submenu खोलेगी */
.nav-projects.open .nav-projects-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-projects.open .nav-projects-toggle svg {
    transform: rotate(180deg);
}

.nav-projects-item {
    display: block !important;
    padding: 10px 11px !important;
    color: #0a1f44 !important;
    border-radius: 8px;
    text-decoration: none;
}

.nav-projects-item:hover {
    background: rgba(201, 169, 97, 0.14);
}

.nav-projects-item span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* Mobile drawer elements desktop पर hidden */
.mobile-nav-head,
.mobile-nav-backdrop {
    display: none;
}

/* Mobile left sidebar */
@media (max-width: 768px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    .nav .nav-links {
        position: fixed !important;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1302;

        display: flex !important;
        flex-direction: column;
        gap: 0 !important;

        width: min(84vw, 310px);
        height: 100vh;
        height: 100dvh;
        padding: 0 18px 24px;

        overflow-x: hidden;
        overflow-y: auto;

        background: #fff;
        box-shadow: 18px 0 50px rgba(10, 31, 68, 0.18);

        opacity: 0;
        visibility: hidden;
        transform: translateX(-105%);

        transition:
            transform 0.28s ease,
            opacity 0.25s ease,
            visibility 0.28s ease;
    }

    .nav .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .mobile-nav-head {
        position: sticky;
        top: 0;
        z-index: 2;

        display: flex;
        align-items: center;
        justify-content: space-between;

        margin: 0 -18px 8px;
        padding: 17px 18px;

        background: #fff;
        border-bottom: 1px solid rgba(10, 31, 68, 0.1);

        color: #0a1f44;
        font-size: 16px;
        font-weight: 700;
    }

    .mobile-nav-close {
        display: grid;
        width: 36px;
        height: 36px;
        padding: 0;
        place-items: center;

        border: 1px solid rgba(10, 31, 68, 0.12);
        border-radius: 50%;
        background: #fff;
        color: #0a1f44;

        font-size: 25px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1301;

        display: block;

        background: rgba(4, 15, 32, 0.55);
        backdrop-filter: blur(2px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .mobile-nav-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav .nav-links > a {
        width: 100%;
        padding: 13px 2px !important;
        border-bottom: 1px solid rgba(10, 31, 68, 0.08);
    }

    .nav-projects {
        width: 100%;
        border-bottom: 1px solid rgba(10, 31, 68, 0.08);
    }

    .nav-projects-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 13px 2px !important;
        text-align: left;
    }

    /*
     * display:none इस्तेमाल नहीं किया है,
     * इसलिए submenu smoothly खुलेगा।
     */
    .nav-projects-menu {
        position: static;

        width: 100%;
        max-width: none;
        max-height: 0;
        margin: 0;
        padding: 0;

        overflow: hidden;

        border: 0;
        border-radius: 9px;
        box-shadow: none;
        background: rgba(10, 31, 68, 0.045);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;

        transition:
            max-height 0.3s ease,
            opacity 0.22s ease,
            margin 0.3s ease,
            padding 0.3s ease,
            visibility 0.3s ease;
    }

    .nav-projects.open .nav-projects-menu {
        max-height: 280px;
        margin: 5px 0 10px;
        padding: 6px;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .nav-projects-item {
        padding: 10px 11px !important;
    }

    .burger {
        padding: 0;
        border: 0;
        background: transparent;
    }
}

/* =========================================================
   RESPONSIVE CONTACT TOPBAR
========================================================= */

:root {
    --site-topbar-height: 40px;
}

.site-topbar {
    width: 100%;
    background-color: #f6f8f5;
    height: var(--site-topbar-height);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;

    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.9);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-topbar-inner {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;
}

.site-topbar-contacts,
.site-topbar-link,
.site-topbar-address {
    min-width: 0;

    display: flex;
    align-items: center;
}

.site-topbar-contacts {
    flex: 0 0 auto;
    gap: 20px;
}

.site-topbar-link,
.site-topbar-address {
    gap: 7px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.site-topbar-link {
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.site-topbar-link:hover {
    color: #f0bd60;
}

.site-topbar-whatsapp span {
    color: #172321;
}
.site-topbar-whatsapp svg {
    color: #25d366;
}
.site-topbar-whatsapp:hover {
    color: #f0bd60;
}
.site-topbar svg {
    flex: 0 0 15px;

    width: 15px;
    height: 15px;

    fill: none;
    stroke: #172321;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-topbar-whatsapp svg path:last-child {
    fill: currentColor;
    stroke: none;
}

.site-topbar-address {
    max-width: 55%;

    justify-content: flex-end;

    color: #172321;
}

.site-topbar-address span {
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
 * Existing fixed navbar topbar ke neeche.
 */
body.has-site-topbar .nav {
    top: var(--site-topbar-height);
}

/*
 * Main content ko topbar ki height ka space.
 */
body.has-site-topbar main {
    padding-top: var(--site-topbar-height);
}

/* Tablet */
@media (min-width: 641px) and (max-width: 900px) {
    .site-topbar-address {
        max-width: 48%;
    }

    .site-topbar-contacts {
        gap: 14px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --site-topbar-height: 64px;
    }

    .site-topbar-inner {
        height: 100%;

        display: grid;
        grid-template-columns: minmax(0, 1fr);

        justify-items: center;

        gap: 2px;
        padding: 5px 0;
    }

    .site-topbar-contacts {
        width: 100%;

        justify-content: center;

        gap: 15px;
    }

    .site-topbar-link,
    .site-topbar-address {
        font-size: 11px;
    }

    .site-topbar-address {
        width: 100%;
        max-width: 100%;

        justify-content: center;
    }

    .site-topbar-address span {
        max-width: calc(100vw - 60px);

        overflow: hidden;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-topbar svg {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
}

/* Very small mobile */
@media (max-width: 370px) {
    .site-topbar-contacts {
        gap: 10px;
    }

    .site-topbar-link,
    .site-topbar-address {
        font-size: 10px;
    }
}
.site-topbar-phone-group {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 8px;
}

.site-topbar-whatsapp-icon {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    color: #baf5cf;
    background: rgba(37, 211, 102, 0.13);

    border: 1px solid rgba(37, 211, 102, 0.25);

    border-radius: 50%;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.site-topbar-whatsapp-icon:hover {
    color: #ffffff;
    background: #25d366;

    transform: translateY(-1px);
}

.site-topbar-whatsapp-icon svg {
    width: 16px;
    height: 16px;
}

.site-topbar-whatsapp-icon svg path:last-child {
    fill: currentColor;
    stroke: none;
}

.site-topbar-email {
    min-width: 0;
    color: #172321;
}

.site-topbar-email span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .site-topbar-contacts {
        max-width: 100%;

        gap: 10px;
    }

    .site-topbar-phone-group {
        flex: 0 0 auto;
        gap: 6px;
    }

    .site-topbar-whatsapp-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .site-topbar-whatsapp-icon svg {
        width: 14px;
        height: 14px;
    }

    .site-topbar-email {
        max-width: 42vw;
    }
}

@media (max-width: 370px) {
    .site-topbar-email {
        max-width: 34vw;
    }
}
/* WhatsApp icon and number final colors */
.site-topbar .site-topbar-whatsapp {
    color: #172321;
}

.site-topbar .site-topbar-whatsapp span {
    color: inherit;

    transition: color 0.2s ease;
}

/*
 * Official WhatsApp green.
 * Generic topbar SVG color ko override karega.
 */
.site-topbar .site-topbar-whatsapp svg {
    color: #25d366;
    stroke: #25d366;

    transition:
        color 0.2s ease,
        stroke 0.2s ease,
        transform 0.2s ease;
}

.site-topbar .site-topbar-whatsapp svg path:first-child {
    stroke: #25d366;
}

.site-topbar .site-topbar-whatsapp svg path:last-child {
    fill: #25d366;
    stroke: none;
}

/*
 * Number hover exactly email jaisa gold.
 */
.site-topbar .site-topbar-whatsapp:hover {
    color: #f0bd60;
}

.site-topbar .site-topbar-whatsapp:hover span {
    color: #f0bd60;
}

/*
 * Hover par icon green hi rahega.
 */
.site-topbar .site-topbar-whatsapp:hover svg {
    color: #25d366;
    stroke: #25d366;

    transform: scale(1.08);
}

/* =========================================================
   TOPBAR SCROLL + MOBILE HIDE
========================================================= */

.site-topbar {
    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

/*
 * Desktop scroll par topbar upar hide.
 */
body.site-topbar-hidden .site-topbar {
    opacity: 0;
    pointer-events: none;

    transform: translateY(-100%);
}

/*
 * Topbar hide hote hi navbar top par.
 */
body.site-topbar-hidden .nav {
    top: 0;
}

/*
 * Mobile par complete topbar hidden.
 * Website original header position par aa jayega.
 */
@media (max-width: 640px) {
    .site-topbar {
        display: none !important;
    }

    body.has-site-topbar .nav,
    body.site-topbar-hidden .nav {
        top: 0 !important;
    }

    body.has-site-topbar main {
        padding-top: 0 !important;
    }
}

/* =========================================================
   FIXED FRONTEND WHATSAPP BUTTON
========================================================= */

.frontend-whatsapp-fixed {
    width: 50px;
    height: 50px;

    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 180000;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: #25d366;

    border: 3px solid rgba(255, 255, 255, 0.95);

    border-radius: 50%;

    box-shadow: 0 14px 36px rgba(20, 80, 45, 0.32);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.frontend-whatsapp-fixed::before {
    content: "";

    position: absolute;
    inset: -6px;
    z-index: -1;

    border: 2px solid rgba(37, 211, 102, 0.38);

    border-radius: 50%;

    animation: frontendWhatsappPulse 2.2s ease-out infinite;
}

.frontend-whatsapp-fixed:hover {
    color: #ffffff;
    background: #1fba59;

    transform: translateY(-3px) scale(1.04);

    box-shadow: 0 18px 42px rgba(20, 80, 45, 0.4);
}

.frontend-whatsapp-fixed svg {
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.frontend-whatsapp-fixed svg path:last-child {
    fill: currentColor;
    stroke: none;
}

/*
 * Desktop hover tooltip.
 */
.frontend-whatsapp-fixed span {
    width: max-content;

    position: absolute;
    top: 50%;
    right: calc(100% + 12px);

    padding: 7px 11px;

    color: #ffffff;
    background: #172321;

    border-radius: 7px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-50%) translateX(6px);

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.frontend-whatsapp-fixed:hover span {
    opacity: 1;
    visibility: visible;

    transform: translateY(-50%) translateX(0);
}

@keyframes frontendWhatsappPulse {
    0% {
        opacity: 0.75;
        transform: scale(0.9);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@media (max-width: 640px) {
    .frontend-whatsapp-fixed {
        width: 54px;
        height: 54px;

        right: 16px;
        bottom: 18px;

        border-width: 2px;
    }

    .frontend-whatsapp-fixed svg {
        width: 26px;
        height: 26px;
    }

    .frontend-whatsapp-fixed span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .frontend-whatsapp-fixed::before {
        animation: none;
    }
}

/* =========================================================
   COMPACT MOBILE PAGE HEADER
========================================================= */

@media (max-width: 640px) {
    .page-head {
        min-height: 0 !important;

        padding: 92px 0 22px !important;

        background: #f6f8f5;

        border-bottom: 1px solid rgba(23, 35, 33, 0.1);
    }

    .page-head .container {
        width: 92%;
    }

    .page-head h1 {
        margin: 0 0 5px !important;

        font-size: clamp(18px, 8vw, 26px) !important;

        line-height: 1.15;
    }

    .page-head p {
        margin: 0;

        color: var(--muted, #6f7874);

        font-size: 12px;
        line-height: 1.4;
    }

    /*
     * Page-head ke baad listing ka
     * extra upper space bhi reduce.
     */
    .listing-wrap {
        padding-top: 22px !important;
    }
    .detail-hero {
        padding: 90px 0 10px;
        background: #f7f8f5;
    }
}

@media (max-width: 370px) {
    .page-head {
        padding: 88px 0 18px !important;
    }

    .page-head h1 {
        font-size: 26px !important;
    }

    .listing-wrap {
        padding-top: 18px !important;
    }
}
