/* ============================================================
   BIDII CLEANERS — demonstration brand
   A fictional Nairobi cleaning company, invented by Kazira to
   demonstrate what we build.

   Note this is a DIFFERENT brand from Kazira on purpose. A
   cleaning company's website should look like a cleaning
   company's website, not like its developer's. Blue and green
   here; Kazira's own teal and amber stay out of it.
   ============================================================ */

:root {
  --b-ink:      #0A2540;   /* headings and body text */
  --b-blue:     #0E5AA7;   /* primary - trust, the company colour */
  --b-blue-dk:  #0A4683;
  --b-soft:     #E6F1FB;   /* tinted panels */
  --b-green:    #0E9268;   /* calls to action - fresh, "go" */
  --b-green-dk: #0B7A57;
  --b-paper:    #FFFFFF;
  --b-wash:     #F5F9FD;   /* alternating section background */
  --b-slate:    #5B6B80;   /* secondary text */
  --b-line:     #DCE6F0;
  --b-star:     #F5A623;

  --b-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --b-r-sm: 8px;
  --b-r: 14px;
  --b-r-lg: 22px;
  --b-pill: 999px;

  --b-sh-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.05);
  --b-sh:    0 4px 14px rgba(10,37,64,.08);
  --b-sh-lg: 0 18px 44px rgba(10,37,64,.13);

  --b-maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; color: inherit; }

body {
  background: var(--b-paper);
  color: var(--b-ink);
  font-family: var(--b-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.b-wrap { width: 100%; max-width: var(--b-maxw); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 720px) { .b-wrap { padding-inline: 1.75rem; } }

.b-section { padding-block: 3rem; }
@media (min-width: 760px) { .b-section { padding-block: 4.5rem; } }
.b-wash { background: var(--b-wash); }
.b-narrow { max-width: 680px; }
.b-center { text-align: center; }
.b-center .b-narrow { margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { line-height: 1.17; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
p { text-wrap: pretty; }

.b-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .11em; color: var(--b-blue);
  margin-bottom: .75rem;
}
.b-lede { font-size: 1.1rem; color: var(--b-slate); }
.b-muted { color: var(--b-slate); }
.b-small { font-size: .9rem; }

a { color: var(--b-blue); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--b-pill);
  font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; min-height: 50px;
  transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.b-btn:active { transform: translateY(1px); }
.b-btn-go    { background: var(--b-green); color: #fff; border-color: var(--b-green); }
.b-btn-go:hover { background: var(--b-green-dk); border-color: var(--b-green-dk); color: #fff; }
.b-btn-blue  { background: var(--b-blue); color: #fff; border-color: var(--b-blue); }
.b-btn-blue:hover { background: var(--b-blue-dk); border-color: var(--b-blue-dk); color: #fff; }
.b-btn-out   { background: transparent; color: var(--b-ink); border-color: var(--b-line); }
.b-btn-out:hover { border-color: var(--b-blue); color: var(--b-blue); }
.b-btn-white { background: #fff; color: var(--b-blue); border-color: #fff; }
.b-btn-white:hover { background: var(--b-soft); color: var(--b-blue-dk); }

.b-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.b-center .b-btns { justify-content: center; }

/* ---------- Header ---------- */
.b-header {
  position: sticky; top: var(--demo-bar-h, 0); z-index: 500;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--b-line);
}
.b-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.b-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--b-ink); flex-shrink: 0; }
.b-logo-name { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1; }
.b-logo-tag { display: block; font-size: 10.5px; font-weight: 600; color: var(--b-slate); letter-spacing: .07em; text-transform: uppercase; margin-top: 2px; }

.b-navtoggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--b-r-sm);
  background: transparent; border: 1px solid var(--b-line); cursor: pointer;
}
.b-navtoggle span { display: block; width: 19px; height: 2px; background: var(--b-ink); position: relative; transition: background .15s; }
.b-navtoggle span::before, .b-navtoggle span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 2px; background: var(--b-ink); transition: transform .2s;
}
.b-navtoggle span::before { top: -6px; }
.b-navtoggle span::after { top: 6px; }
.b-navtoggle[aria-expanded="true"] span { background: transparent; }
.b-navtoggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.b-navtoggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.b-nav { display: none; }
.b-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--b-line);
  box-shadow: var(--b-sh-lg); padding: .75rem 1rem 1.25rem;
}
.b-nav ul { display: flex; flex-direction: column; gap: 2px; list-style: none; padding: 0; margin: 0; }
.b-nav a { display: block; padding: .8rem .6rem; border-radius: var(--b-r-sm); text-decoration: none; color: var(--b-ink); font-weight: 600; }
.b-nav a:hover { background: var(--b-soft); color: var(--b-blue); }
.b-nav .b-nav-cta { margin-top: .75rem; }
.b-nav .b-nav-cta .b-btn { width: 100%; }

