:root {
  --color-ink: #2d3748;
  --color-slate: #4a5568;
  --color-accent: #48bb78;
  --color-accent-dark: #2f855a;
  --color-mist: #edf2f7;
  --color-cloud: #f7fafc;
  --color-border: rgba(74, 85, 104, 0.16);
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(27, 39, 52, 0.12);
  --shadow-strong: 0 22px 50px rgba(18, 25, 37, 0.18);
  --radius-lg: 24px;
  --radius-md: 18px;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--color-slate);
  background:
    radial-gradient(circle at top left, rgba(72, 187, 120, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fbfd 0%, #edf2f7 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.site-shell { overflow: clip; }

.topbar {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  padding: 0.6rem 0;
}
.topbar a:hover { color: var(--color-white); }

.site-header .navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.navbar-brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 160px;
  height: auto;
  display: block;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: linear-gradient(145deg, var(--color-ink), var(--color-slate));
}

.brand-copy strong, .footer-brand strong {
  display: block;
  color: var(--color-ink);
  font-family: "Barlow", sans-serif;
  letter-spacing: 0.04em;
}
.brand-copy small, .footer-brand small {
  display: block;
  color: #718096;
}

.nav-link {
  color: var(--color-ink);
  font-weight: 700;
  position: relative;
}
.nav-link.active, .nav-link:hover, .dropdown-item.active, .dropdown-item:hover {
  color: var(--color-accent-dark);
}
.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
}
.dropdown-menu {
  border: 1px solid rgba(45, 55, 72, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0.75rem;
}
.dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.65rem 0.8rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-brand {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  border: none;
  box-shadow: 0 16px 30px rgba(72, 187, 120, 0.24);
}
.btn-brand:hover, .btn-brand:focus {
  color: var(--color-white);
  box-shadow: 0 18px 34px rgba(72, 187, 120, 0.3);
}
.btn-outline-brand, .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}
.btn-outline-brand {
  border-color: rgba(72, 187, 120, 0.35);
  color: var(--color-accent-dark);
}
.btn-outline-brand:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(45, 55, 72, 0.96), rgba(53, 63, 82, 0.92)),
    linear-gradient(160deg, rgba(72, 187, 120, 0.15), transparent 40%);
}
.hero-subpage { padding-bottom: 4rem; }
.hero-fine {
  background:
    linear-gradient(135deg, rgba(38, 56, 73, 0.96), rgba(45, 55, 72, 0.9)),
    linear-gradient(160deg, rgba(72, 187, 120, 0.18), transparent 45%);
}
.hero-hepa {
  background:
    linear-gradient(135deg, rgba(32, 43, 58, 0.98), rgba(45, 55, 72, 0.94)),
    linear-gradient(160deg, rgba(72, 187, 120, 0.12), transparent 45%);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(72, 187, 120, 0.22), transparent 22%),
    radial-gradient(circle at 12% 75%, rgba(255, 255, 255, 0.08), transparent 20%);
}

.breadcrumb-wrap { margin-bottom: 2rem; }
.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  display: inline-flex;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }

.hero-copy h1, .section-heading h2, .contact-band h2, .related-strip h2 {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  line-height: 1.02;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin-bottom: 1.2rem;
  max-width: 12ch;
}
.hero-copy p, .section-heading p {
  font-size: 1.07rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}
.section-heading { max-width: 820px; margin-bottom: 2.5rem; }
.section-heading h2 {
  color: var(--color-ink);
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 1rem;
}
.section-dark .section-heading h2, .section-accent .section-heading h2 { color: var(--color-white); }
.section-dark .section-heading p, .section-accent .section-heading p { color: rgba(255, 255, 255, 0.8); }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions, .hero-badges, .product-meta, .contact-stack, .application-grid, .contact-band-actions, .related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-actions { margin: 2rem 0; }
.hero-badges span, .cert-badge, .pill, .application-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.hero-badges span { background: rgba(255, 255, 255, 0.09); }
.pill { background: rgba(72, 187, 120, 0.12); color: var(--color-accent-dark); }
.cert-badge { background: rgba(45, 55, 72, 0.08); color: var(--color-ink); }

