/* Shared footer. Keep these styles scoped so page themes cannot change its palette. */
.site-footer.footer-redesign {
  --footer-bg:#242320;
  --footer-text:#f6f3ed;
  --footer-muted:#c5c0b7;
  --footer-line:#4b4842;
  background:var(--footer-bg);
  color:var(--footer-text);
  padding:56px 0 24px;
}
.footer-redesign .footer-overview {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:start;
  gap:30px clamp(24px,4vw,48px);
  padding-bottom:40px;
}
.footer-redesign .footer-identity { display:flex; align-items:center; gap:clamp(16px,2.5vw,32px); min-width:0; }
.footer-redesign .footer-description { margin:0; color:var(--footer-muted); font-size:14px; line-height:1.65; }
.footer-redesign .footer-tool {
  display:grid;
  place-self:center;
  width:280px;
  max-width:100%;
  grid-template-columns:34px minmax(0,1fr) 20px;
  gap:6px 14px;
  align-items:center;
  min-height:72px;
  padding:12px 0;
  background:transparent;
}
.footer-redesign .footer-tool-mark { grid-column:1; grid-row:1/3; width:34px; height:34px; color:var(--footer-muted); }
.footer-redesign .footer-tool strong { grid-column:2; grid-row:1; color:var(--footer-text); font-size:16px; font-weight:500; line-height:1.4; }
.footer-redesign .footer-tool > .icon { grid-column:3; grid-row:1/3; width:18px; height:18px; color:var(--footer-muted); transition:transform .18s ease; }
.footer-redesign .footer-tool-copy { grid-column:2; grid-row:2; color:var(--footer-muted); font-size:12px; line-height:1.5; }
.footer-redesign .footer-contact { display:flex; flex-direction:column; align-items:flex-start; justify-self:end; width:min(100%,280px); gap:8px; min-width:0; color:var(--footer-text); font-size:14px; line-height:1.6; font-weight:400; font-style:normal; letter-spacing:0; }
.footer-redesign .footer-phone { max-width:100%; color:inherit; font-size:inherit; line-height:inherit; letter-spacing:inherit; white-space:nowrap; }
.footer-redesign .footer-email { max-width:100%; color:inherit; font-size:inherit; line-height:inherit; overflow-wrap:anywhere; }
.footer-redesign .footer-location { margin:0; color:inherit; font-size:inherit; line-height:inherit; }
.footer-redesign .footer-links {
  display:grid;
  grid-template-columns:1.08fr .7fr 1.18fr 1.08fr .86fr;
  gap:36px;
  padding:36px 0 32px;
  border-top:1px solid var(--footer-line);
}
.footer-redesign .footer-links > div { min-width:0; }
.footer-redesign .footer-links h3 { margin:0 0 15px; color:var(--footer-text); font-size:14px; font-weight:600; letter-spacing:0; line-height:1.4; text-wrap:initial; }
.footer-redesign .footer-links ul { margin:0; padding:0; list-style:none; }
.footer-redesign .footer-links li { margin:0; }
.footer-redesign .footer-links a { display:flex; align-items:center; width:fit-content; max-width:100%; min-height:32px; padding:5px 0; color:var(--footer-muted); font-size:13px; line-height:1.5; }
.footer-redesign .footer-links .footer-all { margin-top:10px; color:var(--footer-text); gap:10px; }
.footer-redesign .footer-all .icon { width:16px; height:16px; }
.footer-redesign .footer-bottom { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:8px 24px; margin:0; padding-top:20px; border-top:1px solid var(--footer-line); color:var(--footer-muted); font-size:11px; line-height:1.6; }
.footer-redesign .footer-copyright { display:flex; flex-direction:column; gap:4px; margin-right:auto; }
.footer-redesign .footer-legal { display:flex; align-items:center; flex-wrap:wrap; gap:4px 24px; margin:0; }
.footer-redesign .footer-legal a,.footer-redesign .cookie-settings { display:inline-flex; align-items:center; min-height:32px; padding:4px 0; color:var(--footer-muted); font-size:11px; line-height:1.6; }
.footer-redesign .cookie-settings { text-decoration:underline; text-underline-offset:4px; }
.site-footer.footer-redesign :is(a,button):focus-visible { outline:2px solid var(--footer-text); outline-offset:5px; border-radius:2px; }
@media (hover:hover) {
  .footer-redesign .footer-tool:hover strong { text-decoration:underline; text-underline-offset:4px; }
  .footer-redesign .footer-tool:hover > .icon { transform:translateX(3px); color:var(--footer-text); }
  .footer-redesign :is(.footer-links a,.footer-contact a,.footer-legal a,.cookie-settings):hover { color:var(--footer-text); text-decoration:underline; }
}
@media (max-width:1100px) {
  .footer-redesign .footer-links { grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
  .footer-redesign .footer-copyright { flex:1 0 100%; margin:0 0 8px; }
}
@media (min-width:721px) and (max-width:960px) {
  .footer-redesign .footer-identity { flex-wrap:wrap; row-gap:12px; }
}
@media (max-width:720px) {
  .site-footer.footer-redesign { padding:36px 0 20px; }
  .footer-redesign .footer-overview { grid-template-columns:minmax(0,1fr); gap:26px; padding-bottom:28px; }
  .footer-redesign .footer-description { font-size:13px; }
  .footer-redesign .footer-contact { justify-self:start; gap:4px; }
  .footer-redesign .footer-phone { display:flex; align-items:center; min-height:44px; }
  .footer-redesign .footer-email { display:flex; align-items:center; min-height:44px; }
  .footer-redesign .footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 20px; padding:28px 0; }
  .footer-redesign .footer-links h3 { font-size:13px; margin-bottom:10px; }
  .footer-redesign .footer-links a { min-height:44px; padding:8px 0; font-size:12px; }
  .footer-redesign .footer-links .footer-all { margin-top:4px; }
  .footer-redesign .footer-links > div:last-child { grid-column:1/-1; }
  .footer-redesign .footer-links > div:last-child ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }
  .footer-redesign .footer-bottom { flex-direction:column; align-items:flex-start; gap:4px 20px; padding-top:20px; }
  .footer-redesign .footer-copyright { flex:none; width:100%; }
  .footer-redesign .footer-legal { flex-direction:column; align-items:flex-start; gap:0; width:100%; }
  .footer-redesign .footer-legal a,.footer-redesign .cookie-settings { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  .footer-redesign .footer-tool > .icon { transition:none; }
  .footer-redesign .footer-tool:hover > .icon { transform:none; }
}