@media (min-width: 940px) {
  .b-navtoggle { display: none; }
  .b-nav { display: block !important; position: static; background: none; box-shadow: none; border: 0; padding: 0; }
  .b-nav ul { flex-direction: row; align-items: center; gap: .15rem; }
  .b-nav a { padding: .5rem .75rem; font-size: .93rem; }
  .b-nav .b-nav-cta { margin-top: 0; margin-left: .6rem; }
  .b-nav .b-nav-cta .b-btn { width: auto; min-height: 44px; padding: .55rem 1.2rem; font-size: .93rem; }
}

/* ---------- Hero ---------- */
.b-hero { background: linear-gradient(170deg, var(--b-soft) 0%, #fff 72%); padding-block: 3rem 3.5rem; }
@media (min-width: 940px) { .b-hero { padding-block: 4.5rem 5rem; } }
.b-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .b-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; } }
.b-hero h1 { margin-bottom: 1rem; }
.b-hero .b-lede { max-width: 54ch; }

.b-ticks { display: grid; gap: .6rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.b-ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.b-ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--b-green); }

/* ---------- Trust strip ---------- */
.b-trust { border-block: 1px solid var(--b-line); background: #fff; }
.b-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding-block: 2rem; text-align: center; }
@media (min-width: 760px) { .b-trust-grid { grid-template-columns: repeat(4, 1fr); } }
.b-trust-num { font-size: 1.9rem; font-weight: 800; color: var(--b-blue); letter-spacing: -0.03em; line-height: 1.1; }
.b-trust-lab { font-size: .86rem; color: var(--b-slate); margin-top: .2rem; }

/* ---------- Cards / grids ---------- */
.b-grid { display: grid; gap: 1.1rem; }
.b-g2 { grid-template-columns: 1fr; }
.b-g3 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .b-g2 { grid-template-columns: repeat(2,1fr); } .b-g3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .b-g3 { grid-template-columns: repeat(3,1fr); } }

.b-card {
  background: #fff; border: 1px solid var(--b-line); border-radius: var(--b-r);
  padding: 1.6rem; box-shadow: var(--b-sh-sm);
}
.b-card h3 { margin-bottom: .5rem; }
.b-card p { color: var(--b-slate); font-size: .95rem; }
.b-card-ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--b-soft);
  color: var(--b-blue); display: grid; place-items: center; margin-bottom: 1rem;
}
.b-card-price { margin-top: 1rem; font-weight: 800; color: var(--b-blue); font-size: 1.05rem; }

/* Service illustration panels - drawn, not photographed */
.b-figure { border-radius: var(--b-r); overflow: hidden; background: var(--b-soft); }
.b-figure svg { width: 100%; height: auto; display: block; }

/* ---------- Price table ---------- */
.b-table-scroll { overflow-x: auto; border: 1px solid var(--b-line); border-radius: var(--b-r); background: #fff; }
table.b-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.b-table th, .b-table td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--b-line); }
.b-table thead th { background: var(--b-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--b-blue); font-weight: 800; }
.b-table tbody tr:last-child td { border-bottom: 0; }
.b-table td.b-amt { font-weight: 800; white-space: nowrap; }

