.footer__title {
  font-size: 4rem;
  margin-bottom: 0;
}

.footer > .container {
  overflow: hidden;
}
.footer {
  background: #f9f9f9;
  padding: 5rem 0 2.4rem;
  position: relative;
  width: 100%;
  z-index: 1;
}
.footer .container {
  background: #fff;
  border: 1px solid hsla(0, 0%, 98%, 0.09);
  border-radius: 1.5rem;
  padding: 6rem 1.6rem;
}
.footer__header {
  display: grid;
  grid-template-columns: 12.6rem 1fr;
  row-gap: 3.8rem;
}
.footer__group {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.footer__group > p {
  color: #03071654;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.014rem;
  line-height: 98%;
  text-transform: uppercase;
}
.footer__group > ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__group > ul li {
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.014rem;
  line-height: 98%;
  transition: color 0.5s ease;
}

.footer__group > ul li:hover {
  color: #0039ff;
}
.footer__body {
  display: flex;
  gap: 0;
  margin-bottom: 5rem;
  row-gap: 6rem;
  text-align: center;
  row-gap: 0;
  width: 100%;
  margin: 0;
}
.footer__img {
  aspect-ratio: 10.6/9.4;
  border-radius: 1rem;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  width: 100%;
}
.footer__img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
.footer__join-title {
  color: #030716;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.024rem;
  line-height: 98%;
}
.footer__join-button,
.footer__join-title {
  margin-bottom: 1.6rem;
}
.footer__join-button span {
  color: var(--f-9-f-9-f-9, #f9f9f9);
  font-size: 0.9872rem;
}
.footer__join-button:first-of-type {
  margin-bottom: 2rem;
}
.footer__join-socials {
  height: 4.3rem;
}
.footer__join-socials li {
  width: 4.3rem;
}
.footer__title {
  color: #c5c5c5;
  display: block;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.0823rem;
  line-height: 98%;
  margin-bottom: 3rem;
  text-transform: capitalize;
}
.footer__logo {
  display: block;
  flex-shrink: 0;
  height: auto;
  margin-bottom: 5rem;
  width: 100%;
}
.footer__logo img {
  height: 100%;
  width: 100%;
}
.footer__footer {
  border-top: 0.1rem solid rgba(3, 7, 22, 0.14);
  display: grid;
  grid-template-columns: 14.7rem 1fr 3.2rem;
  padding-top: 1.6rem;
  row-gap: 2.4rem;
}
.footer__footer li {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  gap: 0.8rem;
  letter-spacing: -0.01rem;
  line-height: 98%;
  width: -moz-max-content;
  width: max-content;
}
.footer__footer li strong {
  color: #03071654;
}
.footer--about .container {
  border-radius: 1rem;
}
.footer--resource {
  padding-top: 2rem;
}
.footer--resource .container {
  border-radius: 1rem;
}

.footer_logo {
  width: 26%;
  height: 11rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .footer_logo {
    width: 100%;
    height: 4rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 2rem;
  }
  .footer__header {
    margin-bottom: 6rem;
  }
  .footer__text {
    text-align: center;
  }
  .footer__title {
    text-align: center;
  }
}

.footer__join {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}
@media (min-width: 768px) {
  .footer {
    padding: 3rem;
  }
  .footer .container {
    padding: 12rem 6.7rem 3rem;
  }
  .footer__inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 4rem;
  }
  .footer__header {
    grid-template-columns: 28rem 1fr;
    width: 54rem;
  }
  .footer__group {
    gap: 3.5rem;
  }
  .footer__group > p {
    font-size: 1.8rem;
    letter-spacing: -0.018rem;
  }
  .footer__group > ul {
    gap: 1.9rem;
  }
  .footer__group > ul li {
    font-size: 1.8rem;
    letter-spacing: -0.018rem;
  }
  .footer__body {
    column-gap: 10.4rem;
    grid-template-columns: 45.6rem 1fr;
    display: grid;
    gap: 1.2rem;
    margin-bottom: 5rem;
    row-gap: 6rem;
  }
  .footer__img {
    aspect-ratio: 45.6/40.2;
    border-radius: 3.4rem;
  }
  .footer__join {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    align-content: flex-start;
    margin-left: 1rem;
  }
  .footer__join-title {
    font-size: 3rem;
    letter-spacing: -0.05rem;
    margin-bottom: 3rem;
    width: 38.4rem;
  }
  .footer__join-button {
    margin-bottom: 3rem;
  }
  .footer__join-button span {
    font-size: 1.8rem;
  }
  .footer__join-button:first-of-type {
    margin-bottom: 4rem;
  }
  .footer__join-socials {
    height: 8.4rem;
  }
  .footer__join-socials li {
    width: 8.4rem;
  }
  .footer__title {
    font-size: 8rem;
    margin-bottom: 3rem;
  }
  .footer__logo-group {
    align-items: end;
    display: flex;
    flex-direction: row-reverse;
    gap: 12rem;
    justify-content: start;
    margin-bottom: 7.3rem;
    flex-wrap: wrap;
  }
  .footer__logo {
    aspect-ratio: 47.7/18.5;
    margin-bottom: 0;
    width: 47.7rem;
  }
  .footer__footer {
    grid-template-columns: 54rem 1fr 48.3rem 5.7rem;
    padding-left: 2rem;
    padding-top: 3rem;
  }
  .footer__footer li {
    flex-direction: row;
    font-size: 1.8rem;
    gap: 3rem;
    letter-spacing: -0.08rem;
  }
  .footer__footer li:first-of-type {
    grid-column: 1/2;
  }
  .footer__footer li:nth-of-type(2) {
    grid-column: 3/4;
  }
  .footer__footer li:nth-of-type(3) {
    grid-column: 4/5;
  }
  .footer__footer li:nth-of-type(4) {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .footer--about .container {
    border-radius: 5.5rem;
  }
}

/* ===================================
   5. SOCIALS & FOOTER
   =================================== */
.socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  height: 84px;
  width: 100%;
  margin-top: 3rem;
  flex-wrap: nowrap;
}

.socials > li > a {
  aspect-ratio: 1 / 1;
  height: 100%;
  flex-shrink: 0;
  display: block;
}

.socials > li > a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .socials > li > a:hover img {
    transform: scale(1.1);
  }
}

@media (min-width: 768px) {
  .socials {
    gap: 0.5rem;
  }
}

.footer__title {
  font-size: 4rem;
  margin-bottom: 0;
}

.footer > .container {
  overflow: hidden;
}

.footer__img {
  display: none;
}


.footer__join-socials {
  height: 8rem;
  width: 70%;
  margin-top: 0;
  gap: 0.5rem;
}
.footer__logo-group .footer__title,
.footer__logo {
  display: none;
}
.footer__footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* or repeat(3, 1fr) */
  grid-template-rows: auto auto; /* two rows */
  gap: 1rem; /* optional spacing */
  margin-top: 3rem;
  width: 100%;
}

.footer__footer .left {
  text-align: left;
}
.footer__footer .center {
  text-align: center;
}
.footer__footer .right {
  text-align: right;
}
.footer__footer li {
  width: 100%;
}
.footer__mobile__logo {
  width: 100%;
  height: 20rem;
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}
.footer__logo-group {
  display: block;
}
.footer_logo {
  display: none;
}

@media (min-width: 768px) {
  .footer__img {
    display: block;
  }

  .footer__mobile__logo {
    display: none;
  }
  .footer__logo-group {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }
  .footer__logo-group .footer__title,
  .footer__logo {
    display: block;
  }
  .footer_logo {
    background: center / 70% no-repeat;
    width: 400px;
    height: 89px;
    display: block;
  }
}