/* Regression guard: keep layout fixes scoped and calm. */
html,
body,
#root {
  overflow-x: hidden;
}

footer {
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(44px, 6vw, 68px) 0 clamp(22px, 3vw, 28px) !important;
  display: block !important;
}

footer > div,
footer section,
footer .grid {
  height: auto !important;
  min-height: 0 !important;
}

footer .grid {
  align-items: start;
  gap: 18px !important;
  grid-auto-rows: auto !important;
}

footer :is(a, p, span, li) {
  overflow-wrap: break-word;
}

footer :is(.h-full, .min-h-screen, .min-h-\[100dvh\]) {
  height: auto !important;
  min-height: 0 !important;
}

footer :is(.mt-12, .mt-8) {
  margin-top: 18px !important;
}

footer :is(.pt-8, .pt-6) {
  padding-top: 14px !important;
}

footer :is(.space-y-5, .space-y-3) > :not([hidden]) ~ :not([hidden]) {
  margin-top: 10px !important;
}

.lt-clean-footer {
  position: relative;
  background: linear-gradient(180deg, #121212 0%, #0f0f0f 100%);
  color: #fafaf8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lt-clean-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 0, 26, 0.45) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.lt-clean-footer__inner {
  width: min(1440px, calc(100% - clamp(24px, 4vw, 48px)));
  margin: 0 auto;
  padding: 0 !important;
}

.lt-clean-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  align-items: start;
}

.lt-clean-footer__logo-link {
  display: block;
  line-height: 0;
}

.lt-clean-footer__logo {
  width: 108px;
  height: auto;
  filter: brightness(0) invert(1);
}

.lt-clean-footer p,
.lt-clean-footer li,
.lt-clean-footer a {
  font-size: 14px;
  line-height: 1.55;
}

.lt-clean-footer p {
  margin: 0;
}

.lt-clean-footer a {
  color: rgba(250, 250, 248, 0.82);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.lt-clean-footer a:hover {
  color: #fff;
}

.lt-clean-footer__heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.42);
}

.lt-clean-footer__tagline {
  max-width: 26ch;
  margin: 0;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: rgba(250, 250, 248, 0.52) !important;
}

.lt-footer-sep {
  margin: 0 0.35em;
  color: rgba(250, 250, 248, 0.28);
  user-select: none;
}

.lt-phone-line,
.lt-block-line {
  display: inline;
  width: auto;
}

.lt-phone-stack {
  display: grid !important;
  gap: 3px;
}

.lt-phone-stack__line {
  display: block;
}

.lt-clean-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.lt-clean-footer__social {
  display: flex;
  gap: 6px;
}

.lt-clean-footer__social a {
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(250, 250, 248, 0.75);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lt-clean-footer__social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.lt-clean-footer__social svg,
.lt-footer-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  overflow: visible;
}

.lt-clean-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lt-clean-footer__nav a {
  display: inline-block;
  padding: 1px 0;
}

.lt-clean-footer__nav a:hover {
  color: #fff;
}

.lt-clean-footer__contact-list {
  display: grid;
  gap: 9px;
}

.lt-clean-footer__contact-link {
  display: inline-block;
  width: fit-content;
  padding: 0 !important;
}

.lt-clean-footer__contact-link:hover {
  color: #fff;
}

.lt-clean-footer__address {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250, 250, 248, 0.46);
}

.lt-contact-fix__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.46);
}

.lt-clean-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(16px, 2.5vw, 22px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lt-clean-footer__bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(250, 250, 248, 0.4);
}

.lt-clean-footer__bottom-meta {
  color: rgba(250, 250, 248, 0.34) !important;
}

.lt-contact-fix {
  display: grid;
  gap: 14px;
}

.lt-contact-fix__group {
  display: grid;
  gap: 4px;
}

.lt-contact-fix__label {
  color: rgba(255, 255, 255, 0.54);
}

.lt-contact-fix a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-cta {
  display: none !important;
}

.reference-sector-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.reference-sector-card__media {
  height: 164px;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  background: var(--color-surface-2);
}

.reference-sector-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-sector-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 20px;
}

@media (max-width: 640px) {
  .reference-sector-card {
    min-height: 232px;
  }

  .reference-sector-card__media {
    height: 138px;
  }

  .reference-sector-card__body {
    padding: 15px 16px 17px;
  }

  footer {
    padding: 36px 0 20px !important;
  }

  .lt-clean-footer__inner {
    width: min(100% - 24px, 1440px);
    padding: 0 !important;
  }

  .lt-clean-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .lt-clean-footer__brand {
    padding-bottom: 4px;
  }

  .lt-clean-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    padding-top: 16px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .lt-clean-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .lt-clean-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .lt-clean-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
  }

  .lt-clean-footer__brand {
    grid-column: 1 / -1;
    max-width: 36ch;
  }
}
