/* footer layout styles extracted from shared-navbar.css. */

.footer {
  position: relative;
  padding: 4.5rem max(1.25rem, 5vw) 1.5rem;
  border-top: 1px solid #354760;
  background: #0b1220;
  color: #b8c5d8;
}
.footer__links {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1.35fr .9fr .8fr;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto 4rem;
}
.footer__col {
  min-width: 0;
}
.footer__title {
  margin: 0 0 1rem;
  color: #fff;
  font: 700 .7rem Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__items {
  display: grid;
  gap: .55rem;
}
.footer__link-item {
  color: #9fb2c9;
  font-size: .86rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease;
}
.footer__link-item:hover {
  color: #fff;
  text-decoration: none;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 0 1.6rem;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  min-width: 0;
}
.footer-contact a {
  align-items: center;
  color: #9fb2c9;
  display: inline-flex;
  font-size: .86rem;
  gap: .4rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-contact a svg {
  height: 1rem;
  width: 1rem;
}
.footer-contact a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-social__links {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.footer-social__link {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid #40516a;
  border-radius: 50%;
  color: #9fb2c9;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social__link:hover {
  border-color: #62a9ff;
  background: #132744;
  color: #fff;
  transform: translateY(-2px);
}
.footer-social__link svg {
  width: 1.1rem;
  height: 1.1rem;
}
.footer__bottom {
  max-width: 1180px;
  margin: auto;
  padding-top: 1.4rem;
  border-top: 1px solid #2b3c53;
}
.footer__copyright {
  color: #71849a;
  font-size: .78rem;
  line-height: 1.5;
}
.footer__bottom .container {
  max-width: none;
  padding: 0;
}
@media (max-width: 1100px) {
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 650px) {
  .footer {
    padding-top: 3.5rem;
}
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    margin-bottom: 3rem;
}
  .footer__col:first-child {
    grid-column: 1 / -1;
}
  .footer-social {
    align-items: flex-start;
    flex-direction: column;
}
  .footer-contact {
    flex-wrap: wrap;
    gap: .4rem 1rem;
}
}
@media (max-width: 400px) {
  .footer__links {
    grid-template-columns: 1fr;
}
  .footer__col:first-child {
    grid-column: auto;
}
}

