/* Site footer (footer.php). Tokens live in site-header.css. */

.bc-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .05), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(229, 175, 77, .06), transparent 60%),
    #08444f;
  color: rgba(255, 255, 255, .8);
  font: 400 13px/1.6 var(--bc-sans);
}
.bc-footer__inner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 40px var(--bc-gutter) 0; }
.bc-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.bc-footer a:hover { color: var(--bc-gold); }
.bc-footer a:focus-visible { outline: 2px solid var(--bc-gold); outline-offset: 2px; border-radius: 3px; }

.bc-footer__top { display: grid; gap: 32px; padding-bottom: 32px; }

/* Brand */
.bc-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bc-footer__logo img { display: block; width: 120px; height: auto; }
.bc-footer__tagline { margin: 8px 0 0; color: #f6ecd9; font: 400 14px/1.3 var(--bc-sans); letter-spacing: .01em; }

/* Link columns: two per row on phones, readable groups */
.bc-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.bc-footer__title { margin: 0 0 10px; color: #fff; font: 600 14.5px/1.3 var(--bc-sans); }
.bc-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12.5px; line-height: 1.45; }
.bc-footer__links a { display: inline-block; padding: 1px 0; }
.bc-footer__links--seller { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 160px; }

/* Newsletter + social */
.bc-footer__news { min-width: 0; }
.bc-footer__text { margin: -4px 0 14px; }
.bc-footer__consent { margin: 8px 2px 0; color: rgba(255, 255, 255, .6); font-size: 11.5px; line-height: 1.5; }
.bc-footer__consent a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 2px; }

.bc-footer__social { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.bc-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  color: #fff; font-size: 22px;
  transition: background-color .2s, color .2s, transform .2s;
}
.bc-footer__social a:hover { color: var(--bc-gold); transform: translateY(-2px); }

/* Built-in newsletter form */
.bc-newsletter__row { position: relative; }
.bc-newsletter__input {
  width: 100%; height: 46px; margin: 0; padding: 0 54px 0 18px;
  border: 1px solid transparent; border-radius: 999px;
  background: #fff; color: var(--bc-ink); font: 400 14px var(--bc-sans);
}
.bc-newsletter__input::placeholder { color: #8a9292; }
.bc-newsletter__input:focus { outline: 2px solid var(--bc-gold); outline-offset: 2px; }
.bc-newsletter__input[aria-invalid="true"] { border-color: #f0a8a0; }
.bc-newsletter__btn {
  position: absolute; top: 4px; right: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 999px;
  background: var(--bc-gold); color: var(--bc-teal); font-size: 18px; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.bc-newsletter__btn:hover { background: #f0c46e; transform: translateX(2px); }
.bc-newsletter__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc-newsletter__btn:disabled { opacity: .6; cursor: progress; }
.bc-newsletter__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bc-newsletter__msg { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.45; }
.bc-newsletter__msg:empty { display: none; }
.bc-newsletter__msg.is-ok { color: #bfe8d2; }
.bc-newsletter__msg.is-error { color: #ffd27a; }

/* Contact Form 7 newsletter (live): same pill input with a round arrow button */
.bc-footer__form .wpcf7 { margin: 0; }
.bc-footer__form .wpcf7-form { position: relative; margin: 0; }
.bc-footer__form .wpcf7-form p { margin: 0; }
.bc-footer__form .wpcf7-form br { display: none; }
.bc-footer__form .wpcf7-form-control-wrap { display: block; }
.bc-footer__form input[type="email"] {
  display: block; width: 100% !important; height: 46px !important; margin: 0 !important;
  padding: 0 54px 0 18px !important;
  border: 1px solid transparent !important; border-radius: 999px !important;
  background: #fff !important; color: var(--bc-ink) !important;
  font: 400 14px var(--bc-sans) !important; box-shadow: none !important;
}
.bc-footer__form input[type="email"]:focus { outline: 2px solid var(--bc-gold); outline-offset: 2px; }
.bc-footer__form input[type="email"].wpcf7-not-valid { border-color: #f0a8a0 !important; }
.bc-footer__form input[type="submit"] {
  position: absolute; top: 4px; right: 4px;
  width: 38px !important; height: 38px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 999px !important;
  background: var(--bc-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23254343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat !important;
  color: transparent !important; font-size: 0 !important; cursor: pointer;
  transition: background-color .2s;
}
.bc-footer__form input[type="submit"]:hover { background-color: #f0c46e !important; }
.bc-footer__form input[type="submit"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc-footer__form .wpcf7-spinner { position: absolute; top: 11px; right: 48px; margin: 0; }
.bc-footer__form .wpcf7-not-valid-tip { margin: 6px 2px 0; color: #ffd27a; font-size: 12px; }
.bc-footer__form .wpcf7-response-output { margin: 8px 0 0 !important; padding: 0 2px !important; border: 0 !important; color: #ffd27a; font-size: 12.5px; line-height: 1.45; }
.bc-footer__form .wpcf7-form.sent .wpcf7-response-output { color: #bfe8d2; }

/* Bottom row */
.bc-footer__bottom {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px; text-align: center;
}
.bc-footer__copy { margin: 0; color: rgba(255, 255, 255, .7); }
.bc-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }

/* Keep the bottom row clear of the floating WhatsApp button on phones. */
@media (max-width: 639px) {
  .bc-footer__bottom { padding-bottom: 76px; }
}

@media (min-width: 640px) {
  .bc-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bc-footer__news { max-width: 460px; }
}

@media (min-width: 1024px) {
  .bc-footer__inner { padding: 48px max(var(--bc-gutter), 4vw) 0; }
  .bc-footer__top {
    grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr) minmax(260px, 1.35fr);
    align-items: start; gap: 40px; padding-bottom: 40px;
  }
  .bc-footer__logo img { width: 124px; }
  .bc-footer__cols { gap: 24px; }
  .bc-footer__news { max-width: none; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .14); }
  .bc-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .bc-footer__social a, .bc-newsletter__btn { transition: none; }
  .bc-footer__social a:hover, .bc-newsletter__btn:hover { transform: none; }
}
