/* ==========================================================================
   HEADER & NAVIGATION - VIX LOGÍSTICA
   ========================================================================== */

.site-header {
  position: relative;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: var(--shadow-md);
}

.header-main {
  padding: 16px 0;
  background-color: var(--color-white);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-orange);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-accent-orange);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-careers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-careers:hover {
  background-color: var(--color-accent-orange);
  color: var(--color-white);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  padding: 8px;
  color: var(--color-primary);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
}

@media (max-width: 1024px) {
  .nav-menu, .header-actions .btn-careers {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: right var(--transition-normal);
    overflow-y: auto;
    padding: 24px;
  }

  .mobile-drawer.is-open {
    right: 0;
  }

  .mobile-drawer__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .mobile-drawer__overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-drawer__close {
    background: none;
    font-size: 1.5rem;
    color: var(--color-primary);
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav-list a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    padding: 8px 0;
  }
}

/* ==========================================================================
   FOOTER - VIX LOGÍSTICA
   ========================================================================== */

.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-orange) 0%, var(--color-accent-blue) 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-about .footer-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-group-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-group-badge img {
  height: 32px;
  width: auto;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-orange);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--color-accent-orange);
  margin-top: 3px;
}

.footer-ethics-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 16px;
  color: var(--color-white);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.footer-ethics-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-accent-orange);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--color-white);
}

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

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
