/* =========================================
   Footer Section
   ========================================= */

.site-footer {
  background: linear-gradient(160deg, #060d1f 0%, #0b1f45 60%, #081530 100%);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
}

/* Subtle glow blob */
.site-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Bottom black gradient */
.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* --- Top: Logos + Tags --- */
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.footer-top-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-hero-logo {
  height: 100px;
  object-fit: contain;
  opacity: 0.95;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-spe-logo-white {
  height: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex-shrink: 0;
  margin-right: 160px;
  transition: opacity 0.2s ease;
}

.footer-spe-logo-white:hover {
  opacity: 1;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-tag {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-family);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.footer-tag:hover {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
}

.footer-tag.highlight {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

.footer-tag.highlight:hover {
  background-color: rgba(59, 130, 246, 0.3);
}

/* --- Middle: Contact Info --- */
.footer-middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

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

.footer-contact-list li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-contact-list a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact-list .label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.schedule-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* SPE col */
.footer-spe-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-spe-logo {
  height: 100px;
  object-fit: contain;
  opacity: 1;
  align-self: flex-start;
  background-color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
}

.footer-resolution {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-resolution strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  align-items: flex-start;
}

.footer-doc-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.footer-doc-link {
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-doc-link:hover {
  color: #bfdbfe;
}

.footer-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-family);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
  max-width: 330px;
  box-sizing: border-box;
}

.footer-action-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footer-action-btn svg {
  flex-shrink: 0;
}

.footer-action-primary {
  background-color: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.footer-action-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

/* --- Bottom bar --- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo-img {
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.footer-logo-main {
  height: 36px;
}

.footer-logo-spe {
  height: 30px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 1200px) {
  .footer-middle {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .footer-middle {
    gap: 40px;
  }
  
  .footer-hero-logo {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 1.5rem;
  }

  .site-footer {
    border-radius: 20px 20px 0 0;
  }

  .footer-middle {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-hero-logo {
    height: 100px;
  }

  .footer-heading {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-action-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}
