﻿/* =========================================================
   SITE FOOTER - COMPACT ORGANIZED VERSION
========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 46px 24px 18px;
  background:
    radial-gradient(circle at 18% 8%, rgba(247,210,122,.14), transparent 28%),
    linear-gradient(180deg, #2d261d 0%, #1f1a14 100%);
  color: #fff8e8;
}

.site-footer__glow {
  position: absolute;
  inset: -40%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(247,210,122,.13), transparent 24%),
    radial-gradient(circle at 78% 64%, rgba(157,84,21,.12), transparent 28%);
  animation: footerGlowFloat 20s ease-in-out infinite alternate;
}

.site-footer__container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .72fr .9fr .95fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(255,248,232,.10);
  border-radius: 28px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  overflow: hidden;
}

.site-footer__brand-col,
.site-footer__links-col,
.site-footer__form-col,
.site-footer__map-col {
  padding: 24px 24px;
  min-width: 0;
}

.site-footer__links-col,
.site-footer__form-col,
.site-footer__map-col {
  border-left: 1px solid rgba(255,248,232,.10);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff8e8;
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-footer a {
  color: inherit;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff8e8;
  text-decoration: none;
  margin-bottom: 12px;
}

.site-footer__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, #fff2c2, #b97819 68%);
  color: #2d261d;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0,0,0,.22);
  flex: 0 0 auto;
}

.site-footer__brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.site-footer__brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255,248,232,.62);
  font-weight: 800;
  font-size: .78rem;
}

.site-footer__text,
.site-footer__mini-text,
.site-footer-form__note {
  margin: 0;
  color: rgba(255,248,232,.66);
  line-height: 1.55;
  font-size: .86rem;
}

.site-footer__contact-list,
.site-footer__links {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.site-footer__contact-list li {
  display: flex;
  gap: 9px;
  margin-bottom: 8px;
  color: rgba(255,248,232,.76);
  font-size: .86rem;
  line-height: 1.35;
}

.site-footer__icon {
  width: 18px;
  flex: 0 0 18px;
  opacity: .9;
}

.site-footer__contact-list a,
.site-footer__links a {
  color: rgba(255,248,232,.76);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.site-footer__contact-list a:hover,
.site-footer__links a:hover {
  color: #f7d27a;
}

.site-footer__links li {
  margin-bottom: 8px;
}

.site-footer__links a {
  display: inline-flex;
  font-size: .88rem;
}

.site-footer__links a:hover {
  transform: translateX(3px);
}

.site-footer-form {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-footer-form__alert {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

.site-footer-form__alert--success {
  background: rgba(47, 133, 90, .18);
  border: 1px solid rgba(151, 219, 181, .26);
  color: #e8fff2;
}

.site-footer-form__alert--error {
  background: rgba(190, 18, 60, .18);
  border: 1px solid rgba(255, 190, 203, .26);
  color: #ffecef;
}

.site-footer-form__row {
  margin-bottom: 8px;
}

.site-footer-form label {
  display: none;
}

.site-footer-form input,
.site-footer-form textarea {
  width: 100%;
  border: 1px solid rgba(255,248,232,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.08);
  color: #fff8e8;
  padding: 10px 11px;
  outline: none;
  font: inherit;
  font-size: .86rem;
}

.site-footer-form input::placeholder,
.site-footer-form textarea::placeholder {
  color: rgba(255,248,232,.42);
}

.site-footer-form input:focus,
.site-footer-form textarea:focus {
  border-color: rgba(247,210,122,.52);
  box-shadow: 0 0 0 3px rgba(247,210,122,.10);
}

.site-footer-form textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 120px;
}

.site-footer-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.site-footer-form__button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f7d27a;
  color: #2d261d;
  font-weight: 900;
  cursor: pointer;
  font-size: .88rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.site-footer-form__button:hover {
  transform: translateY(-2px);
  background: #fff2c2;
  box-shadow: 0 12px 24px rgba(247,210,122,.16);
}

.site-footer-form__note {
  margin-top: 8px;
  font-size: .74rem;
}

.site-footer__map {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,248,232,.12);
  background: rgba(255,255,255,.07);
  box-shadow: 0 16px 38px rgba(0,0,0,.20);
  margin-bottom: 8px;
}

.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: 0;
  filter: sepia(.18) saturate(.85) contrast(.94);
}

.site-footer__bottom {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 16px auto 0;
  padding-top: 0;
  color: rgba(255,248,232,.52);
  font-size: .8rem;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
}

@keyframes footerGlowFloat {
  from {
    transform: translate3d(-18px, -8px, 0) scale(1);
  }
  to {
    transform: translate3d(20px, 14px, 0) scale(1.04);
  }
}

@media (max-width: 1050px) {
  .site-footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__form-col {
    border-left: 0;
    border-top: 1px solid rgba(255,248,232,.10);
  }

  .site-footer__map-col {
    border-top: 1px solid rgba(255,248,232,.10);
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 38px 16px 18px;
  }

  .site-footer__container {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .site-footer__brand-col,
  .site-footer__links-col,
  .site-footer__form-col,
  .site-footer__map-col {
    padding: 22px 20px;
  }

  .site-footer__links-col,
  .site-footer__form-col,
  .site-footer__map-col {
    border-left: 0;
    border-top: 1px solid rgba(255,248,232,.10);
  }

  .site-footer__map iframe {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__glow {
    animation: none;
  }
}

/* =========================================================
   SITE FOOTER - OUTSIDE BACKGROUND MOTION
========================================================= */

