/* HighPass Footer Templates CSS */

/* Ensure footer displays correctly on customer portal */
body.page-id-10907 .hp-footer--modern {
  background: linear-gradient(135deg, #0a1929 0%, #132f4c 100%) !important;
  color: #e0e0e0 !important;
  padding: 60px 20px !important;
  margin-top: 80px !important;
}

body.page-id-10907 .hp-footer--professional {
  background: linear-gradient(135deg, #0a1929 0%, #132f4c 100%) !important;
  color: #e0e0e0 !important;
  margin-top: 80px !important;
}

body.page-id-10907 .hp-footer--minimal {
  background: #1a1a1a !important;
  color: #999 !important;
  padding: 40px 20px !important;
  margin-top: 80px !important;
  text-align: center !important;
}

/* Modern Footer */
.hp-footer--modern {
  background: linear-gradient(135deg, #0a1929 0%, #132f4c 100%) !important;
  color: #e0e0e0 !important;
  padding: 60px 20px !important;
  margin-top: 80px !important;
}

.hp-footer__modern-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-footer__modern-section {
  text-align: center;
}

.hp-footer__modern-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.hp-footer__modern-section h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: white;
  font-weight: 600;
}

.hp-footer__modern-section p {
  margin: 0;
  font-size: 14px;
  color: #999;
}

.hp-footer__modern-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.hp-footer__modern-left h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: white;
  font-weight: 700;
}

.hp-footer__modern-left p {
  margin: 0;
  font-size: 14px;
  color: #999;
}

.hp-footer__modern-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hp-footer__modern-links a {
  color: #007cba;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.hp-footer__modern-links a:hover {
  color: #0073aa;
}

.hp-footer__modern-legal {
  text-align: right;
}

.hp-footer__modern-legal p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

/* Professional Footer */
.hp-footer--professional {
  background: linear-gradient(135deg, #0a1929 0%, #132f4c 100%) !important;
  color: #e0e0e0 !important;
  margin-top: 80px !important;
}

.hp-footer__professional-top {
  padding: 60px 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.hp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.hp-footer__column {
  display: flex;
  flex-direction: column;
}

.hp-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hp-footer__logo {
  width: 40px;
  height: 40px;
  filter: brightness(1.2);
}

.hp-footer__brand h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.hp-footer__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.hp-footer__socials {
  display: flex;
  gap: 12px;
}

.hp-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.hp-footer__social:hover {
  background: #007cba;
  transform: translateY(-2px);
}

.hp-footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hp-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-footer__links li {
  margin-bottom: 12px;
}

.hp-footer__links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.hp-footer__links a:hover {
  color: #007cba;
}

.hp-footer__contact {
  font-size: 14px;
}

.hp-footer__contact p {
  margin: 0 0 16px 0;
}

.hp-footer__contact strong {
  color: white;
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hp-footer__contact a {
  color: #007cba;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hp-footer__contact a:hover {
  color: #0073aa;
}

.hp-footer__professional-bottom {
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  margin: 0 auto;
}

.hp-footer__bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hp-footer__bottom-content p {
  margin: 0;
  font-size: 14px;
  color: #999;
}

.hp-footer__legal {
  display: flex;
  gap: 24px;
}

.hp-footer__legal a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.hp-footer__legal a:hover {
  color: #007cba;
}

/* Minimal Footer */
.hp-footer--minimal {
  background: #1a1a1a !important;
  color: #999 !important;
  padding: 40px 20px !important;
  margin-top: 80px !important;
  text-align: center !important;
}

.hp-footer__minimal-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-footer__minimal-brand {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.hp-footer__minimal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hp-footer__minimal-links a {
  color: #007cba;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.hp-footer__minimal-links a:hover {
  color: #0073aa;
}

.hp-footer__minimal-copyright {
  font-size: 12px;
  color: #666;
}

/* Default Footer */
.hp-footer--default {
  background: #1a1a1a !important;
  color: #999 !important;
  padding: 40px 20px !important;
  margin-top: 80px !important;
}

.hp-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hp-footer__container p {
  margin: 0 0 15px;
  font-size: 14px;
}

.hp-footer__links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .hp-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hp-footer__professional-top {
    padding: 40px 20px 30px;
  }

  .hp-footer__bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .hp-footer__legal {
    justify-content: center;
  }

  .hp-footer__modern-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hp-footer__modern-legal {
    text-align: center;
  }

  .hp-footer__modern-links {
    justify-content: center;
  }

  .hp-footer__modern-top {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
}

/* ==========================================
   Columns Footer — brand/CTA panel + configurable
   link columns + bottom status bar.
   ========================================== */

.hp-footer--columns { padding: 64px 0 0; color: #cbd5e1; }

.hp-footer-col__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

/* Fewer than 4 columns are simply empty grid cells (columns 2-4 render only
   when their title+links are filled in) — that's fine, they just collapse
   to blank space rather than needing separate track-count variants. */

.hp-footer-col__brand { padding-right: 20px; }

.hp-footer-col__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hp-footer-col__brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.3;
}

.hp-footer-col__brand p {
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 20px;
  max-width: 320px;
}

.hp-footer-col__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7dd3fc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.hp-footer-col__cta:hover { color: #38bdf8; }
.hp-footer-col__cta span { transition: transform 0.15s ease; }
.hp-footer-col__cta:hover span { transform: translateX(3px); }

.hp-footer-col__group h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f1f5f9;
  margin: 0 0 18px;
}

.hp-footer-col__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hp-footer-col__group a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: color 0.15s ease; }
.hp-footer-col__group a:hover { color: #ffffff; }

.hp-footer-col__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
}

.hp-footer-col__bottom p { margin: 0; }

.hp-footer-col__meta { display: flex; align-items: center; gap: 18px; }

.hp-footer-col__status { display: inline-flex; align-items: center; gap: 7px; color: #94a3b8; }

.hp-footer-col__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.hp-footer-col__version {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 12px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: 6px;
}

@media (max-width: 860px) {
  .hp-footer-col__top { grid-template-columns: 1fr 1fr; }
  .hp-footer-col__brand { grid-column: 1 / -1; padding-right: 0; margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .hp-footer-col__top { grid-template-columns: 1fr; }
  .hp-footer-col__bottom { flex-direction: column; align-items: flex-start; }
}
