/*
Theme Name: WoningBuddy
Theme URI: https://woningbuddy.nl
Author: WoningBuddy
Description: Eigen thema voor WoningBuddy - woningmeldingen en samen zoeken met een buddy.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: woningbuddy
*/

:root{
  --navy:#142557; --navy-dark:#0B1638;
  --mint:#34C98B; --mint-hover:#2BB37B; --mint-block:#8BE0B6; --mint-l:#ECFDF5;
  --orange:#F59E0B;
  --bg:#F8FBFD; --surface:#FFFFFF; --border:#E2E8F0;
  --text:#10203F; --body:#3A445F; --muted:#64748B; --soft:#94A3B8;
  --danger:#EF4444;
  --fd:ui-rounded,'Avenir Next','Segoe UI',sans-serif;
  --fb:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
*{box-sizing:border-box;}
html,body{margin:0; padding:0;}
body{font-family:var(--fb); color:var(--text); background:var(--bg); line-height:1.65; -webkit-font-smoothing:antialiased;}
img,svg{display:block; max-width:100%; height:auto;}
a{color:inherit; text-decoration:none;}
.container{max-width:1160px; margin:0 auto; padding:0 28px;}
.section{padding:clamp(64px,7vw,96px) 0;}
.section.white{background:var(--surface);}
.section.navy{background:var(--navy); color:#D6DEF2;}
.section.mintl{background:var(--mint-l);}

h1,h2,h3{font-family:var(--fd); color:var(--navy); line-height:1.08; margin:0 0 18px; letter-spacing:-.02em;}
h1{font-size:clamp(40px,5.6vw,66px); font-weight:800; line-height:1.04; letter-spacing:-.026em;}
h2{font-size:clamp(30px,3.8vw,44px); font-weight:800;}
h3{font-size:19px; font-weight:700; letter-spacing:-.01em;}
.section.navy h2,.section.navy h3{color:#fff;}
p{margin:0 0 14px;}
.muted{color:var(--muted);}
.lead{font-size:clamp(16.5px,1.5vw,19px); color:var(--body); max-width:34em;}
.hl{background:var(--mint-block); padding:0 12px 3px; border-radius:7px; box-decoration-break:clone; -webkit-box-decoration-break:clone;}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border:none; cursor:pointer; border-radius:10px;
  font-family:var(--fb); font-size:16px; font-weight:700; transition:background .15s;}
.btn.mint{background:var(--mint); color:#fff;}
.btn.mint:hover{background:var(--mint-hover); color:#fff;}
.btn.navy{background:var(--navy); color:#fff;}
.btn.navy:hover{background:var(--navy-dark); color:#fff;}
.btn.line{background:var(--surface); color:var(--navy); border:2px solid var(--border);}
.btn.line:hover{border-color:var(--navy);}

header.site{background:var(--surface); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:40;}
.wb-prelaunch-bar{background:var(--navy);color:#fff;font-size:13.5px;text-align:center;padding:9px 18px;line-height:1.45;}
.wb-prelaunch-bar a{color:var(--mint-block);font-weight:800;border-bottom:1px solid currentColor;}
.wb-demo-banner{background:#fff8e8;border:1px solid #f4cf7a;border-radius:14px;padding:18px 20px;margin:0 0 24px;color:#61430a;}
.wb-demo-banner strong{color:#4f3504;}
.hdr{display:flex; justify-content:space-between; align-items:center; height:74px;}
.logo{display:flex; align-items:center; gap:10px; font-family:var(--fd); font-weight:800; font-size:21px; letter-spacing:-.01em; color:var(--navy);}
.logo .brand-word{display:inline-flex; gap:0; color:inherit; text-transform:capitalize !important;}
.logo .brand-accent{color:var(--mint); text-transform:capitalize !important;}
footer.site .logo .brand-accent{color:var(--mint-block);}
header.site nav{display:flex; gap:28px; align-items:center; font-size:15px; font-weight:600; color:var(--muted);}
header.site nav a:hover{color:var(--navy);}
header.site nav ul{display:flex; gap:28px; list-style:none; margin:0; padding:0; align-items:center;}
.btn-hdr{background:var(--navy); color:#fff !important; padding:10px 22px; border-radius:9px; font-weight:700;}
.btn-hdr:hover{background:var(--navy-dark);}
@media(max-width:780px){ header.site nav a:not(.btn-hdr){display:none;} }

.hero{padding:clamp(56px,8vw,104px) 0 clamp(56px,8vw,96px); overflow:hidden;}
.hero-grid{display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(28px,4vw,56px); align-items:center;}
@media(max-width:880px){ .hero-grid{grid-template-columns:1fr;} }
.search{background:var(--surface); border:2px solid var(--navy); border-radius:13px;
  display:flex; padding:6px; max-width:520px; gap:8px; align-items:center;
  box-shadow:0 12px 32px rgba(20,37,87,.08);}
.search input,.search select{flex:1; border:none; outline:none; padding:12px 16px; font-size:16px; font-family:var(--fb); color:var(--text); background:transparent; min-width:0;}
.search .btn{padding:14px 26px; border-radius:9px; white-space:nowrap; font-size:15.5px;}
@media(max-width:480px){ .search{flex-direction:column; align-items:stretch;} .search .btn{width:100%;} }
.usps{display:flex; gap:20px; flex-wrap:wrap; margin-top:24px; font-size:14px; font-weight:600; color:var(--muted); list-style:none; padding:0;}
.usps span::before,.usps li::before{content:"\2713\00a0\00a0"; color:var(--mint); font-weight:800;}
.section.navy .usps{color:#AEBBDD;}

.phonewrap{position:relative; display:flex; justify-content:center; padding:12px 0 26px;}
.phone{width:min(310px,86%); background:var(--navy-dark); border-radius:38px; padding:11px;
  transform:rotate(-2.5deg); box-shadow:0 30px 60px rgba(11,22,56,.32);}
.screen{background:#F4F8F6; border-radius:29px; overflow:hidden;}
.app-top{background:var(--surface); padding:14px 16px 12px; border-bottom:1px solid var(--border);}
.app-top .l{font-family:var(--fd); font-weight:800; font-size:14px; color:var(--navy);}
.app-top .l span{color:var(--mint);}
.chips{display:flex; gap:7px; margin-top:9px; flex-wrap:wrap;}
.chips i{font-style:normal; font-size:10.5px; font-weight:700; padding:5px 11px; border-radius:20px; background:var(--mint-l); color:#1B8A5F;}
.chips i.off{background:#EEF1F5; color:#8A94A8;}
.plc{background:var(--surface); margin:12px 12px 0; border-radius:14px; border:1px solid var(--border); overflow:hidden;}
.plc .visual{height:66px; background:linear-gradient(135deg,#DCE5F4,#C4D2EC); display:flex; align-items:flex-end; padding:8px 11px;}
.plc .visual b{background:rgba(255,255,255,.92); font-family:var(--fd); font-weight:700; font-size:9.5px; padding:3px 9px; border-radius:20px; color:var(--navy);}
.plc .bd{padding:9px 12px 11px; font-size:11px; position:relative; color:var(--text);}
.plc .pr{font-family:var(--fd); font-weight:800; font-size:15px; color:var(--navy);}
.plc .ad{color:#7A849B; font-size:10px;}
.plc .nw{position:absolute; top:9px; right:11px; background:var(--mint); color:#fff; font-size:8.5px; font-weight:800; padding:3px 8px; border-radius:20px;}
.buddy-note{position:absolute; right:max(0px, calc(50% - 260px)); bottom:44px; width:min(268px,88%);
  background:var(--surface); border:2px solid var(--orange); border-radius:15px;
  padding:13px 15px 13px 13px; display:flex; gap:11px; align-items:flex-start;
  box-shadow:0 16px 38px rgba(20,37,87,.18);
  font-size:13px; line-height:1.5; color:var(--navy); transform:rotate(1.5deg);}
.buddy-note b{background:var(--mint-block); padding:0 4px; border-radius:3px; font-weight:700;}
.bface{flex:0 0 32px;}
.squig{position:absolute; left:8%; bottom:6%; width:120px; pointer-events:none;}
@media(max-width:880px){ .squig{display:none;} .buddy-note{right:6%;} }

.steps{display:grid; gap:22px; margin-top:44px;}
@media(min-width:780px){ .steps{grid-template-columns:1fr 1fr 1fr;} }
.step{background:var(--bg); border:1px solid var(--border); border-radius:16px; padding:30px 28px 26px; position:relative;}
.step .num{position:absolute; top:-14px; left:24px; background:var(--navy); color:#fff;
  font-family:var(--fd); font-weight:800; font-size:15px; width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; transform:rotate(-4deg);}
.step .ill{height:64px; margin-bottom:18px; display:flex; align-items:center;}
.step p{font-size:15px; color:var(--body); margin:0;}

.features{display:grid; gap:22px; margin-top:44px;}
@media(min-width:780px){ .features{grid-template-columns:repeat(4,1fr);} }
.feat{background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px 22px;}
.feat .ic{width:46px; height:46px; border-radius:12px; background:var(--mint-l); color:var(--navy);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.feat .ic svg{width:23px; height:23px;}
.feat p{font-size:14.5px; color:var(--body); margin:0;}

.duo{display:grid; gap:clamp(28px,4vw,56px); align-items:center;}
@media(min-width:880px){ .duo{grid-template-columns:1fr 1fr;} }
.duo .lead{color:#C3CDE8;}
.status-card{background:var(--surface); border-radius:16px; padding:22px 24px; color:var(--text);
  box-shadow:0 24px 60px rgba(0,0,0,.28); max-width:430px; transform:rotate(-1deg);}
.status-card h3{margin-bottom:14px;}
.srow{display:flex; align-items:center; gap:12px; padding:11px 0; border-top:1px solid var(--border); font-size:14.5px;}
.srow:first-of-type{border-top:none;}
.avatar{width:34px; height:34px; border-radius:10px; background:var(--navy); color:#fff;
  font-family:var(--fd); font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center; flex:0 0 34px;}
.savatar-b{background:var(--orange);}
.stag{margin-left:auto; font-size:12px; font-weight:800; padding:4px 11px; border-radius:20px;}
.stag.done{background:var(--mint-l); color:#1B8A5F;}
.stag.todo{background:#FDECEC; color:var(--danger);}

.cards3{display:grid; gap:22px; margin-top:40px;}
@media(min-width:780px){ .cards3{grid-template-columns:1fr 1fr 1fr;} }
.lc{background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; display:flex; flex-direction:column;}
.lc .visual{height:130px; background:linear-gradient(135deg,#DCE5F4,#C4D2EC); display:flex; align-items:flex-end; justify-content:space-between; padding:12px 16px;}
.lc .visual .stad{background:rgba(255,255,255,.92); font-family:var(--fd); font-weight:700; font-size:12.5px; padding:4px 12px; border-radius:20px; color:var(--navy);}
.lc .visual .seg{background:var(--navy); color:#fff; font-size:11px; font-weight:800; padding:4px 11px; border-radius:20px;}
.lc .bd{padding:18px 20px 20px;}
.lc .pr{font-family:var(--fd); font-weight:800; font-size:23px; color:var(--navy);}
.lc .pr small{font-family:var(--fb); font-size:13.5px; font-weight:500; color:var(--muted);}
.lc .titel{font-weight:600; font-size:15px; margin-top:3px;}
.lc .adres{font-size:13.5px; color:var(--muted);}
.lc .meta{display:flex; flex-wrap:wrap; gap:8px 14px; font-size:13px; color:var(--soft); margin-top:11px; font-weight:600;}
.lc .acts{display:flex; gap:10px; margin-top:16px;}
.lc .acts .btn{padding:9px 17px; font-size:13.5px; border-radius:9px;}

/* Woningdetail: echte, toegankelijke galerij boven de kenmerken. */
.wb-detail-gallery{padding:24px 0 0;}
.wb-detail-gallery-grid{display:grid; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); gap:12px;}
.wb-detail-gallery figure{margin:0; overflow:hidden; border-radius:18px; background:#E7EDF5; border:1px solid var(--border);}
.wb-detail-gallery img{width:100%; height:100%; min-height:210px; object-fit:cover;}
.wb-detail-gallery .wb-detail-main{min-height:430px;}
.wb-detail-gallery .wb-detail-main img{min-height:430px; max-height:560px;}
.wb-detail-thumbs{display:grid; grid-template-columns:1fr; gap:12px;}
.wb-detail-thumbs figure{min-height:0;}
.wb-detail-thumbs img{max-height:274px;}
.wb-detail-gallery.is-single{display:block;}
.wb-detail-gallery.is-single .wb-detail-main img{aspect-ratio:16/8.5;}
@media(max-width:780px){
  .wb-detail-gallery-grid{grid-template-columns:1fr;}
  .wb-detail-gallery .wb-detail-main,.wb-detail-gallery .wb-detail-main img{min-height:260px;}
  .wb-detail-thumbs{grid-template-columns:1fr 1fr;}
  .wb-detail-thumbs img{height:150px; min-height:150px;}
  .pagehead h1{overflow-wrap:anywhere; word-break:normal; hyphens:auto;}
}

.honest{display:grid; gap:20px; margin-top:40px;}
@media(min-width:780px){ .honest{grid-template-columns:1fr 1fr 1fr;} }
.hcard{border-left:3px solid var(--mint); padding:4px 0 4px 20px;}
.hcard h3{font-size:16.5px; margin-bottom:6px;}
.hcard p{font-size:14.5px; color:var(--body); margin:0;}

.waitform{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:16px;}
.waitform input[type=email]{padding:15px 20px; border-radius:11px; border:2px solid var(--navy);
  font-size:16px; min-width:290px; font-family:var(--fb); outline:none; background:var(--surface);}
@media(max-width:480px){ .waitform input[type=email]{min-width:0; width:100%;} .waitform .btn{width:100%;} }

.pagehead{padding:clamp(48px,6vw,72px) 0 8px;}
.prose{max-width:760px;}
.prose h2{font-size:24px; margin-top:38px;}
.prose h3{font-size:17px; margin-top:26px;}
.prose p,.prose li{font-size:15.5px; color:var(--body);}
.prose ul{padding-left:22px;}
.notice{background:var(--mint-l); border-radius:12px; padding:16px 20px; font-size:14px; color:var(--body); margin:22px 0;}
details.faq{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px 22px; margin-bottom:12px;}
details.faq summary{font-weight:700; cursor:pointer; color:var(--navy); font-size:16px; list-style:none; display:flex; justify-content:space-between; gap:12px;}
details.faq summary::after{content:"+"; font-family:var(--fd); font-weight:800; color:var(--mint); font-size:20px; line-height:1;}
details.faq[open] summary::after{content:"\2212";}
details.faq p{margin:12px 0 0; font-size:14.5px; color:var(--body);}

.pricecard{background:var(--surface); border:2px solid var(--navy); border-radius:20px; padding:36px 34px; max-width:520px; box-shadow:0 20px 50px rgba(20,37,87,.10);}
.pricecard .amount{font-family:var(--fd); font-weight:800; font-size:46px; color:var(--navy);}
.pricecard .amount small{font-family:var(--fb); font-size:16px; font-weight:500; color:var(--muted);}
.pricecard ul{list-style:none; padding:0; margin:20px 0 24px;}
.pricecard li{padding:8px 0; border-top:1px solid var(--border); font-size:15px; color:var(--body);}
.pricecard li:first-child{border-top:none;}
.pricecard li::before{content:"\2713\00a0\00a0"; color:var(--mint); font-weight:800;}

.filterbar{background:var(--surface); border:2px solid var(--navy); border-radius:13px; padding:8px;
  display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:26px 0 14px;}
.nieuwtag{background:var(--mint); color:#0B3D28; font-size:11px; font-weight:800; padding:4px 11px; border-radius:20px;}
.popular-line{font-size:13.5px; color:var(--muted); margin:0 0 30px; font-weight:600;}
.popular-line a{color:var(--navy); border-bottom:2px solid var(--mint);}
.filterbar select,.filterbar input{border:none; outline:none; font-family:var(--fb); font-size:15px;
  padding:11px 14px; border-radius:8px; background:var(--bg); color:var(--text);}
.filterbar .count{margin-left:auto; padding-right:12px; font-size:13.5px; font-weight:700; color:var(--muted);}
.wb-pagination{display:flex; gap:8px; margin-top:34px; font-weight:700;}
.wb-pagination a,.wb-pagination span{padding:8px 14px; border-radius:8px; background:var(--surface); border:1px solid var(--border);}
.wb-pagination .current{background:var(--navy); color:#fff; border-color:var(--navy);}

footer.site{background:var(--navy); color:#C3CDE8; padding:64px 0 36px; font-size:14.5px;}
footer.site .cols{display:grid; gap:34px;}
@media(min-width:780px){ footer.site .cols{grid-template-columns:1.3fr 1fr 1fr 1.3fr;} }
footer.site h4{color:#fff; font-family:var(--fd); font-size:15px; margin:0 0 14px;}
footer.site a{display:block; margin-bottom:9px;}
footer.site a:hover{color:#fff;}
footer.site .base{margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.14);
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13px; color:#8FA0CB;}
