/* Site footer — same container width as header/body (gutter on outer, 1280px inner) */

.site-footer {
  position: relative;
  background: #0f1110;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-left: 64px;
    padding-right: 64px;
  }
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 100% 0%, rgba(247, 175, 40, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding-top: 5.5rem;
  }
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer__logo-wrap {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-bottom: 1.5rem;
  line-height: 0;
}

.site-footer__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 256px;
  object-fit: contain;
  object-position: left 44%;
  transform: translateY(-5px);
}

@media (min-width: 1024px) {
  .site-footer__logo {
    height: 44px;
    transform: translateY(-6px);
  }
}

.site-footer__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.75rem;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.site-footer__contact a,
.site-footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.site-footer__contact a:hover {
  color: #f7af28;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-footer__social a:hover {
  color: #f7af28;
  border-color: rgba(247, 175, 40, 0.45);
  background: rgba(247, 175, 40, 0.08);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-footer__social--inline {
  margin-top: 0;
}

.site-footer__contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f7af28;
}

.site-footer__contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.site-footer__contact-icon .material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-size: 1.125rem;
  line-height: 1;
  color: #f7af28;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.site-footer__heading {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f7af28;
  margin-bottom: 1.25rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.site-footer__links a:hover {
  color: #ffffff;
  padding-left: 0.25rem;
}

.site-footer__locations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__location {
  padding-left: 0.875rem;
  border-left: 2px solid rgba(247, 175, 40, 0.5);
}

.site-footer__location strong {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.site-footer__location span {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__hours {
  margin-top: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__hours strong {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.site-footer__standards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__standards-label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 0.5rem;
}

.site-footer__standard {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 0 2rem;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .site-footer__social--inline {
    margin-left: auto;
    margin-right: 1.5rem;
  }
}

.site-footer__copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.site-footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7af28;
  transition: gap 0.25s ease, color 0.25s ease;
}

.site-footer__back-top:hover {
  color: #ffdf94;
  gap: 0.65rem;
}

.site-footer__back-top .material-symbols-outlined {
  font-size: 1rem;
}

/* Compact footer — inner pages (no testing services / standards) */
.site-footer--compact .site-footer__inner {
  padding-top: 2.75rem;
}

@media (min-width: 768px) {
  .site-footer--compact .site-footer__inner {
    padding-top: 3rem;
  }

  .site-footer--compact .site-footer__top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
}

.site-footer--compact .site-footer__top {
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer--compact .site-footer__logo-wrap {
  margin-bottom: 1rem;
}

.site-footer--compact .site-footer__tagline {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.site-footer--compact .site-footer__heading {
  margin-bottom: 1rem;
}

.site-footer--compact .site-footer__links {
  gap: 0.625rem;
}

.site-footer--compact .site-footer__bottom {
  padding: 1.25rem 0 1.5rem;
}
