/* footer.css - shared site footer */

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(0, 120, 160, 0.18), transparent 28%),
    linear-gradient(180deg, #041729 0%, #02111f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(2.8rem, 5vw, 4.25rem) 0 2rem;
  margin-top: var(--spacing-3xl);
}

.site-footer h4 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 600;
  color: #FFFFFF;
}

.site-footer ul li {
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.55;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

.site-footer a:hover {
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.site-footer .footer-content {
  grid-template-columns: minmax(280px, 1.28fr) repeat(3, minmax(180px, 1fr));
  gap: clamp(2.2rem, 3.4vw, 4.5rem);
  align-items: flex-start;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-panel {
  min-width: 0;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: -2.45rem 0 -0.15rem;
  text-decoration: none;
}

.footer-brand-logo {
  width: clamp(154px, 12.5vw, 208px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
}

.footer-brand-name {
  display: none;
}

.footer-brand-text,
.footer-note {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.7;
}

.footer-brand-panel {
  text-align: left;
  align-self: start;
  padding-top: 0;
  transform: translateX(-12px);
}

.footer-brand-panel .footer-brand-text {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list a {
  display: inline-block;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

.footer-social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-list a span:not(.footer-social-icon),
.footer-contact-value,
.footer-contact-label {
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.footer-social-list .footer-social-icon {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

.footer-social-list .footer-social-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.04);
  color: #8dc7da;
  flex-shrink: 0;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.footer-social-icon svg {
  width: 0.8rem;
  height: 0.8rem;
}

.footer-link-list a:hover {
  transform: translateX(2px);
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-social-list a:hover .footer-social-icon {
  color: #050505;
  border-color: rgba(244, 226, 154, 0.78);
  background: var(--gold-gradient);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.36), inset 0 1px 0 rgba(244, 226, 154, 0.55);
  transform: translateY(-2px) scale(1.04);
}

.footer-social-list a:hover span:not(.footer-social-icon) {
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

.footer-contact-details {
  display: block;
}

.footer-contact-details li {
  margin-bottom: 0.9rem;
}

.footer-contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.55;
}

.footer-contact-row .footer-social-icon {
  margin-right: 0;
}

.footer-contact-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.footer-contact-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  column-gap: 0.25rem;
}

.footer-contact-inline-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: normal;
  row-gap: 0.05rem;
}

.footer-contact-value {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-details li:hover .footer-social-icon,
.footer-contact-row:hover .footer-social-icon {
  color: #050505;
  border-color: rgba(244, 226, 154, 0.78);
  background: var(--gold-gradient);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.36), inset 0 1px 0 rgba(244, 226, 154, 0.55);
  transform: translateY(-2px) scale(1.04);
}

.footer-contact-row:hover {
  color: var(--color-primary-light);
  transform: translateX(2px);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-contact-row:hover .footer-contact-label,
.footer-contact-row:hover .footer-contact-value {
  color: var(--color-primary-light);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 1.75rem;
  text-align: left;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  max-width: 38rem;
  text-align: right;
}

@media (max-width: 1024px) {
  .site-footer .footer-content {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .footer-brand-panel {
    max-width: 36rem;
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom p:last-child {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 1.75rem;
  }

  .site-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand-panel {
    text-align: center;
    justify-self: center;
    align-self: center;
    transform: none;
  }

  .footer-brand-lockup {
    justify-content: center;
    margin-top: -1.15rem;
    margin-bottom: 0;
  }

  .footer-brand-logo {
    width: clamp(140px, 34vw, 178px);
  }

  .footer-brand-panel .footer-brand-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-bottom p:last-child {
    text-align: center;
  }

  .site-footer a,
  .footer-brand-text,
  .footer-note,
  .footer-bottom p {
    font-size: 1rem;
  }
}
