/* Shared footer (proposal, piloted on /warsztaty/). One markup for Divi and
   hand-built pages; uses only its own .el-footer classes so neither legacy
   stylesheet leaks in. */
.el-footer {
  --el-footer-bg: #1f3a31;
  --el-footer-bar: #183029;
  --el-footer-ink: #e7efe9;
  --el-footer-muted: #a9bdb2;
  --el-footer-accent: #f0e820;
  --el-footer-line: rgba(231, 239, 233, .14);
  background: var(--el-footer-bg);
  color: var(--el-footer-ink);
  font: 400 15px/1.7 Montserrat, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.el-footer *,
.el-footer *::before,
.el-footer *::after { box-sizing: border-box; }
.el-footer a { color: inherit; text-decoration: none; }
.el-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.el-footer a:focus-visible { outline: 2px solid var(--el-footer-accent); outline-offset: 3px; border-radius: 4px; }
.el-footer ul { list-style: none; margin: 0; padding: 0; }
.el-footer p { padding: 0; }
.el-footer li { padding: 0; }

.el-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding: 72px 0 56px;
}
.el-footer__logo img { display: block; width: 112px; height: auto; }
.el-footer__about { margin: 20px 0 24px; max-width: 34ch; color: var(--el-footer-muted); }
.el-footer__heading {
  margin: 0 0 16px;
  color: var(--el-footer-accent);
  font: 600 13px/1.4 Montserrat, Helvetica, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.el-footer__links li + li { margin-top: 8px; }
.el-footer__links a { color: var(--el-footer-ink); }

.el-footer__social { display: flex; gap: 10px; }
.el-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--el-footer-line);
  border-radius: 50%;
  transition: background .15s ease, border-color .15s ease;
}
.el-footer__social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.el-footer__social svg { width: 18px; height: 18px; fill: currentColor; }

.el-footer__contact p:not(.el-footer__heading) { margin: 0 0 16px; color: var(--el-footer-muted); }
.el-footer__mail { font-weight: 600; color: #fff !important; overflow-wrap: anywhere; }
.el-footer__cta {
  display: inline-block;
  margin-top: 4px;
  padding: 11px 20px;
  border-radius: 3px;
  background: #2e836c;
  color: #fff !important;
  font-weight: 600;
}
.el-footer__cta:hover { background: #276f5c; text-decoration: none !important; }

.el-footer__form { display: grid; gap: 10px; }
.el-footer__form[hidden] { display: none; }
.el-footer__form input[type="text"],
.el-footer__form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--el-footer-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
}
.el-footer__form input::placeholder { color: var(--el-footer-muted); opacity: 1; }
.el-footer__form input:focus-visible { outline: 2px solid var(--el-footer-accent); outline-offset: 1px; }
.el-footer__consent { display: flex; gap: 10px; align-items: flex-start; color: var(--el-footer-muted); font-size: 12px; line-height: 1.5; cursor: pointer; }
.el-footer__consent input { flex: none; margin: 2px 0 0; width: 16px; height: 16px; accent-color: #2e836c; }
.el-footer__form .el-footer__cta { justify-self: start; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.el-footer__form .el-footer__cta:disabled { opacity: .6; cursor: wait; }
.el-footer__form-status:empty { display: none; }
.el-footer__form-status { margin: 0; color: #ffb4b4; font-size: 13px; }
.el-footer__form-success { margin: 0; color: var(--el-footer-ink); }
.el-footer__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.el-footer__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.el-footer__bar { background: var(--el-footer-bar); border-top: 1px solid var(--el-footer-line); }
.el-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  padding: 20px 0;
  color: var(--el-footer-muted);
  font-size: 13px;
}
.el-footer__bar-inner p { margin: 0; }
.el-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.el-footer__credit a { display: inline-flex; align-items: center; gap: 6px; color: var(--el-footer-ink); }
.el-footer__credit svg { width: 14px; height: 14px; fill: #e2566b; }

@media (max-width: 980px) {
  .el-footer__main { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 600px) {
  .el-footer__main { grid-template-columns: 1fr; padding: 56px 0 40px; }
  .el-footer__bar-inner { flex-direction: column; align-items: flex-start; }
}
