/* footer-layout.css — maintained styles; declaration order preserves the existing cascade. */
.brand-footer { background: #181818; color: #888; padding: 48px 4.7% 66px; }
.brand-footer .footer-main { display: grid; grid-template-columns: 2fr 2.2fr 1.13fr 1.42fr 28px; gap: 30px; align-items: start; }
.brand-footer .footer-brand { grid-column: auto; display: block; }
.brand-footer .footer-brand img { display: block; filter: brightness(0) invert(.62); }
.brand-footer .footer-details,.brand-footer .footer-location { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.brand-footer .footer-main h2 { font-size: 10px; font-weight: 400; line-height: 1.5; margin: 0 0 6px; padding: 0 0 7px; border-bottom: 1px solid #777; color: #888; }
.brand-footer .footer-main p { font-size: 10px; line-height: 1.8; margin: 0; color: #888; }
.brand-footer .footer-consult { margin: 0; }
.brand-footer .footer-subbrands>div { display: flex; align-items: center; gap: 22px; min-height: 14px; }
.brand-footer .footer-subbrands img { display: block; width: 76px; max-width: 46%; height: 14px; object-fit: contain; object-position: left center; }
.brand-footer .footer-qrs { display: flex; gap: 14px; justify-content: flex-start; }
.brand-footer .footer-qrs figure { margin: 0; min-width: 0; flex: 1; }
.brand-footer .footer-qrs img { display: block; width: 100%; max-width: 64px; height: auto; aspect-ratio: 1; object-fit: contain; }
.brand-footer .footer-qrs figcaption { font-size: 10px; line-height: 1.5; margin-top: 5px; white-space: nowrap; text-align: center; color: #888; }
.brand-footer .back-top { grid-column: auto; justify-self: end; margin: 0; padding: 0; width: 28px; height: 28px; }
.brand-footer .back-top img { width: 28px; height: 28px; }
.brand-footer .copyright { border-top: 1px solid #777; margin: 24px 0 0; padding: 8px 0 0; font-size: 9px; line-height: 1.6; color: #888; }
@media(max-width:1050px) {
  .brand-footer .footer-main { grid-template-columns: 1.1fr 1.7fr 1.2fr; gap: 28px; }
  .brand-footer .footer-qrs { grid-column: 2; grid-row: 2; max-width: 240px; }
  .brand-footer .back-top { grid-column: 3; grid-row: 2; }
  .brand-footer .footer-brand img { width: 130px; }
}
@media(max-width:600px) {
  .brand-footer { padding: 38px 6% 36px; }
  .brand-footer .footer-main { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px 20px; }
  .brand-footer .footer-brand { grid-column: 1/-1; }
  .brand-footer .footer-brand img { width: 135px; }
  .brand-footer .footer-details { grid-column: 1/-1; }
  .brand-footer .footer-location { grid-column: 1/-1; }
  .brand-footer .footer-main p { font-size: 12px; }
  .brand-footer .footer-main h2 { font-size: 11px; }
  .brand-footer .footer-subbrands img { max-width: none; width: 80px; height: 16px; }
  .brand-footer .footer-qrs { grid-column: 1/-1; grid-row: auto; width: 100%; max-width: 280px; gap: 18px; }
  .brand-footer .footer-qrs img { max-width: 76px; }
  .brand-footer .footer-qrs figcaption { text-align: left; font-size: 11px; }
  .brand-footer .back-top { grid-column: 2; grid-row: auto; }
  .brand-footer .copyright { margin-top: 20px; font-size: 9px; }
}
.brand-footer .footer-qrs figure>a { display: block; width: fit-content; max-width: 100%; transition: opacity .2s; }
.brand-footer .footer-qrs figure>a:hover { opacity: .8; }
.brand-footer .footer-qrs figure>a:focus-visible { outline: 1px solid #aaa; outline-offset: 4px; }
.brand-footer .footer-qrs img { cursor: default; transition: transform .3s cubic-bezier(.22,1,.36,1),filter .3s; }
.brand-footer .footer-qrs figure:hover img { transform: translateY(-3px) scale(1.04); filter: brightness(1.12); }
@media(min-width:601px) and (max-width:1050px) {
  .brand-footer { padding: 42px 7% 54px; }
  .brand-footer .footer-main { grid-template-columns: minmax(0,1.95fr) minmax(0,1fr); column-gap: 36px; row-gap: 34px; align-items: start; }
  .brand-footer .footer-brand { grid-column: 1/-1; grid-row: 1; margin-bottom: 62px; }
  .brand-footer .footer-brand img { width: 180px; }
  .brand-footer .footer-details { grid-column: 1; grid-row: 2; gap: 20px; }
  .brand-footer .footer-location { grid-column: 2; grid-row: 2; gap: 20px; }
  .brand-footer .footer-qrs { grid-column: 1; grid-row: 3; max-width: 270px; width: 100%; gap: 16px; margin-top: 6px; }
  .brand-footer .footer-qrs img { width: 100%; max-width: 76px; }
  .brand-footer .footer-qrs figcaption { font-size: 11px; margin-top: 8px; }
  .brand-footer .back-top { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; margin: 0 0 4px; width: 32px; height: 32px; }
  .brand-footer .back-top img { width: 28px; height: 28px; }
  .brand-footer .footer-main h2 { font-size: 11px; }
  .brand-footer .footer-main p { font-size: 11px; line-height: 1.8; }
  .brand-footer .footer-subbrands>div { gap: 18px; flex-wrap: wrap; }
  .brand-footer .copyright { margin-top: 46px; padding-top: 12px; }
}
.business-service-link { display: block; position: relative; transition: transform .25s ease,color .25s ease; }
.business-service-link::after { content: '↗'; position: absolute; right: 0; top: 0; opacity: 0; color: #ccc; transition: opacity .2s,transform .25s; transform: translate(-4px,4px); }
.business-service-link:focus-visible { outline: 1px solid #999; outline-offset: 6px; }
@media(hover:hover) {
  .business-service-link:hover { transform: translateX(4px); }
  .brand-footer .business-service-link:hover h2,.brand-footer .business-service-link:hover p,.contact-page .business-service-link:hover h2,.contact-page .business-service-link:hover p { color: #ddd; }
  .business-service-link:hover::after { opacity: 1; transform: none; }
}
@media(prefers-reduced-motion:reduce) {
  .business-service-link,.business-service-link::after { transition: none; }
}
:root { --jor-brand-width: 144px; --jor-brand-gutter: 4.7%; }
.brand-footer { padding-left: var(--jor-brand-gutter); padding-right: var(--jor-brand-gutter); }
.brand-footer .footer-brand img { width: var(--jor-brand-width); max-width: 100%; height: auto; }
@media(min-width:1800px) {
  :root { --jor-brand-width: 190px; }
}
@media(max-width:900px) {
  :root { --jor-brand-width: 120px; }
}
@media(max-width:600px) {
  :root { --jor-brand-width: clamp(132px,38vw,160px); --jor-brand-gutter: 6%; }
}
