/* Colores principales AppHabitat */
:root {
  --color-primary: #00bfae;
  --color-secondary: #feb47b;
  --color-accent: #ff7e5f;
  --color-bg: #f7f7f7;
  --color-dark: #222;
  --color-light: #fff;
}

body {
  background: var(--color-bg);
  color: var(--color-dark);
}

/* Footer */
.footer-apphabitat {
  background: #0b2138;
  color: #eef2f7;
  padding: 3rem 1.5rem 1.8rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-tagline {
  content: "";
  color: rgba(238, 242, 247, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: .5rem;
}

.line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-links-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  justify-content: space-between;
  gap: 2rem;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-links a {
  color: rgba(238, 242, 247, 0.78);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-social {
  max-width: 320px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.2rem;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
}

.footer-social-column .footer-social-row {
  margin-top: 0.6rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  color: rgba(238, 242, 247, 0.6);
  font-size: 0.88rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 992px) {


  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-container,
  .footer-brand,
  .footer-links,
  .footer-social-column {
    text-align: center;
  }

  .footer-brand-row {
    justify-content: center;
  }

  .footer-links ul {
    justify-items: center;
  }

  .footer-social-row {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-copy {
    margin-top: 1.5rem;
  }
}

/* Ejemplo de uso para navbar */
.navbar-apphabitat {
  background: var(--color-primary);
  color: var(--color-light);
}

.navbar-menu-pc li a,
.navbar-menu-mobile li a {
  color: var(--color-light);
}

.navbar-menu-pc li a:hover,
.navbar-menu-mobile li a:hover {
  color: var(--color-secondary);
}

.navbar-menu-boton {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  color: var(--color-light);
}
