:root {
    --charcoal: #14211f;
    --charcoal-2: #23312e;
    --green: #1f6f50;
    --gold: #c79a3d;
    --soft: #f5f7f2;
    --muted: #6f7c78;
    --line: #e5e8df;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--charcoal);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    background: var(--white);
}

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

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

.section {
    padding: 88px 0;
}

.soft-bg {
    background: var(--soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.hero h1,
.page-hero h1 {
    font-weight: 700;
    letter-spacing: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    padding: 12px 22px;
}

.btn-sm {
    padding: 8px 14px;
}

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

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--white);
}

.brand-mark:hover {
    color: var(--gold);
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(199, 154, 61, .65);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.brand-text {
    max-width: 210px;
    line-height: 1.15;
}

.brand-text:hover {
    color: var(--gold);
}

.site-navbar {
    padding: 18px 0;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    font-size: .95rem;
}

.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
    color: var(--gold);
}

.site-navbar.scrolled,
.site-navbar.nav-open {
    padding: 10px 0;
    background: rgba(20, 33, 31, .96);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .35);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.hero,
.page-hero {
    position: relative;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.home-hero {
    background-image: linear-gradient(90deg, rgba(20, 33, 31, .9), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=80");
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 6vw, 4.85rem);
    line-height: 1.04;
    margin-bottom: 20px;
}

.hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
    margin-bottom: 28px;
}

.page-hero {
    min-height: 430px;
    display: flex;
    align-items: end;
    padding: 150px 0 70px;
    background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80");
}

.about-hero { background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80"); }
.projects-hero { background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80"); }
.buy-hero { background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1554469384-e58fac16e23a?auto=format&fit=crop&w=1800&q=80"); }
.sell-hero { background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1800&q=80"); }
.testimonials-hero { background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80"); }
.contact-hero { background-image: linear-gradient(90deg, rgba(20, 33, 31, .88), rgba(20, 33, 31, .48)), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80"); }

.page-hero h1 {
    max-width: 780px;
    font-size: clamp(2.1rem, 5vw, 3.9rem);
    line-height: 1.1;
}

.breadcrumb a,
.breadcrumb .active {
    color: rgba(255, 255, 255, .8);
}

.stats-band {
    padding: 34px 0;
    background: var(--charcoal);
}

.stat-card {
    padding: 24px;
    color: var(--white);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
}

.stat-card strong {
    display: block;
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1;
}

.stat-card span {
    color: rgba(255, 255, 255, .75);
}

.project-card,
.icon-card,
.testimonial-card,
.category-card,
.text-panel,
.detail-card,
.contact-card,
.form-card,
.value-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(20, 33, 31, .08);
}

.project-card {
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .45s ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

.project-card-body {
    padding: 24px;
}

.project-card h3,
.icon-card h3,
.testimonial-card h3,
.category-card h3,
.text-panel h3,
.detail-card h3,
.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.project-card p {
    color: var(--muted);
    margin-bottom: 8px;
}

.project-card a {
    color: var(--green);
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--green);
    background: rgba(31, 111, 80, .1);
    font-size: .78rem;
    font-weight: 800;
}

.icon-card,
.testimonial-card,
.category-card,
.text-panel,
.detail-card,
.contact-card,
.form-card,
.value-card {
    padding: 28px;
}

.icon-card i,
.contact-card i,
.value-card i {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    background: var(--gold);
    border-radius: 6px;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.icon-card p,
.testimonial-card p,
.category-card p,
.text-panel p,
.contact-card p {
    color: var(--muted);
}

.video-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.video-tile,
.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    color: var(--white);
    background: var(--charcoal);
    border: 0;
    border-radius: 8px;
    text-align: left;
}

.video-tile img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
}

.video-tile .play {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    background: var(--gold);
    border-radius: 50%;
    font-size: 1.6rem;
}

.video-tile strong,
.video-tile small {
    position: absolute;
    left: 18px;
    right: 18px;
}

.video-tile strong {
    bottom: 42px;
    font-size: 1.05rem;
}

.video-tile small {
    bottom: 18px;
    color: rgba(255, 255, 255, .82);
}

.cta-panel {
    min-height: 270px;
    padding: 42px;
    border-radius: 8px;
}

.buy-panel {
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--charcoal));
}

.sell-panel {
    background: #efe5d0;
}

.testimonial-card img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
}

.stars {
    color: var(--gold);
    margin-bottom: 10px;
}

.map-frame {
    min-height: 310px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: repeating-linear-gradient(45deg, #eef1e8, #eef1e8 10px, #f7f8f3 10px, #f7f8f3 20px);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
}

.map-embed-frame {
    overflow: hidden;
    padding: 0;
}

.map-embed-frame iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}

.rounded-media {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-feature {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px;
    background: var(--soft);
    border-radius: 6px;
    font-weight: 700;
}

.mini-feature i {
    color: var(--green);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 12px;
    padding: 16px;
    background: var(--soft);
    border-radius: 8px;
}

.process-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.process-line div {
    min-height: 120px;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
}

.process-line i {
    display: none;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: #d9ded2;
    border-radius: 6px;
}

.site-footer {
    padding: 70px 0 24px;
    color: rgba(255, 255, 255, .72);
    background: var(--charcoal);
}

.footer-brand {
    color: var(--white);
}

.footer-brand .brand-logo {
    width: 58px;
    height: 58px;
}

.site-footer h6 {
    color: var(--white);
    font-weight: 800;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 8px;
}

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

.social-links a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: var(--gold);
    border-radius: 6px;
}

.footer-bottom {
    padding-top: 26px;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.float-action {
    position: fixed;
    right: 18px;
    z-index: 20;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.float-action.whatsapp {
    bottom: 84px;
    background: #25d366;
}

.float-action.call {
    bottom: 26px;
    background: var(--green);
}

.admin-body,
.login-body {
    background: #eef1e8;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: min(100%, 430px);
    padding: 34px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(20, 33, 31, .15);
}

.login-card .brand-mark {
    color: var(--charcoal);
}

.login-card .brand-logo {
    width: 70px;
    height: 70px;
}

.login-card h1 {
    margin: 24px 0;
    text-align: center;
    font-size: 1.8rem;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    background: var(--charcoal);
    overflow-y: auto;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    font-size: 1.4rem;
}

.admin-nav {
    display: grid;
    gap: 8px;
    margin-top: 30px;
}

.admin-nav.collapse {
    display: grid;
}

.admin-nav a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    color: rgba(255, 255, 255, .78);
    border-radius: 6px;
    white-space: nowrap;
}

.admin-nav a:hover {
    color: var(--white);
    background: var(--gold);
}

.admin-main {
    padding: 28px;
    min-width: 0;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
}

.admin-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(20, 33, 31, .08);
}

.admin-stat {
    position: relative;
    min-height: 142px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    padding: 24px;
    background: linear-gradient(135deg, var(--white), #f7f5ed);
    border: 1px solid rgba(199, 154, 61, .22);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(20, 33, 31, .08);
}

.admin-stat::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -44px;
    width: 118px;
    height: 118px;
    background: rgba(199, 154, 61, .12);
    border-radius: 50%;
}

.admin-stat-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    color: var(--white);
    background: var(--green);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(31, 111, 80, .2);
}

