/* Busy Bee Window Cleaning: shared styles. Mobile first, black and gold. */

:root {
  --black: #111111;
  --black-2: #1A1A1A;
  --black-3: #222222;
  --navy: #0B1220;
  --gold: #D4AF37;
  --gold-bright: #F2B705;
  --white: #FFFFFF;
  --text: #F2F2F2;
  --muted: #C9C9C9;
  --line: #2E2E2E;
  --radius: 10px;
  --max: 1120px;
  --bar-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  /* Room for the sticky mobile call/text bar so it never hides the footer. */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 16px);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: var(--white); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  color: var(--white);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.75rem, 6vw, 2.75rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--gold-bright);
  color: var(--black);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 100;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--black); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--black);
  border-bottom: 2px solid var(--gold);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.wordmark-main {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark-sub {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold-bright); }
.site-nav a[aria-current="page"] { color: var(--gold-bright); }

/* Mobile nav: visible as a list without JS, collapsible with JS. */
.site-nav {
  background: var(--black-2);
  border-top: 1px solid var(--line);
}
.site-nav li + li { border-top: 1px solid var(--line); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-gold { background: var(--gold-bright); color: var(--black); }
.btn-gold:hover { background: var(--white); color: var(--black); }
.btn-outline { border-color: var(--gold); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-lg { min-height: 60px; font-size: 1.15rem; padding: 16px 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(242, 183, 5, 0.10), transparent 55%),
    linear-gradient(180deg, var(--black-2), var(--black));
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--line);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 { max-width: 16em; }
.hero p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 40em;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}
.badges li {
  border: 1px solid var(--gold);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Honeycomb accent, decorative only. */
.honeycomb {
  position: absolute;
  right: -30px;
  top: 18px;
  width: 170px;
  height: 160px;
  opacity: 0.22;
  pointer-events: none;
}
.hex {
  position: absolute;
  width: 52px;
  height: 60px;
  background: var(--gold-bright);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex:nth-child(1) { left: 0;    top: 0; }
.hex:nth-child(2) { left: 56px; top: 0; }
.hex:nth-child(3) { left: 28px; top: 48px; }
.hex:nth-child(4) { left: 84px; top: 48px; }
.hex:nth-child(5) { left: 56px; top: 96px; }
.hex:nth-child(6) { left: 112px; top: 96px; }

.hex-bullet {
  display: inline-block;
  width: 14px;
  height: 16px;
  background: var(--gold-bright);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: 0 0 auto;
  margin-top: 5px;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  background: var(--black-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--gold);
  margin: 0 8px;
}
.breadcrumbs a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs [aria-current="page"] { color: var(--white); font-weight: 600; }

/* ---------- Sections ---------- */

.section { padding: 52px 0; }
.section-alt { background: var(--black-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 44em; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}
.card {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.card p { color: var(--muted); }
.card .card-link {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.check-list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.two-col { display: grid; grid-template-columns: 1fr; gap: 28px; }

.banner-frame {
  max-width: 939px;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.banner-frame img { width: 100%; }

.trust {
  text-align: center;
}
.trust h2 { letter-spacing: 0.06em; }
.trust .gold { color: var(--gold-bright); }

.cta-band {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 44px 0;
  text-align: center;
}
.cta-band p { color: var(--muted); }
.cta-band .btn-row { justify-content: center; }

.link-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 0;
  font-weight: 600;
}

.area-panel {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
}

/* FAQ uses native details/summary. */
.faq { margin-top: 18px; }
.faq details {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 48px 14px 18px;
  min-height: 52px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--white);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
  font-size: 1.4rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: "-"; }
.faq details > div { padding: 0 18px 14px; color: var(--muted); }

/* Contact page */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 520px;
  margin: 24px 0;
}
.contact-actions .btn { width: 100%; white-space: nowrap; }
.big-phone {
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  margin: 4px 0 0;
}
.big-phone a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
a[href^="tel:"],
a[href^="sms:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0A0A0A;
  border-top: 2px solid var(--gold);
  padding: 40px 0 28px;
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}
.site-footer li a:hover { color: var(--gold-bright); text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Sticky mobile call/text bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(17, 17, 17, 0.97);
  border-top: 2px solid var(--gold);
}
.mobile-bar .btn { min-height: 52px; width: 100%; padding: 10px 12px; }

/* ---------- Larger screens ---------- */

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .wordmark-main { font-size: 1.4rem; }
  .wordmark-sub { font-size: 0.68rem; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }

  .brand img { width: 68px; height: 68px; }
  .wordmark-main { font-size: 1.6rem; letter-spacing: 0.26em; }
  .wordmark-sub { font-size: 0.72rem; letter-spacing: 0.2em; }

  .js .nav-toggle { display: none; }
  .site-nav,
  .js .site-nav {
    display: block;
    background: transparent;
    border-top: 0;
  }
  .site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav li + li { border-top: 0; }
  .site-nav a { padding: 0 10px; font-size: 0.9rem; }
  .site-nav .nav-cta a {
    background: var(--gold-bright);
    color: var(--black);
    border-radius: 8px;
    margin-left: 6px;
    padding: 0 16px;
    justify-content: center;
    text-align: center;
  }
  .contact-actions {
    max-width: 700px;
    grid-template-columns: 1fr 1fr;
  }
  .site-nav .nav-cta a:hover { background: var(--white); color: var(--black); }

  .header-inner { min-height: 92px; }
  .hero { padding: 72px 0 76px; }
  .honeycomb { right: 4%; top: 40px; width: 200px; opacity: 0.35; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Header layout: brand and toggle on one row, nav drops below on mobile. */
.header-wrap { display: block; }
@media (max-width: 899px) {
  .site-nav { margin: 0 -20px; }
}
@media (min-width: 900px) {
  .header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .header-wrap .header-inner { flex: 0 0 auto; }
  .site-nav { margin: 0; }
}

@media (max-width: 360px) {
  .wordmark-main { font-size: 1rem; letter-spacing: 0.16em; }
  .wordmark-sub { font-size: 0.52rem; letter-spacing: 0.1em; }
  .brand img { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
