.footer { height: calc(100 * var(--pc)); padding: 0 calc(180 * var(--pc)); display: flex; align-items: center; background: var(--ink); color: #fff; }
.footer__brand { display: flex; align-items: center; color: #fff; font-size: calc(20 * var(--pc)); font-weight: 700; white-space: nowrap; }
.footer__brand img { display: none; }
.footer__brand::after { content: 'PRIME PATH Global Tech'; }
.footer__details { display: flex; align-items: center; gap: calc(20 * var(--pc)); margin-left: calc(28 * var(--pc)); color: var(--green-soft); font-size: calc(12 * var(--pc)); font-weight: 400; }
.footer__links { margin-left: auto; display: flex; gap: calc(24 * var(--pc)); font-size: calc(20 * var(--pc)); font-weight: 500; }
.footer__legal-mobile { display: none; }
.footer a:hover { color: var(--green); }

@media (max-width: 768px) {
  .footer { position: relative; width: 100%; height: calc(240 * var(--m)); padding: 0; display: block; border: 0; background: var(--ink); }
  .footer::before { content: ''; position: absolute; left: 0; top: calc(1 * var(--m)); width: calc(390 * var(--m)); height: calc(1 * var(--m)); background: linear-gradient(90deg, rgba(16,14,25,0), #242034 50%, rgba(16,14,25,0)); }
  .footer__brand { position: absolute; left: 50%; top: calc(45 * var(--m)); display: block; width: calc(240 * var(--m)); height: calc(60 * var(--m)); margin: 0; transform: translateX(-50%); }
  .footer__brand img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
  .footer__brand::after { content: none; }
  .footer__details { position: absolute; left: calc(50% - calc(1 * var(--m))); top: calc(120 * var(--m)); width: calc(340 * var(--m)); height: auto; margin: 0; transform: translateX(-50%); display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 0; color: var(--green); font: 400 calc(14 * var(--m))/1.6 'Lato', sans-serif; text-align: center; }
  .footer__details span:first-child { width: 100%; white-space: nowrap; }
  .footer__details span:nth-child(2) { white-space: pre-line; }
  .footer__details span:last-child { display: none; }
  .footer__links { position: absolute; left: 50%; top: calc(200 * var(--m)); right: auto; bottom: auto; width: auto; height: calc(22 * var(--m)); margin: 0; transform: translateX(-50%); display: flex; gap: calc(4 * var(--m)); color: var(--green); font: 400 calc(14 * var(--m))/1.6 'Lato', sans-serif; text-transform: uppercase; white-space: nowrap; }
  .footer__links > a:not(.footer__legal-mobile) { display: none; }
  .footer__links .footer__legal-mobile { display: block; }
}
