
/* Original brand assets shared by the public site and client portal. */
.brand-logo {display:block;width:132px;height:auto;max-width:100%;flex:none;}
.footer-brand .brand-logo {width:160px;}
.brand-loader-icon,.ac-loader__icon {display:block;width:80px;height:80px;object-fit:contain;flex:none;}
.ac-brand__logo {display:block;width:132px;height:auto;max-width:100%;flex:none;}
.ac-brand__icon {display:none;width:36px;height:36px;object-fit:contain;flex:none;}

@media (min-width:901px) {
  .account-app.is-collapsed .ac-brand__logo {display:none;}
  .account-app.is-collapsed .ac-brand__icon {display:block;}
  .account-app.is-collapsed .ac-sidebar__top {padding-inline:20px;}
}

@media (max-width:680px) {
  .header-inner .brand-logo {width:112px;}
}


/* ========================================
   PUBLIC FOOTER
   ======================================== */

.footer {
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(165px, 0.9fr) minmax(0, 4fr);
  align-items: start;
  gap: clamp(22px, 3vw, 48px);
  padding: 85px 0 95px;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand-block .footer-about {
  max-width: 230px;
  margin-top: 20px;
  color: #626b64;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
}

.footer-columns {
  display: grid;
  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 0.9fr)
    minmax(0, 0.9fr)
    minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(16px, 2vw, 32px);
  min-width: 0;
}

.footer-columns > .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 15px;
}

.footer .footer-col h3 {
  margin: 0 0 15px;
  color: #818e82;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.footer-columns > .footer-col > a {
  color: #4b514d;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-columns > .footer-col > a:hover {
  color: #c2410c;
}

/* Contact details */

.footer-columns > .footer-contact-col {
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.footer-contact-label {
  color: #929d94;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-columns .footer-contact-value {
  display: block;
  max-width: 100%;
  margin: 0;
  color: #39443c;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.8;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-columns a.footer-contact-value:hover {
  color: #c2410c;
}

.footer-contact-empty {
  color: #626b64;
  font-size: 12px;
  line-height: 1.8;
}

.footer-contact-empty a {
  color: #b64c20;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer bottom */

.footer-bottom {
  min-height: 70px;
  border-top: 1px solid #e9ede8;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .footer-brand-block .footer-about {
    max-width: 440px;
  }

  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .footer-main {
    padding: 65px 0;
    gap: 40px;
  }

  .footer-brand-block .footer-about {
    max-width: 450px;
    font-size: 12px;
    line-height: 1.85;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 36px;
  }

  .footer .footer-col h3 {
    margin-bottom: 10px;
  }

  .footer-columns > .footer-col {
    gap: 13px;
  }

  .footer-columns > .footer-contact-col {
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .footer-columns {
    column-gap: 15px;
  }

  .footer-columns > .footer-col > a,
  .footer-columns .footer-contact-value {
    font-size: 11px;
  }
}


/* ========================================
   PUBLIC NAVIGATION

   Dropdowns are neutral by default.
   Active styling applies only to the
   corresponding Django page.
   ======================================== */

.desktop-nav .nav-trigger {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  background-color: transparent;
  color: #414651;
}

/* Hover and open states */

.desktop-nav .nav-trigger:hover,
.desktop-nav .nav-trigger[aria-expanded="true"] {
  background-color: var(--peach-soft, #fff6f0);
  color: #c2410c;
}

/* Active navigation link */

.desktop-nav .nav-link.is-current {
  background-color: var(--peach, #ffeadf);
  color: #c2410c;
}

/* Active dropdown destination */

.desktop-nav .nav-menu-item[aria-current="page"] {
  background-color: var(--peach-soft, #fff6f0);
  color: #c2410c;
}

/* Keep dropdowns hidden when closed */

.desktop-nav .nav-menu[hidden],
.mobile-nav-group__links[hidden] {
  display: none !important;
}


/* ========================================
   MOBILE NAVIGATION
   ======================================== */

@media (max-width: 900px) {
  .mobile-nav {
    box-sizing: border-box;
  }

  .mobile-nav-group {
    border-bottom: 1px solid #eceeeb;
  }

  .mobile-nav-group__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 74px;
    padding: 20px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: 600 23px/1.4 'Manrope', sans-serif;
    letter-spacing: -0.055em;
    text-align: left;
    cursor: pointer;
  }

  .mobile-nav-group__trigger svg {
    width: 20px;
    height: 20px;
    flex: none;
    transition: transform .3s ease;
  }

  .mobile-nav-group__trigger[aria-expanded='true'] svg {
    transform: rotate(180deg);
  }

  .mobile-nav-group__links {
    display: grid;
    gap: 0;
    padding: 0 0 16px 18px;
  }

  .mobile-nav-group__links a {
    display: block;
    padding: 12px 0;
    color: #626b64;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
  }

  .mobile-nav-group__links a:hover,
  .mobile-nav-group__links a:focus-visible {
    color: #c2410c;
  }

  .mobile-nav-group__trigger:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-group__trigger svg {
    transition: none;
  }
}
