/**
 * Formex Footer
 * Clean, professional footer with light design
 */

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

.footer {
  background-color: rgb(255, 255, 255);
  border-top: 1px solid rgb(217, 217, 217);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===========================
   FOOTER GRID
   =========================== */

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* ===========================
   FOOTER BRAND
   =========================== */

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.footer__logo-icon {
  width: 8px;
  height: 8px;
  color: rgb(0, 1, 5);
  flex-shrink: 0;
}

.footer__logo-text {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(0, 1, 5);
  line-height: 1;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(90, 93, 91);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.footer__description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgb(90, 93, 91);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* ===========================
   FOOTER COLUMN
   =========================== */

.footer__column-title {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(0, 1, 5);
  margin-bottom: 1rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__list a {
  font-size: 14px;
  color: rgb(90, 93, 91);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.footer__list a:hover {
  color: rgb(0, 1, 5);
}

.footer__list-item {
  margin-bottom: 0.5rem;
}

.footer__link {
  font-size: 14px;
  color: rgb(90, 93, 91);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.footer__link:hover {
  color: rgb(0, 1, 5);
}

/* ===========================
   SOCIAL LINKS
   =========================== */

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgb(245, 245, 245);
  border-radius: 0;
  color: rgb(0, 1, 5);
  text-decoration: none;
  transition: all 0.2s;
}

.footer__social-link:hover {
  background-color: rgb(0, 1, 5);
  color: rgb(255, 255, 255);
  transform: translateY(-2px);
}

.footer__social-icon {
  width: 20px;
  height: 20px;
}

/* ===========================
   FOOTER CONTACT INFO
   =========================== */

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgb(0, 1, 5);
  margin-top: 2px;
}

.footer__contact-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(90, 93, 91);
}

.footer__contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact-text a:hover {
  color: rgb(0, 1, 5);
}

/* ===========================
   FOOTER BOTTOM
   =========================== */

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(217, 217, 217);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgb(147, 153, 150);
  text-align: center;
}

.footer__copyright p {
  margin: 0 0 0.25rem 0;
}

@media (min-width: 768px) {
  .footer__copyright {
    text-align: left;
  }
}

.footer__company-data {
  font-size: 0.75rem;
  color: rgb(147, 153, 150);
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal-link {
  font-size: 0.75rem;
  color: rgb(147, 153, 150);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal-link:hover {
  color: rgb(0, 1, 5);
}
