/* A. Rehman & Sons — B2B industrial hygiene (Ecolab-tier layout, catalog brand accents) */
:root {
  --navy: #003366;
  --blue: #0066b3;
  --blue-light: #0085ca;
  --teal: #00a3a1;
  --accent: #a83279;
  --accent-light: #c44d94;
  --white: #ffffff;
  --off-white: #f4f7fa;
  --gray-50: #f8fafc;
  --gray-100: #eef2f6;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --border: #dde4ec;
  --shadow-sm: 0 1px 3px rgba(0, 51, 102, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 51, 102, 0.1);
  --radius: 6px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* Top bar — trust signals like Ecolab */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 0.4rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.top-bar span { opacity: 0.9; }

.top-bar a { color: #7dd3fc; font-weight: 500; }
.top-bar a:hover { color: var(--white); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover { text-decoration: none; opacity: 0.92; }

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.68rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--gray-800);
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--blue);
  background: var(--gray-50);
  text-decoration: none;
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
}

.nav-mobile-toggle { display: none; }

/* Hero — corporate B2B */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #004080 50%, var(--blue) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(0,163,161,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd3fc;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stats div strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stats div span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-top: 0.25rem;
  display: block;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 0.65rem;
  backdrop-filter: blur(6px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-visual:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.hero-visual img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  display: block;
}

/* Cert strip — immediate credibility */
.cert-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.cert-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cert-strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.cert-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }

.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: var(--gray-100); color: var(--navy); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--gray-50); }

.btn-whatsapp { background: #128c41; color: var(--white); }
.btn-whatsapp:hover { background: #0e7335; color: var(--white); }

.btn-download { background: var(--teal); color: var(--white); }
.btn-download:hover { background: #008584; color: var(--white); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Sections */
section { padding: 4rem 0; }

.section-head {
  margin-bottom: 2.5rem;
}

.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--gray-600);
  max-width: 640px;
  font-size: 1rem;
}

/* Industries — Ecolab-style sectors */
.industries-section { background: var(--white); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.industry-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.industry-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}

.industry-card svg {
  width: 36px;
  height: 36px;
  color: var(--blue);
  margin: 0 auto 0.75rem;
}

.industry-card h3 {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
}

/* About */
.about-section { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--teal);
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.about-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.925rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Catalog download banner */
.catalog-banner {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}

.catalog-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.catalog-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.catalog-banner p {
  opacity: 0.85;
  font-size: 0.95rem;
  max-width: 520px;
}

.catalog-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Certificates */
.certificates-section { background: var(--white); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.cert-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  border-top: 3px solid var(--blue);
}

.cert-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.cert-card span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.cert-image {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Clients — logo wall */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-height: 140px;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.client-logo-card__img {
  height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-card__img img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.client-logo-card:hover .client-logo-card__img img {
  filter: grayscale(0%);
}

.client-logo-card__text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.3;
}

.client-logo-card__text span {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
  line-height: 1.35;
}

/* Certificates — 4 cards */
#certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.certificate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.certificate-card:hover {
  box-shadow: var(--shadow-md);
}

.certificate-card__frame {
  background: var(--gray-50);
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-card__frame img {
  max-height: 200px;
  width: 100%;
  object-fit: contain;
}

.certificate-card__info {
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.certificate-card__info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.certificate-card__info span {
  font-size: 0.72rem;
  color: var(--gray-400);
  line-height: 1.35;
}

.cert-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

.cert-note code {
  background: var(--gray-100);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.75rem;
}

/* Products — gallon image */
.product-card__image {
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f1f5f9 100%);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  position: relative;
}

.product-card__image img,
.product-mockup-img {
  height: 384px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.14));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.product-card:hover .product-mockup-img,
.product-card:hover .product-card__image img {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.2));
}

.product-card__image .gallon-svg {
  height: 384px;
  width: auto;
  max-width: 100%;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.clients-section { background: var(--off-white); }

/* Products */
.products-section { background: var(--white); }

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.15s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card[data-category="laundry"] { border-top-color: var(--blue); }
.product-card[data-category="spotting"] { border-top-color: var(--accent); }
.product-card[data-category="stewarding"] { border-top-color: var(--teal); }
.product-card[data-category="housekeeping"] { border-top-color: var(--navy); }

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  border-color: var(--blue-light);
}

.product-card:hover .gallon-svg {
  transform: translateY(-2px) scale(1.02);
}

.product-card__cat {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-weight: 700;
}

.product-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.35;
  font-weight: 600;
}

