.site-footer {
  --footer-bg: #0d1117;
  --footer-bg-lighter: #161b22;
  --footer-text: rgba(255, 255, 255, 0.75);
  --footer-text-muted: rgba(255, 255, 255, 0.5);
  --footer-heading: #ffffff;
  --footer-accent: #17a2b8;
  --footer-accent-gold: #d4a853;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-link-hover: #17a2b8;
  background: linear-gradient(180deg, var(--footer-bg-lighter) 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--footer-accent) 20%, var(--footer-accent-gold) 50%, var(--footer-accent) 80%, transparent 100%);
  opacity: 0.8;
}

.footer-main {
  padding: 4rem 0 3rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
}
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo .cabo-logo {
  height: 48px;
  width: 48px;
}
.footer-brand h4 {
  color: var(--footer-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.footer-brand p {
  color: var(--footer-text);
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-contact {
  margin-bottom: 1.5rem;
}
.footer-contact a {
  display: flex;
  align-items: center;
  color: var(--footer-text);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: all 0.25s ease;
}
.footer-contact a:hover {
  color: var(--footer-link-hover);
  transform: translateX(3px);
}
.footer-contact a i.fas,
.footer-contact a i.far,
.footer-contact a i.fab {
  width: 20px;
  margin-right: 0.5rem !important;
  color: var(--footer-accent);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--footer-border);
  border-radius: 50%;
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--footer-accent);
  border-color: var(--footer-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}
.footer-social a i {
  font-size: 1rem;
}

.footer-nav h5 {
  color: var(--footer-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-nav h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--footer-accent);
  border-radius: 1px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 0.6rem;
}
.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  display: inline-block;
}
.footer-nav a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--footer-accent);
  transition: width 0.3s ease;
}
.footer-nav a:hover {
  color: var(--footer-link-hover);
}
.footer-nav a:hover::before {
  width: 100%;
}

.footer-highlight {
  background: rgba(23, 162, 184, 0.08);
  border: 1px solid rgba(23, 162, 184, 0.2);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.footer-highlight .highlight-title {
  color: var(--footer-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.footer-highlight p {
  color: var(--footer-text);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.footer-highlight a {
  color: var(--footer-accent-gold);
  text-decoration: none;
  font-weight: 500;
}
.footer-highlight a:hover {
  text-decoration: underline;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-trust .trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--footer-text-muted);
  font-size: 0.85rem;
}
.footer-trust .trust-badge i {
  color: var(--footer-accent);
}
.footer-trust .payment-icons {
  display: flex;
  gap: 0.5rem;
}
.footer-trust .payment-icons img {
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.footer-trust .payment-icons img:hover {
  opacity: 1;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem 0;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: var(--footer-text-muted);
  font-size: 0.875rem;
  margin: 0;
}
.footer-copyright a {
  color: var(--footer-text);
  text-decoration: none;
}
.footer-copyright a:hover {
  color: var(--footer-accent);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-legal a {
  color: var(--footer-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s ease;
}
.footer-legal a:hover {
  color: var(--footer-link-hover);
}

.footer-credit {
  text-align: center;
  color: var(--footer-text-muted);
  font-size: 0.8rem;
  margin: 0.75rem 0 0;
  opacity: 0.7;
}
.footer-credit a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-credit a:hover {
  color: #8b0000;
}

.footer-back-top {
  position: absolute;
  right: 2rem;
  top: -24px;
}
.footer-back-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--footer-accent);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
  transition: all 0.3s ease;
}
.footer-back-top a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.5);
}
.footer-back-top a i {
  font-size: 1.25rem;
}

@media (max-width: 991px) {
  .footer-main {
    padding: 3rem 0 2rem;
  }
  .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }
  .footer-brand p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact {
    justify-content: center;
  }
  .footer-contact a {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-nav {
    margin-bottom: 2rem;
  }
  .footer-nav h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-nav ul {
    text-align: center;
  }
  .footer-back-top {
    right: 1rem;
  }
}
@media (max-width: 767px) {
  .site-footer {
    font-size: 0.9rem;
  }
  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-back-top {
    display: none;
  }
}
@media (max-width: 575px) {
  .footer-social a {
    width: 36px;
    height: 36px;
  }
  .footer-trust {
    justify-content: center;
  }
}