/* ============================================
   FOOTER LAYOUT
   ============================================ */

.footer {
  background: linear-gradient(180deg, #16213e 0%, #0f1623 100%);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  border-top: none;
  position: relative;
  overflow: hidden;
  margin-top: -2px;
  width: 100%;
  max-width: 100vw;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(22, 33, 62, 0.8) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.footer__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("../../images/common/cumbre.png") center center / cover no-repeat;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}

.footer__container {
  position: relative;
  z-index: 2;
}

.footer__logo-container {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  line-height: 1.8;
  cursor: pointer;
}

.footer__logo-container .mountain-icon {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-container:hover .mountain-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.5));
}

.footer__logo-container .logo-svg {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer__logo-container:hover .logo-svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.footer__social-margin {
  margin-top: 16px;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.footer__section {
  text-align: center;
}

.footer__section h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  font-weight: 600;
}

.footer__section p,
.footer__section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__section a:hover {
  color: #00d4ff;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__logo-container .logo-svg {
    height: 90px;
  }
}