.product-card__desc {
  font-size: 0.84rem;
  flex: 1;
  color: var(--gray-600);
}

.product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.pack-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-800);
}

.pack-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.35rem 1.6rem 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--navy);
  background-color: var(--white);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23003366' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 10px 7px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pack-select:hover { border-color: var(--blue-light); }

.pack-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.12);
}

.qty-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-800);
}

.qty-input {
  width: 60px;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  font-size: 0.875rem;
}

/* Order */
.order-section { background: var(--off-white); }

.order-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.order-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.order-form h3 {
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,179,0.12);
}

.form-group textarea { resize: vertical; min-height: 88px; }

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.order-info {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 2rem;
  border-radius: var(--radius);
}

.order-info h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.order-info ol {
  padding-left: 1.2rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.order-info li { margin-bottom: 0.5rem; }

.order-info .contact-block {
  background: rgba(255,255,255,0.08);
  padding: 1.15rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.order-info .contact-block p { margin-bottom: 0.4rem; }
.order-info a { color: #7dd3fc; }
.order-info a:hover { color: var(--white); }

/* Footer */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.25rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--white); }

.footer-grid p { margin-bottom: 0.35rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.65;
}

/* Cart summary */
.cart-summary {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 120%);
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 98;
  opacity: 0;
  max-width: min(90vw, 380px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.cart-summary--visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cart-summary:hover { background: var(--blue); }

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #128c41;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(18,140,65,0.45);
  z-index: 99;
  text-decoration: none;
  transition: transform 0.2s;
}

.fab-whatsapp:hover { transform: scale(1.06); text-decoration: none; }

.fab-whatsapp svg { width: 26px; height: 26px; fill: white; }

/* Responsive */
@media (max-width: 1024px) {
  .industries-grid,
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  #certificates-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-grid,
  .about-grid,
  .order-grid { grid-template-columns: 1fr; }

  .industries-grid,
  .cert-grid,
  #certificates-grid { grid-template-columns: repeat(2, 1fr); }

  .nav { display: none; }

  .nav-mobile-toggle {
    display: block;
    background: none;
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.1rem;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .header-inner { position: relative; flex-wrap: wrap; }

  .catalog-banner-inner { flex-direction: column; text-align: center; }
  .catalog-banner-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industries-grid,
  .cert-grid,
  #certificates-grid { grid-template-columns: 1fr; }

  .brand-logo { height: 48px; }
  .brand-text h1 { font-size: 0.95rem; }
  .brand-text p { display: none; }

  .cart-summary {
    left: 1rem;
    right: 4.5rem;
    transform: translateY(120%);
    max-width: none;
    width: auto;
  }
  .cart-summary--visible { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   MULTI-PAGE ARCHITECTURE STYLES
   ========================================================================== */

/* Active navigation link */
.nav a.active {
  color: var(--blue-light);
  font-weight: 700;
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
}

/* Page hero banner */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--blue) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb span {
  opacity: 0.5;
}

.page-banner h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

/* Live Search Bar */
.product-search-bar {
  position: relative;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.product-search-bar input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-search-bar input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.15);
}

.product-search-bar svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--gray-400);
  pointer-events: none;
}

/* Search results counter */
.search-count {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-left: auto;
  align-self: center;
}

/* Catalog Gallery Grid for catalog.html */
.catalog-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.catalog-page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.catalog-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.catalog-page-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--border);
}

.catalog-page-card span {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  background: var(--off-white);
}

/* Order Cart Table in order.html */
.order-cart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.cart-table th {
  background: var(--off-white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
}

.cart-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}

.cart-table tr:hover {
  background: #fafcff;
}

.cart-table .btn-remove-item {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.cart-table .btn-remove-item:hover {
  background: #fee2e2;
}

.empty-cart-message {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--gray-600);
}

.empty-cart-message p {
  margin-bottom: 1rem;
}

/* Contact Cards in contact.html */
.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-card-box__icon {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-box__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
}

.contact-card-box__content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.contact-card-box__content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.contact-map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  box-shadow: var(--shadow-sm);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* Image Zoom Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  max-height: 90vh;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.lightbox-header h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--navy);
}

.lightbox-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.lightbox-close:hover {
  color: var(--navy);
  background: var(--off-white);
}

.lightbox-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.lightbox-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .page-banner { padding: 2.5rem 0 2rem; }
  .page-banner h1 { font-size: 1.8rem; }
  .contact-grid-wrapper { grid-template-columns: 1fr; }
  .cart-table th, .cart-table td { padding: 0.6rem 0.5rem; font-size: 0.8rem; }
}

