/* ============ 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);
    margin-bottom: 10px;
}
.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(2, 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: 20px 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 115px;
    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(34px, 4vw, 50px);
    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;
    }
    .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;
    }
}
