.footer {
  width: 100%;
  background: #09111c;
  box-sizing: border-box;
  padding: 50px 84px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 280px;
  flex: 0 0 320px;
}

.footer-brand .logo-container {
  display: flex;
  align-items: center;
}

.footer-brand .logo-container img {
  width: 29.965px;
  height: 38.257px;
  display: block;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.footer-brand .logo-container p {
  position: relative;
  z-index: 1;
  margin: 0;
  margin-left: -20px;
  width: 63px;
  height: 25.217px;
  color: #fff;
  font-family: "Product Sans";
  font-size: 22.311px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.footer-tagline {
  width: 254px;
  color: #c6d0da;
  /* Subtitle m */
  font-family: Archivo;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px; /* 123.077% */
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col:nth-child(2) {
  flex: 0 0 300px;
  padding-left: 120px;
}

.footer-col:nth-child(3) {
  flex: 0 0 299px;
  padding-left: 140px;
}

.footer-col:nth-child(4) {
  flex: 1;
  padding-left: 170px;
  padding-right: 283px;
  align-items: flex-start;
}

.footer-col-title {
  color: #fff;
  /* Buttons */
  font-family: Archivo;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3; /* 100% */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col:nth-child(3) .footer-links {
  gap: 12px;
}

.footer-col:nth-child(4) .footer-links {
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  transition: 0.2s;
  color: #c6d0da;

  /* Subtitle m */
  font-family: Archivo;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px; /* 123.077% */
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  width: 100%;
  height: 0.4px;
  background: #c6d0da;
  margin: 44px 0 20px;
}

.footer-bottom p {
  margin-top: 44px;
  color: #c6d0da;

  /* Subtitle m */
  font-family: Archivo;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5; /* 123.077% */
}

/* ─────────────────────────────────────────────────────────────
   FOOTER MOBILE — append to bottom of footer.css
   No HTML changes needed. Uses CSS Grid with named areas
   to reorder and layout columns correctly on mobile.
───────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .footer {
    background: var(
      --Linear-2,
      linear-gradient(105deg, #050d19 7.48%, #072440 58.12%, #095886 98.21%)
    );
    padding: 50px 0 40px 0;
    margin-top: 0px;
  }

  /* Switch footer-top to a grid with named areas:
     Row 1: brand (full width)
     Row 2: nav | services (side by side)
     Row 3: contact (full width)
  */
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand   brand"
      "nav     services"
      "contact contact";
    gap: 49.27px 12px;
  }

  /* Brand — full width top row */
  .footer-brand {
    grid-area: brand;
    flex: none;
    max-width: 100%;
    gap: 24px;
    padding-left: 24px;
    padding-right: 24px;
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .footer-tagline {
    width: 254px; /* exact Figma width */
    font-size: 13px;
  }

  /* Navigation — left column */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    position: static;
    flex: none;
    padding: 0;
  }

  .footer-col:nth-child(2) {
    float: left;
    padding-left: 24px; /* 24px from Figma */
    padding-right: 12px;
    gap: 12px;
    margin-bottom: 40px;
  }

  .footer-col:nth-child(3) {
    float: left;
    padding-left: 0;
    padding-right: 30px;
    gap: 12px;
  }

  .footer-col:nth-child(4) {
    clear: both;
    float: none;
    width: 100%;
    padding-left: 24px; /* 24px from Figma */
    padding-right: 24px;
    flex: none;
    gap: 12px;
  }
  .footer-col-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0;
  }
  .footer-links {
    gap: 12px; /* 12px between each link — Figma */
  }
  .footer-links a {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: #c6d0da;
  }

  .footer-divider {
    clear: both;
    width: calc(100% - 48px); /* respect 24px padding each side */
    margin: 32px 24px 20px;
  }
  .footer-bottom {
    padding: 0 24px;
  }
  .footer-bottom p {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #c6d0da;
  }
}
