/* Purlin Automation: footer layout (v34). Loaded on every page after the page bundle. */
footer#locations .foot-grid{display:grid;grid-template-columns:1.5fr repeat(5,minmax(0,1fr));gap:28px 30px;align-items:start}
footer#locations .foot-col h4{margin-bottom:14px;text-transform:none;letter-spacing:.01em}
footer#locations .foot-col ul{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
footer#locations .foot-col a{font-size:.9rem;line-height:1.35;color:#10100f;text-decoration:none}
footer#locations .foot-col a:hover,footer#locations .foot-col a:focus-visible{color:#2d6a55;text-decoration:underline}
footer#locations .foot-brand p{margin:14px 0 12px;line-height:1.55}
footer#locations .foot-contact{font-style:normal;display:flex;flex-direction:column;gap:6px;font-size:.88rem;line-height:1.45;color:#444;margin-bottom:14px}
footer#locations .foot-contact a{color:#10100f;text-decoration:none}
footer#locations .foot-contact a:hover{color:#2d6a55;text-decoration:underline}
footer#locations .foot-social{display:flex;gap:10px}
footer#locations .foot-social a{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #d6dbd7;border-radius:8px;background:#fff}
footer#locations .foot-social a:hover{border-color:#2d6a55}
footer#locations .foot-social svg{width:18px;height:18px}
footer#locations .foot-social a[hidden]{display:none!important}

/* Tablets: brand on its own row, links in 3 columns */
@media (max-width:1100px){
  footer#locations .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  footer#locations .foot-brand{grid-column:1/-1;max-width:640px}
}
/* Large phones: 2 columns */
@media (max-width:700px){
  footer#locations .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
}
/* Small phones: 1 column */
@media (max-width:340px){
  footer#locations .foot-grid{grid-template-columns:1fr}
}
