/* =========================================================
   FOOTER RSKO JAKARTA
   STYLE RINGKAS SEPERTI RS PERSAHABATAN
========================================================= */

.rsko-footer {
  width: 100%;
  margin: 0;
  padding: 62px 0 24px;

  background: #13a294;
  color: #ffffff;

  font-family: 'Poppins', Arial, sans-serif;
  overflow: hidden;
}

/* =========================================================
   WRAPPER UTAMA
========================================================= */

.rsko-footer__inner {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(280px, 1.15fr)
    minmax(220px, .75fr)
    minmax(340px, 1.15fr);

  align-items: start;
  gap: 76px;
}

/* =========================================================
   KOLOM IDENTITAS
========================================================= */

.rsko-footer__brand {
  min-width: 0;
}

.rsko-footer__logo {
  margin: 0 0 26px;
}

.rsko-footer__logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 105px;
  object-fit: contain;

  filter: brightness(0) invert(1);
}

.rsko-footer__address {
  max-width: 360px;
  margin: 0 0 28px;

  color: rgba(255, 255, 255, .96);

  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
}

.rsko-footer__address p {
  margin: 0;
}

.rsko-footer__address br {
  line-height: 1.7;
}

/* =========================================================
   JUDUL KOLOM
========================================================= */

.rsko-footer h4 {
  margin: 0 0 24px;

  color: rgba(255, 255, 255, .72);

  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;

  letter-spacing: .055em;
  text-transform: uppercase;
}

/* =========================================================
   MENU FOOTER
========================================================= */

.rsko-footer__menu {
  min-width: 0;
}

.rsko-footer__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rsko-footer__menu li {
  margin: 0 0 18px;
  padding: 0;
}

.rsko-footer__menu li:last-child {
  margin-bottom: 0;
}

.rsko-footer__menu a {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #ffffff;
  text-decoration: none;

  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;

  transition:
    opacity .2s ease,
    transform .2s ease;
}

.rsko-footer__menu a::after {
  content: "→";

  color: rgba(255, 255, 255, .95);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;

  transform: translateY(-1px);
}

.rsko-footer__menu a span {
  margin: 0;
}

.rsko-footer__menu a:hover {
  opacity: .78;
  transform: translateX(3px);
}

/* =========================================================
   KONTAK
========================================================= */

.rsko-footer__contact {
  min-width: 0;
}

.rsko-footer__contact-item {
  display: block;
  margin: 0 0 25px;

  color: #ffffff;
  text-decoration: none;

  font-family: 'Poppins', Arial, sans-serif;
}

.rsko-footer__contact-item:last-child {
  margin-bottom: 0;
}

.rsko-footer__contact-item > span,
.rsko-footer__contact-item strong {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin: 0;

  color: #ffffff;

  font-size: 17px;
  line-height: 1.3;
  font-weight: 650;
}

.rsko-footer__contact-item > span::after,
.rsko-footer__contact-item strong::after {
  content: "→";

  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.rsko-footer__contact-item small {
  display: block;
  max-width: 460px;

  margin: 7px 0 0;

  color: rgba(255, 255, 255, .85);

  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 400;
}

.rsko-footer__contact-item:hover {
  opacity: .8;
}

/* =========================================================
   MEDIA SOSIAL
========================================================= */

.rsko-footer__social-title {
  margin-top: 30px !important;
}

.rsko-footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;
  margin: 0;
}

.rsko-footer__social a {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;

  color: #ffffff;
  text-decoration: none;

  font-size: 0;

  transition:
    background .2s ease,
    transform .2s ease;
}

.rsko-footer__social a::after {
  color: #ffffff;

  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}

.rsko-footer__social a:nth-child(1)::after {
  content: "◎";
}

.rsko-footer__social a:nth-child(2)::after {
  content: "f";
}

.rsko-footer__social a:nth-child(3)::after {
  content: "▶";
  font-size: 14px;
}

.rsko-footer__social a:nth-child(4)::after {
  content: "𝕏";
}

.rsko-footer__social a:nth-child(5)::after {
  content: "♪";
}

.rsko-footer__social a:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

/* =========================================================
   TOMBOL APLIKASI
========================================================= */

.rsko-footer__apps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 24px;
}

