/* ============================================================
   Boss Cleaning — Soft-Wash Roof Cleaning, South-West Sydney
   Shared stylesheet. Mobile-first, fast, no frameworks.
   ============================================================ */

:root {
  --navy: #0d2137;
  --navy-deep: #081726;
  --blue: #2b8ad6;
  --blue-dark: #1c6fb0;
  --green: #16a34a;
  --green-dark: #12833c;
  --ink: #15242f;
  --muted: #5b6b78;
  --line: #e2e8ee;
  --bg: #f6f9fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(13, 33, 55, .08);
  --shadow-md: 0 10px 30px rgba(13, 33, 55, .12);
  --shadow-lg: 0 24px 60px rgba(13, 33, 55, .18);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .78rem; color: var(--blue-dark); margin-bottom: .6rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
section { padding: clamp(48px, 7vw, 90px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-weight: 700; font-size: 1rem; padding: 15px 28px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(22,163,74,.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(43,138,214,.35); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }

/* ---------- Promo announcement bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, #f5a623, #f0872a);
  color: #1a1205; text-align: center; font-weight: 700; font-size: .95rem;
  padding: 10px 16px; line-height: 1.35;
}
.promo-bar a { color: #1a1205; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; font-weight: 800; }
.promo-bar .tag { background: #1a1205; color: #ffd591; padding: 2px 9px; border-radius: 999px; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; margin-right: 8px; }
@media (max-width: 520px) { .promo-bar { font-size: .82rem; } .promo-bar .tag { display: none; } }

/* ---------- Sticky top stack (promo bar + header) ---------- */
.sticky-top { position: sticky; top: 0; z-index: 60; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.2rem; }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-size: 1.1rem;
}
.brand small { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 600; padding: 10px 14px; border-radius: 8px; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { background: #eef4f9; color: var(--blue-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-weight: 800; color: var(--navy); white-space: nowrap; }
.nav-phone span { color: var(--green); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #123457 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 85% -10%, rgba(43,138,214,.30), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero p.lede { font-size: 1.18rem; color: #d5e3f0; max-width: 40ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #eaf2fa; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; background: linear-gradient(135deg, #234b6e, #0e2439);
  position: relative;
}
.media-ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  color: #cfe0ee; background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #1c3f5f, #0e2439);
  font-weight: 600; padding: 20px;
}
.media-ph .ph-icon { font-size: 2.4rem; margin-bottom: 8px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-deep); color: #cfe0ee; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; padding: 18px 20px; }
.trust-strip .item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; }
.trust-strip .item b { color: #fff; }

/* ---------- Guarantee band ---------- */
.guarantee {
  background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border-radius: var(--radius);
  padding: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; box-shadow: var(--shadow-md);
}
.guarantee .seal { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.18); border: 3px dashed rgba(255,255,255,.6); display: grid; place-items: center; font-weight: 800; font-size: .7rem; text-align: center; line-height: 1.1; }
.guarantee h2 { color: #fff; margin-bottom: .2em; }
.guarantee p { margin: 0; color: #eafff0; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ef; }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem;
  background: #eaf3fb; color: var(--blue-dark); margin-bottom: 16px;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
.card .price { margin-top: 14px; font-weight: 800; color: var(--navy); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 60px; margin-bottom: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h3 { margin-bottom: .2em; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li { position: relative; padding-left: 34px; margin-bottom: 14px; font-weight: 500; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: #e6f7ed; color: var(--green-dark); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-style: italic; color: var(--ink); }
.review .who { font-weight: 700; color: var(--navy); font-style: normal; margin-top: 12px; }
.review .who span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #123457); color: #fff; border-radius: 20px; padding: clamp(34px, 5vw, 60px); text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e3f0; max-width: 52ch; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Areas ---------- */
.suburb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.suburb-grid span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------- Media images (fill placeholder boxes) ---------- */
.hero-media img, .media-fill { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Before / After gallery ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-pair { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ba-pair .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line); }
.ba-shot { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.ba-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-shot .tag { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; color: #fff; }
.ba-shot .tag.before { background: rgba(15,33,55,.85); }
.ba-shot .tag.after { background: var(--green); }
.ba-pair .cap { padding: 16px 20px; }
.ba-pair .cap b { color: var(--navy); }
.ba-pair .cap span { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- Video feature ---------- */
.video-feature { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.video-feature video { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 9/16; object-fit: cover; }
@media (max-width: 720px) {
  .ba-grid { grid-template-columns: 1fr; }
  .video-feature { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe0ee; max-width: 60ch; margin: 0; }
.breadcrumbs { font-size: .85rem; color: #9fb8cd; margin-bottom: 14px; }
.breadcrumbs a { color: #cfe0ee; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #eaf3fb; color: var(--blue-dark); display: grid; place-items: center; font-size: 1.2rem; }
.info-row b { color: var(--navy); }
form label { display: block; font-weight: 600; color: var(--navy); margin: 0 0 6px; font-size: .92rem; }
form input, form select, form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: 16px; background: #fff; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

/* ---------- Roof-type radio pills ---------- */
.roof-type { display: flex; gap: 10px; margin-bottom: 16px; }
.roof-type .opt { flex: 1; position: relative; }
.roof-type input { position: absolute; opacity: 0; width: 0; height: 0; }
.roof-type span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 13px 8px; cursor: pointer; font-weight: 700; color: var(--navy); transition: .15s; }
.roof-type .opt:hover span { border-color: var(--blue); }
.roof-type input:checked + span { border-color: var(--blue); background: #eaf3fb; color: var(--blue-dark); box-shadow: 0 0 0 1px var(--blue) inset; }
.roof-type input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b8ccdd; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #b8ccdd; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand small { color: #8fa8bd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #8fa8bd; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guarantee { grid-template-columns: auto 1fr; }
  .guarantee .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links, .nav-phone { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 14px; border-radius: 8px; }
  .hamburger { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  body { padding-bottom: 66px; }
  .mobile-callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--green); box-shadow: 0 -4px 18px rgba(0,0,0,.18);
  }
  .mobile-callbar a { flex: 1; text-align: center; color: #fff; font-weight: 800; padding: 18px; }
  .mobile-callbar a:first-child { background: var(--navy); }
}