.site-footer {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

/* stronger but still subtle moving glow outside the footer panel */
.site-footer__glow {
  opacity: .95 !important;
  animation: footerGlowFloat 18s ease-in-out infinite alternate !important;
}

/* particles layer behind the footer box */
.site-footer-particles {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* each small particle */
.site-footer-particles span {
  position: absolute !important;
  left: calc(var(--x) * 1%) !important;
  top: 112% !important;
  width: var(--s) !important;
  height: var(--s) !important;
  border-radius: 50% !important;

  background: rgba(247,210,122,.38) !important;
  box-shadow:
    0 0 14px rgba(247,210,122,.18),
    0 0 26px rgba(185,120,25,.14) !important;

  opacity: .65 !important;
  animation: footerParticleFloat var(--d) linear infinite !important;
  animation-delay: var(--del) !important;
  will-change: transform, opacity !important;
}

/* particles move upward through the empty outside footer background */
@keyframes footerParticleFloat {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }

  12% {
    opacity: .62;
  }

  78% {
    opacity: .48;
  }

  100% {
    transform: translate3d(42px, -120vh, 0);
    opacity: 0;
  }
}

/* random-looking positions, sizes, speeds */
.site-footer-particles span:nth-child(1)  { --x: 4;  --s: 7px;  --d: 18s; --del: 0s; }
.site-footer-particles span:nth-child(2)  { --x: 11; --s: 4px;  --d: 22s; --del: 2s; }
.site-footer-particles span:nth-child(3)  { --x: 18; --s: 9px;  --d: 25s; --del: 4s; }
.site-footer-particles span:nth-child(4)  { --x: 27; --s: 5px;  --d: 19s; --del: 6s; }
.site-footer-particles span:nth-child(5)  { --x: 36; --s: 8px;  --d: 23s; --del: 8s; }

.site-footer-particles span:nth-child(6)  { --x: 45; --s: 4px;  --d: 20s; --del: 10s; }
.site-footer-particles span:nth-child(7)  { --x: 53; --s: 10px; --d: 27s; --del: 12s; }
.site-footer-particles span:nth-child(8)  { --x: 61; --s: 5px;  --d: 21s; --del: 14s; }
.site-footer-particles span:nth-child(9)  { --x: 70; --s: 8px;  --d: 26s; --del: 16s; }
.site-footer-particles span:nth-child(10) { --x: 78; --s: 4px;  --d: 19s; --del: 18s; }

.site-footer-particles span:nth-child(11) { --x: 86; --s: 7px;  --d: 24s; --del: 20s; }
.site-footer-particles span:nth-child(12) { --x: 94; --s: 5px;  --d: 21s; --del: 22s; }
.site-footer-particles span:nth-child(13) { --x: 15; --s: 8px;  --d: 28s; --del: 24s; }
.site-footer-particles span:nth-child(14) { --x: 66; --s: 5px;  --d: 23s; --del: 26s; }
.site-footer-particles span:nth-child(15) { --x: 33; --s: 9px;  --d: 30s; --del: 28s; }

/* keep footer box and copyright above animation */
.site-footer__container,
.site-footer__bottom {
  position: relative !important;
  z-index: 3 !important;
}

/* glow stays behind particles */
.site-footer__glow {
  z-index: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-particles span,
  .site-footer__glow {
    animation: none !important;
  }
}

/* Footer information boxes and privacy-safe visitor counter */
.site-footer__info-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.site-footer__info-box {
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 248, 232, .11);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 248, 232, .05);
}

.site-footer__info-box h4 {
  margin: 0 0 10px;
  color: rgba(255, 248, 232, .9);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-footer__info-box .site-footer__links {
  margin-top: 0;
}

.site-footer__link-button {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 248, 232, .76);
  font: inherit;
  font-size: .88rem;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.site-footer__link-button:hover,
.site-footer__link-button:focus {
  color: #f7d27a;
  transform: translateX(3px);
  outline: none;
}

.site-footer__visitor-list {
  margin: 0;
}

.site-footer__visitor-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 248, 232, .09);
}

.site-footer__visitor-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.site-footer__visitor-list div:last-child {
  padding-bottom: 0;
}

.site-footer__visitor-list dt {
  color: rgba(255, 248, 232, .68);
  font-size: .78rem;
  font-weight: 700;
}

