/* ProAiMax Footer — full width, larger type, distinct bottom bar */
html {
  overflow-x: clip;
}

#footer-container {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  overflow-x: clip;
  box-sizing: border-box;
}

.footer-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: #0b1120 !important;
  border-top: none !important;
  color: #9ca3af;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 0;
}

.footer-main {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 64px clamp(28px, 6vw, 96px) 52px;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr 1.35fr;
  gap: clamp(28px, 4vw, 48px);
  width: 100%;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-grid .col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-logo {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.footer-logo .logo-accent {
  color: #4ade80;
}

.footer-logo sup {
  font-size: 13px;
  margin-left: 3px;
  font-weight: 600;
  vertical-align: super;
}

.footer-tagline {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 0 24px;
}

.footer-col-title {
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  line-height: 1.3;
}

.footer-section .social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-section .social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #2a3548;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-section .social-icon:hover {
  color: #ffffff;
  border-color: #3d4d66;
  background: rgba(255, 255, 255, 0.08);
}

.footer-section .social-icon i {
  font-size: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-section .action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #141c2b;
  border: 1px solid #243044;
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

.footer-section .action-btn:hover {
  background: #1a2436;
  border-color: #334155;
}

.footer-section .action-btn--phone {
  font-size: 18px;
  font-weight: 700;
  padding: 16px 18px;
}

.footer-section .action-btn i {
  color: #9ca3af;
  font-size: 16px;
  flex-shrink: 0;
  width: 1.125rem;
  min-width: 1.125rem;
  text-align: center;
}

.footer-section .action-btn--phone i {
  color: #ffffff;
}

.footer-section .action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(44px, auto);
  align-items: stretch;
  justify-items: stretch;
  gap: 10px;
  width: 100%;
}

.footer-section .action-grid > .action-btn {
  margin-bottom: 0 !important;
  font-size: clamp(11px, 2.75vw, 13px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  padding: 9px 8px;
  gap: 6px;
  min-height: 44px;
  width: 100% !important;
  max-width: none;
  align-self: stretch;
  justify-self: stretch;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.footer-section .action-grid > .action-btn i {
  font-size: clamp(13px, 3vw, 15px);
  width: 1rem;
  min-width: 1rem;
}

.footer-section .action-grid .action-btn-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.15;
}

.footer-info-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0;
}

.footer-section .info-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.footer-section .info-note i {
  color: #64748b;
  margin-top: 3px;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-section .action-btn--email {
  margin-bottom: 0;
}

.footer-col--voice .action-btn--phone {
  margin-bottom: 12px;
}

/* Bottom bar — lighter navy strip, full width */
.footer-bottom-wrapper {
  width: 100%;
  background: #111827 !important;
  border-top: 1px solid #1f2937;
  position: relative;
  box-sizing: border-box;
}

.footer-bottom {
  padding: 24px clamp(28px, 6vw, 96px);
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #9ca3af;
  font-size: 15px;
}

.footer-bottom sup {
  font-size: 10px;
}

.legal-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding-right: 64px;
}

.legal-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #ffffff;
}

.legal-separator {
  color: #4b5563;
  font-size: 12px;
  line-height: 1;
  user-select: none;
}

.footer-section .back-to-top {
  position: absolute;
  right: clamp(28px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1120;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
  border: none;
  cursor: pointer;
}

.footer-section .back-to-top:hover {
  background: #86efac;
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
  .footer-main {
    padding: 48px 24px 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 24px 24px 80px;
    font-size: 14px;
  }

  .legal-links {
    padding-right: 0;
    justify-content: center;
  }

  .legal-links a {
    font-size: 14px;
  }

  .footer-section .back-to-top {
    right: 24px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .footer-section .back-to-top:hover {
    transform: scale(1.05);
  }
}
