/* Shared footer. CSS hover/focus supports contact codes when JavaScript is unavailable. */
.sme-site .home-footer {
  position: relative;
  background: #11191d;
  color: #abb0b2;
  font-size: 14px;
  line-height: 1.8;
}

.home-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.home-footer a:hover,
.home-footer .footer-social-trigger:hover {
  color: #fff;
}

.home-footer a:focus-visible,
.home-footer .footer-social-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.footer-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 120px 0 70px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.footer-invitation > div {
  min-width: 0;
}

.footer-invitation .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #abb0b2;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .15em;
}

.footer-invitation .section-kicker::before {
  width: 19px;
  height: 2px;
  background: #bd2633;
  content: "";
}

.footer-invitation h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: 44px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.footer-invitation > .home-button {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgb(255 255 255 / 55%);
}

.footer-invitation > .home-button:hover {
  border-color: #bd2633;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, .7fr);
  gap: clamp(24px, 2.6vw, 46px);
  padding: 64px 0 70px;
}

.footer-main > *,
.footer-navigation > * {
  min-width: 0;
}

.footer-main h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.footer-brand .brand {
  display: inline-flex;
  max-width: 100%;
}

/* Use the original transparent logo as a light wordmark on the dark footer. */
.footer-brand .brand img {
  width: 178px;
  height: auto;
  padding: 0;
  background: transparent;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  max-width: 238px;
  margin: 23px 0 0;
  overflow-wrap: anywhere;
}

.footer-brand > .footer-company {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
}

.footer-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 20px;
}

.footer-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-navigation li {
  margin: 0;
  padding: 0;
}

.footer-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 3px 0;
  overflow-wrap: anywhere;
}

.footer-contact > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}

.footer-contact > .footer-phone {
  margin-top: -3px;
  margin-bottom: 11px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

.footer-contact address {
  max-width: 268px;
  margin-top: 21px;
  font-style: normal;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.footer-qr {
  position: relative;
  margin: 0;
}

.footer-qr .footer-social-trigger {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 24px 7px 0;
  color: #abb0b2;
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-qr .footer-social-trigger::-webkit-details-marker {
  display: none;
}

.footer-qr .footer-social-trigger::after {
  position: absolute;
  right: 1px;
  top: 50%;
  color: currentColor;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  content: "+";
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.footer-qr.is-open {
  z-index: 2;
}

.footer-qr.is-open .footer-social-trigger {
  color: #fff;
}

.footer-qr.is-open .footer-social-trigger::after {
  transform: translateY(-50%) rotate(45deg);
}

.footer-qr-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: 192px;
  max-width: calc(90vw - 16px);
  padding: 24px 24px 18px;
  background: #f5f4f0;
  color: #243036;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
  box-shadow: 0 16px 40px rgb(0 0 0 / 22%);
}

.footer-qr-panel img {
  display: block;
  width: 144px;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.footer-qr-panel p {
  margin: 12px -10px 0;
}

.footer-qr-panel a {
  display: inline-block;
  margin: 12px -10px 0;
  color: #243036;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-qr-panel a:hover {
  color: #bd2633;
}

.footer-qr-panel a:focus-visible {
  outline-color: #bd2633;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 30px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom > p {
  max-width: 55%;
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
}

.footer-legal a {
  padding: 4px 0;
}

@media (max-width: 1100px) {
  .footer-invitation {
    padding-top: 96px;
    gap: 28px;
  }

  .footer-invitation h2 {
    font-size: 36px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 46px 64px;
  }

  .footer-social {
    max-width: 190px;
  }

  .footer-brand > p {
    max-width: 285px;
  }
}

@media (max-width: 767px) {
  .footer-invitation {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    padding: 76px 0 48px;
  }

  .footer-invitation h2 {
    max-width: 540px;
    margin-top: 19px;
    font-size: clamp(29px, 5.3vw, 38px);
    line-height: 1.4;
  }

  .footer-main {
    gap: 42px 34px;
    padding: 45px 0 46px;
  }

  .footer-navigation a {
    min-height: 42px;
    padding: 7px 0;
  }

  .footer-contact > a:not(.footer-phone) {
    min-height: 36px;
    padding: 5px 0;
  }

  .footer-qr .footer-social-trigger {
    min-height: 44px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 23px 0 26px;
  }

  .footer-bottom > p {
    max-width: 100%;
  }

  .footer-legal {
    justify-content: flex-start;
    gap: 6px 22px;
  }

  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
  }
}

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

  .footer-brand > p {
    max-width: 300px;
    margin-top: 20px;
  }

  .footer-brand > .footer-company {
    margin-top: 10px;
  }

  .footer-navigation {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    padding-top: 8px;
  }

  .footer-main h3 {
    margin-bottom: 13px;
  }

  .footer-contact address {
    max-width: 100%;
    margin-top: 13px;
  }

  .footer-social {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 14px;
    max-width: 100%;
  }

  .footer-social > h3 {
    grid-column: 1 / -1;
  }

  .footer-qr .footer-social-trigger {
    padding-right: 17px;
    font-size: 13px;
  }

  .footer-qr-panel {
    right: auto;
    left: 0;
  }

  .footer-qr:nth-of-type(2) .footer-qr-panel {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-qr:last-child .footer-qr-panel {
    right: 0;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-footer a,
  .home-footer .footer-social-trigger,
  .footer-qr .footer-social-trigger::after {
    transition: none;
  }
}
/* Hover for a mouse, explicit expansion for touch, and visible keyboard focus. */
.home-footer{position:relative;z-index:2}
.home-footer .footer-social-trigger{width:100%;background:none;border:0;border-radius:0;gap:12px;text-align:left;padding:8px 0;min-height:48px}
.home-footer .footer-social-trigger::after{display:none}
.footer-social-trigger svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.footer-qr-panel{opacity:0;visibility:hidden;pointer-events:none;translate:0 8px;transition:opacity .22s ease,translate .28s cubic-bezier(.22,1,.36,1),visibility .22s}
.footer-qr-panel::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:14px}
.footer-qr.is-open .footer-qr-panel,.footer-qr:focus-within:not(.is-dismissed) .footer-qr-panel{opacity:1;visibility:visible;pointer-events:auto;translate:0 0}
@media(hover:hover) and (pointer:fine){.footer-qr:hover:not(.is-dismissed) .footer-qr-panel{opacity:1;visibility:visible;pointer-events:auto;translate:0 0}.footer-qr:hover .footer-social-trigger{color:white}}
@media(max-width:560px){.home-footer .footer-social-trigger{flex-direction:column;align-items:flex-start;gap:8px;font-size:12px;padding-right:0}.footer-social-trigger svg{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.footer-qr-panel{transition:none;translate:0 0}}
