/* ═══════════════════════════════════════════════════
   Tax2Win — Footer Stylesheet (footer.css)
   Load AFTER navbar.css (needs its :root variables).
   Include on every page that uses footer.php.
═══════════════════════════════════════════════════ */

/* ══════════════════════════
   FOOTER BASE
══════════════════════════ */
.hp-footer {
  background: var(--text-dark);
  padding: 64px 0 0;
}

/* ══════════════════════════
   GRID (5 columns)
══════════════════════════ */
.hp-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════
   BRAND COLUMN
══════════════════════════ */
.hp-footer__brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 14px 0 22px;
  max-width: 260px;
}

/* Social icons */
.hp-footer__social {
  display: flex;
  gap: 10px;
}

.hp-footer__social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hp-footer__social a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.hp-footer__social a svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-footer__social a:hover svg {
  stroke: var(--white);
}

/* ══════════════════════════
   LINK COLUMNS
══════════════════════════ */
.hp-footer__col h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.hp-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-footer__col ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.hp-footer__col ul li a:hover {
  color: var(--orange);
  padding-left: 4px;
}

/* ══════════════════════════
   BOTTOM BAR
══════════════════════════ */
.hp-footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.hp-footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hp-footer__bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.hp-footer__bottom-links a:hover {
  color: var(--orange);
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hp-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hp-footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  .hp-footer {
    padding: 48px 0 0;
  }

  .hp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hp-footer__brand {
    grid-column: 1 / -1;
  }

  .hp-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .hp-footer__bottom-links {
    justify-content: center;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .hp-footer__grid {
    grid-template-columns: 1fr;
  }

  .hp-footer__social {
    flex-wrap: wrap;
  }
}
.hp-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1024px) {
  .hp-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .hp-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hp-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hp-footer__grid { grid-template-columns: 1fr; }
  .hp-footer__bottom { flex-direction: column; text-align: center; }
}
.hp-footer .hp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}