/* =============================================
   BESTCLEAN24 — FOOTER
   Blue bg, logo+contact top, 4 nav columns,
   copyright bottom. Mobile: accordion.
   ============================================= */

.bc-footer {
  background: var(--bc-blue);
  color: var(--bc-white);
}


/* =============================================================
   TOP BAR — logo + contact
   ============================================================= */
.bc-footer-top {
  max-width: var(--bc-max-width);
  margin: 0 auto;
  padding: 3rem 2.5rem 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.bc-footer-logo {
  font-family: var(--bc-font);
  font-size: 3rem;
  font-weight: 800;
  color: var(--bc-white);
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1;
}

.bc-footer-logo:hover,
.bc-footer-logo:visited {
  color: var(--bc-white);
}

.bc-footer-contact {
  text-align: right;
}

.bc-footer-contact-heading {
  font-family: var(--bc-font);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bc-white);
  margin-bottom: 0.5rem;
}

.bc-footer-contact a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.7;
  transition: color 0.2s;
}

.bc-footer-contact a:hover {
  color: var(--bc-white);
}


/* =============================================================
   SEPARATOR
   ============================================================= */
.bc-footer-sep {
  max-width: var(--bc-max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.bc-footer-sep-line {
  height: 1px;
  background: rgba(255,255,255,0.12);
}


/* =============================================================
   NAV COLUMNS
   ============================================================= */
.bc-footer-nav {
  max-width: var(--bc-max-width);
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.bc-footer-col-heading {
  font-family: var(--bc-font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bc-white);
  margin-bottom: 1rem;
}

.bc-footer-col-heading.invisible {
  opacity: 0;
  pointer-events: none;
}

.bc-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-footer-links li {
  list-style: none;
}

.bc-footer-links a {
  display: inline-block;
  font-family: var(--bc-font);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s, padding-left 0.2s;
}

.bc-footer-links a:hover {
  color: var(--bc-white);
  padding-left: 4px;
}


/* =============================================================
   BOTTOM BAR — copyright + legal
   ============================================================= */
.bc-footer-bottom {
  max-width: var(--bc-max-width);
  margin: 0 auto;
  padding: 1.5rem 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.bc-footer-copy {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.bc-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.bc-footer-legal a {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.bc-footer-legal a:hover {
  color: rgba(255,255,255,0.7);
}


/* =============================================================
   MOBILE ACCORDION
   ============================================================= */
.bc-footer-accordion {
  display: none;
}

@media (max-width: 900px) {
  .bc-footer-top {
    flex-direction: column;
    padding: 2.5rem 1.25rem 2rem;
    gap: 1.5rem;
  }

  .bc-footer-logo {
    font-size: 2.2rem;
  }

  .bc-footer-contact {
    text-align: left;
  }

  .bc-footer-contact-heading {
    font-size: 1.2rem;
  }

  .bc-footer-sep {
    padding: 0 1.25rem;
  }

  .bc-footer-nav {
    padding: 2rem 1.25rem;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .bc-footer-col-heading.invisible {
    display: none;
  }

  .bc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .bc-footer-legal {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 580px) {
  .bc-footer-nav {
    padding: 1.5rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Hide static heading, show accordion toggle */
  .bc-footer-col > .bc-footer-col-heading {
    display: none;
  }

  .bc-footer-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .bc-footer-accordion-label {
    font-family: var(--bc-font);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bc-white);
  }

  .bc-footer-accordion-arrow {
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,0.5);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s;
  }

  .bc-footer-col.is-open .bc-footer-accordion-arrow {
    transform: rotate(180deg);
  }

  .bc-footer-col .bc-footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
  }

  .bc-footer-col.is-open .bc-footer-links {
    max-height: 400px;
    padding: 0.5rem 0 0.75rem;
  }
}
