/* =========================================================
   BC BRICK — FOOTER
========================================================= */

.site-footer.bc-footer {
  margin: 0;
  padding: 0;
  color: var(--bc-color-white);
  background: var(--bc-color-primary-hover);
  font-family: var(--bc-font-main);
}

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

.bc-footer a {
  color: inherit;
}

.bc-footer__container {
  position: relative;
}

/* =========================================================
   CTA — CONTENT + FACTORY LINE-ART
========================================================= */

.bc-footer__cta {
  position: relative;
  display: grid;
  padding-block: var(--bc-space-9);
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  align-items: center;
  column-gap: var(--bc-space-8);
  overflow: hidden;
  border-bottom: 1px solid
    color-mix(in srgb, var(--bc-color-white) 16%, transparent);
}

.bc-footer__cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
}

.bc-footer__cta-copy {
  max-width: 720px;
}

.bc-footer__cta-eyebrow {
	display: flex;
    margin: 0 0 var(--bc-space-3);
    align-items: center;
    gap: var(--bc-space-3);
    color: var(--bc-color-accent);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bc-footer__cta-title {
  max-width: 680px;
  margin: 0;
  color: var(--bc-color-white);
  font-family: var(--bc-font-heading);
  font-size: var(--bc-font-size-h3);
  font-weight: 700;
  line-height: var(--bc-line-height-h3);
}

.bc-footer__cta-text {
  max-width: 620px;
  margin: var(--bc-space-4) 0 0;
  color: var(--bc-color-white);
  font-size: var(--bc-font-size-body);
  line-height: var(--bc-line-height-body);
  opacity: 0.76;
}

.bc-footer__cta-button {
  display: inline-flex;
  width: auto;
  min-width: 260px;
  min-height: 52px;
  margin-top: var(--bc-space-6);
  padding-inline: var(--bc-space-5);
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-4);
  border: 1px solid var(--bc-color-button);
  border-radius: var(--bc-radius-sm);
  color: var(--bc-color-white);
  background: var(--bc-color-button);
  font-size: var(--bc-font-size-button);
  font-weight: 500;
  line-height: var(--bc-line-height-small);
  text-decoration: none;
  touch-action: manipulation;
  white-space: nowrap;
  transition:
    border-color var(--bc-transition),
    background-color var(--bc-transition),
    transform var(--bc-transition);
}

.bc-footer__cta-button:focus-visible {
  color: var(--bc-color-white);
  border-color: var(--bc-color-button-hover);
  background: var(--bc-color-button-hover);
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .bc-footer__cta-button:hover {
    color: var(--bc-color-white);
    border-color: var(--bc-color-button-hover);
    background: var(--bc-color-button-hover);
    transform: translateY(-1px);
  }
}

.bc-footer__cta-button svg {
  width: var(--bc-space-5);
  height: var(--bc-space-5);
  flex: 0 0 var(--bc-space-5);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform var(--bc-transition);
}

.bc-footer__cta-button:focus-visible svg {
  transform: translateX(var(--bc-space-1));
}

@media (hover: hover) and (pointer: fine) {
  .bc-footer__cta-button:hover svg {
    transform: translateX(var(--bc-space-1));
  }
}

.bc-footer__cta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 280px;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--bc-color-white);
  pointer-events: none;
}

.bc-footer__factory-art {
  display: block;
  width: min(100%, 620px);
  height: auto;
  overflow: visible;
}

.bc-footer__factory-art-lines {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  opacity: 0.18;
}

.bc-footer__factory-art-bricks {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.10;
}

.bc-footer__factory-art-accent {
  fill: none;
  stroke: var(--bc-color-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  opacity: 0.72;
}

.bc-footer__cta-visual::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--bc-space-10);
  background: linear-gradient(
    90deg,
    var(--bc-color-primary-hover),
    transparent
  );
  content: "";
}

/* =========================================================
   MAIN — 3 / 6 / 3
========================================================= */

.bc-footer__main {
  display: grid;
  padding-block: var(--bc-space-9);
  grid-template-columns:
    minmax(240px, 3fr)
    minmax(0, 6fr)
    minmax(260px, 3fr);
  align-items: start;
  column-gap: var(--bc-space-9);
}

.bc-footer__brand,
.bc-footer__navigation,
.bc-footer__contacts {
  min-width: 0;
}

.bc-footer__navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: var(--bc-space-7);
}

.bc-footer__column {
  min-width: 0;
}

