.corporate-footer {
  --footer-green: #005b45;
  --footer-gray: #686c69;
  border-top: 1px solid #e5e5e5;
  background: white;
  color: #262826;
}
.footer-frame {
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.footer-company-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-family { grid-area: family; position: relative; width: 150px; justify-self: end; }
.footer-family summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  border-bottom: 1px solid #90958f;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.4;
}
.footer-family summary::-webkit-details-marker { display: none; }
.footer-family summary::after {
  content: ''; width: 7px; height: 7px; margin: 4px 2px 0 0;
  border-right: 1.5px solid; border-top: 1.5px solid;
  transform: rotate(-45deg);
}
.footer-family[open] summary::after { margin-top: -4px; transform: rotate(135deg); }
.footer-family summary:hover, .footer-family a:hover { color: var(--footer-green); }
.footer-family > div {
  position: absolute; z-index: 2; right: 0; bottom: calc(100% + 4px);
  min-width: 100%; width: max-content; border: 1px solid #dadeda;
  border-radius: 8px; background: white; box-shadow: 0 5px 18px #263c2b14;
}
.footer-family a { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 14px; white-space: nowrap; }
.footer-family .icon { width: 14px; height: 14px; }
.footer-family :focus-visible { outline: 2px solid var(--footer-green); outline-offset: 2px; }
.footer-directory { display: grid; grid-template-columns: 32% 1fr; min-height: 396px; padding-block: 68px 70px; }
.footer-signature { color: #e5e5e5; font-size: 36px; line-height: 1.1; font-weight: 750; letter-spacing: -.052em; }
.footer-groups { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr 1.1fr; gap: clamp(14px,2vw,32px); }
.footer-group h2 { font-size: 16px; line-height: 24px; letter-spacing: -.035em; font-weight: 700; }
.footer-group h2 button { display: none; }
.footer-group ul { display: grid; gap: 15px; margin-top: 21px; }
.footer-group li { font-size: 14px; line-height: 1.5; color: var(--footer-gray); }
.footer-group a:hover { color: var(--footer-green); text-decoration: underline; text-underline-offset: 3px; }
.footer-identity { border-top: 1px solid #e5e5e5; }
.footer-identity-inner {
  min-height: 98px; padding-block: 13px; display: grid; align-items: center;
  grid-template-columns: minmax(max-content,.85fr) minmax(0,1.5fr) auto;
  grid-template-areas: "logo info family"; gap: clamp(16px,2.3vw,32px);
}
.footer-logo { grid-area: logo; justify-self: start; }
.footer-company-info { grid-area: info; color: var(--footer-gray); font-size: 13px; line-height: 1.5; letter-spacing: -.012em; }
.footer-company-info p + p { margin-top: 4px; }
.footer-company-info span { display: inline-block; margin-right: 9px; }
.footer-company-info span:last-child { margin-right: 0; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  margin: 7px 0 4px;
  color: var(--ink);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 620;
}
.footer-social .icon { width: 13px; height: 13px; }
.footer-copyright { font-size: 12px; }
[data-route-section]:focus { outline: none; }

@media (min-width: 761px) and (max-width: 1000px) {
  .footer-directory { grid-template-columns: 24% 1fr; }
  .footer-signature { font-size: 28px; }
  .footer-groups { gap: 20px; }
}
@media (max-width: 760px) {
  .footer-frame { width: 82%; }
  .footer-directory { display: block; min-height: 0; padding-block: 31px 21px; border-bottom: 1px solid #e5e5e5; }
  .footer-signature { display: none; }
  .footer-groups { display: block; }
  .footer-group h2 > a { display: none; }
  .footer-group h2 button { display: flex; width: 100%; min-height: 44px; gap: 12px; padding: 8px 12px 8px 0; align-items: center; justify-content: space-between; font: inherit; text-align: start; }
  .footer-group h2 .icon { height: 18px; width: 18px; transform: rotate(90deg); stroke-width: 2; }
  .footer-group.expanded h2 .icon { transform: rotate(-90deg); }
  .footer-group ul { display: none; margin: 0; }
  .footer-group.expanded ul { display: grid; gap: 0; padding: 2px 0 11px 12px; }
  .footer-group li a { display: block; padding-block: 6px; }
  .footer-identity { border-top: 0; }
  .footer-identity-inner {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "logo family" "info info";
    gap: 21px 8px; padding-block: 25px 36px;
  }
  .footer-family { width: clamp(96px,26vw,130px); }
  .footer-family summary { font-size: 14px; }
  .footer-company-info { width: 100%; }
  .footer-company-info p:first-child { display: grid; gap: 5px; }
  .footer-company-info p + p { margin-top: 9px; }
  .footer-company-info span { margin: 0; }
}
