.footer .footer-grid {
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "brand main solutions contact"
    "brand main solutions language";
  column-gap: clamp(24px, 5vw, 55px);
  row-gap: 12px;
  align-items: start;
}
.footer-brand { grid-area: brand; }
.footer-group-main { grid-area: main; }
.footer-group-solutions { grid-area: solutions; }
.footer-group-contact { grid-area: contact; }
.footer-language-slot { grid-area: language; }
.footer .footer-about[hidden] { display: none; }
.footer-disclosure summary { list-style: none; font-size: 17px; font-weight: 700; }
.footer-disclosure summary::-webkit-details-marker { display: none; }
.footer-group-contact p { margin-bottom: 0; overflow-wrap: anywhere; }
.footer-group-contact .qr-pair { margin-top: 12px; }
.footer-language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid #7b8495;
  border-radius: 10px;
  background: #080a10;
  color: #fff;
  cursor: pointer;
}
.footer-language-button[aria-expanded="true"] { border-color: #fff; }
.footer-language-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-language-arrow { object-fit: contain; }
.footer .language-options { inset-inline: 0 auto; top: 100%; }
.footer .language-options a { color: #202124; }

@media (min-width: 821px) {
  .footer { padding-bottom: 100px; }
  .footer:has(> .address) { padding-bottom: 50px; }
  .footer .footer-grid { min-height: 247px; align-content: start; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .footer .footer-grid {
    min-height: 482px;
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand main solutions" "contact . ." "language . .";
    grid-template-rows: minmax(235px, auto) auto auto;
    row-gap: 0;
  }
  .footer-language-slot { margin-top: 12px; }
}
@media (min-width: 561px) and (max-width: 820px) {
  .footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand main" "solutions contact" "solutions language";
    row-gap: 18px;
  }
}
@media (max-width: 560px) {
  .footer { padding: 0 12px 34px; }
  .footer .footer-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .footer-disclosure { border-bottom: 1px solid #30343d; }
  .footer-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
  }
  .footer-disclosure summary::after { content: '＋'; font-size: 22px; }
  .footer-disclosure[open] summary::after { content: '−'; }
  .footer-disclosure-content { padding-bottom: 16px; }
  .footer-disclosure-content a:first-child,
  .footer-disclosure-content p:first-child { margin-top: 0; }
  .footer-language-slot { order: 1; align-self: center; margin: 32px 0 18px; }
  .footer-brand { order: 2; text-align: center; }
  .footer-brand .footer-logo { font-size: 34px; }
  .footer-brand p { margin: 2px 0 0; }
  .footer > .address { margin: 12px auto 0; text-align: center; overflow-wrap: anywhere; }
  .footer .footer-bottom {
    display: flex;
    align-items: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #30343d;
    text-align: center;
  }
}