.rsko-footer__apps img {
  display: block;
  width: auto;
  max-width: 170px;
  height: 48px;
  object-fit: contain;
}

/* =========================================================
   BAGIAN BAWAH
========================================================= */

.rsko-footer__bottom {
  width: min(1460px, calc(100% - 64px));
  margin: 50px auto 0;
  padding-top: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  border-top: 1px solid rgba(255, 255, 255, .20);

  color: rgba(255, 255, 255, .72);

  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 400;
}

.rsko-footer__bottom p {
  margin: 0;
}

.rsko-footer__bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.rsko-footer__bottom a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.rsko-footer__bottom a:hover {
  color: #ffffff;
}

/* =========================================================
   RESET AGAR TIDAK TERPENGARUH CSS LAMA
========================================================= */

.rsko-footer a {
  box-shadow: none !important;
}

.rsko-footer p,
.rsko-footer li,
.rsko-footer small,
.rsko-footer span,
.rsko-footer strong {
  font-family: 'Poppins', Arial, sans-serif;
}

.rsko-footer .menu {
  margin: 0;
  padding: 0;
}

.rsko-footer .menu-item {
  padding: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .rsko-footer {
    padding: 52px 0 24px;
  }

  .rsko-footer__inner {
    width: calc(100% - 48px);

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 56px;
  }

  .rsko-footer__contact {
    grid-column: 1 / -1;
  }

  .rsko-footer__bottom {
    width: calc(100% - 48px);
  }
}

/* =========================================================
   TABLET KECIL
========================================================= */

@media (max-width: 768px) {
  .rsko-footer {
    padding: 44px 0 22px;
  }

  .rsko-footer__inner {
    width: calc(100% - 36px);

    grid-template-columns: 1fr;
    gap: 38px;
  }

  .rsko-footer__contact {
    grid-column: auto;
  }

  .rsko-footer__logo img {
    max-width: 200px;
  }

  .rsko-footer__address {
    max-width: 100%;
    font-size: 14px;
  }

  .rsko-footer h4 {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .rsko-footer__menu li {
    margin-bottom: 15px;
  }

  .rsko-footer__menu a {
    font-size: 15px;
  }

  .rsko-footer__contact-item {
    margin-bottom: 20px;
  }

  .rsko-footer__contact-item > span,
  .rsko-footer__contact-item strong {
    font-size: 16px;
  }

  .rsko-footer__contact-item small {
    font-size: 13px;
  }

  .rsko-footer__bottom {
    width: calc(100% - 36px);
    margin-top: 38px;

    flex-direction: column;
    align-items: flex-start;

    font-size: 12px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {
  .rsko-footer {
    padding: 38px 0 20px;
  }

  .rsko-footer__inner,
  .rsko-footer__bottom {
    width: calc(100% - 28px);
  }

  .rsko-footer__inner {
    gap: 32px;
  }

  .rsko-footer__logo {
    margin-bottom: 20px;
  }

  .rsko-footer__logo img {
    max-width: 185px;
    max-height: 88px;
  }

  .rsko-footer__address {
    margin-bottom: 22px;

    font-size: 13.5px;
    line-height: 1.6;
  }

  .rsko-footer h4 {
    margin-bottom: 15px;

    font-size: 11.5px;
    letter-spacing: .045em;
  }

  .rsko-footer__menu li {
    margin-bottom: 13px;
  }

  .rsko-footer__menu a {
    gap: 9px;
    font-size: 14.5px;
  }

  .rsko-footer__menu a::after {
    font-size: 18px;
  }

  .rsko-footer__contact-item > span,
  .rsko-footer__contact-item strong {
    font-size: 15px;
  }

  .rsko-footer__contact-item small {
    margin-top: 5px;
    font-size: 12.5px;
  }

  .rsko-footer__social {
    gap: 8px;
  }

  .rsko-footer__social a {
    width: 36px;
    height: 36px;
  }

  .rsko-footer__apps img {
    max-width: 145px;
    height: 43px;
  }

  .rsko-footer__bottom {
    margin-top: 32px;
    padding-top: 17px;

    gap: 14px;
    font-size: 11.5px;
  }

  .rsko-footer__bottom-links {
    gap: 14px;
  }
}