/* Shared contact layout. Keep essential contacts independent of reveal animation
   and clip only the decorative layer, never the content. */
.contact { overflow: visible; }
.contact::after { content: none; }
.contact .contact-noise {
  overflow: hidden; pointer-events: none; opacity: 1;
  background-image: repeating-linear-gradient(135deg,transparent 0 12px,rgba(0,0,0,.042) 12px 13px);
}
.contact .contact-noise::after {
  content: ""; position: absolute; right: -8vw; top: -40%;
  width: 42vw; height: 190%; border: 1px solid rgba(255,255,255,.22);
  transform: rotate(13deg);
}
.contact .contact-grid {
  width: min(1240px, calc(100% - 48px)); max-width: 100%;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr) minmax(0,.92fr);
  gap: 38px clamp(24px,3vw,44px);
}
.contact .contact-grid > * { min-width: 0; max-width: 100%; }
.contact .reveal { opacity: 1; transform: none; transition: none; }
.contact .eyebrow { flex-wrap: wrap; }
.contact .contact-actions .button {
  max-width: 100%; min-width: 0; height: auto; min-height: 52px;
  padding-block: 14px; white-space: normal; overflow-wrap: anywhere;
}
.contact .contact-actions .button > span { min-width: 0; }
.contact .contact-links {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr));
  gap: 24px 20px; height: auto; max-height: none; overflow: visible;
}
.contact .contact-links > * { min-width: 0; max-width: 100%; }
.contact .contact-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  width: fit-content; max-width: 100%; white-space: normal;
  overflow-wrap: anywhere; word-break: normal; line-height: 1.5;
}
.contact .contact-links address { grid-column: 1 / -1; }
.contact a:focus-visible, .footer-contacts a:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px;
}
.site-footer { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.seo-footer { grid-template-columns: minmax(0,200px) minmax(0,1fr) minmax(0,auto); }
:is(.site-footer,.seo-footer,.catalogue-footer) > * { min-width: 0; max-width: 100%; }
:is(.site-footer,.seo-footer,.catalogue-footer) a { overflow-wrap: anywhere; white-space: normal; }
.footer-brand { max-width: 100%; }
.footer-contacts {
  box-sizing: border-box; grid-column: 1 / -1; flex: 0 0 100%; width: 100%;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr));
  gap: 14px 24px; padding-top: 24px; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.18); text-align: left;
}
.footer-contacts a {
  box-sizing: border-box; display: flex; flex-direction: column;
  justify-content: center; gap: 5px; min-width: 0; min-height: 44px;
  max-width: 100%; color: #fff; font-size: .86rem; line-height: 1.5;
  white-space: normal; overflow-wrap: anywhere; text-decoration: none;
}
.footer-contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contacts small { color: #aaa; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-contacts .footer-postal { grid-column: 1 / -1; }
.utility-footer { box-sizing: border-box; padding: 32px max(16px,calc((100% - 1180px)/2)); background: #050506; color: white; font-family: Arial,sans-serif; }
@media (min-width:821px) and (max-width:1199px) {
  .contact .contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .contact .contact-brand { grid-area: 1 / 1; }
  .contact .contact-title { grid-area: 2 / 1; }
  .contact .contact-car { grid-area: 1 / 2 / span 2 / 3; }
  .contact .contact-actions { grid-area: 3 / 1 / 4 / -1; }
}
@media (max-width:960px) {
  .site-footer,.seo-footer { grid-template-columns: minmax(0,1fr); }
  .site-footer > p { text-align: left; }
}
@media (max-width:820px) {
  .contact .contact-grid { width: calc(100% - 32px); grid-template-columns: minmax(0,1fr); gap: 34px; }
  .contact .contact-grid > * { grid-column: 1; grid-row: auto; }
  .contact .contact-links { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:430px) {
  .footer-contacts { grid-template-columns: minmax(0,1fr); }
}
