/* ================= FOOTER CNC CAMPAS ================= */

.footer {
    background: #1A1A1A;
    color: white;
    padding: 4rem 5% 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.footer-column h3 {
    color: #D4A574;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-column p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #6B4423;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #D4A574;
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #D4A574;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
}

.footer-contact i {
    color: #D4A574;
    width: 20px;
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #D4A574;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  align-self: center;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--brown-primary);
  border-radius: 2px;
}
.mobile-user-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  width: 100%;
  align-items: center;
}

.mobile-user-menu a,
.logout-mobile {
  text-decoration: none;
  color: var(--brown-dark);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

/* SOLO DESKTOP */
.desktop-only {
  display: block;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: flex;
  }

  .mobile-user-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

