/* ფუტერი (skins/layouts/footer.php) — ძველი footer/.footer-* წესები აქ გადაიფარება */
footer.shf {
  --shf-navy: var(--primary-color, #001360);
  --shf-blue: #1f4fd8;
  --shf-text: #3c4a6b;
  --shf-muted: #7482a3;
  --shf-line: #e3e9f4;
  --shf-bg: #f5f7fc;
  --shf-card: #ffffff;

  display: block;
  min-height: 0;
  margin-top: 48px;
  padding: 0 50px 0 44px !important;
  background:
    radial-gradient(620px 220px at 100% 0%, rgba(92, 168, 255, .12), transparent 70%),
    var(--shf-bg);
  border-top: 1px solid var(--shf-line);
  color: var(--shf-text);
  font-family: "BPG Mrgvlovani", system-ui, sans-serif;
}

.shf-inner {
  width: 100%;
  max-width: 918px;
  margin: 0 auto;
}

.shf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 56px 0 40px;
}

/* ბრენდი */
.shf-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--shf-navy);
  text-decoration: none;
}

.shf-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 19, 96, .18);
}

.shf-logo span {
  font: 700 15px/1.2 "BPG Mrgvlovani Caps 2010", system-ui, sans-serif;
  letter-spacing: .06em;
}

.shf-tagline {
  margin: 16px 0 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--shf-muted);
}

.shf-install {
  margin-top: 18px;
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--shf-navy);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.shf-install:hover { background: var(--hover-color, #001978); transform: translateY(-1px); }

/* სვეტები */
.shf-heading {
  margin: 0 0 16px;
  font: 13px/1.3 "BPG Mrgvlovani Caps 2010", system-ui, sans-serif;
  color: var(--shf-navy);
  letter-spacing: .03em;
}

.shf-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shf-menu a {
  position: relative;
  display: inline-block;
  padding: 2px 0;
  font-size: 13px;
  color: var(--shf-text);
  text-decoration: none;
  transition: color .2s;
}

.shf-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--shf-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.shf-menu a:hover,
.shf-menu a.is-active { color: var(--shf-navy); }
.shf-menu a:hover::after,
.shf-menu a.is-active::after { transform: scaleX(1); }

/* კონტაქტი */
.shf-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shf-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--shf-line);
  border-radius: 14px;
  background: var(--shf-card);
  color: var(--shf-navy);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.shf-contact a:hover {
  border-color: rgba(31, 79, 216, .35);
  box-shadow: 0 8px 22px rgba(0, 19, 96, .08);
  transform: translateY(-1px);
}

.shf-contact small {
  display: block;
  font-size: 11px;
  color: var(--shf-muted);
}

.shf-ico {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(31, 79, 216, .09);
  color: var(--shf-blue);
  font-size: 14px;
}

/* ქვედა ზოლი */
.shf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 22px;
  border-top: 1px solid var(--shf-line);
}

.shf-copy {
  margin: 0;
  font-size: 12px;
  color: var(--shf-muted);
}

.shf-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shf-secure {
  margin-right: 4px;
  font-size: 12px;
  color: var(--shf-muted);
}

.shf-secure i { color: #1a9b5b; margin-right: 4px; }

.shf-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  border: 1px solid var(--shf-line);
  border-radius: 8px;
  background: #fff;
}

.shf-card img {
  max-width: 38px;
  max-height: 20px;
}

.shf a:focus-visible,
.shf button:focus-visible {
  outline: 2px solid var(--shf-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* რესპონსივი */
@media (max-width: 1250px) {
  footer.shf { padding: 0 20px !important; }
}

@media (max-width: 992px) {
  .shf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .shf-brand { grid-column: 1 / -1; }
  .shf-tagline { max-width: 460px; }
}

@media (max-width: 600px) {
  footer.shf { margin-top: 32px; padding: 0 16px !important; }
  .shf-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 28px;
  }
  .shf-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .shf-pay { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .shf * { transition: none !important; }
}
