.footer-rnec {
  background: linear-gradient(to bottom, #002d55, #00284d);
  color: #f5f7fa;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  margin: 0;
  padding-top: 42px;
  border-top: 4px solid #00b0ac;
}

.footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* GRID PRINCIPAL */
.footer-grid {
  display: grid;
  grid-template-columns: auto 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* LOGO */
.footer-brand {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
}

.footer-logo-img {
  width: 150px;
  height: auto;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dbe7f1;
  font-size: 14px;
}

.footer-info-item i {
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-rnec i {
  color: #00b0ac;
}

/* LINKS */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #f5f7fa;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #00b0ac;
  padding-left: 4px;
}

.footer-social-text {
  margin-bottom: 14px;
  color: #d0deea;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 12px;

}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #00b0ac;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff!important;
  font-size: 16px;
  transition: 0.2s;
    text-decoration: none;

}
.social-icon i {
  color: #ffffff !important;
}

.social-icon:hover {
  background: #00b0ac;
  color: #002d55;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 30px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: #b8ccde;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 3px 0;
}

@media (max-width: 992px) {
  .footer-rnec {
    padding-top: 36px;
  }

  .footer-container {
    padding: 0 24px;
  }

  .footer-grid {
    grid-template-columns: 140px 1fr 1fr;
    grid-template-areas:
      "brand sede links"
      "social social social";
    gap: 28px 24px;
    align-items: start;
  }

  .footer-brand {
    grid-area: brand;
    justify-content: center;
  }

  .footer-column:nth-of-type(1) {
    grid-area: sede;
  }

  .footer-links {
    grid-area: links;
  }

  .footer-social {
    grid-area: social;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

  }

  .footer-logo-img {
    width: 115px;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-info-item,
  .footer-links a,
  .footer-social-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-info-list {
    gap: 10px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .social-icons {
    gap: 10px;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .footer-bottom {
    margin-top: 24px;
    padding: 12px 16px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "sede"
      "links"
      "social";
    text-align: center;
    gap: 24px;
  }

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

  .footer-column:nth-of-type(1),
  .footer-links,
  .footer-social {
    grid-area: auto;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-info-item {
    justify-content: center;
    text-align: left;
  }
}
