/* Approved S03: retain each block's styling; identity, contact, then legal. */
.tc-site-footer--s03 {
  padding: 40px 40px 46px;
  background: #2a241e;
  color: #d8d0c2;
  font: 17px/1.5 'Source Sans 3', sans-serif;
}

.tc-site-footer--s03 * { min-width: 0; }
.tc-site-footer--s03 p { margin: 0; }
.tc-site-footer--s03 ul { list-style: none; padding: 0; margin: 0; }
.tc-site-footer--s03 a { color: inherit; text-decoration: none; }
.tc-site-footer--s03 a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tc-site-footer--s03 a:focus-visible {
  outline: 3px solid #60b456;
  outline-offset: 5px;
  color: #fff;
}

.tc-footer-s03__primary {
  max-width: 1320px;
  margin: auto;
  padding-bottom: 34px;
  border-bottom: 1px solid #52483e;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.tc-footer-s03__primary a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font: 25px/1.3 'Lora', serif;
}
.tc-footer-s03__primary a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.tc-footer-s03__registers {
  max-width: 1320px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}
.tc-footer-s03__identity { text-align: center; }
.tc-footer-s03__logo {
  display: inline-flex;
  max-width: 100%;
  width: 230px;
  min-height: 44px;
  align-items: center;
}
.tc-footer-s03__logo img {
  width: 100%;
  height: auto;
  filter: invert(1) brightness(1.55);
}
.tc-footer-s03__location {
  color: #beb5a6;
  font-size: 17px;
  line-height: 1.5;
  max-width: 280px;
}
.tc-site-footer--s03 .tc-footer-s03__location { margin: 22px auto 0; }

.tc-footer-s03__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tc-footer-s03__contact a {
  min-height: 44px;
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}
.tc-footer-s03__phone { font-size: 24px; }
.tc-footer-s03__email { font-size: 17px; overflow-wrap: anywhere; }
.tc-footer-s03__contact .tc-footer-s03__address {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.5;
  margin-top: 8px;
  font-size: 17px;
}

.tc-footer-s03__legal-register { padding-right: 10px; }
.tc-footer-s03__disclosure {
  font-size: 15px;
  line-height: 1.65;
  color: #beb5a6;
  max-width: 70ch;
}
.tc-footer-s03__legal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}
.tc-footer-s03__copyright { font-size: 14px; line-height: 1.5; color: #beb5a6; }
.tc-footer-s03__policies ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tc-footer-s03__policies a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .tc-footer-s03__primary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 24px;
  }
  .tc-footer-s03__primary a { font-size: 24px; }
  .tc-footer-s03__registers { grid-template-columns: 1fr 1fr; gap: 34px 50px; }
  .tc-footer-s03__legal-register { grid-column: 1 / -1; max-width: 100%; }
  .tc-footer-s03__legal {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .tc-footer-s03__identity { text-align: left; }
  .tc-site-footer--s03 .tc-footer-s03__location { margin-left: 0; }
}

/* Keep the original navigation type readable between phone and tablet widths. */
@media (min-width: 601px) and (max-width: 719px) {
  .tc-footer-s03__primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .tc-site-footer--s03 { padding: 32px 24px 30px; }
  .tc-footer-s03__primary { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .tc-footer-s03__registers {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: 34px;
  }
  .tc-footer-s03__legal-register { padding-right: 0; }
  .tc-footer-s03__legal { flex-direction: column; gap: 14px; }
  .tc-footer-s03__logo { width: 210px; }
}

/* Give the longer right-column labels their natural width on narrow phones. */
@media (max-width: 359px) {
  .tc-footer-s03__primary { grid-template-columns: minmax(0, 1fr) max-content; column-gap: 20px; }
}
