.tcp-site-footer,
.tcp-site-footer * {
  box-sizing: border-box;
}

.tcp-site-footer {
  --tcp-footer-bg: #092a45;
  --tcp-footer-panel: #123c5a;
  --tcp-footer-line: rgba(217, 231, 239, 0.28);
  --tcp-footer-muted: #d9e7ef;
  --tcp-footer-accent: #fdbe57;
  width: 100%;
  max-width: none;
  margin: 0;
  clear: both;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4rem) 2rem;
  border: 0;
  background: var(--tcp-footer-bg);
  color: #fff;
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

.tcp-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  width: min(100%, 1280px);
  margin-inline: auto;
}

.tcp-site-footer__identity,
.tcp-site-footer__projects {
  min-width: 0;
}

.tcp-site-footer__brand {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

.tcp-site-footer__brand img {
  display: block;
  width: clamp(145px, 17vw, 190px);
  max-width: 100%;
  height: auto;
}

.tcp-site-footer address {
  margin: 2rem 0 1.1rem;
  color: var(--tcp-footer-muted);
  font-style: normal;
}

.tcp-site-footer__phone {
  display: inline-block;
  color: var(--tcp-footer-accent);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.tcp-site-footer__phone:hover,
.tcp-site-footer__phone:focus-visible {
  color: #fff;
}

.tcp-site-footer__projects h2 {
  max-width: 25ch;
  margin: 0 0 1.35rem;
  color: #fff;
  font: 700 clamp(1.5rem, 2.4vw, 2.25rem) / 1.08 Arial, Helvetica, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.tcp-site-footer__logo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tcp-site-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--tcp-footer-line);
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.tcp-site-footer__logo:hover {
  border-color: var(--tcp-footer-accent);
  transform: translateY(-2px);
}

.tcp-site-footer__logo--health,
.tcp-site-footer__logo--safe {
  background: var(--tcp-footer-panel);
}

.tcp-site-footer__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.tcp-site-footer__seal-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.tcp-site-footer__seal {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid var(--tcp-footer-line);
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.tcp-site-footer__seal:hover {
  border-color: var(--tcp-footer-accent);
  transform: translateY(-2px);
}

.tcp-site-footer__seal img {
  display: block;
  width: 108px;
  max-width: 100%;
  height: auto;
  padding: 0.6rem 0.7rem;
}

.tcp-site-footer a:focus-visible {
  outline: 3px solid var(--tcp-footer-accent);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .tcp-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .tcp-site-footer__projects h2 {
    max-width: 30ch;
  }
}

@media (max-width: 520px) {
  .tcp-site-footer {
    padding: 2.75rem 15px 1.75rem;
  }

  .tcp-site-footer address {
    margin-top: 1.5rem;
  }

  .tcp-site-footer__logo-list {
    grid-template-columns: 1fr;
  }

  .tcp-site-footer__logo {
    min-height: 84px;
  }

  .tcp-site-footer__logo img {
    max-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcp-site-footer__logo,
  .tcp-site-footer__seal {
    transition: none;
  }

  .tcp-site-footer__logo:hover,
  .tcp-site-footer__seal:hover {
    transform: none;
  }
}
