/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  background: #0B2B46 !important;
  padding: 60px 0;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  gap: 60px;
  padding-bottom: 48px;
}

/* ============================================================
   BRAND COLUMN
   ============================================================ */
.site-footer__brand {
  flex-shrink: 0;
  width: 275px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.site-footer__logo {
  display: inline-block;
  line-height: 0;
  width: 250px;
  height: 60px;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #ff549a;
  border: 2px solid #ff549a;
  color: #ffffff !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  align-self: flex-start;
}

.site-footer__cta-btn:hover {
  background: #e01f65;
  border-color: #e01f65;
  color: #fff !important;
}

/* Social icons */
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto !important;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.site-footer__social-link:hover {
  border-color: #3cb9c8;
  color: #fff;
  background: rgba(60, 185, 200, 0.15);
}

.site-footer__social svg path {
  fill: #fff;
}

.site-footer__copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  margin-top: auto;
}

/* ============================================================
   NAV GRID
   ============================================================ */
.site-footer__nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 54px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 45px;
  width: 228px;
}

.site-footer__col:first-child {
  width: 305px;
}


.site-footer__section:last-child {
  grid-column-start: -2;
}

.site-footer__section-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #1C598E;
  padding: 0 0 14px;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__links li a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__links li a:hover {
  color: #3cb9c8;
}

/* ============================================================
   RESPONSIVE — vw scaling for large screens (design base: 1440px)
   ============================================================ */
@media (min-width: 1001px) and (max-width: 1451px) {
  .site-footer {
    padding: 4.1667vw 0;
    /* 60px */
  }

  .site-footer__inner {
    gap: 4.1667vw;
    /* 60px */
    padding-bottom: 3.3333vw;
    /* 48px */
  }

  .site-footer__brand {
    width: 19.0972vw;
    /* 275px */
    gap: 2.4306vw;
    /* 35px */
  }

  .site-footer__logo {
    width: 17.3611vw;
    /* 250px */
    height: 4.1667vw;
    /* 60px */
  }

  .site-footer__cta-btn {
    padding: 0.6944vw 1.5278vw;
    /* 10px 22px */
    border-radius: 3.4722vw;
    /* 50px */
    font-size: 1.0417vw;
    /* 15px */
  }

  .site-footer__social {
    gap: 0.8333vw;
    /* 12px */
  }

  .site-footer__social-link {
    width: 2.5vw;
    /* 36px */
    height: 2.5vw;
    /* 36px */
  }

  .site-footer__copy {
    font-size: 0.8333vw;
    /* 12px */
  }

  .site-footer__nav {
    gap: 3.125vw 3.5722vw;
    /* 45px 54px */
  }

  .site-footer__col {
    gap: 3.125vw;
    /* 45px */
    width: 15.8333vw;
    /* 228px */
  }

  .site-footer__col:first-child {
    width: 21.1806vw;
    /* 305px */
  }

  .site-footer__section-title {
    font-size: 1.24vw;
    /* 18px */
    margin: 0 0 0.8333vw;
    /* 0 0 12px */
    padding: 0 0 0.9722vw;
    /* 0 0 14px */
  }

  .site-footer__links li a {
    padding: 0.3472vw 0;
    /* 5px 0 */
    font-size: 0.9722vw;
    /* 14px */
  }
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 1200px) {
  .site-footer__inner {
    gap: 40px;
  }

  .site-footer__nav {
    gap: 0 24px;
  }
}

@media (max-width: 960px) {
  .site-footer__inner {
    flex-direction: column;
    gap: 36px;
  }

  .site-footer__brand {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
  }

  .site-footer__logo {
    flex-basis: 100%;
  }

  .site-footer__copy {
    flex-basis: 100%;
    margin-top: 0;
  }
}

/* ============================================================
   RESPONSIVE — mobile accordion + reorder
   ============================================================ */
@media (max-width: 800px) {
  .site-footer {
    padding: 40px 0;
  }

  .site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 40px;
  }

  /* Brand — logo + cta only (social/copy moved below nav via JS) */
  .site-footer__brand {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    margin-bottom: 0;
  }

  .site-footer__cta-btn {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* Nav — accordion container */
  .site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-template-columns: none;
    margin-top: 32px;
  }

  /* Flatten columns so all sections sit directly in nav */
  .site-footer__col {
    display: contents;
  }

  .site-footer__section {
    min-height: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Accordion title — chevron via ::after */
  .site-footer__section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    border-bottom: none;
  }

  .site-footer__section-title::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .site-footer__section.is-open .site-footer__section-title::after {
    transform: rotate(180deg);
  }

  /* Accordion links — hidden by default, slide open */
  .site-footer__links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-footer__section.is-open .site-footer__links {
    max-height: 500px;
  }

  .site-footer__links li a {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
  }

  .site-footer__links li:last-child a {
    padding-bottom: 20px;
  }

  /* Social + copy after nav (JS moves them here) */
  .site-footer__inner>.site-footer__social {
    justify-content: center;
    margin-top: 60px !important;
  }

  .site-footer__inner>.site-footer__copy {
    text-align: center;
    margin-top: 16px;
  }
}