:root {
  --c-blue: #0f3f7f;
  --c-deep: #0a2649;
  --c-charcoal: #1f2937;
  --c-muted: #6b7280;
  --c-bg: #f4f7fb;
  --c-white: #fff;
  --c-border: #dbe3ef;
}

body {
  font-family: "Cairo", sans-serif;
  color: var(--c-charcoal);
}

.sticky.fixed {
  background: rgba(8, 28, 56, 0.95) !important;
}

.page-main {
  background: var(--c-white);
}

.hero {
  position: relative;
  min-height: 58vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6, 23, 45, 0.85), rgba(14, 54, 108, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 130px;
  padding-bottom: 70px;
}

.hero-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  color: #dbeafe;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 48px;
  line-height: 1.1;
}

.hero p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  color: #f1f6ff;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--c-bg);
}

.filter-strip {
  background: var(--c-bg);
  padding: 26px 0;
}

.filter-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
}

.filter-wrap input,
.filter-wrap select,
#contact-form input,
#contact-form textarea {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12, 34, 61, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(12, 34, 61, 0.15);
}

.product-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.product-content {
  padding: 18px;
}

.product-content h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.meta {
  color: var(--c-blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-content p {
  color: var(--c-muted);
  margin: 0;
}

.hover-panel {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--c-border);
}

.hover-panel a {
  display: inline-block;
  margin-top: 8px;
  color: var(--c-blue);
  font-weight: 700;
}

.no-results {
  margin-top: 18px;
  color: #b91c1c;
  font-weight: 700;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.simple-footer {
  background: #0b1b34;
  color: #c9d5ea;
  padding: 16px 0;
  text-align: center;
}

.simple-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .product-grid,
  .filter-wrap {
    grid-template-columns: 1fr;
  }
}

.hero-lab { background-image: url("../img/lab-chemicals-banner.jpg"); }
.sticky-filter { position: sticky; top: 56px; z-index: 4; }
.brand-head { margin-bottom: 18px; }
.brand-head h2 { margin: 0 0 6px; }
