/* Typewriter */
.typewriter-cursor {
  display: inline-block;
  animation: blink 0.7s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.site-blocks-cover h1 {
  min-height: 2.4em;
  line-height: 1.2;
}
.site-blocks-cover h1 strong {
  white-space: nowrap;
}

/* Product gallery */
.gallery-img-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-img {
  max-height: 200px;
  width: auto;
  transition: transform 0.3s ease;
}
.gallery-img:hover {
  transform: scale(1.08);
}

/* Sticky transparent header */
.site-navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.site-navbar-wrap.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Shrink top bar on scroll */
.site-navbar-top {
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
}
.navbar-scrolled .site-navbar-top {
  max-height: 0;
  padding: 0 !important;
  opacity: 0;
}

/* Shrink main navbar padding and logo on scroll */
.site-navbar {
  transition: padding 0.35s ease;
}
.navbar-scrolled .site-navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.site-logo {
  transition: font-size 0.35s ease;
}
.navbar-scrolled .site-logo {
  font-size: 1rem;
}

/* Material Symbols stat icons */
.stat-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 56px;
  color: #e85e26;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
  user-select: none;
}

/* Machine brand logos */
.machine-logo {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.machine-logo:hover {
  transform: scale(1.2);
  opacity: 1 !important;
}

/* Service cards */
.service-card {
  border-radius: 6px;
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
}
@keyframes card-glow {
  0%   { box-shadow: 0 0 0px rgba(232, 94, 38, 0); background-color: transparent; }
  40%  { box-shadow: 0 0 50px rgba(232, 94, 38, 0.55); background-color: #fff; }
  100% { box-shadow: 0 0 16px rgba(232, 94, 38, 0.15); background-color: #fff; }
}
.service-card.glow {
  animation: card-glow 3s ease forwards;
}
