/* ScrewNet premium footer – loaded last so it fully replaces the old footer styling. */
.snx-footer {
  --snx-bg: #08080a;
  --snx-panel: #111114;
  --snx-line: rgba(255, 255, 255, .09);
  --snx-text: #a1a1aa;
  --snx-head: #ffffff;
  --snx-accent: #dc2626;
  position: relative; overflow: hidden; margin-top: 64px; padding-top: 56px;
  background: var(--snx-bg); color: var(--snx-text);
  font-family: var(--font-retail), "Montserrat", Arial, sans-serif; font-size: .92rem; line-height: 1.6;
}
.snx-footer *, .snx-footer *::before, .snx-footer *::after { box-sizing: border-box; }
.snx-footer a { color: inherit; text-decoration: none; transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease; }
.snx-footer ul { list-style: none; margin: 0; padding: 0; }
.snx-footer h2, .snx-footer h3, .snx-footer p { margin: 0; }
.snx-footer svg { flex: 0 0 auto; }
.snx-footer__glow {
  position: absolute; inset: 0 0 auto 0; height: 360px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(220, 38, 38, .16), transparent 70%);
}

/* ---------- RFQ call-to-action (overlaps the page above) ---------- */
.snx-cta {
  position: relative; z-index: 1; margin: 0 0 56px;
  display: grid; grid-template-columns: 1.4fr 1.2fr auto; align-items: center; gap: 28px;
  padding: 28px 34px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, #111114 0%, #1c1012 55%, #3a1014 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.snx-cta__text { display: flex; align-items: center; gap: 18px; }
.snx-cta__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: 0 0 56px;
  background: rgba(220, 38, 38, .16); color: #ff5a5a; border: 1px solid rgba(220, 38, 38, .35);
}
.snx-cta h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.snx-cta p { margin-top: 4px; color: #c4c4cc; font-size: .9rem; }
.snx-cta__points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.snx-cta__points li { display: inline-flex; align-items: center; gap: 8px; color: #e4e4e7; font-weight: 600; font-size: .86rem; }
.snx-cta__points svg { color: #ff5a5a; }

/* ---------- Buttons ---------- */
.snx-footer .snx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px;
  border-radius: 12px; font-weight: 700; font-size: .86rem; letter-spacing: .02em; white-space: nowrap; cursor: pointer;
}
.snx-footer .snx-btn--accent { background: var(--snx-accent); color: #fff !important; box-shadow: 0 10px 24px -8px rgba(220, 38, 38, .7); }
.snx-footer .snx-btn--accent:hover { background: #ef4444; transform: translateY(-2px); }
.snx-footer .snx-btn--wa { background: rgba(37, 211, 102, .12); color: #4ade80 !important; border: 1px solid rgba(37, 211, 102, .35); padding: 11px 18px; }
.snx-footer .snx-btn--wa:hover { background: rgba(37, 211, 102, .22); transform: translateY(-2px); }

/* ---------- Main columns ---------- */
.snx-footer__main {
  display: grid; grid-template-columns: 1.3fr .9fr .9fr .9fr minmax(290px, 1.7fr); gap: 40px; padding-top: 0; padding-bottom: 56px;
}
.snx-brand__logo img { display: block; width: 190px; height: auto; margin-bottom: 18px; }
.snx-brand p { max-width: 36ch; color: var(--snx-text); }
.snx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.snx-badges span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--snx-line); color: #d4d4d8; font-size: .74rem; font-weight: 600;
}
.snx-badges svg { color: #ff5a5a; }
.snx-gstin { display: block; margin-top: 16px; color: #71717a; letter-spacing: .04em; }

.snx-col h3 {
  position: relative; margin-bottom: 22px; padding-bottom: 12px; color: var(--snx-head);
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.snx-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--snx-accent); }
.snx-col ul { display: grid; gap: 12px; }
.snx-col ul a { position: relative; display: inline-block; color: var(--snx-text); }
.snx-col:not(.snx-contact) ul a::before {
  content: ""; display: inline-block; width: 0; height: 1px; margin-right: 0; vertical-align: middle; background: var(--snx-accent);
  transition: width .22s ease, margin-right .22s ease;
}
.snx-col:not(.snx-contact) ul a:hover { color: #fff; }
.snx-col:not(.snx-contact) ul a:hover::before { width: 12px; margin-right: 8px; }

.snx-contact ul { gap: 16px; }
.snx-contact li { display: flex; align-items: flex-start; gap: 13px; }
.snx-ico {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--snx-line); color: #ff5a5a;
}
.snx-contact small { display: block; margin-bottom: 1px; color: #71717a; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.snx-contact a, .snx-contact li span:not(.snx-ico) { color: #e4e4e7; font-weight: 500; overflow-wrap: anywhere; }
.snx-contact a:hover { color: #fff; }

/* ---------- Bottom bar ---------- */
.snx-footer__bottom { border-top: 1px solid var(--snx-line); background: rgba(0, 0, 0, .35); }
.snx-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 20px; padding-bottom: 20px; }
.snx-copy { color: #71717a; font-size: .82rem; }
.snx-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.snx-legal a { color: #a1a1aa; font-size: .82rem; }
.snx-legal a:hover { color: #fff; }
.snx-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.snx-pay span { color: #71717a; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
.snx-pay img { height: 18px; width: auto; max-width: 54px; object-fit: contain; opacity: .85; filter: brightness(0) invert(1); }
.snx-pay img:hover { opacity: 1; }

/* Neutralise the legacy footer blocks if any markup remains */
.site-footer.white-theme-footer, .pro-site-footer { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .snx-cta { grid-template-columns: 1fr auto; }
  .snx-cta__points { grid-column: 1 / -1; order: 3; }
  .snx-footer__main { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .snx-brand { grid-column: 1 / -1; }
  .snx-brand p { max-width: 60ch; }
}
@media (max-width: 767px) {
  .snx-footer { margin-top: 48px; padding-top: 36px; padding-bottom: 64px; }
  .snx-cta { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; border-radius: 16px; margin: 0 0 36px; }
  .snx-cta__text { align-items: flex-start; }
  .snx-cta h2 { font-size: 1.2rem; }
  .snx-footer .snx-btn--accent { width: 100%; }
  .snx-footer__main { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding-bottom: 36px; }
  .snx-brand, .snx-contact { grid-column: 1 / -1; }
  .snx-bottom { flex-direction: column; align-items: flex-start; }
  .snx-pay img { height: 16px; }
}
@media (max-width: 420px) {
  .snx-footer__main { grid-template-columns: 1fr; }
}

.snx-contact li a[href^="mailto"] { font-size: .84rem; overflow-wrap: normal; word-break: normal; white-space: nowrap; }
@media (max-width: 1180px) { .snx-contact li a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; } }
