/* BNGo home sections and site footer. Listing text stays server-sourced; empty sections are not rendered. */
.bngo-home>section,.bngo-home>nav{float:none;clear:none;min-width:0}
.bngo-home h1,.bngo-home h2,.bngo-home h3,.bngo-home input,.bngo-home button,.bngo-footer h2{font-family:inherit}
.bngo-services,.bngo-panel,.bngo-block{width:min(var(--bngo-wrap),calc(100% - 40px));margin:20px auto 0;box-sizing:border-box}
.bngo-home h2{margin:0;font-size:18px;line-height:1.3;font-weight:700;color:var(--bngo-ink)}
.bngo-home small{display:block;color:var(--bngo-muted)}

/* Hero: the photo is desktop only, so phones reach search and channels without downloading it. */
.bngo-hero{display:block;padding:20px 16px 18px;text-align:center;background:linear-gradient(180deg,#e7f2fe,#eef8f3)}
.bngo-hero-inner{width:min(100%,720px);margin:auto}
.bngo-hero h1{margin:0;font-size:20px;line-height:1.3;font-weight:800;color:var(--bngo-ink);text-wrap:balance}
.bngo-hero p{display:none}
.bngo-search{display:flex;align-items:center;gap:6px;height:50px;margin:12px auto 0;padding:4px 4px 4px 12px;background:#fff;border:1px solid #d3e0ee;border-radius:var(--bngo-r);box-shadow:0 4px 16px rgba(16,65,124,.1)}
.bngo-search:focus-within{border-color:var(--bngo-blue);box-shadow:0 0 0 2px rgba(15,106,216,.25)}
.bngo-search>.bngo-icon{color:var(--bngo-muted)}
.bngo-search input[type=search]{flex:1;min-width:0;height:40px;padding:0;margin:0;border:0;outline:0;background:transparent;box-shadow:none;font-size:15px;color:var(--bngo-ink)}
.bngo-search input::placeholder{color:#667789;opacity:1}
.bngo-search button{flex:0 0 auto;height:40px;min-width:72px;padding:0 14px;border:0;border-radius:var(--bngo-r-s);background:var(--bngo-blue);color:#fff;font-size:15px;font-weight:700;cursor:pointer}
.bngo-search button:hover{background:var(--bngo-blue-dark)}

/* Channels */
.bngo-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:10px;background:#fff;border:1px solid var(--bngo-line);border-radius:var(--bngo-r)}
.bngo-service{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:8px 2px;border-radius:var(--bngo-r-s);text-align:center;text-decoration:none;color:var(--bngo-ink)}
.bngo-service:hover{background:var(--bngo-tint)}
.bngo-service strong{font-size:14px;line-height:1.25;font-weight:600}
.bngo-service small{display:none;font-size:12px;line-height:1.3}

/* Panels and listing cards */
.bngo-panel{padding:16px;background:#fff;border:1px solid var(--bngo-line);border-radius:var(--bngo-r)}
.bngo-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.bngo-panel-head>a{display:inline-flex;align-items:center;min-height:32px;font-size:14px;color:var(--bngo-blue);white-space:nowrap;text-decoration:none}
.bngo-panel-head>a .bngo-icon{width:16px;height:16px}
.bngo-listings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bngo-listing-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--bngo-line);border-radius:10px;overflow:hidden}
.bngo-listing-card:hover{border-color:#c9d8e8;box-shadow:0 4px 14px rgba(22,58,96,.08)}
.bngo-listing-photo{display:block;aspect-ratio:4/3;background:var(--bngo-tint);overflow:hidden}
.bngo-listing-photo img{display:block;width:100%;height:100%;object-fit:cover}
.bngo-photo-empty{display:grid;place-items:center;width:100%;height:100%;color:#9db4c9}
.bngo-photo-empty .bngo-icon{width:40px;height:40px}
.bngo-listing-body{padding:10px}
.bngo-listing-body h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;margin:0;min-height:2.8em;overflow:hidden;font-size:14px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}
.bngo-listing-body h3 a{color:var(--bngo-ink);text-decoration:none}
.bngo-listing-body h3 a:hover{color:var(--bngo-blue)}
.bngo-listing-price{margin:6px 0 0;font-size:15px;line-height:1.3;font-weight:700;color:var(--bngo-price);overflow-wrap:anywhere}
.bngo-listing-city{margin:4px 0 0;font-size:12px;line-height:1.35;color:var(--bngo-muted);overflow-wrap:anywhere}
.bngo-empty{margin:0;padding:20px 4px;text-align:center;font-size:14px;color:var(--bngo-muted)}

/* Service requests and actions */
.bngo-block{padding:0}
.bngo-block>h2{margin-bottom:12px}
.bngo-requests{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}
.bngo-request,.bngo-action{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;background:#fff;border:1px solid var(--bngo-line);border-radius:var(--bngo-r);text-decoration:none;color:var(--bngo-ink)}
.bngo-request:hover,.bngo-action:hover{border-color:#c9d8e8;box-shadow:0 4px 14px rgba(22,58,96,.08)}
.bngo-request img{display:block;flex:0 0 96px;width:96px;height:60px;object-fit:cover;border-radius:var(--bngo-r-s)}
.bngo-request>span,.bngo-action>span:last-child{flex:1;min-width:0}
.bngo-request strong,.bngo-action strong{display:block;font-size:15px;line-height:1.3;font-weight:600}
.bngo-request small,.bngo-action small{margin-top:3px;font-size:12px;line-height:1.35}
.bngo-request>.bngo-icon{width:16px;height:16px;color:var(--bngo-muted)}
.bngo-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bngo-action .bngo-service-icon{width:44px;height:44px;border-radius:12px}

/* Trust strip */
.bngo-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px;padding:20px max(20px,calc((100% - var(--bngo-wrap))/2 + 20px));background:#edf5fa}
.bngo-trust>div{display:flex;align-items:center;gap:12px;min-width:0}
.bngo-trust>div>svg{flex:0 0 30px;width:30px;height:30px;color:#405d81}
.bngo-trust p{margin:0;min-width:0}
.bngo-trust strong{display:block;font-size:14px;color:var(--bngo-ink)}
.bngo-trust small{margin-top:2px;font-size:12px}

/* Footer */
.site-footer.bngo-footer{float:none;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:24px;max-width:none;margin:0;padding:28px max(20px,calc((100% - var(--bngo-wrap))/2 + 20px)) 20px;background:#fff;border-top:1px solid var(--bngo-line);color:var(--bngo-muted);font-size:14px}
.bngo-footer strong{font-size:26px;font-weight:900;letter-spacing:-.06em}
.bngo-footer-brand>span{font-size:13px;margin-left:4px}
.bngo-footer-brand small{display:block;margin-top:6px;font-size:13px;line-height:1.5}
.bngo-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.bngo-footer-col h2{margin:0 0 6px;font-size:14px;font-weight:700;color:var(--bngo-ink)}
.bngo-footer-col>a,.bngo-footer-col>span{display:inline-flex;align-items:center;min-height:32px;font-size:14px;color:var(--bngo-muted);text-decoration:none;overflow-wrap:anywhere}
.bngo-footer-col>a:hover{color:var(--bngo-blue);text-decoration:underline}
.bngo-footer-contacts .language{display:flex;gap:6px;margin-top:8px}
.bngo-footer-contacts .language a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid var(--bngo-line);border-radius:18px;font-size:13px;color:var(--bngo-ink);text-decoration:none;white-space:nowrap}
.bngo-footer-contacts .language a[aria-current]{background:var(--bngo-tint);border-color:#c9d8e8;font-weight:600}
.bngo-social-icons{display:flex;align-items:center;gap:8px;margin-top:4px}
.bngo-social{display:grid;place-items:center;width:44px;height:44px}
.bngo-social svg{display:block;width:30px;height:30px}
.bngo-footer-legal{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 20px;padding-top:14px;border-top:1px solid var(--bngo-line)}
.bngo-footer-legal small{font-size:12px;line-height:1.5;color:var(--bngo-muted)}
.bngo-footer-company summary{display:inline-flex;align-items:center;gap:4px;min-height:32px;font-size:12px;color:var(--bngo-muted);cursor:pointer;list-style:none}
.bngo-footer-company summary::-webkit-details-marker{display:none}
.bngo-footer-company summary::after{content:"";width:6px;height:6px;margin-top:-3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.bngo-footer-company[open] summary::after{margin-top:3px;transform:rotate(-135deg)}
.bngo-channel-intro{margin:0 0 12px;font-size:14px;line-height:1.6;color:var(--bngo-muted)}
.bngo-policy-consult{margin:0 0 8px}
.bngo-footer-company small{display:block;padding-bottom:4px;overflow-wrap:anywhere}

@media(min-width:761px){
  .bngo-hero{display:flex;align-items:center;justify-content:center;min-height:300px;padding:28px 20px;background:#cfe6f7 url('../images/bngo-hero-r3-1000.webp') center/cover no-repeat}
  .bngo-hero h1{font-size:30px;text-shadow:0 1px 8px rgba(255,255,255,.95)}
  .bngo-hero p{display:block;margin:8px 0 0;font-size:15px;line-height:1.45;color:#16324f;text-shadow:0 1px 6px #fff}
  .bngo-search{height:56px;margin-top:18px;padding:6px 6px 6px 14px}
  .bngo-search button{height:44px;min-width:92px}
  .bngo-services{grid-template-columns:repeat(8,minmax(0,1fr));position:relative;margin-top:-32px;padding:12px;box-shadow:0 8px 24px rgba(40,67,107,.09)}
  .bngo-service{gap:6px;padding:10px 4px}
  .bngo-service small{display:block}
}
@media(min-width:1001px){.bngo-hero{background-image:url('../images/bngo-hero-r3-1600.webp')}}
@media(max-width:900px){
  .bngo-listings{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bngo-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-footer.bngo-footer{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bngo-footer-brand{grid-column:1/-1}
}
@media(max-width:760px){
  .bngo-services{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bngo-trust{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .bngo-services,.bngo-panel,.bngo-block{width:calc(100% - 24px);margin-top:12px}
  .bngo-services{margin-top:12px;padding:6px 4px}
  .bngo-service{gap:4px;padding:6px 1px}
  .bngo-service strong{font-size:13px}
  .bngo-panel{padding:12px}
  .bngo-listings{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .bngo-listing-body{padding:8px}
  .bngo-requests{grid-template-columns:1fr;gap:8px}
  .bngo-actions{gap:8px}
  .bngo-action{flex-direction:column;align-items:flex-start;gap:8px}
  .bngo-action:last-child:nth-child(odd){grid-column:1/-1}
  .bngo-trust{gap:12px;padding:16px 12px;margin-top:16px}
  .bngo-trust>div{gap:8px}
  .bngo-trust>div>svg{flex-basis:24px;width:24px;height:24px}
  .bngo-trust strong{font-size:13px}
  .site-footer.bngo-footer{gap:16px;padding:20px 12px calc(76px + env(safe-area-inset-bottom))}
  .bngo-footer-contacts{grid-column:1/-1}
  .bngo-footer-legal{flex-direction:column}
}
