/* ==========================================================================
   AVCO Design System - Footer
   ========================================================================== */

body.avco-page .avco-footer {
  background: var(--avco-primary-900) url('../../images/avco/footer-pattern.png') center / cover no-repeat;
  padding: var(--avco-space-25) var(--avco-space-15) var(--avco-space-12);
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-12);
  position: relative;
  overflow: hidden;
  /* Full-width background while staying in container */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: max(var(--avco-space-15), calc(50vw - 50% + var(--avco-space-15)));
  padding-right: max(var(--avco-space-15), calc(50vw - 50% + var(--avco-space-15)));
}

body.avco-page .avco-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(46, 60, 122, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

body.avco-page .avco-footer > * {
  position: relative;
  z-index: 1;
}

body.avco-page .avco-footer .avco-footer-top {
  display: flex;
  gap: var(--avco-space-25);
}

body.avco-page .avco-footer .avco-footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-4);
  max-width: 19.6875rem;
}

body.avco-page .avco-footer .avco-footer-logo {
  width: 9.875rem;
  height: 4.5rem;
}

body.avco-page .avco-footer .avco-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.avco-page .avco-footer p.avco-footer-brand-text {
  font-size: var(--avco-text-sm);
  font-weight: 400;
  line-height: 1.5;
  color: var(--avco-white);
  margin: 0;
}

body.avco-page .avco-footer p.avco-footer-social-label {
  font-size: var(--avco-text-sm);
  font-weight: 400;
  line-height: 1.5;
  color: var(--avco-gray-50);
  padding-top: var(--avco-space-3);
  margin: 0;
}

body.avco-page .avco-footer .avco-footer-social-icons {
  display: flex;
  gap: 0;
}

body.avco-page .avco-footer .avco-footer-social-icons a {
  width: 2.75rem;
  display: flex;
  align-items: center;
  color: var(--avco-white);
  transition: opacity var(--avco-transition-fast);
}

body.avco-page .avco-footer .avco-footer-social-icons a:hover {
  opacity: 0.7;
}

body.avco-page .avco-footer .avco-footer-social-icons svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: var(--avco-white);
}

body.avco-page .avco-footer .avco-footer-menus {
  display: flex;
  gap: var(--avco-space-20);
}

body.avco-page .avco-footer .avco-footer-menu h4 {
  font-size: var(--avco-text-base);
  font-weight: 600;
  line-height: 1.5;
  color: var(--avco-white);
  margin-bottom: var(--avco-space-5);
  margin-top: 0;
  padding: 0;
}

body.avco-page .avco-footer .avco-footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-3);
  margin: 0;
  padding: 0;
}

body.avco-page .avco-footer .avco-footer-menu ul li a {
  font-size: var(--avco-text-sm);
  font-weight: 400;
  line-height: 1.5;
  color: var(--avco-gray-50);
  transition: color var(--avco-transition-fast);
}

/* Footer link hover — see avco-base.css unified hover system */

body.avco-page .avco-footer .avco-footer-divider {
  width: 100%;
  height: 0.0625rem;
  background: rgba(255, 255, 255, 0.15);
}

body.avco-page .avco-footer .avco-footer-contact {
  display: flex;
  justify-content: center;
}

body.avco-page .avco-footer .avco-footer-contact-inner {
  display: flex;
  max-width: 68.5rem;
  width: 100%;
}

body.avco-page .avco-footer .avco-footer-contact-item {
  flex: 1;
  display: flex;
  gap: var(--avco-space-4);
  padding: var(--avco-space-4) var(--avco-space-8);
  border-right: 0.03125rem solid rgba(255, 255, 255, 0.15);
}

body.avco-page .avco-footer .avco-footer-contact-item:last-child {
  border-right: none;
}

body.avco-page .avco-footer .avco-footer-contact-icon {
  width: var(--avco-space-10);
  height: var(--avco-space-10);
  flex-shrink: 0;
}

body.avco-page .avco-footer .avco-footer-contact-icon svg {
  width: 100%;
  height: 100%;
}

body.avco-page .avco-footer .avco-footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-2);
}

body.avco-page .avco-footer span.avco-footer-contact-label {
  font-size: var(--avco-text-xs);
  font-weight: 400;
  line-height: 1.5;
  color: var(--avco-white);
}

body.avco-page .avco-footer span.avco-footer-contact-value {
  font-size: var(--avco-text-xs);
  font-weight: 600;
  line-height: 1.5;
  color: var(--avco-white);
}

body.avco-page .avco-footer .avco-footer-bottom {
  font-size: var(--avco-text-xs);
  font-weight: 400;
  line-height: 1.5;
  color: var(--avco-white);
  text-align: center;
}
