/* EcoSafe Now — site polish */

.eco-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  line-height: 1.2;
}

.eco-brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: #1c2e24;
  white-space: nowrap;
}

.eco-brand-tag {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  color: #7a8780;
  white-space: nowrap;
  padding-left: 0.7rem;
  border-left: 1px solid #d2dad5;
}

#top .navbar-brand.logo {
  margin-right: 0.45rem !important;
  padding: 0.35rem 0.15rem !important;
}

#top .navbar-brand.logo img {
  width: 40px;
  height: 40px;
  max-height: 40px;
  object-fit: contain;
  border-radius: 0;
}

#top .top_menu > .nav-item > .nav-link {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#top_menu_collapse_mobile .eco-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

#top_menu_collapse_mobile .eco-brand-name {
  font-size: 1.15rem;
}

#top_menu_collapse_mobile .eco-brand-tag {
  padding-left: 0;
  border-left: 0;
  font-size: 0.85rem;
}

.eco-materials-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.eco-materials-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: eco-marquee 55s linear infinite;
}

.eco-materials-track span {
  flex: 0 0 auto;
  padding: 0 1.25rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.eco-materials-track span + span::before {
  content: "·";
  margin-right: 1.25rem;
  opacity: 0.45;
}

@keyframes eco-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .eco-materials-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 0.75rem;
  }
  .eco-materials-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.eco-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.eco-footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 0;
}

.eco-footer-wordmark {
  display: block;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #1c2e24;
  text-decoration: none;
}
