:root {
  --footer-navy: #071526;
  --footer-navy-soft: #0b1f3a;
  --footer-yellow: #ffd84d;
  --footer-orange: #ff6b35;
  --footer-white: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.62);
  --footer-line: rgba(255, 255, 255, 0.12);
}

body {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

body > main {
  width: 100%;
  flex: 1 0 auto;
}

.site-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: auto;
  color: var(--footer-white);
  background: var(--footer-navy);
}

.site-footer__accent {
  height: 4px;
  background: linear-gradient(90deg, #1661d4 0 44%, var(--footer-yellow) 44% 78%, var(--footer-orange) 78% 100%);
}

.site-footer__fallback {
  padding-block: 24px;
  color: var(--footer-muted);
  font-size: 12px;
}

.footer-shell {
  width: min(calc(100% - 48px), 1320px);
  margin-inline: auto;
}

.site-footer__main {
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding-block: 38px 30px;
  grid-template-columns: minmax(270px, 1.35fr) minmax(120px, 0.56fr) minmax(160px, 0.72fr) minmax(260px, 1.08fr);
}

.site-footer .brand--footer {
  display: inline-flex;
  align-items: center;
  color: var(--footer-white);
  text-decoration: none;
}

.site-footer .brand--footer .brand__logo--full {
  display: block;
  width: 178px;
  max-width: none;
  height: auto;
}

.site-footer .brand--footer .brand__logo--mark {
  display: none;
}

.footer-brand__copy {
  max-width: 350px;
  margin: 16px 0 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-column h2,
.footer-contact h2 {
  margin: 2px 0 12px;
  color: var(--footer-yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column ul,
.footer-contact-list,
.footer-channel-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column ul {
  display: grid;
  gap: 5px;
}

.footer-column a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover {
  color: var(--footer-white);
  transform: translateX(2px);
}

.footer-contact {
  min-width: 0;
  justify-self: end;
  width: min(100%, 310px);
}

.footer-contact-list {
  display: grid;
  gap: 5px;
}

.footer-contact-list li {
  display: grid;
  gap: 1px;
  grid-template-columns: 56px minmax(0, 1fr);
}

.footer-contact-list span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer-contact-list strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
  color: var(--footer-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-channel-grid {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 14px;
}

.footer-channel {
  position: relative;
}

.footer-channel__trigger {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--footer-white);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.footer-channel__trigger:hover,
.footer-channel.is-open .footer-channel__trigger {
  border-color: rgba(255, 216, 77, 0.9);
  background: rgba(255, 216, 77, 0.09);
  transform: translateY(-2px);
}

.footer-column a:focus-visible,
.footer-channel__trigger:focus-visible,
.site-footer .brand--footer:focus-visible {
  outline: 3px solid rgba(255, 216, 77, 0.55);
  outline-offset: 3px;
}

.footer-channel__icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  overflow: hidden;
}

.footer-channel__icon img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  max-width: none;
  transform: translateY(-50%);
}

.footer-brand-asset--tiktok img {
  width: auto;
  height: 22px;
}

.footer-brand-asset--facebook img {
  left: 1px;
  width: 20px;
  height: 20px;
}

.footer-brand-asset--whatsapp img {
  width: auto;
  height: 22px;
}

.footer-brand-asset--wechat img {
  width: auto;
  height: 22px;
}

.footer-channel__popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 5;
  display: grid;
  width: 142px;
  padding: 10px;
  place-items: center;
  border: 1px solid rgba(7, 21, 38, 0.12);
  border-radius: 10px;
  color: var(--footer-navy-soft);
  background: var(--footer-white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  visibility: hidden;
}

.footer-channel__popover::after {
  position: absolute;
  right: 15px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--footer-white);
  content: "";
  transform: rotate(45deg);
}

.footer-channel__qr {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 5px;
}

.footer-channel__popover > span:not(.sr-only) {
  margin-top: 4px;
  color: rgba(11, 31, 58, 0.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-channel.is-open .footer-channel__popover,
.footer-channel:not(.is-hover-suppressed):hover .footer-channel__popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.site-footer__legal {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--footer-line);
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal span {
  color: rgba(255, 216, 77, 0.58);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .site-footer__main {
    gap: 30px 42px;
    grid-template-columns: minmax(250px, 1.2fr) minmax(120px, 0.55fr) minmax(240px, 1fr);
  }

  .footer-contact {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .footer-column--explore {
    grid-column: 2;
  }

  .footer-column--services {
    display: none;
  }
}

@media (max-width: 720px) {
  .footer-shell {
    width: min(calc(100% - 32px), 1320px);
  }

  .site-footer__main {
    gap: 24px 28px;
    padding-block: 30px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand__copy {
    max-width: 430px;
  }

  .footer-column--explore {
    grid-column: 1;
  }

  .footer-column--services {
    display: block;
    grid-column: 2;
  }

  .footer-contact {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
  }

  .site-footer__legal {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 14px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-column a,
  .footer-channel__trigger,
  .footer-channel__popover {
    transition: none;
  }
}
