* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: #0f172a; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: auto; }

/* ── Header ── */
header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid #e2e8f0; }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 48px; height: 48px; border-radius: 16px; background: #047857; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 22px; }
.brand h1 { font-size: 25px; line-height: 1; }
.brand small { color: #64748b; }
nav ul { display: flex; list-style: none; gap: 28px; font-weight: 700; color: #334155; }
nav a:hover { color: #047857; }
.nav-buttons { display: flex; gap: 12px; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 13px 20px; border-radius: 14px; font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: #047857; color: #fff; }
.btn-primary:hover { background: #065f46; }
.btn-dark { background: #020617; color: #fff; }
.btn-light { background: #fff; border-color: #cbd5e1; color: #0f172a; }

/* ── Hero ── */
.hero { position: relative; min-height: 620px; color: #fff; background: linear-gradient(90deg, rgba(2,6,23,.95), rgba(2,6,23,.82), rgba(2,6,23,.4)), url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1800&q=80') center/cover; display: flex; align-items: center; }
.hero-content { padding: 80px 0; max-width: 900px; }
.badge { display: inline-block; padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-weight: 800; margin-bottom: 24px; }
.hero h2 { font-size: clamp(38px, 6vw, 70px); line-height: 1.05; letter-spacing: -2px; margin-bottom: 22px; }
.hero p { font-size: 20px; color: #e2e8f0; max-width: 700px; margin-bottom: 34px; }

/* ── Search Box ── */
.search-box { background: #fff; color: #0f172a; border-radius: 26px; padding: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.28); max-width: 1050px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { padding: 10px 18px; border-radius: 12px; background: #f1f5f9; font-weight: 800; border: none; cursor: pointer; }
.tab.active { background: #047857; color: #fff; }
.search-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.1fr auto; gap: 12px; }
input, select { width: 100%; padding: 16px; border-radius: 15px; border: 1px solid #cbd5e1; background: #f8fafc; font-size: 15px; font-weight: 600; }
.search-btn { padding: 0 28px; border-radius: 15px; border: none; background: #047857; color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; }
.search-btn:hover { background: #065f46; }

/* ── Sections ── */
section { padding: 75px 0; }
.section-title { display: flex; justify-content: space-between; gap: 25px; align-items: end; margin-bottom: 34px; }
.section-title h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.section-title p { color: #64748b; max-width: 650px; margin-top: 10px; }

/* ── Grid & Cards ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border: 1px solid #e2e8f0; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 6px 20px rgba(15,23,42,.05); transition: .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(15,23,42,.13); }
.category-card { padding: 28px; background: #f8fafc; }
.icon { width: 54px; height: 54px; border-radius: 18px; background: #d1fae5; color: #065f46; display: grid; place-items: center; font-size: 25px; margin-bottom: 18px; }
.category-card h3 { font-size: 22px; margin-bottom: 8px; }
.category-card p { color: #64748b; }
.explore { display: inline-block; margin-top: 18px; color: #047857; font-weight: 900; }

/* ── Listings ── */
.listings { background: #f8fafc; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; font-weight: 800; cursor: pointer; transition: .2s; }
.filter-btn.active, .filter-btn:hover { background: #047857; color: #fff; border-color: #047857; }
.property-image { height: 235px; position: relative; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .property-image img { transform: scale(1.06); }
.label { position: absolute; top: 15px; left: 15px; padding: 7px 12px; border-radius: 999px; background: #fff; font-weight: 900; font-size: 12px; }
.tag { position: absolute; bottom: 15px; left: 15px; padding: 7px 12px; border-radius: 999px; background: #047857; color: #fff; font-weight: 900; font-size: 12px; }
.property-body { padding: 22px; }
.price { color: #047857; font-size: 25px; font-weight: 900; margin-bottom: 7px; }
.property-body h3 { font-size: 20px; line-height: 1.25; margin-bottom: 9px; }
.location { color: #64748b; margin-bottom: 14px; }
.features { display: flex; flex-wrap: wrap; gap: 12px; color: #475569; font-size: 14px; margin-bottom: 18px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions a { text-align: center; padding: 12px; border-radius: 13px; font-weight: 900; }

/* ── Auction ── */
.auction-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.auction-card { background: #020617; color: #fff; border-radius: 32px; padding: 26px; box-shadow: 0 25px 70px rgba(2,6,23,.28); }
.auction-card img { height: 300px; width: 100%; object-fit: cover; border-radius: 24px; margin-bottom: 22px; }
.checks { margin: 24px 0; }
.checks div { margin-bottom: 12px; font-weight: 700; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.countdown div { background: rgba(255,255,255,.1); border-radius: 18px; padding: 18px; text-align: center; }
.countdown strong { font-size: 28px; display: block; }

/* ── Trust ── */
.trust { background: #047857; color: #fff; }
.trust-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px; }
.trust-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; padding: 28px; }
.trust p { color: #ecfdf5; }

/* ── CTA ── */
.cta-box { background: #020617; color: #fff; border-radius: 34px; padding: 50px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-box h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.cta-box p { color: #cbd5e1; margin-top: 12px; max-width: 700px; }

/* ── Footer ── */
footer { border-top: 1px solid #e2e8f0; padding: 42px 0; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer p, footer li { color: #64748b; }
footer ul { list-style: none; margin-top: 10px; }
footer li { margin-bottom: 8px; }
footer h3 { margin-bottom: 12px; font-size: 16px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav ul, .nav-buttons { display: none; }
  .search-grid, .grid-3, .auction-wrap, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-title, .cta-box { flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; }
  .search-grid { grid-template-columns: 1fr; }
  .search-btn { padding: 16px; }
}
