/**
 * Habereta — compact site footer (cached markup).
 */

.hb-footer--compact {
  background: #0f172a;
  color: #cbd5e1;
  padding: 32px 0 20px;
}

.hb-footer--compact .hb-container {
  display: grid;
  gap: 20px;
}

.hb-footer__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hb-footer__logo img {
  max-height: 32px;
  width: auto;
}

.hb-footer__site-name {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.hb-footer__tagline {
  margin: 8px 0 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
}

.hb-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.hb-footer__nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.hb-footer__nav a:hover {
  color: #fff;
}

.hb-footer__bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.hb-footer__copy,
.hb-footer__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
}

.hb-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.hb-footer__phones {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 13px;
}

.hb-footer__phones a {
  color: #cbd5e1;
  font-weight: 600;
}

.hb-footer__phones a:hover {
  color: #fff;
}

.hb-footer__sep,
.hb-support-phones__sep {
  margin: 0 0.35em;
  color: #64748b;
}

.hb-footer__meta > a {
  color: #cbd5e1;
  text-decoration: none;
}

.hb-footer__meta > a:hover {
  color: #fff;
}

.hb-telegram-link--footer {
  color: #cbd5e1;
}

.hb-telegram-link--footer:hover {
  color: #fff;
}

.hb-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.hb-whatsapp-link:hover {
  color: #fff;
}

.hb-whatsapp-link--footer {
  color: #cbd5e1;
}

.hb-whatsapp-link__icon {
  flex-shrink: 0;
}

.hb-whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hb-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
}

.hb-whatsapp-float__icon {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hb-whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
    border-radius: 50%;
  }

  .hb-whatsapp-float__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 768px) {
  .hb-footer__main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }

  .hb-footer__nav {
    justify-content: flex-end;
    max-width: 420px;
  }
}

@media (min-width: 1025px) {
  .hb-footer--compact {
    padding: 36px 0 22px;
  }

  .hb-footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px 24px;
  }

  .hb-footer__meta {
    justify-content: flex-end;
  }
}
