:root {
    --bg: #ededfb;
    --card: #ffffff;
    --card-soft: #f7f8ff;
    --text: #0f172a;
    --muted: #5b6475;
    --primary: #ff7a00;
    --primary-dark: #d75f00;
    --line: #e6e8ef;
    --radius: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #f5ecff 0%, #ededfb 35%, #edeef8 100%);
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.8rem; }
h1, h2, h3, h4 { margin: 0 0 0.7rem; line-height: 1.2; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes softFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.container { width: min(1180px, 92%); margin: 0 auto; }

.topbar {
    background: #101828;
    color: #d0d5dd;
    font-size: 0.85rem;
}

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

.topbar p { margin: 0; }
.topbar-actions { display: flex; gap: 0.9rem; }
.topbar-actions a { color: #fdbb74; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 0.8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1rem;
}

.brand-logo {
    height: 60px;
    width: auto;
    display: block;
}

.brand-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.18);
}

.main-nav {
    display: flex;
    gap: 0.35rem;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.admin-nav {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.admin-main-nav {
    flex-wrap: wrap;
}

.admin-nav a {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    font-size: 0.87rem;
}

.main-nav a {
    padding: 0.48rem 0.75rem;
    border-radius: 999px;
    color: #344054;
    font-weight: 600;
    font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: #111827;
    background: #fff2e8;
}

.nav-cta {
    padding: 0.63rem 0.95rem;
    background: #111827;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.8rem;
}

.page-content { padding: 1.5rem 0 3.5rem; }

.alert {
    margin: 0.7rem 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    background: #fff;
}
.alert-success { border-left: 4px solid #16a34a; }
.alert-error { border-left: 4px solid #dc2626; }

.hero {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    margin-bottom: 1.35rem;
}

.hero-premium {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    background: #fff;
}

.hero-left { padding: 2rem; }
.mini-label {
    display: inline-block;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary-dark);
    background: #fff2e8;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
}

.hero-headline h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 0.8rem; }
.hero-headline p { color: var(--muted); max-width: 650px; }

.hero-tabs {
    display: inline-flex;
    background: #f8fafc;
    border: 1px solid #e7e9f0;
    border-radius: 999px;
    padding: 0.25rem;
    margin: 0.95rem 0 1rem;
}

.hero-tabs a {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #475467;
}

.hero-tabs a:hover { background: #ffffff; color: #101828; }

.hero-search {
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    padding: 0.85rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    border: 1px solid #d9dfeb;
    border-radius: 10px;
    padding: 0.66rem 0.72rem;
    font-family: inherit;
    background: #fff;
}

textarea { min-height: 140px; resize: vertical; }

.hero-metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}

.hero-metrics > div {
    border: 1px solid #eff1f6;
    border-radius: 12px;
    padding: 0.75rem;
    background: #fafbff;
}

.hero-metrics strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.84rem;
}

.hero-right {
    background: linear-gradient(180deg, #0b4b82 0%, #0c1f39 100%);
    color: #fff;
    position: relative;
}

.hero-right-top { padding: 1.7rem 1.5rem 0.9rem; }
.hero-right-top h2 { font-size: 2rem; }

.hero-right-media {
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.35rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.active {
    background: #ffffff;
}

.hero-right-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 17, 31, 0.88), rgba(10, 17, 31, 0.08));
}

.hero-floating-card {
    position: absolute;
    left: -10px;
    right: 46px;
    bottom: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 0.9rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
    animation: softFloat 4s ease-in-out infinite;
}

.hero-bottom-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
}

.hero-bottom-caption span { font-size: 0.88rem; }
.hero-bottom-caption strong { font-size: 1rem; }

.trust-strip {
    margin: 1.3rem 0;
    border-radius: 12px;
    border: 1px solid #e9ecf3;
    background: #fff;
    padding: 0.75rem 0.9rem;
    text-align: center;
    color: #475467;
    font-weight: 600;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.section-head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }

.card, .admin-card, .filters {
    background: var(--card);
    border: 1px solid #e9ecf3;
    border-radius: var(--radius);
    padding: 1.05rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    margin: 1rem 0;
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.property-card img, .article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.property-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.11);
}

.badge {
    display: inline-block;
    margin-top: 0.72rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #b45309;
    background: #fff2e8;
    border-radius: 999px;
}

.muted { color: var(--muted); font-size: 0.92rem; }
.price { font-size: 1.2rem; color: var(--primary-dark); font-weight: 800; }

.services-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(130deg, #ffffff 0%, #f7f8ff 100%);
}

.services-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.16), rgba(255, 122, 0, 0));
    pointer-events: none;
}

.services-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin: 0.9rem 0 1rem;
}

.services-kpis > div {
    border: 1px solid #eceff7;
    border-radius: 12px;
    padding: 0.75rem;
    background: #fff;
}

.services-kpis strong {
    display: block;
    font-size: 1.15rem;
    color: #111827;
}

.services-kpis span {
    font-size: 0.84rem;
    color: var(--muted);
}

.services-grid {
    position: relative;
    z-index: 2;
}

