:root{
  --bg:#FFFFFF;
  --text:#1E293B;
  --accent:#475569;
  --muted:#64748B;
  --border:#E2E8F0;
  --soft:#F8FAFC;

  --hero1:#1E293B;
  --hero2:#475569;

  --radius:14px;
  --shadow:0 10px 24px rgba(15, 23, 42, .08);
  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
small{color:var(--muted)}
p{margin:0 0 12px}
ul{margin:0;padding-left:18px}
li{margin:6px 0}
hr{border:none;border-top:1px solid var(--border);margin:22px 0}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.section{padding:34px 0}
.section.alt{background:var(--soft);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
@media (max-width: 900px){.grid-2,.grid-3{grid-template-columns:1fr}}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  padding:16px;
}
.card.tight{padding:12px}
.kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.h1{font-size:38px;line-height:1.1;margin:8px 0 12px}
.h2{font-size:24px;line-height:1.2;margin:0 0 10px}
.h3{font-size:18px;line-height:1.25;margin:0 0 8px}
.lead{font-size:18px;color:#334155}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.badge{
  border:1px solid rgba(226,232,240,.9);
  background:#fff;
  color:#334155;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
}

.topbar{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{
  display:flex;gap:2px;
}
.brand strong{font-size:16px;letter-spacing:.02em}
.brand span{font-size:12px;color:var(--muted)}
.navlinks{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end}
.navlinks a{
  font-size:14px;
  color:#0f172a;
  padding:8px 10px;
  border-radius:10px;
}
.navlinks a.active, .navlinks a:hover{
  background:var(--soft);
  text-decoration:none;
}

.hero{
  background:linear-gradient(135deg, var(--hero1), var(--hero2));
  color:#fff;
  padding:46px 0 38px;
}
.hero .lead{color:rgba(255,255,255,.86)}
.hero .card{background:rgba(255,255,255,.06);border-color:rgba(226,232,240,.22);box-shadow:none}
.hero a{color:#fff}
.hero .quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  border-radius:12px;
  padding:10px 12px;
  border:1px solid rgba(226,232,240,.32);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:14px;
  text-decoration:none;
}
.btn:hover{background:rgba(255,255,255,.14);text-decoration:none}

.keyfacts{display:grid;gap:12px}
.fact{display:flex;gap:10px}
.fact b{min-width:160px;color:#0f172a}
.fact span{color:#334155}
@media (max-width:900px){.fact{flex-direction:column}.fact b{min-width:auto}}

.table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.table th,.table td{
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
  text-align:left;
}
.table th{background:var(--soft);font-weight:600}
.table tr:last-child td{border-bottom:none}

.tabs{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
}
.tablist{
  display:flex;flex-wrap:wrap;
  background:var(--soft);
  border-bottom:1px solid var(--border);
}
.tabbtn{
  appearance:none;border:0;background:transparent;
  padding:12px 14px;
  font:inherit;
  color:#0f172a;
  cursor:pointer;
}
.tabbtn[aria-selected="true"]{
  background:#fff;
  border-right:1px solid var(--border);
  border-left:1px solid var(--border);
  font-weight:700;
}
.tabpanel{padding:16px;display:none}
.tabpanel.active{display:block}

.form{
  display:grid;gap:12px;
}
.field{display:grid;gap:6px}
label{font-size:14px;color:#0f172a;font-weight:600}
input, select, textarea{
  font:inherit;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  outline:none;
}
input:focus, select:focus, textarea:focus{border-color:#94A3B8}
textarea{min-height:120px;resize:vertical}
.submit{
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fff;
  border-radius:12px;
  padding:10px 14px;
  font:inherit;
  cursor:pointer;
}
.submit:hover{filter:brightness(1.05)}

.footer{
  border-top:1px solid var(--border);
  padding:24px 0;
  background:#fff;
}
.footer .cols{display:grid;gap:16px;grid-template-columns:2fr 1fr 1fr}
@media(max-width:900px){.footer .cols{grid-template-columns:1fr}}
.footer a{color:#0f172a}
.footer .meta{color:var(--muted);font-size:13px;margin-top:10px}
.note{
  background:var(--soft);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  color:#334155;
}

/* Brand with logo */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand:hover{text-decoration:none}
.logo{
  width:40px;height:40px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.06em;
  color:#fff;
  background:linear-gradient(135deg, var(--hero1), var(--hero2));
  border:1px solid rgba(226,232,240,.25);
}
.logoimg{
  width:40px;height:40px;
  border-radius:12px;
  display:block;
  border:1px solid var(--border);
  background:#fff;
}
.brandtext{display:flex;flex-direction:column;gap:2px}
.brandtext strong{font-size:16px;letter-spacing:.02em}
.brandtext span{font-size:12px;color:var(--muted)}

/* Burger button */
.burger{
  display:none;
  margin-left:auto;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.burger:hover{background:var(--soft)}
.burgerlines{
  display:block;
  width:20px;height:2px;
  background:var(--text);
  margin:0 auto;
  position:relative;
}
.burgerlines::before,
.burgerlines::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;height:2px;
  background:var(--text);
}
.burgerlines::before{top:-6px}
.burgerlines::after{top:6px}

/* Mobile nav behavior */
@media (max-width: 900px){
  .nav{gap:10px}
  .burger{display:inline-flex;align-items:center;justify-content:center}

  .navlinks{
    display:none;
    width:100%;
    margin-top:10px;
    padding:10px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--shadow);
  }
  .navlinks.open{display:flex;flex-direction:column;align-items:stretch}
  .navlinks a{padding:10px 12px;border-radius:10px}
}

@media (max-width: 900px){

  /* Stack header vertically */
  .nav{
    flex-wrap:wrap;
    gap:10px;
  }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
  }

  /* Full width menu below */
  .navlinks{
    display:none;
    flex-direction:column;
    width:100%;
    margin-top:8px;
    padding:10px;

    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
    box-shadow:var(--shadow);
  }

  .navlinks.open{
    display:flex;
  }

  .navlinks a{
    width:100%;
    padding:12px 14px;
    border-radius:10px;
  }

}

/* Toast (styled alert) */
.toast{
  position:fixed;
  left:18px;
  right:18px;
  top:72px;
  z-index:50;
  display:none;
}
.toast.show{display:block}

.toast-inner{
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--border);
  border-left:6px solid var(--accent);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:14px 14px 12px;
}

.toast-title{
  font-weight:800;
  color:#0f172a;
  margin:0 0 4px;
}

.toast-text{
  color:#334155;
  font-size:14px;
  margin:0 0 10px;
}

.toast-close{
  border:1px solid var(--border);
  background:var(--soft);
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  font:inherit;
}
.toast-close:hover{filter:brightness(0.98)}

/* Property overview section */

.property-block{
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  gap:20px;
  margin-top:18px;
  align-items:stretch;
}

.property-image{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow);
}

.property-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  min-height:320px;
}

.property-info{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

/* Mobile layout */
@media (max-width:900px){

  .property-block{
    grid-template-columns:1fr;
  }

  .property-image img{
    min-height:220px;
  }

}
