/* The footer is intentionally self-contained so page-specific layout rules cannot
   turn the closing navigation into a dense, unstructured link strip. */
footer.agency-footer {
  background: #171719;
  color: #f7f4ed;
  padding: 0 52px;
  margin: 0;
  border: 0;
}
.agency-footer-inner { max-width: 1440px; margin: 0 auto; }
.agency-footer-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 0 54px;
  border-bottom: 1px solid #ffffff24;
}
.agency-footer-kicker {
  margin: 0 0 23px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #d9d5cd;
}
.agency-footer-invitation h2 {
  margin: 0;
  font-family: Bricolage, sans-serif;
  font-size: clamp(34px, 4.5vw, 65px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.agency-footer-invitation h2 span { color: #aea9a2; }
.agency-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 28px;
  min-height: 64px;
  padding: 8px 8px 8px 24px;
  border: 1px solid #ffffff45;
  border-radius: 40px;
  color: #f7f4ed;
  font-size: 17px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.agency-footer-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e74b38;
  color: #171719;
  font-size: 27px;
  transition: transform 180ms ease;
}
.agency-footer-directory {
  display: grid;
  grid-template-columns: 1.3fr .75fr 1.6fr;
  gap: 40px;
  padding: 45px 0 42px;
}
.agency-footer-directory > * { min-width: 0; }
.agency-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  color: #f7f4ed;
  text-decoration: none;
  font-family: Bricolage, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.agency-footer-brand img { width: 49px; height: 49px; flex-shrink: 0; }
.agency-footer-brand small { display: block; margin-top: 7px; font-family: inherit; font-size: 9px; font-weight: 500; letter-spacing: .43em; }
.agency-footer-identity > p { margin: 20px 0 8px; color: #bdb8b0; font-size: 16px; }
.agency-footer-email { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #f7f4ed; font-size: 15px; overflow-wrap: anywhere; text-decoration: none; }
.agency-footer-links h3 { font-family: inherit; font-size: 11px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; color: #aba69f; margin: 0 0 12px; font-weight: 500; }
.agency-footer-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: #f7f4ed; text-decoration: none; font-size: 15px; line-height: 1.35; transition: color 180ms ease; }
.agency-footer-topics > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.agency-footer-legal { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: start; gap: 32px; padding: 25px 0; border-top: 1px solid #ffffff24; font-size: 11px; line-height: 1.65; color: #bdb8b0; }
.agency-footer-legal p { margin: 0; font-size: inherit; }
.agency-footer-legal p span { display: block; }
.agency-footer-legal address { font-style: normal; max-width: 43ch; }
.agency-footer-legal a { min-height: 44px; display: flex; align-items: center; margin-top: -9px; color: #d9d5cd; text-decoration: underline; text-underline-offset: 4px; }
footer.agency-footer a:focus-visible { outline: 2px solid #f7f4ed; outline-offset: 5px; }
@media (hover: hover) {
  .agency-footer-cta:hover { background: #29292c; border-color: #ffffff85; }
  .agency-footer-cta:hover .agency-footer-arrow { transform: rotate(45deg); }
  .agency-footer-links a:hover, .agency-footer-email:hover, .agency-footer-legal a:hover { color: #ff8b7d; }
}
@media (max-width: 1050px) {
  footer.agency-footer { padding-inline: 32px; }
  .agency-footer-directory { grid-template-columns: 1fr .85fr 1.3fr; gap: 26px; }
  .agency-footer-topics > div { grid-template-columns: 1fr; }
  .agency-footer-brand { font-size: 21px; gap: 9px; }
  .agency-footer-brand img { width: 41px; height: 41px; }
  .agency-footer-legal { grid-template-columns: 1fr 1fr; gap: 16px 30px; }
  .agency-footer-legal a { grid-column: 1/-1; margin: 0; }
}
@media (max-width: 700px) {
  footer.agency-footer { padding-inline: 22px; }
  .agency-footer-invitation { display: block; padding: 43px 0 34px; }
  .agency-footer-kicker { font-size: 10px; margin-bottom: 20px; }
  .agency-footer-invitation h2 { font-size: clamp(29px, 7.3vw, 49px); }
  .agency-footer-cta { margin-top: 27px; min-height: 56px; font-size: 15px; padding: 6px 6px 6px 21px; }
  .agency-footer-arrow { width: 42px; height: 42px; }
  .agency-footer-directory { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 32px 0; }
  .agency-footer-identity { grid-column: 1/-1; }
  .agency-footer-identity > p { margin-top: 15px; }
  .agency-footer-brand { font-size: 24px; gap: 12px; }
  .agency-footer-brand img { width: 46px; height: 46px; }
  .agency-footer-links a { font-size: 14px; }
  .agency-footer-links h3 { margin-bottom: 8px; }
  .agency-footer-legal { grid-template-columns: 1fr; gap: 13px; padding: 23px 0; }
  .agency-footer-legal a { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .agency-footer-cta, .agency-footer-arrow, .agency-footer-links a { transition: none; }
}
