/* ==========================================================================
   Pathway IT — footer.css
   Enterprise footer: company · services · links · resources · contact ·
   newsletter · socials
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--grad-dark);
  color: rgba(255, 255, 255, .6);
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 74%);
}
.site-footer .blob-f {
  width: 720px; height: 460px;
  top: -18%; left: 50%;
  translate: -50% 0;
  background: radial-gradient(ellipse, rgba(79, 70, 229, .28), transparent 70%);
}
.footer-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.footer-particles i {
  position: absolute;
  border-radius: 50%;
  background: var(--indigo-400);
  will-change: transform;
}

/* ───────────────────────────────────────────── newsletter band ──────── */
.footer-news {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  border-radius: var(--r-2xl);
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(140deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022));
  backdrop-filter: blur(18px);
}
.footer-news h3 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.footer-news p { margin-top: .5rem; font-size: .9rem; color: rgba(255, 255, 255, .56); }

.news-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.news-form .field {
  position: relative;
  flex: 1 1 240px;
}
.news-form input {
  width: 100%;
  padding: .95rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: .9rem;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.news-form input::placeholder { color: rgba(255, 255, 255, .38); }
.news-form input:focus {
  outline: none;
  border-color: rgba(124, 126, 245, .7);
  background: rgba(255, 255, 255, .08);
}
.news-note {
  margin-top: .85rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}
.news-ok {
  margin-top: .7rem;
  font-size: .8rem;
  color: #6EE7B7;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 340ms var(--ease);
}
.news-ok.is-on { opacity: 1; transform: none; }

/* ──────────────────────────────────────────────────── columns ───────── */
.footer-cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}
.footer-brand .logo-word b { color: #fff; }
.footer-brand .logo-word span { color: rgba(255, 255, 255, .42); }
.footer-brand > p {
  margin-top: 1.15rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  max-width: 23rem;
}
.footer-contact { margin-top: 1.5rem; display: grid; gap: .55rem; }
.footer-contact a, .footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  transition: color 280ms var(--ease), transform 280ms var(--ease);
}
.footer-contact a:hover { color: #fff; transform: translateX(3px); }
.footer-contact svg { width: 15px; height: 15px; margin-top: 4px; color: var(--indigo-400); flex: none; }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .36);
  margin-bottom: 1.05rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a {
  position: relative;
  display: inline-block;
  font-size: .875rem;
  color: rgba(255, 255, 255, .58);
  transition: color 280ms var(--ease), transform 280ms var(--ease);
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 340ms var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ────────────────────────────────────────────────── bottom bar ─────── */
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom-left { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-bottom a { transition: color 260ms var(--ease); }
.footer-bottom a:hover { color: #fff; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border: 1px solid rgba(52, 211, 153, .26);
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, .09);
  font-size: 11.5px;
  font-weight: 600;
  color: #6EE7B7;
}
.status-pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse-dot 2.4s var(--ease-io) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
  50%      { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.socials { display: flex; gap: .45rem; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  color: rgba(255, 255, 255, .55);
  transition: all 320ms var(--ease);
}
.socials a svg { width: 15px; height: 15px; }
.socials a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad-brand);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 24px rgba(79, 70, 229, .45);
}

@media (max-width: 1080px) {
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .footer-news { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────────────────── back to top ────── */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: all 400ms var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--sh-glow-lg); }
.to-top svg { width: 18px; height: 18px; }
