/* ===========================
   SHARED FOOTER STYLES
   =========================== */

#site-footer {
  background: #060e1c;
  color: #cbd5e1;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] #site-footer {
  background: #0a1628;
  color: #94a3b8;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.6), transparent);
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---- BRAND COL ---- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f97316, #ea6100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  font-weight: 900;
  letter-spacing: -1px;
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
  flex-shrink: 0;
}

.footer-logo-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.footer-logo-tagline {
  font-size: 10px;
  color: #f97316;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #64748b;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.4);
  color: #f97316;
  transform: translateY(-3px);
}

/* ---- FOOTER COLS ---- */
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(249,115,22,0.25);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 10px;
  color: #f97316;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #f97316;
  padding-left: 4px;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

/* ---- CONTACT COL ---- */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: #f97316;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.footer-contact-item a {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #f97316;
}

/* ---- NEWSLETTER ---- */
.footer-newsletter-form {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-newsletter-input::placeholder {
  color: #374151;
}

.footer-newsletter-input:focus {
  border-color: rgba(249,115,22,0.4);
}

.footer-newsletter-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, #f97316, #ea6100);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

/* ---- FOOTER BOTTOM ---- */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  color: #374151;
}

.footer-copyright span {
  color: #f97316;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #f97316;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-container {
    padding: 0 20px;
  }
}
