/**
 * DropshipGuru — Footer premium polish (#siteFooter)
 * Same brand language. Compact SaaS spacing. No redesign.
 */

#siteFooter {
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  background: #0e1013;
  color: #b7bdc8;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#siteFooter *,
#siteFooter *::before,
#siteFooter *::after {
  box-sizing: border-box;
}

#siteFooter .footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 85%, rgba(212, 175, 55, 0.05), transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 20%, rgba(212, 175, 55, 0.035), transparent 55%);
}

/* Five equal columns — shared top edge */
#siteFooter .footer-inner {
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 0 10px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px 20px !important;
  align-items: start !important;
  position: relative;
  z-index: 1;
}

#siteFooter .footer-brand,
#siteFooter .footer-col {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  margin-top: 0;
}

#siteFooter .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  align-self: flex-start;
  min-height: 28px;
  margin: 0 0 8px;
}

#siteFooter .footer-logo img,
#siteFooter .footer-logo > span:first-child {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
}

#siteFooter .footer-logo span {
  font-size: 15px;
  font-weight: 700;
  color: #f5f1ea;
  letter-spacing: -0.01em;
}

#siteFooter .footer-logo b {
  color: #d4af37;
  font-weight: 800;
}

#siteFooter .footer-brand-tagline {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8c872;
}

#siteFooter .footer-desc {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #7d8795;
  max-width: 220px;
}

#siteFooter .footer-desc + .footer-desc {
  display: none; /* keep one short brand line */
}

#siteFooter .footer-desc b {
  color: #d4af37;
  font-weight: 700;
}

#siteFooter .footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

#siteFooter .footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #ede8df;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

#siteFooter .footer-socials a .brand-icon-wrap {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

#siteFooter .footer-socials a:hover {
  transform: scale(1.08);
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.12);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.18),
    0 0 18px rgba(212, 175, 55, 0.28);
}

/* Column headings — match brand logo top rhythm */
#siteFooter .footer-col h4 {
  margin: 0 0 10px !important;
  padding: 0 0 6px !important;
  min-height: 28px;
  display: flex;
  align-items: flex-end;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5f1ea;
  position: relative;
  width: 100%;
}

#siteFooter .footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

#siteFooter .footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

#siteFooter .footer-col ul li a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #7d8795;
  transition: color 0.2s ease;
  line-height: 1.35;
}

#siteFooter .footer-col ul li a:hover {
  color: #d4af37;
}

/* Contact — icon | label / value hierarchy */
#siteFooter .footer-contact-list {
  gap: 10px !important;
}

#siteFooter .footer-contact-block,
#siteFooter .footer-contact-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

#siteFooter .footer-contact-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  margin-top: 1px;
}

#siteFooter .footer-contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#siteFooter .footer-contact-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9c3b8;
  line-height: 1.3;
}

#siteFooter .footer-contact-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #7d8795;
  font-weight: 500;
}

#siteFooter .footer-contact-item a,
#siteFooter .footer-contact-block a {
  color: #b7bdc8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  word-break: break-word;
  line-height: 1.4;
  transition: color 0.2s ease;
}

#siteFooter .footer-contact-item a:hover {
  color: #d4af37;
}

/* Meta band */
#siteFooter .footer-meta {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 10px !important;
}

#siteFooter .footer-trust-strip,
#siteFooter .dg-trust-strip {
  display: none !important;
}

#siteFooter .footer-trust-bar {
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  padding: 10px 0 0;
  margin: 0 0 8px;
}

#siteFooter .footer-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

#siteFooter .footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.16);
  color: #9aa3af;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

#siteFooter .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

#siteFooter .footer-disclaimer {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 8px !important;
  padding: 0 !important;
  font-size: 12px;
  line-height: 1.55;
  color: #8b939e;
  text-align: center;
}

#siteFooter .footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px 20px;
  padding: 0;
}

#siteFooter .footer-copy {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #7d8795;
}

#siteFooter .footer-copy br {
  display: none;
}

#siteFooter .footer-made {
  margin: 0;
  font-size: 12px;
  color: #6a737e;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1440px) {
  #siteFooter .footer-inner,
  #siteFooter .footer-meta {
    width: min(1080px, calc(100% - 40px));
  }
}

@media (max-width: 1100px) {
  #siteFooter .footer-inner {
    grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
    gap: 14px 16px;
  }
}

@media (max-width: 1024px) {
  #siteFooter .footer-inner {
    width: min(100%, calc(100% - 36px)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 18px !important;
    padding: 20px 0 10px !important;
  }

  #siteFooter .footer-brand {
    grid-column: 1 / -1;
  }

  #siteFooter .footer-desc {
    max-width: 480px;
  }

  #siteFooter .footer-meta {
    width: min(100%, calc(100% - 36px)) !important;
    padding-bottom: 10px !important;
  }

  #siteFooter .footer-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #siteFooter .footer-inner {
    width: min(100%, calc(100% - 28px)) !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 18px 0 8px !important;
    text-align: center !important;
  }

  #siteFooter .footer-brand,
  #siteFooter .footer-col {
    align-items: center;
  }

  #siteFooter .footer-logo {
    align-self: center;
  }

  #siteFooter .footer-desc {
    max-width: 100%;
  }

  #siteFooter .footer-socials {
    justify-content: center;
  }

  #siteFooter .footer-col h4 {
    justify-content: center;
  }

  #siteFooter .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  #siteFooter .footer-col ul {
    align-items: center;
  }

  #siteFooter .footer-contact-list {
    max-width: 300px;
    margin-inline: auto;
    gap: 10px !important;
  }

  #siteFooter .footer-contact-block,
  #siteFooter .footer-contact-item {
    text-align: left;
  }

  #siteFooter .footer-meta {
    width: min(100%, calc(100% - 28px)) !important;
  }

  #siteFooter .footer-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #siteFooter .footer-pill {
    white-space: normal;
    height: auto;
    min-height: 32px;
    padding: 6px 8px;
    line-height: 1.25;
  }

  #siteFooter .footer-disclaimer {
    font-size: 11.5px;
    margin-bottom: 6px !important;
  }

  #siteFooter .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  #siteFooter .footer-made {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  #siteFooter .footer-inner,
  #siteFooter .footer-meta {
    width: min(100%, calc(100% - 20px)) !important;
  }

  #siteFooter .footer-pill {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #siteFooter .footer-socials a {
    transition: none;
  }

  #siteFooter .footer-socials a:hover {
    transform: none;
  }
}