.site-footer__visitor-list dd {
  margin: 0;
  color: #f7d27a;
  font-size: .9rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

/* Footer bottom credit layout */
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.site-footer__credit {
  color: rgba(255, 248, 232, .62);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-footer__bottom-inner {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .site-footer__credit {
    white-space: normal;
  }
}
/* =========================================================
   FOOTER WIDE SHORT POLISH
   Layout-only override: keeps visitor, cookie and map logic intact.
========================================================= */
.site-footer {
  padding: 32px 18px 14px !important;
}

.site-footer__container,
.site-footer__bottom {
  max-width: 1440px !important;
}

.site-footer__container {
  grid-template-columns: minmax(250px, 1.22fr) minmax(160px, .78fr) minmax(150px, .72fr) minmax(168px, .82fr) minmax(250px, 1.12fr) !important;
  border-radius: 22px !important;
}

.site-footer__brand-col,
.site-footer__links-col,
.site-footer__menu-col,
.site-footer__form-col,
.site-footer__map-col {
  padding: 18px 18px !important;
  min-width: 0;
}

.site-footer__links-col,
.site-footer__menu-col,
.site-footer__form-col,
.site-footer__map-col {
  border-left: 1px solid rgba(255,248,232,.10);
}

.site-footer h3 {
  margin-bottom: 9px !important;
  font-size: .82rem !important;
  letter-spacing: .055em !important;
}

.site-footer__brand {
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.site-footer__brand-mark {
  width: 36px !important;
  height: 36px !important;
}

.site-footer__brand strong {
  font-size: .94rem !important;
  line-height: 1.05 !important;
  text-transform: uppercase;
}

.site-footer__brand small {
  font-size: .74rem !important;
}

.site-footer__text {
  font-size: .8rem !important;
  line-height: 1.45 !important;
}

.site-footer__contact-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0 !important;
  padding: 0;
}

.site-footer__contact-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: rgba(255,248,232,.76);
  font-size: .78rem;
  line-height: 1.45;
}

.site-footer__contact-label {
  color: #f7d27a;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer__contact-value,
.site-footer__contact-value a {
  min-width: 0;
  color: rgba(255,248,232,.78);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__contact-value a:hover,
.site-footer__links a:hover,
.site-footer__link-button:hover,
.site-footer__link-button:focus {
  color: #f7d27a;
}

.site-footer__links {
  margin-top: 0 !important;
}

.site-footer__links li {
  margin-bottom: 6px !important;
}

.site-footer__links a,
.site-footer__link-button {
  font-size: .8rem !important;
  line-height: 1.28;
}

.site-footer__info-boxes {
  gap: 8px !important;
  margin-top: 0 !important;
}

.site-footer__info-box {
  padding: 11px 12px 10px !important;
  border-radius: 14px !important;
}

.site-footer__info-box h4 {
  margin-bottom: 8px !important;
  font-size: .7rem !important;
}

.site-footer__visitor-list div {
  padding: 5px 0 !important;
}

.site-footer__visitor-list dt {
  font-size: .74rem !important;
}

.site-footer__visitor-list dd {
  font-size: .86rem !important;
}

.site-footer__map {
  margin-bottom: 7px !important;
  border-radius: 14px !important;
}

.site-footer__map,
.site-footer__map .external-content-frame,
.site-footer__map .external-content-placeholder,
.site-footer__map iframe {
  height: 135px !important;
  min-height: 135px !important;
}

.site-footer__map .external-content-placeholder {
  gap: 8px !important;
  padding: 12px !important;
}

.site-footer__map .external-content-placeholder p {
  max-width: 100% !important;
  font-size: .72rem !important;
  line-height: 1.3 !important;
}

.site-footer__map .external-content-placeholder button {
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: .72rem !important;
}

.site-footer__mini-text {
  margin-bottom: 10px !important;
  font-size: .7rem !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-footer__donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f7d27a;
  color: #2d261d !important;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(247,210,122,.13);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.site-footer__donate-button:hover,
.site-footer__donate-button:focus {
  transform: translateY(-1px);
  background: #fff2c2;
  box-shadow: 0 14px 28px rgba(247,210,122,.18);
  outline: none;
}

.site-footer__bottom {
  margin-top: 12px !important;
}

@media (max-width: 1199px) {
  .site-footer__container {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .site-footer__map-col {
    grid-column: span 2;
  }

  .site-footer__map,
  .site-footer__map .external-content-frame,
  .site-footer__map .external-content-placeholder,
  .site-footer__map iframe {
    height: 130px !important;
    min-height: 130px !important;
  }
}

@media (max-width: 820px) {
  .site-footer {
    padding: 26px 14px 14px !important;
  }

  .site-footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .site-footer__map-col {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-footer__container {
    grid-template-columns: 1fr !important;
  }

  .site-footer__brand-col,
  .site-footer__links-col,
  .site-footer__menu-col,
  .site-footer__form-col,
  .site-footer__map-col {
    padding: 18px 18px !important;
  }

  .site-footer__links-col,
  .site-footer__menu-col,
  .site-footer__form-col,
  .site-footer__map-col {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,248,232,.10);
  }

  .site-footer__map-col {
    grid-column: auto;
  }

  .site-footer__contact-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .site-footer__map,
  .site-footer__map .external-content-frame,
  .site-footer__map .external-content-placeholder,
  .site-footer__map iframe {
    height: 126px !important;
    min-height: 126px !important;
  }
}