.service-tile {
    background: #fff;
    border: 1px solid #e8edf6;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-weight: 800;
    color: #b45309;
    background: #fff2e8;
    margin-bottom: 0.55rem;
}

.service-tile h3 { margin-bottom: 0.5rem; }
.service-tile p { color: var(--muted); }

.service-list {
    margin: 0.55rem 0 0;
    padding-left: 1rem;
    color: #344054;
    font-size: 0.9rem;
}

.service-list li {
    margin-bottom: 0.3rem;
}

.steps {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
    color: #344054;
}

.steps li { margin-bottom: 0.45rem; }

.loan-result {
    margin-top: 0.65rem;
    padding: 0.7rem;
    border-radius: 10px;
    background: #fff2e8;
    color: #9a3412;
    font-weight: 700;
}

.faq-list { display: grid; gap: 0.65rem; }

.faq-item {
    border: 1px solid #e7eaf1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-trigger {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 0.9rem;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-content {
    max-height: 220px;
}

.faq-content p {
    margin: 0;
    padding: 0 0.9rem 0.9rem;
    color: var(--muted);
}

.cta-banner {
    margin-top: 1.2rem;
    border-radius: 18px;
    background: linear-gradient(140deg, #0f172a, #111f41 60%, #1f3982 100%);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn, button.btn {
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover, button.btn:hover { background: var(--primary-dark); }
.btn:hover, button.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 122, 0, 0.34);
}

.btn-outline {
    background: #fff;
    color: #111827;
    border: 1px solid #d0d5dd;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
    padding: 0.7rem;
    border-bottom: 1px solid #eaedf3;
    text-align: left;
}

.actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.btn-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff2e8;
    border: 1px solid #ffd8b8;
    font-size: 1rem;
}

.btn-icon-danger {
    background: #fee2e2;
    border-color: #fecaca;
}

.btn-icon i {
    font-size: 1.05rem;
    line-height: 1;
}

.site-footer {
    background: #101828;
    color: #e5e7eb;
    margin-top: 2.2rem;
    padding-top: 2.2rem;
}

.prefooter {
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(120deg, #ffffff, #f8f9ff);
    border: 1px solid #e8ecf5;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.prefooter-head h2 {
    margin-bottom: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e6eaf3;
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.review-card p {
    color: #344054;
    margin-bottom: 0.5rem;
}

.review-card strong {
    color: #101828;
}

.sell-rent-cta {
    margin-top: 1rem;
    background: linear-gradient(130deg, #0f172a, #1d3271);
    color: #fff;
    border-radius: 14px;
    padding: 1rem;
}

.sell-rent-cta h3 {
    margin-bottom: 0.45rem;
}

.sell-rent-cta p {
    margin-bottom: 0.75rem;
    color: #dbeafe;
}

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

.footer-grid a {
    display: block;
    color: #d1d5db;
    margin-bottom: 0.45rem;
}

.footer-grid a:hover { color: #fdbb74; }

.kpis {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #fdbb74;
    margin-top: 0.7rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(229, 231, 235, 0.15);
    padding: 0.95rem 0;
    margin-top: 1.3rem;
    font-size: 0.88rem;
    color: #9ca3af;
}

.map-embed iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 12px;
}

.property-main-image {
    width: 100%;
    border-radius: 12px;
    height: 420px;
    object-fit: cover;
}

.property-thumbs {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumb-btn {
    border: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.thumb-btn img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.existing-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}

.existing-img-card {
    display: block;
    padding: 0.45rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.existing-img-card img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.35rem;
}

.existing-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}

.existing-video-grid video {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.35rem;
}

.existing-docs {
    display: grid;
    gap: 0.45rem;
}

.existing-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 0.6rem 0.7rem;
}

.property-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.property-videos-grid video {
    width: 100%;
    border-radius: 10px;
    background: #000;
}

.property-docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@media (max-width: 1080px) {
    .hero-premium { grid-template-columns: 1fr; }
    .hero-floating-card { left: 16px; right: 16px; bottom: 84px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .topbar { display: none; }
    .menu-toggle { display: inline-block; }
    .main-nav {
        display: none;
        position: absolute;
        left: 4%;
        right: 4%;
        top: 84px;
        padding: 0.55rem;
        border-radius: 12px;
        flex-direction: column;
        background: #fff;
    }
    .main-nav.open { display: flex; }
    .nav-cta { display: none; }
    .hero-search { grid-template-columns: 1fr; }
    .hero-metrics { grid-template-columns: 1fr; }
    .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .section-head, .cta-banner { flex-direction: column; align-items: flex-start; }
    .admin-nav { width: 100%; }
    .existing-gallery { grid-template-columns: repeat(2, 1fr); }
    .existing-video-grid { grid-template-columns: repeat(2, 1fr); }
    .property-thumbs { grid-template-columns: repeat(3, 1fr); }
    .property-main-image { height: 300px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .services-kpis { grid-template-columns: 1fr; }
    .property-videos-grid { grid-template-columns: 1fr; }
}