/* =========================================================
   BRAND
========================================================= */

.bc-footer__logo {
  display: inline-flex;
  width: min(100%, 184px);
  min-height: 52px;
  align-items: flex-start;
  text-decoration: none;
  touch-action: manipulation;
}

.bc-footer__logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--bc-space-11);
  object-fit: contain;
  object-position: left top;
  filter: brightness(0) invert(1);
}

.bc-footer__logo-text {
  color: var(--bc-color-white);
  font-family: var(--bc-font-heading);
  font-size: var(--bc-font-size-h4);
  font-weight: 700;
  line-height: var(--bc-line-height-h4);
}

.bc-footer__description {
  max-width: 280px;
  margin-top: var(--bc-space-5);
  color: var(--bc-color-white);
  font-size: var(--bc-font-size-body-sm);
  line-height: var(--bc-line-height-body);
  opacity: 0.76;
}

.bc-footer__description > :first-child {
  margin-top: 0;
}

.bc-footer__description > :last-child {
  margin-bottom: 0;
}

.bc-footer__socials {
  display: flex;
  margin-top: var(--bc-space-6);
  align-items: center;
  gap: var(--bc-space-2);
}

.bc-footer__socials a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid
    color-mix(in srgb, var(--bc-color-white) 24%, transparent);
  border-radius: var(--bc-radius-sm);
  color: var(--bc-color-white);
  background: transparent;
  text-decoration: none;
  touch-action: manipulation;
  transition:
    color var(--bc-transition),
    border-color var(--bc-transition),
    background-color var(--bc-transition),
    transform var(--bc-transition);
}

.bc-footer__socials a:focus-visible {
  color: var(--bc-color-white);
  border-color: var(--bc-color-accent);
  background: var(--bc-color-accent);
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .bc-footer__socials a:hover {
    color: var(--bc-color-white);
    border-color: var(--bc-color-accent);
    background: var(--bc-color-accent);
    transform: translateY(-1px);
  }
}

.bc-footer__socials svg {
  width: var(--bc-space-5);
  height: var(--bc-space-5);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bc-footer__socials svg .is-filled {
  fill: currentColor;
  stroke: none;
}

/* =========================================================
   NAVIGATION
========================================================= */

.bc-footer__title {
  position: relative;
  margin: 0 0 var(--bc-space-6);
  padding: 0 0 var(--bc-space-4);
  color: var(--bc-color-white);
  font-family: var(--bc-font-main);
  font-size: var(--bc-font-size-body-sm);
  font-weight: 700;
  line-height: var(--bc-line-height-small);
  text-transform: uppercase;
}

.bc-footer__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--bc-space-6);
  height: 2px;
  background: var(--bc-color-accent);
  content: "";
}

.bc-footer__menu {
  display: grid;
  margin: 0;
  padding: 0;
  gap: var(--bc-space-3);
  list-style: none;
}

.bc-footer__menu li {
  margin: 0;
  padding: 0;
}

.bc-footer__menu a {
  display: inline-flex;
  align-items: center;
  color: var(--bc-color-white);
  font-size: var(--bc-font-size-body-sm);
  font-weight: 500;
  line-height: var(--bc-line-height-small);
  opacity: 0.78;
  text-decoration: none;
  touch-action: manipulation;
  transition:
    color var(--bc-transition),
    opacity var(--bc-transition),
    transform var(--bc-transition);
}

.bc-footer__menu a:focus-visible,
.bc-footer__menu .current-menu-item > a,
.bc-footer__menu .current_page_item > a {
  color: var(--bc-color-white);
  opacity: 1;
  transform: translateX(var(--bc-space-1));
}

@media (hover: hover) and (pointer: fine) {
  .bc-footer__menu a:hover {
    color: var(--bc-color-white);
    opacity: 1;
    transform: translateX(var(--bc-space-1));
  }
}

/* =========================================================
   CONTACTS
========================================================= */

.bc-footer__contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: var(--bc-space-5);
  list-style: none;
}

.bc-footer__contact-list li {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: var(--bc-space-8) minmax(0, 1fr);
  align-items: start;
  gap: var(--bc-space-3);
  color: var(--bc-color-white);
  font-size: var(--bc-font-size-body-sm);
  line-height: var(--bc-line-height-body);
}

