:root{
  /* Підтягуємо глобальні змінні з header.php (якщо є) і даємо фолбеки */
  --kp-mint: #9FE7DD;
  --kp-mint-2: #6FD9CD;
  --kp-violet: #3B1F5E;
  --kp-violet-2: #2B1248;
  --kp-white: #FFFFFF;

  --bg: #F6FFFD;
  --paper: #FFFFFF;
  --text: #1E1B22;
  --muted: rgba(30, 27, 34, .68);
  --border: rgba(59, 31, 94, .14);

  --shadow: 0 10px 30px rgba(16, 24, 40, .10);

  --radius: 18px;
  --radius-sm: 14px;
}

/* ===== FOOTER in КПКІТП style ===== */
.site-footer{
  color: rgba(255,255,255,.92);
  background:
    radial-gradient(1100px 520px at 15% 0%, rgba(159,231,221,.18) 0%, rgba(159,231,221,.05) 40%, rgba(0,0,0,0) 100%),
    radial-gradient(900px 480px at 85% 30%, rgba(111,217,205,.14) 0%, rgba(111,217,205,.04) 45%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, var(--kp-violet) 0%, var(--kp-violet-2) 100%);
  margin-top: 32px;
  box-shadow: var(--shadow) inset 0 1px 0 rgba(255,255,255,.06);
}

.site-footer a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
.site-footer a:hover{
  color: #ffffff;
  text-decoration: underline;
}

/* wrapper */
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 16px;
}

/* Бренд */
.footer-brand{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 8px 10px;
}
.brand:hover{
  text-decoration: none;
  background: rgba(255,255,255,0.14);
}
.brand-logo{
  width: auto;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
}
.brand-name{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: .2px;
}
.brand-tag{
  color: rgba(255,255,255,.74);
  margin: 10px 0 0 0;
}

/* Контакти */
.footer-contacts{
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.contact{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
}
.contact:hover{
  text-decoration: none;
  background: rgba(255,255,255,0.14);
}
.contact svg{
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,.92);
}

/* Соціалки */
.socials{
  display: inline-flex;
  gap: 10px;
  margin-top: 12px;
}
.socials a{
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
}
.socials a:hover{
  background: rgba(255,255,255,0.16);
  text-decoration: none;
}
.socials svg{
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,.92);
}

/* Нижня плашка */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.74);
}

.footer-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.to-top{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;
  padding: 8px 10px;
}
.to-top:hover{
  background: rgba(255,255,255,0.18);
  text-decoration: none;
}

/* Адаптивність */
@media (min-width: 768px){
  .footer-inner{ padding: 26px 20px; }
  .brand-logo{ height: 48px; }
  .brand-name{ font-size: 20px; }
}
@media (min-width: 1024px){
  .footer-inner{ padding: 30px 20px; }
  .brand-logo{ height: 54px; }
  .brand-name{ font-size: 22px; }
}

/* Якщо десь використовується kp-container з header.php — не завадить */
.kp-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}
