/* ====== GLOBAL ====== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}

/* ====== HEADER ====== */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #006c5f;
    padding: 15px 30px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-weight: 700;
}

header nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

header nav a:hover { text-decoration: underline; }

/* ====== MAP ====== */
#map {
    height: 70vh;
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
}

/* ====== SECTION ====== */
.section-title {
    padding: 10px 25px;
    font-size: 22px;
    font-weight: 700;
}

/* ====== LOT CARDS ====== */
.lots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    padding: 0 25px 25px;
}

.lot-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    cursor: pointer;
    transition: .25s;
    text-align: center;
}

.lot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.lot-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* BADGES */
.badge {
    padding: 4px 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.green { background: #28a745; }
.red { background: #dc3545; }
.orange { background: #ff9800; }

/* ====== PROJECT & FORMS & TABLE ====== */
.project-info,
form,
table {
    width: 90%;
    margin: 25px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    padding: 20px;
}

table { border-collapse: collapse; }

table th, table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

table th {
    background: #fafafa;
}

/* FORM */
form input,
form select,
form button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
}

form button {
    background: #006c5f;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

form button:hover { opacity: .85; }

/* Popup call button */
.call-btn {
    background: #f5a623;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    margin-top: 6px;
    cursor: pointer;
    font-weight: 600;
}

.call-btn:hover {
    background: #e68a12;
}
.load-more {
  padding: 10px 20px;
  margin: 20px auto;
  display: block;
  font-size: 16px;
  border-radius: 8px;
  background: #dc3545;
  color: #fff;
  border: none;
  cursor: pointer;
}
.load-more:hover {
  opacity: 0.9;
}

/* ====== RESPONSIVE ====== */

/* Mobile: 2 cột */
@media (max-width: 600px) {
    .lots-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px 25px;
    }

    .lot-card {
        padding: 10px;
        border-radius: 10px;
    }

    header {
        padding: 12px 20px;
    }

    header nav a {
        margin-left: 12px;
    }

    #map {
        height: 55vh;
    }
}

/* Tablet: 3–4 cột */
@media (min-width: 601px) and (max-width: 1024px) {
    .lots-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: tự động */
@media (min-width: 1025px) {
    .lots-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

.project-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}
/* WHY US */
.why-grid{display:flex;flex-wrap:wrap;gap:12px;padding:0 25px;justify-content:center;}
.why-item{background:#fff;padding:14px;border-radius:10px;min-width:200px;text-align:center;box-shadow:0 6px 18px rgba(0,0,0,.06);}

/* NEWS */
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;padding:0 25px;}
.news-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.08);}
.news-card img{width:100%;height:140px;object-fit:cover;display:block;}
.news-card h3{padding:12px;margin:0;font-size:1rem;}
.news-card .meta{padding:0 12px 6px;color:#888;font-size:.85rem;}
.news-card .excerpt{padding:0 12px 16px;color:#444;font-size:.95rem;}

/* TESTIMONIALS */
.testi-list{display:flex;gap:12px;padding:0 25px;flex-wrap:wrap;}
.testi{background:#fff;padding:12px;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.06);display:flex;gap:10px;align-items:center;min-width:240px;}
.testi img{width:48px;height:48px;border-radius:50%;object-fit:cover;}
.testi cite{display:block;color:#666;margin-top:8px;font-size:.9rem;}

/* FAB */
.fab-call{position:fixed;right:16px;bottom:16px;background:#ff6b6b;color:#fff;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.18);z-index:9999;}
@media(min-width:992px){.fab-call{display:none;}}
