:root {
    --footer-bg: #1E4C9A;
    --footer-text: #FFFFFF;
    --content-max: 1200px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --logo-w-desk: 212px;
    --logo-w-mobi: 140px;
    --h-desk: 130px;
    --h-mobi: 414px;
    --icon-size: 24px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
  .g-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
  }
  .g-footer__content {
    margin: 0 auto;
    max-width: var(--content-max);
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: var(--space-6);
    height: var(--h-desk);
  }
  .g-footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
  .g-footer__logo {
    display: inline-block;
    width: var(--logo-w-desk);
    height: auto;
  }
  .g-footer__social {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--space-4);
  }
  .g-footer__siga {
    font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0.95;
  }
  .g-footer__icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .g-footer__icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--icon-size) + 8px);
    height: calc(var(--icon-size) + 8px);
    border-radius: 8px;
    transition: transform 120ms ease, opacity 120ms ease;
    opacity: 0.96;
  }
  .g-footer__icon-link:hover,
  .g-footer__icon-link:focus-visible {
    transform: translateY(-1px);
    opacity: 1;
    outline: none;
  }
  .g-footer__icon {
    width: var(--icon-size);
    height: var(--icon-size);
    display: block;
  }
  @media (max-width: 640px) {
    .g-footer__content {
      min-height: 150px;
      row-gap: var(--space-6);
      justify-items: center;
      align-content: center;
      flex-direction: column;
      padding: 28px 24px;
    }
    .g-footer__brand {
        width: 100%;
        display: flex;
        align-items: flex-start;
    }
    .g-footer__logo {
      width: var(--logo-w-mobi);
    }
    .g-footer__social {
      width: 100%;
      row-gap: var(--space-3);
      justify-items: center;
      text-align: center;
      display: flex;
      justify-content: flex-start;
    }
    .g-footer__icons {
      justify-content: center;
      gap: 12px;
      max-width: 360px;
    }
    .g-footer__icon-link {
      width: calc(var(--icon-size));
      height: calc(var(--icon-size));
    }
  }