.bc-footer__contact-icon {
  display: grid;
  width: var(--bc-space-8);
  height: var(--bc-space-8);
  place-items: center;
  border: 1px solid
    color-mix(in srgb, var(--bc-color-white) 18%, transparent);
  border-radius: var(--bc-radius-sm);
  color: var(--bc-color-accent);
}

.bc-footer__contact-icon svg {
  width: var(--bc-space-4);
  height: var(--bc-space-4);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bc-footer__contact-list a {
  align-self: center;
  color: var(--bc-color-white);
  opacity: 0.80;
  text-decoration: none;
  touch-action: manipulation;
  transition:
    color var(--bc-transition),
    opacity var(--bc-transition);
}

.bc-footer__contact-list a:focus-visible {
  color: var(--bc-color-white);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .bc-footer__contact-list a:hover {
    color: var(--bc-color-white);
    opacity: 1;
  }
}

.bc-footer__phone-list {
  display: grid;
  align-self: center;
  gap: var(--bc-space-1);
}

.bc-footer__contact-item--phones .bc-footer__phone-list a {
  font-weight: 600;
  opacity: 1;
}

/* =========================================================
   BOTTOM
========================================================= */

.bc-footer__bottom {
  display: flex;
  min-height: var(--bc-space-11);
  padding-block: var(--bc-space-5);
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-6);
  border-top: 1px solid
    color-mix(in srgb, var(--bc-color-white) 16%, transparent);
  color: var(--bc-color-white);
  font-size: var(--bc-font-size-caption);
  line-height: var(--bc-line-height-small);
}

.bc-footer__bottom p {
  margin: 0;
  opacity: 0.60;
}

.bc-footer__bottom a {
  opacity: 0.76;
  text-decoration: none;
  touch-action: manipulation;
  transition:
    color var(--bc-transition),
    opacity var(--bc-transition);
}

.bc-footer__bottom a:focus-visible {
  color: var(--bc-color-white);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .bc-footer__bottom a:hover {
    color: var(--bc-color-white);
    opacity: 1;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.bc-footer a:focus-visible {
  outline: 2px solid var(--bc-color-accent);
  outline-offset: var(--bc-space-1);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {
  .bc-footer__cta {
    padding-block: var(--bc-space-8);
    grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
    column-gap: var(--bc-space-7);
  }

  .bc-footer__cta-visual {
    min-height: 240px;
  }

  .bc-footer__main {
    padding-block: var(--bc-space-8);
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    column-gap: var(--bc-space-8);
    row-gap: var(--bc-space-8);
  }

  .bc-footer__navigation {
    gap: var(--bc-space-6);
  }

  .bc-footer__contacts {
    grid-column: 1 / -1;
    padding-top: var(--bc-space-7);
    border-top: 1px solid
      color-mix(in srgb, var(--bc-color-white) 16%, transparent);
  }

  .bc-footer__contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--bc-space-6);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .bc-footer__cta {
    padding-block: var(--bc-space-8);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }

  .bc-footer__cta-copy,
  .bc-footer__cta-title,
  .bc-footer__cta-text {
    max-width: none;
  }

  .bc-footer__cta-title {
    font-size: var(--bc-font-size-h4);
    line-height: var(--bc-line-height-h4);
  }

  .bc-footer__cta-text {
    font-size: var(--bc-font-size-body-sm);
  }

  .bc-footer__cta-button {
    width: 100%;
    min-width: 0;
    margin-top: var(--bc-space-5);
  }

  .bc-footer__cta-visual {
    display: none;
  }

  .bc-footer__main {
    padding-block: var(--bc-space-8);
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--bc-space-8);
  }

  .bc-footer__navigation {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--bc-space-7);
  }

  .bc-footer__description {
    max-width: none;
  }

  .bc-footer__title {
    margin-bottom: var(--bc-space-5);
  }

  .bc-footer__contacts {
    grid-column: auto;
    padding-top: var(--bc-space-7);
  }

  .bc-footer__contact-list {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--bc-space-4);
  }

  .bc-footer__bottom {
    min-height: 0;
    padding-block: var(--bc-space-6);
    align-items: flex-start;
    flex-direction: column;
    gap: var(--bc-space-2);
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 479px) {
  .bc-footer__cta,
  .bc-footer__main {
    padding-block: var(--bc-space-7);
  }

  .bc-footer__logo {
    width: min(100%, 176px);
  }

  .bc-footer__socials {
    margin-top: var(--bc-space-5);
  }

  .bc-footer__main,
  .bc-footer__navigation {
    row-gap: var(--bc-space-7);
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

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