/* Park27 footer Ã¢â‚¬â€ Figma node 167:63506 (1748px design) */

.site-footer {
  background: var(--brand);
  color: var(--bg);
  padding: 59px 0;
}

.site-footer .inner {
  display: flex;
  flex-direction: column;
  gap: 103px;
  max-width: 1920px;
  margin: 0 auto;
}

/* Top row: brand | quicklinks (2-col list) | contact | phone | cta */
.site-footer .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 0 60px;
}

/* Brand column */
.site-footer .brand {
  display: flex;
  flex-direction: column;
  width: 232px;
  flex-shrink: 0;
}

.site-footer .logo {
  display: block;
  width: 100%;
}

.site-footer .logo img {
  height: 65px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer .logo-text {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: 0.02em;
}

.site-footer .social {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--bg);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.site-footer .social-link:hover { opacity: 1; color: var(--bg); }
.site-footer .social-link img { width: 24px; height: 24px; display: block; }

.site-footer .portal-link,
.site-footer .portal-nav a {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.21;
  color: var(--bg);
  text-decoration: none;
  background: #6F6352;
  padding: 20px 30px;
  margin-top: 36px;
  transition: background-color 0.2s, color 0.2s;
}

.site-footer .portal-link:hover,
.site-footer .portal-nav a:hover { background: var(--green-dark); color: var(--bg); }

.site-footer .portal-nav { list-style: none; padding: 0; margin: 0; }

/* Headings shared across columns */
.site-footer .heading {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.23;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bg);
  margin: 0 0 20px;
}

/* Quicklinks: one heading, list split into 2 visual columns */
.site-footer .quicklinks {
  width: 461px;
  flex-shrink: 0;
}

.site-footer .quicklinks .links {
  columns: 2;
  column-gap: 76px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 48px;
}

.site-footer .quicklinks .links li {
  break-inside: avoid;
  margin-bottom: 40px;
}

.site-footer .quicklinks .links li:last-child { margin-bottom: 0; }

/* Body text shared across contact/phone */
.site-footer .contact address,
.site-footer .contact a,
.site-footer .phone a {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.21;
  color: var(--bg);
  text-decoration: none;
  font-style: normal;
  transition: opacity 0.2s;
}

/* Quicklinks items pick up the heading font (Fraunces 600) */
.site-footer .quicklinks .links a {
  font-family: 'Inter';
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.23;
  color: var(--bg);
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-footer .contact,
.site-footer .phone {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.site-footer .contact { width: 204px; }
.site-footer .phone { width: 138px; }

.site-footer .contact address { line-height: 1.4; }

.site-footer .quicklinks .links a:hover,
.site-footer .contact a:hover,
.site-footer .phone a:hover { opacity: 0.7; color: var(--bg); }

/* CTA column: partners on top, hollow buttons below */
.site-footer .cta {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 396px;
  flex-shrink: 0;
}

.site-footer .partners {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}

.site-footer .partner-sq { width: 56px; height: 56px; }
.site-footer .partner-leverage { width: 211px; height: 60px; }

.site-footer .buttons {
  display: flex;
  gap: 14px;
}

.site-footer .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 20px;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.21;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--bg);
  background: transparent;
  border: 1px solid var(--bg);
  transition: background-color 0.2s, color 0.2s;
}

.site-footer .btn.hollow-light:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--bg);
}

/* Bottom bar */
.site-footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 0 60px;
}

