/* Pre-footer band + footer chrome, replacing Elementor template 61.
   Loaded globally from inc/enqueue.php — the pre-footer is a template part, not
   a block, so it gets no automatic per-block enqueue. */

/* --- Pre-footer "Lets Talk" band ---------------------------------------- */

.contener-prefooter {
  padding-block: var(--contener-section-y);
  background: var(--contener-brand-dark);
  color: var(--contener-text-invert);
}
.contener-prefooter.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
/* A scrim, so the copy stays readable whatever the photo does. */
.contener-prefooter.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(2 54 103 / .72);
}
.contener-prefooter__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.contener-prefooter__text { max-width: 62ch; }
.contener-prefooter h2 { margin: 0 0 .35em; color: inherit; }
.contener-prefooter p  { margin: 0; opacity: .9; }
.contener-prefooter .contener-btn {
  background: var(--contener-brand);
  color: var(--contener-text-invert);
  white-space: nowrap;
}
.contener-prefooter .contener-btn:hover { background: var(--contener-card-bg); color: var(--contener-brand-dark); }

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

.contener-footer {
  padding-block: clamp(40px, 5vw, 72px) 0;
  background: var(--contener-brand);
  color: var(--contener-text-invert);
  font-size: .925rem;
}
.contener-footer a { color: currentColor; text-decoration: none; }
.contener-footer a:hover { color: var(--contener-accent); text-decoration: underline; }

.contener-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.contener-footer__heading {
  margin: 0 0 14px;
  padding-bottom: 10px;
  /* The old footer drew an Elementor divider under each column title. */
  border-bottom: 1px solid rgb(255 255 255 / .35);
  color: inherit;
  font-size: 1.05rem;
  font-weight: 600;
}

.contener-footer__list { list-style: none; margin: 0; padding: 0; }
.contener-footer__list li { margin-bottom: 8px; }

.contener-footer__col p { margin: 0 0 12px; }

.contener-footer__shipping p { margin: 0 0 10px; }
.contener-footer__shipping a { text-decoration: underline; }

.contener-footer .contener-social { display: flex; gap: 12px; margin-top: 4px; }

.contener-footer__badge { max-width: 100%; height: auto; margin-top: 16px; }

/* --- Legal strip -------------------------------------------------------- */

.contener-footer__legal {
  margin-top: clamp(32px, 4vw, 56px);
  padding-block: 20px;
  border-top: 1px solid rgb(255 255 255 / .25);
  font-size: .85rem;
  text-align: center;
}
.contener-footer__legal p { margin: 0 0 6px; }
.contener-footer__note { opacity: .8; }

.contener-footer__legal-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

/* --- Breakpoints -------------------------------------------------------- */

@media (max-width: 1024px) {
  .contener-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .contener-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .contener-prefooter__inner { flex-direction: column; align-items: flex-start; }
}
