/* ==========================================================================
   Footer — warm palette, link columns, feedback CTA
   ========================================================================== */
.site-footer {
  background: var(--newsletter-bg);
  border-top: 1px solid #f3e4d9;
  color: var(--text);
  padding: 54px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 42px;
}
/* .woocommerce-page guard: WooCommerce's `.woocommerce-page img { height:auto }`
   otherwise outweighs this and blows the SVG up to container width. */
.footer-logo,
.woocommerce-page .footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
}
.footer-col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--placeholder);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color .12s ease;
}
.footer-links a:hover { color: var(--orange); }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 16px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid #f3e4d9;
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; color: var(--placeholder); font-size: 13px; }
.footer-bottom a { color: var(--placeholder); font-weight: 400; text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }
/* Partner credit — same quiet-link spirit as "Разработка сайта", but with a
   visible mark since it's crediting a company, not linking a name. Grayscale
   at rest keeps it from competing with the GOOD brand colour up in .footer-col;
   colour-in on hover confirms it's a link, matching the text link beside it. */
.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid #f3e4d9;
}
.footer-partner__label {
  font-size: 13px;
  color: var(--placeholder);
}
/* .woocommerce-page guard: same WooCommerce `img { height:auto }` override
   that .footer-logo/.brand__logo already fight — beats it with the same
   extra-class specificity trick instead of !important. */
.footer-partner__logo,
.woocommerce-page .footer-partner__logo {
  height: 18px;
  width: auto;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .15s ease, opacity .15s ease;
}
.footer-partner:hover .footer-partner__logo { filter: grayscale(0); opacity: 1; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  /* Centre the whole footer on mobile. */
  .footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .footer-partner { padding-left: 0; border-left: 0; }
}