/* ---------- Steps ---------- */
.b-steps { display: grid; gap: 1.6rem; list-style: none; padding: 0; counter-reset: bstep; }
@media (min-width: 860px) { .b-steps { grid-template-columns: repeat(3,1fr); gap: 2rem; } }
.b-step-n {
  counter-increment: bstep; width: 46px; height: 46px; border-radius: 50%;
  background: var(--b-blue); color: #fff; display: grid; place-items: center;
  font-weight: 800; margin-bottom: .9rem;
}
.b-step-n::before { content: counter(bstep); }

/* ---------- Reviews ---------- */
.b-stars { display: flex; gap: 2px; color: var(--b-star); margin-bottom: .7rem; }
.b-review p { font-size: .97rem; color: var(--b-ink); }
.b-review-who { margin-top: .9rem; font-size: .88rem; color: var(--b-slate); font-weight: 600; }

/* ---------- Areas ---------- */
.b-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.b-chip {
  background: #fff; border: 1px solid var(--b-line); border-radius: var(--b-pill);
  padding: .45rem 1rem; font-size: .9rem; font-weight: 600;
}

/* ---------- FAQ ---------- */
details.b-qa { background: #fff; border: 1px solid var(--b-line); border-radius: var(--b-r); margin-bottom: .7rem; }
details.b-qa summary {
  padding: 1.05rem 1.3rem; cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px;
}
details.b-qa summary::-webkit-details-marker { display: none; }
details.b-qa summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--b-blue); line-height: 1; }
details.b-qa[open] summary::after { content: '\2212'; }
details.b-qa summary:hover { background: var(--b-wash); }
details.b-qa .b-qa-b { padding: 0 1.3rem 1.3rem; color: var(--b-slate); font-size: .95rem; }

/* ---------- CTA band ---------- */
.b-cta { background: var(--b-blue); color: #fff; }
.b-cta h2 { color: #fff; }
.b-cta p { color: #C9DEF3; }

/* ---------- Footer ---------- */
.b-footer { background: var(--b-ink); color: #AFC0D4; padding-block: 3rem 1.5rem; }
.b-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .85rem; }
.b-footer a { color: #E7EFF8; text-decoration: none; }
.b-footer a:hover { color: #fff; text-decoration: underline; }
.b-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
.b-foot-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .b-foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; } }
.b-foot-bot { border-top: 1px solid #1D3350; margin-top: 2.2rem; padding-top: 1.4rem; font-size: .82rem; color: #7E92AB; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; }

/* ---------- WhatsApp float ---------- */
.b-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 600;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25D366; color: #06251A; padding: .8rem 1.1rem;
  border-radius: var(--b-pill); font-weight: 700; font-size: .92rem;
  text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.22); min-height: 52px;
  transition: transform .15s, box-shadow .15s;
}
.b-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.3); color: #06251A; }
.b-wa-txt { display: none; }
@media (min-width: 560px) { .b-wa-txt { display: inline; } }

/* ---------- Forms (shared with the booking demo) ---------- */
.b-field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.b-field label { font-weight: 700; font-size: .92rem; }
.b-field .b-hint { font-size: .82rem; color: var(--b-slate); font-weight: 400; }
.b-field input, .b-field select, .b-field textarea {
  width: 100%; padding: .8rem 1rem; font-size: 16px;
  background: #fff; border: 1.5px solid var(--b-line); border-radius: var(--b-r-sm);
  min-height: 50px; transition: border-color .15s, box-shadow .15s;
}
.b-field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus {
  outline: none; border-color: var(--b-blue); box-shadow: 0 0 0 3px rgba(14,90,167,.16);
}
.b-field input:user-invalid, .b-field select:user-invalid { border-color: #C0392B; }
.b-row2 { display: grid; gap: 0 1.1rem; }
@media (min-width: 620px) { .b-row2 { grid-template-columns: 1fr 1fr; } }

.b-skip { position: absolute; left: -9999px; }
.b-skip:focus { left: 8px; top: calc(var(--demo-bar-h,0px) + 8px); z-index: 9998; background: var(--b-blue); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 8px; }
:focus-visible { outline: 3px solid var(--b-blue); outline-offset: 2px; border-radius: 4px; }
.b-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