.site-footer .copyright,
.site-footer .legal {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.21;
  color: var(--bg);
  text-decoration: none;
  margin: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.site-footer .legal:hover { opacity: 0.7; color: var(--bg); }

.site-footer .park27-divider-star { flex: 1; }

/* Compact the desktop footer before switching to the mobile stack. */
@media (max-width: 1791px) and (min-width: 992px) {
  .site-footer .top {
    gap: clamp(14px, 1.45vw, 40px);
    padding: 0 clamp(24px, 2.5vw, 60px);
  }

  .site-footer .brand {
    width: clamp(150px, 13vw, 232px);
  }

  .site-footer .logo img {
    height: clamp(44px, 4vw, 65px);
  }

  .site-footer .quicklinks {
    width: clamp(220px, 24vw, 461px);
  }

  .site-footer .quicklinks .links {
    column-gap: clamp(16px, 2vw, 58px);
  }

  .site-footer .contact {
    width: clamp(130px, 12vw, 204px);
  }

  .site-footer .phone {
    width: clamp(86px, 8vw, 138px);
  }

  .site-footer .cta {
    width: clamp(270px, 22vw, 396px);
    gap: clamp(28px, 3vw, 50px);
  }

  .site-footer .partners {
    gap: clamp(10px, 1vw, 20px);
  }

  .site-footer .partner-sq {
    width: clamp(42px, 3.8vw, 56px);
    height: clamp(42px, 3.8vw, 56px);
  }

  .site-footer .partner-leverage {
    width: clamp(150px, 13vw, 211px);
    height: auto;
  }

  .site-footer .buttons {
    gap: clamp(8px, 1vw, 14px);
  }

  .site-footer .btn {
    height: clamp(52px, 4.2vw, 62px);
    padding: 16px clamp(12px, 1.2vw, 20px);
    font-size: clamp(0.875rem, 1vw, 1.125rem);
  }

  .site-footer .bottom {
    padding: 0 clamp(24px, 2.5vw, 60px);
  }

  .site-footer .quicklinks .links a,
  .site-footer .contact address,
  .site-footer .contact a,
  .site-footer .phone a,
  .site-footer .copyright,
  .site-footer .legal {
    font-size: clamp(0.875rem, 1.05vw, 1.25rem);
  }
}

/* Stack columns when the compact desktop footer no longer fits cleanly. */
@media (max-width: 991px) {
  .site-footer .inner { gap: 64px; }
  .site-footer .top {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    padding: 0 var(--gutter);
  }
  /* Lift .brand + .cta children into .top so we can reorder them individually */
  .site-footer .brand,
  .site-footer .cta { display: contents; }

  .site-footer .quicklinks,
  .site-footer .contact,
  .site-footer .phone { width: 100%; }

  /* Mobile column order:
     logo Ã¢â€ â€™ social Ã¢â€ â€™ quicklinks Ã¢â€ â€™ contact Ã¢â€ â€™ phone Ã¢â€ â€™ partners Ã¢â€ â€™ buttons Ã¢â€ â€™ portal */
  .site-footer .logo         { order: 1; }
  .site-footer .social       { order: 2; margin-top: 0; }
  .site-footer .quicklinks   { order: 3; }
  .site-footer .contact      { order: 4; }
  .site-footer .phone        { order: 5; }
  .site-footer .partners     { order: 6; flex-wrap: wrap; height: auto; row-gap: 16px; }
  .site-footer .buttons      { order: 7; }
  .site-footer .portal-link,
  .site-footer .portal-nav   { order: 8; margin-top: 0; }

  .site-footer .partner-leverage { max-width: 100%; height: auto; }

  /* Bottom row order: privacy Ã¢â€ â€™ divider Ã¢â€ â€™ copyright */
  .site-footer .bottom { padding: 0 var(--gutter); }
  .site-footer .legal      { order: 1; }
  .site-footer .park27-divider-star { order: 2; }
  .site-footer .copyright  { order: 3; }
}

@media (max-width: 767px) {
  .site-footer { padding: 48px 0; }
  .site-footer .inner { gap: 48px; }
  .site-footer .top { padding: 0 24px; }
  .site-footer .quicklinks .links { columns: 1; }
  .site-footer .bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 0 24px;
  }
  .site-footer .copyright,
  .site-footer .legal { text-align: center; }
  .site-footer .park27-divider-star {
    flex: none;
    width: 100%;
    height: 40px;
  }
}
