/* ============================================================
   FOOTER COMPONENT
   ============================================================ */

.footer {
  background: var(--c-primary);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,201,224,0.4), transparent);
}

.footer-top {
  padding: var(--sp-16) 0 var(--sp-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

/* Brand column */
.footer-brand {}

.footer-logo {
  display: block;
  margin-bottom: var(--sp-5);
}
.footer-logo img {
  height: 46px;
  width: auto;
}

.footer-tagline {
  font-size: var(--sz-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-6);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: var(--sz-sm);
  transition: all var(--dur-fast);
}
.social-btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-primary);
  transform: translateY(-2px);
}

/* Footer columns */
.footer-col {}

.footer-col-title {
  font-size: var(--sz-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.55);
  font-size: var(--sz-sm);
  text-decoration: none;
  transition: all var(--dur-fast);
  line-height: 1.4;
}
.footer-link:hover { color: var(--c-accent); padding-left: var(--sp-1); }
.footer-link i { width: 12px; text-align: center; opacity: 0.6; }

/* Contact info */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.contact-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  background: rgba(0,201,224,0.1);
  border: 1px solid rgba(0,201,224,0.15);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sz-xs);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info {}
.contact-label {
  font-size: var(--sz-xs);
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-value {
  font-size: var(--sz-sm);
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--c-accent); }

/* Product badges in footer */
.footer-products {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.footer-product-tag {
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all var(--dur-fast);
}
.footer-product-tag:hover {
  background: rgba(0,201,224,0.12);
  border-color: rgba(0,201,224,0.25);
  color: var(--c-accent);
}

/* Footer Bottom */
.footer-bottom {
  padding: var(--sp-5) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.copyright {
  font-size: var(--sz-xs);
  color: rgba(255,255,255,0.35);
}
.footer-badges {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.cert-badge {
  font-size: var(--sz-xs);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.cert-badge i { color: var(--c-gold); }

/* CTA Banner above footer */
.pre-footer {
  background: linear-gradient(135deg, #0D2B6B 0%, #1565C0 50%, #0D2B6B 100%);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  padding: var(--sp-16) 0;
  position: relative;
  overflow: hidden;
}
.pre-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pre-footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.pre-footer-text {}
.pre-footer-title {
  font-size: clamp(1.5rem, 3vw, var(--sz-4xl));
  font-weight: var(--fw-extrabold);
  color: white;
  margin-bottom: var(--sp-2);
}
.pre-footer-sub {
  font-size: var(--sz-base);
  color: rgba(255,255,255,0.7);
}
.pre-footer-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-top { padding: var(--sp-12) 0 var(--sp-8); }
  .pre-footer-inner { flex-direction: column; text-align: center; }
  .pre-footer-actions { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
