/* rodenburgproperties.com — public website. Brand colours from the business card. */
:root {
  --navy: #13124a;
  --navy-2: #2b29a8;
  --gold: #f8d848;
  --ink: #16182a;
  --muted: #5d6175;
  --line: #e3e4ee;
  --bg: #f6f6fa;
  --card: #ffffff;
  --ok: #1e8e5a;
  --bad: #c0392b;
  --grad: linear-gradient(160deg, #05050f 0%, #13124a 55%, #2f2cbf 100%);
  --radius: 14px;
  --shadow: 0 2px 6px rgba(19, 18, 74, .06), 0 10px 30px rgba(19, 18, 74, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* header */
.site-head { background: var(--grad); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 12px rgba(0, 0, 0, .2); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { height: 50px; width: auto; border-radius: 8px; }
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a { color: #e9e8ff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.on { background: rgba(248, 216, 72, .16); color: #fff; }
.nav a.cta { background: var(--gold); color: var(--navy); }
.nav a.cta:hover { background: #ffe57a; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* hero */
.hero { background: var(--grad); color: #fff; padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hero p { color: #dcdbfb; font-size: 1.12rem; max-width: 36em; }
.hero .logo-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 10px; }
.hero .logo-card img { border-radius: 12px; }
.page-hero { background: var(--grad); color: #fff; padding: 36px 0 40px; }
.page-hero p { color: #dcdbfb; margin: 0; max-width: 46em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(.97); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn:disabled { opacity: .6; cursor: wait; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* sections & cards */
section { padding: 52px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card .body { padding: 18px; }
.feature { padding: 22px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 12px; }

/* listings */
.listing { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s; }
.listing:hover { transform: translateY(-3px); }
.listing .photo { aspect-ratio: 4 / 3; background: #e7e7f2 center / cover no-repeat; position: relative; }
.listing .photo .tag { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.listing .price { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.listing .facts { color: var(--muted); font-size: .92rem; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery .main { aspect-ratio: 4 / 3; background: #e7e7f2 center / cover no-repeat; cursor: zoom-in; }
.gallery .side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.gallery .side div { background: #e7e7f2 center / cover no-repeat; cursor: zoom-in; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.thumbs div { width: 86px; height: 64px; border-radius: 8px; background: #e7e7f2 center / cover no-repeat; cursor: pointer; }
.facts-table { width: 100%; border-collapse: collapse; }
.facts-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts-table td:first-child { color: var(--muted); width: 40%; }
ul.features { padding-left: 20px; margin: 8px 0; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 60; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox img { max-width: 96vw; max-height: 92vh; }

/* forms */
form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
label.f { display: block; font-weight: 600; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 5px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfd1de; border-radius: 10px; padding: 11px 12px; }
label.f textarea { min-height: 120px; resize: vertical; }
label.f input:focus, label.f select:focus, label.f textarea:focus { outline: 2px solid rgba(43, 41, 168, .35); border-color: var(--navy-2); }
.req { color: var(--bad); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.alert.warn { background: #fff4d6; border: 1px solid #f2d98b; color: #6b4e00; }
.alert.ok { background: #e5f5ec; border: 1px solid #bfe5cf; color: #14532d; }
.alert.err { background: #fbe9e7; border: 1px solid #f3c9c3; color: #7f1d1d; }
.form-card { padding: 24px; }

/* footer */
.site-foot { background: #0b0b24; color: #c7c6ea; padding: 36px 0 28px; font-size: .92rem; }
.site-foot a { color: #fff; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-foot h3 { color: var(--gold); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 6px 0; }
.eho { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #9d9cc8; }

@media (max-width: 900px) {
  .hero .wrap, .g2 { grid-template-columns: 1fr; }
  .hero .logo-card { display: none; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #0f0e3a; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .g3 { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .side { display: none; }
  section { padding: 38px 0; }
  .brand img { height: 42px; }
}
