:root {
  --navy: #0f1b3d;
  --navy-light: #1b2d5c;
  --gold: #d4af37;
  --gold-deep: #b8912a;
  --ink: #14192b;
  --slate: #64748b;
  --bg: #f5f6fb;
  --surface: #ffffff;
  --border: #e6e8f3;
  --success: #1f8a54;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  margin: 0;
}
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; letter-spacing: -0.01em; color: var(--ink); }
a { color: var(--navy); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- Nav ---- */
.site-nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-nav .brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.site-nav .brand span { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; }
.site-nav nav { display: flex; align-items: center; gap: 4px; }
.site-nav nav a {
  color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
}
.site-nav nav a:hover, .site-nav nav a.active { color: #fff; background: rgba(255,255,255,0.08); }
.site-nav .cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #14192b !important; font-weight: 700 !important;
}
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; }

@media (max-width: 860px) {
  .site-nav nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px; gap: 2px; }
  .site-nav nav.open { display: flex; }
  .site-nav nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -15%, rgba(212,175,55,0.18), transparent 60%),
    radial-gradient(600px 400px at -5% 110%, rgba(27,45,92,0.5), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0a1329 100%);
  color: #fff;
  padding: 76px 0 68px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.55) 45%, transparent 90%);
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.55) 45%, transparent 90%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.35);
  color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; text-wrap: balance; margin: 0 0 16px; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede { color: rgba(255,255,255,0.72); font-size: 1.08rem; line-height: 1.65; max-width: 520px; margin: 0 0 28px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-size: 0.82rem; padding: 7px 14px; border-radius: 20px;
  display: flex; align-items: center; gap: 6px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Hero visual (skyline + floating trust cards) ---- */
.hero-visual { position: relative; height: 420px; display: flex; align-items: flex-end; justify-content: center; }
.hero-skyline { position: absolute; bottom: 0; left: 0; right: 0; opacity: 0.9; }
.hero-glass {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 12px;
}
.hero-glass .icon-circle {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy); font-size: 1.05rem; flex-shrink: 0;
}
.hero-glass strong { display: block; color: #fff; font-size: 0.92rem; font-weight: 700; }
.hero-glass span { color: rgba(255,255,255,0.65); font-size: 0.76rem; }
.hero-glass--top { top: 6%; left: 0; }
.hero-glass--mid { top: 42%; right: -2%; }
.hero-glass--bottom { bottom: 10%; left: 8%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer; transition: filter .15s ease, transform .1s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink); }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn-navy { background: linear-gradient(135deg, var(--navy-light), var(--navy)); color: #fff; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

/* ---- Sections ---- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.section-head h1, .section-head h2 { font-size: 1.6rem; margin: 0; }
.section-head p { color: var(--slate); margin: 4px 0 0; }
.section-alt { background: var(--surface); }

/* ---- Property cards ---- */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.property-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  text-decoration: none; color: var(--ink); display: block;
  box-shadow: 0 1px 2px rgba(20,25,50,0.04), 0 8px 20px -8px rgba(20,25,50,0.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(20,25,50,0.06), 0 20px 44px -14px rgba(20,25,50,0.22); }
.property-card .thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: linear-gradient(135deg, var(--navy-light), var(--navy)); display: flex; align-items: center; justify-content: center; }
.property-card .thumb i { color: rgba(255,255,255,0.3); font-size: 2.5rem; }
.thumb-logo { background: var(--bg); }
.thumb-logo img { width: 68%; max-width: 140px; object-fit: contain; opacity: 0.9; }
.verified-pill {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(15,27,61,0.85); backdrop-filter: blur(4px); color: #fff;
  font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
}
.verified-pill i { color: var(--gold); font-size: 0.78rem; }

