/* ═══════════════════════════════════════════
   FOOTER - Hostynet Glassmorphism
   ═══════════════════════════════════════════ */

footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(26, 143, 196, 0.1);
  position: relative;
  overflow: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Subtle gradient glow at top */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(26, 143, 196, 0.5), rgba(78, 198, 224, 0.4), rgba(26, 143, 196, 0.5), transparent);
  filter: blur(0.5px);
}

/* Brand block */
.footer-brand-block {
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer-logo:hover {
  opacity: 1;
}

footer .footer-desc {
  color: var(--footer-text);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

/* Headings */
footer .footer-heading {
  color: var(--footer-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

footer .footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(26, 143, 196, 0.3);
}

/* Links */
footer a,
footer .footer-link {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
  padding: 0.3rem 0;
}

footer a:hover,
footer .footer-link:hover {
  color: var(--footer-link-hover);
  padding-left: 4px;
}

.footer-link-muted {
  opacity: 0.85;
  font-style: italic;
}

/* Divider */
footer hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  margin: 3rem 0 1.5rem;
}

/* Social icons */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.1rem;
  color: var(--footer-link);
  transition: all var(--transition-fast);
}

.footer-icon:hover {
  background: rgba(26, 143, 196, 0.15);
  border-color: rgba(26, 143, 196, 0.3);
  color: var(--accent);
  transform: translateY(-3px);
  padding-left: 0;
  box-shadow: 0 4px 16px rgba(26, 143, 196, 0.2);
}

.footer-trustpilot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
  width: auto;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--footer-link);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-trustpilot:hover {
  background: rgba(0, 182, 122, 0.12);
  border-color: rgba(0, 182, 122, 0.25);
  color: #00b67a;
  transform: translateY(-2px);
  padding-left: 0.75rem;
}

/* Security grade badges (SSL Labs, SecurityHeaders, MDN Observatory) */
.footer-grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-grades a {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-grades a:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 198, 224, 0.4);
  box-shadow: 0 4px 14px rgba(26, 143, 196, 0.25);
}

.footer-grades img {
  height: 22px;
  width: auto;
  display: block;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--footer-text);
  opacity: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-bottom-sep {
  opacity: 0.3;
}