.admin-card .table-responsive {
    margin: 0 -4px;
    padding: 0 4px;
}

.admin-card h2 {
    margin-bottom: 18px;
    font-size: 1.25rem;
    font-weight: 800;
}

.admin-stat-icon i {
    font-size: 1.45rem;
    color: var(--white);
}

.admin-stat span,
.admin-stat strong {
    position: relative;
    z-index: 1;
    display: block;
}

.admin-stat span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-stat strong {
    margin-top: 4px;
    font-size: 2.35rem;
    line-height: 1;
    color: var(--charcoal);
}

.table {
    min-width: 900px;
}

.table th,
.table td {
    vertical-align: middle;
}

.table td:last-child {
    white-space: nowrap;
}

.dt-container .dt-search,
.dt-container .dt-length {
    margin-bottom: 14px;
}

.dt-container .dt-search input,
.dt-container .dt-length select {
    border-color: #d9ded2;
    border-radius: 6px;
}

.dt-container .dt-info {
    color: var(--muted);
    font-size: .92rem;
}

.dt-container .pagination {
    gap: 4px;
}

.dt-container .page-link {
    color: var(--charcoal);
    border-color: var(--line);
    border-radius: 6px;
}

.dt-container .active > .page-link,
.dt-container .page-link.active {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.admin-actions {
    white-space: nowrap;
}

.admin-actions .admin-icon-btn + .admin-icon-btn {
    margin-left: 6px;
}

.admin-icon-btn {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
}

.enquiry-detail-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.enquiry-detail-list div {
    padding: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.enquiry-detail-list span,
.detail-label {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.enquiry-detail-list strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.modal-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.modal-image-grid a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.modal-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plot-modal-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

@media (max-width: 991px) {
    .site-navbar .navbar-collapse {
        margin-top: 8px;
        padding: 12px;
        background: var(--charcoal);
        border-radius: 8px;
    }

    .section {
        padding: 68px 0;
    }

    .video-grid,
    .gallery-grid,
    .process-line {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-shell {
        display: block;
        min-height: auto;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        min-height: 0;
        padding: 10px 14px;
        overflow: visible;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .admin-sidebar .brand-logo {
        width: 42px;
        height: 42px;
    }

    .admin-menu-toggle {
        display: grid;
        flex: 0 0 auto;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 16px;
    }

    .admin-nav.collapse:not(.show) {
        display: none;
    }

    .admin-nav a {
        min-height: 46px;
        white-space: normal;
    }

    .admin-topbar {
        padding: 18px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 10px 28px rgba(20, 33, 31, .06);
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.55rem;
    }

    .site-navbar {
        padding: 8px 0;
    }

    .site-navbar.scrolled,
    .site-navbar.nav-open {
        padding: 6px 0;
    }

    .site-navbar .brand-logo {
        width: 40px;
        height: 40px;
    }

    .site-navbar .brand-text {
        max-width: 155px;
        font-size: .9rem;
    }

    .site-navbar .nav-link {
        padding: 6px 0;
    }

    .navbar-toggler {
        padding: 4px 7px;
    }

    .page-hero {
        min-height: 360px;
        padding-top: 130px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .video-grid,
    .gallery-grid,
    .process-line {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        padding: 28px;
    }

    .admin-main {
        padding: 14px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .admin-topbar h1 {
        font-size: 1.35rem;
    }

    .admin-card {
        padding: 18px;
    }

    .admin-stat {
        min-height: 112px;
        padding: 18px;
    }

    .admin-stat-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .admin-stat strong {
        font-size: 2rem;
    }

    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-nav a {
        padding: 11px 12px;
    }

    .table {
        min-width: 760px;
        font-size: .92rem;
    }

    .table .btn-sm,
    .table .form-select-sm {
        padding: 6px 8px;
        font-size: .82rem;
    }

    .admin-card form .row > [class*="col-"] {
        margin-bottom: 2px;
    }

    .enquiry-detail-list,
    .modal-image-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .enquiry-detail-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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