.hero-panel, .quote-form, .contact-band, .related-strip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}
.stat-card {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-card strong, .hero-grid strong { display: block; font-size: 1.15rem; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.hero-grid div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}
.hero-grid span { display: block; margin-bottom: 0.45rem; color: rgba(255, 255, 255, 0.68); }

.section-pad { padding: 5rem 0; }
.section-dark {
  background:
    linear-gradient(180deg, rgba(45, 55, 72, 0.98), rgba(37, 45, 61, 1)),
    linear-gradient(145deg, rgba(72, 187, 120, 0.06), transparent);
}
.section-accent {
  background:
    linear-gradient(135deg, rgba(47, 133, 90, 0.94), rgba(35, 97, 66, 0.96)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent);
  color: var(--color-white);
}

.feature-card, .category-card, .info-tile, .product-card {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover, .category-card:hover, .info-tile:hover, .product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(72, 187, 120, 0.28);
}
.feature-card, .info-tile { padding: 2rem; }
.feature-card i {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  box-shadow: 0 12px 24px rgba(72, 187, 120, 0.25);
}
.feature-card h3, .category-card h3, .product-card h3, .info-tile h3, .site-footer h3 {
  font-family: "Barlow", sans-serif;
  color: var(--color-ink);
  font-weight: 800;
}

.category-visual { min-height: 230px; background-size: cover; background-position: center; }
.visual-gross { background: linear-gradient(135deg, rgba(45, 55, 72, 0.2), rgba(72, 187, 120, 0.22)), url("../images/filter-roll-synthetic.svg") center/cover no-repeat; }
.visual-fine { background: linear-gradient(135deg, rgba(45, 55, 72, 0.18), rgba(72, 187, 120, 0.18)), url("../images/filter-vcompact.svg") center/cover no-repeat; }
.visual-hepa { background: linear-gradient(135deg, rgba(45, 55, 72, 0.22), rgba(72, 187, 120, 0.12)), url("../images/filter-hepa-h13.svg") center/cover no-repeat; }
.category-body, .product-card-body { padding: 1.6rem; }

.category-list, .spec-list, .footer-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.category-list li, .spec-list li, .footer-links li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
}
.category-list li::before, .spec-list li::before, .footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.product-card { background: rgba(255, 255, 255, 0.96); }
.product-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.08), rgba(72, 187, 120, 0.18));
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.application-chip {
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-ink);
  border: 1px solid rgba(72, 187, 120, 0.18);
  box-shadow: 0 10px 20px rgba(25, 35, 48, 0.06);
}

.quote-form {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.24);
}
.form-label { font-weight: 700; color: var(--color-ink); }
.form-control, .form-select {
  min-height: 3.35rem;
  border-radius: 16px;
  border: 1px solid rgba(45, 55, 72, 0.12);
  padding: 0.85rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(72, 187, 120, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(72, 187, 120, 0.15);
}
textarea.form-control { min-height: 150px; }
.form-meta { color: rgba(255, 255, 255, 0.86); }
.form-alert {
  display: none;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-weight: 700;
}
.form-alert.is-visible { display: block; }
.form-alert.success { color: #155724; background: #d4edda; }
.form-alert.error { color: #721c24; background: #f8d7da; }
.contact-stack div {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-band, .related-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(45, 55, 72, 0.08);
}
.related-strip h2, .contact-band h2 { color: var(--color-ink); margin-bottom: 0; }

.site-footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.74);
  background: #1e2633;
}
.site-footer p, .site-footer h3 { color: var(--color-white); }
.footer-links a:hover { color: var(--color-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content { border: none; border-radius: 24px; overflow: hidden; }
.modal-header, .modal-body { padding: 1.5rem; }
.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.modal-grid div {
  padding: 1rem;
  border-radius: 16px;
  background: var(--color-cloud);
}
.modal-grid strong, .modal-copy strong {
  display: block;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (max-width: 1199.98px) {
  .navbar-collapse { padding: 1rem 0 1.25rem; }
  .nav-link.active::after, .nav-link:hover::after { display: none; }
}
@media (max-width: 991.98px) {
  .hero-copy h1 { max-width: none; }
  .contact-band, .related-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .topbar { display: none; }
  .hero-section, .section-pad { padding: 3.75rem 0; }
  .hero-grid, .modal-grid { grid-template-columns: 1fr; }
  .hero-actions, .card-actions, .contact-band-actions, .related-links { width: 100%; }
  .hero-actions .btn, .card-actions .btn, .contact-band-actions .btn, .related-links .btn, .quote-form .btn-brand { width: 100%; }
  .brand-copy small, .footer-brand small { font-size: 0.8rem; }
  .brand-logo { width: 126px; }
}