.availability-pill {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: 0.03em;
}
.availability-pill--available { background: rgba(31,138,84,0.92); color: #fff; }
.availability-pill--rented { background: rgba(100,116,139,0.92); color: #fff; }
.property-card.is-rented { opacity: 0.72; }
.property-card.is-rented .thumb { filter: grayscale(0.4); }

.status-banner {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px;
  font-size: 0.92rem;
}
.status-banner--rented { background: #f1f2f6; border: 1px solid var(--border); color: var(--ink); }
.status-banner i { font-size: 1.3rem; color: var(--slate); }
.status-banner strong { display: block; }
.status-banner span { color: var(--slate); font-size: 0.85rem; }

.property-card .body { padding: 16px; }
.property-card .code { display: inline-block; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 12px; margin-bottom: 8px; }
.property-card .title { margin: 0 0 6px; font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.property-card .rent { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.property-card .rent span { font-size: 0.8rem; font-weight: 500; color: var(--slate); }
.property-card .meta { color: var(--slate); font-size: 0.85rem; margin-top: 4px; }
.property-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { background: var(--bg); color: var(--slate); font-size: 0.72rem; padding: 3px 9px; border-radius: 10px; border: 1px solid var(--border); }

/* ---- Trust strip ---- */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.trust-item {
  text-align: left; padding: 24px 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 1px 2px rgba(20,25,50,0.03);
  transition: transform .15s ease, box-shadow .15s ease;
}
.trust-item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px -14px rgba(20,25,50,0.22); }
.icon-badge {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy)); color: var(--gold); font-size: 1.15rem; margin-bottom: 14px; flex-shrink: 0;
}
.trust-item h4 { font-size: 1rem; margin: 0 0 6px; }
.trust-item p { color: var(--slate); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* ---- How it works ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step-item { position: relative; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 16px;
}
.step-item h4 { margin: 0 0 8px; font-size: 1.05rem; }
.step-item p { color: var(--slate); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.step-connector { display: none; }
@media (min-width: 901px) {
  .step-item:not(:last-child)::after {
    content: ''; position: absolute; top: 48px; left: 100%; width: 24px; height: 1px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 10px);
  }
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---- Forms ---- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: 0 1px 2px rgba(20,25,50,0.04), 0 8px 20px -8px rgba(20,25,50,0.10); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(15,27,61,0.10); }
.field-hint { color: var(--slate); font-size: 0.78rem; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; }

.alert { padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: #e8f6ee; color: var(--success); border: 1px solid #c8e9d6; }
.alert-danger { background: #fbeaea; color: #c0392b; border: 1px solid #f3caca; }

/* ---- Filters ---- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); padding: 14px; border-radius: 14px; margin-bottom: 24px; }
.filter-bar select, .filter-bar input { padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.88rem; font-family: inherit; }

/* ---- Detail page ---- */
.breadcrumb-nav { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--slate); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb-nav a { color: var(--slate); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb-nav .sep { color: var(--border); }
.breadcrumb-nav .current { color: var(--ink); font-weight: 600; }

.detail-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; gap: 10px; height: 440px; border-radius: 16px; overflow: hidden; }
.detail-gallery.detail-gallery--single { grid-template-columns: 1fr; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg); }
.detail-gallery .secondary { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; height: 100%; }
/* Two badges share the gallery corner: availability sits top-left (see
   inline style in markup), verified moves to top-right — kept as the
   base .verified-pill default, no override needed here. */
@media (max-width: 700px) {
  .detail-gallery { grid-template-columns: 1fr; height: auto; }
  .detail-gallery > img { aspect-ratio: 4/3; height: auto; }
  .detail-gallery .secondary { display: none; }
}

.detail-more-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.detail-more-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; background: var(--bg); }

.detail-hero-empty { border-radius: 16px; aspect-ratio: 21/8; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.detail-hero-empty img { width: 100px; height: 100px; object-fit: contain; opacity: 0.85; }
@media (max-width: 700px) { .detail-hero-empty { aspect-ratio: 16/10; } }

.detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 24px 0; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; align-items: flex-start; gap: 10px; }
.fact i { color: var(--gold-deep); font-size: 1.1rem; margin-top: 2px; }
.fact small { display: block; color: var(--slate); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.fact div.fact-value { font-weight: 700; margin-top: 3px; }

.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { list-style: none; margin: 0; padding: 16px 0; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--slate); font-size: 0.9rem; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item p { color: var(--slate); margin: 0 0 18px; line-height: 1.7; }

.detail-section-title { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin: 28px 0 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.detail-section-title:first-of-type { border-top: none; padding-top: 0; }
.detail-section-title i { color: var(--gold-deep); }
.detail-sidebar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 801px) { .detail-sidebar { position: sticky; top: 84px; } }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 44px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid h5 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.footer-grid a { color: rgba(255,255,255,0.65); text-decoration: none; display: block; font-size: 0.88rem; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5); text-decoration: none;
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 20px; padding: 48px 32px; text-align: center; color: #fff;
  max-width: 680px; margin: 0 auto; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 15% 0%, rgba(212,175,55,0.22), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner .icon-circle-lg {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy);
}
.cta-banner h2 { color: #fff; margin: 0 0 10px; }
.cta-banner p { color: rgba(255,255,255,0.72); margin: 0 0 24px; }

/* ---- Plan cards (list-property) ---- */
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.plan-card--highlight { border-color: var(--gold-deep); box-shadow: 0 1px 2px rgba(20,25,50,0.03), 0 10px 28px -18px rgba(212,175,55,0.4); }
.plan-card .plan-eyebrow { display: block; color: var(--slate); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.plan-card--highlight .plan-eyebrow { color: var(--gold-deep); }
.plan-card h4 { margin: 6px 0 12px; }
.plan-card ul { color: var(--slate); margin: 0; padding-left: 18px; line-height: 1.9; font-size: 0.92rem; }

/* ---- Contact rows ---- */
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row strong { display: block; font-size: 0.95rem; }
.contact-row span, .contact-row a { color: var(--slate); font-size: 0.9rem; }
.contact-row a { text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

/* ---- Legal pages ---- */
.legal-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); font-size: 0.85rem; background: var(--surface); border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px; margin: 8px 0 28px; }
.legal-content h3 { font-size: 1.05rem; margin: 32px 0 10px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.legal-content h3:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 i { color: var(--gold-deep); }
.legal-content p { color: var(--slate); line-height: 1.8; }

.empty-state { text-align: center; color: var(--slate); padding: 60px 16px; }
.empty-state i { font-size: 2.6rem; display: block; margin-bottom: 12px; opacity: 0.4; }

/* ---- Tenant account requests ---- */
.request-status { font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.02em; }
.request-status--pending { background: #fff4dd; color: #92650a; }
.request-status--active { background: #e6f0ff; color: #1d4ed8; }
.request-status--done { background: #e8f6ee; color: var(--success); }
.request-status--closed { background: var(--bg); color: var(--slate); }
