/*
Theme Name: Pro-Tec Construction Chemicals
Theme URI: https://www.pro-tecjo.com/
Author: Antigravity IDE
Author URI: https://github.com/
Description: Custom highly-optimized SPA theme for Pro-Tec Construction Chemicals.
Version: 1.0.0
Text Domain: protec
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #e87a25;
  --red-dark: #c46318;
  --red-light: #f29852;
  --yellow: #FCD116;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0; text-decoration: none; cursor: pointer; flex-shrink: 0; }
.logo svg, .logo img { flex-shrink: 0; }
nav .menu { display: flex; align-items: center; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
nav .menu > li { position: relative; }
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  display: block;
}
nav a:hover, nav a.active { color: var(--red-light); border-bottom-color: var(--red); }
nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 100;
}
nav .menu-item-has-children:hover > .sub-menu { display: block; }
nav .sub-menu li { position: relative; }
nav .sub-menu a {
  padding: 0.5rem 1rem;
  border-bottom: none;
  font-size: 0.8rem;
}
nav .sub-menu a:hover {
  background: var(--slate-50);
  color: var(--red);
  border-bottom: none;
}
nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}
.header-actions { display: flex; align-items: center; gap: 1rem; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  gap: 0.5rem;
  width: 220px;
  transition: border-color 0.15s;
}
.search-box:focus-within { border-color: var(--slate-400); }
.search-box input { background: none; border: none; outline: none; font-size: 0.875rem; color: var(--slate-800); width: 100%; }
.search-box input::placeholder { color: var(--slate-400); }
.btn-primary {
  background: var(--red);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
}
.btn-primary:hover { background: var(--red-dark); transform: scale(1.02); }
.btn-secondary {
  background: white;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
}
.btn-secondary:hover { background: var(--slate-100); border-color: var(--slate-400); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-nav { display: none; }

/* ===== SPA PAGES ===== */
section.page { display: none; flex: 1; }
section.page.active { display: flex; flex-direction: column; animation: fade-in 0.4s ease; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
  padding: 3rem 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1200&q=80');
  background-size: cover;
  background-position: right center;
  opacity: 0.12;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(248,250,252,1) 40%, rgba(248,250,252,0.5) 70%, transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-text { max-width: 600px; }
.hero-badge {
  display: inline-block;
  background: #fef2f2;
  color: var(--red);
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 0.35rem 0.875rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--red-light); }
.hero p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-metric {
  display: none;
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 1.5rem;
  min-width: 280px;
  box-shadow: var(--shadow-xl);
  z-index: 20;
}
@media(min-width:1024px) { .hero-metric { display: block; } }
.metric-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.metric-label { font-size: 0.65rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.1em; }
.metric-value { font-size: 2rem; font-weight: 900; color: var(--slate-900); margin-top: 0.25rem; }
.metric-value span { font-size: 0.875rem; font-weight: 500; color: var(--slate-500); display: block; margin-top: 0.1rem; }
.metric-divider { height: 1px; background: var(--slate-100); margin: 0.75rem 0; }
.metric-note { font-size: 0.65rem; color: var(--slate-500); line-height: 1.5; }

/* ===== SOLUTIONS / SECTION HEADERS ===== */
.section { padding: 5rem 0; }
.section-alt { background: white; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-header { margin-bottom: 2.5rem; }
.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.section-subtitle { font-size: 0.875rem; color: var(--slate-500); line-height: 1.6; max-width: 500px; }
.link-arrow { font-size: 0.7rem; font-weight: 700; color: var(--red-light); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; color: var(--red-dark); }

/* ===== BENTO GRID ===== */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento-card {
  background: rgba(248,250,252,0.8);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  justify-content: space-between;
  min-height: 280px;
}
.bento-card:hover { background: white; box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: rgba(232,122,37,0.3); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card .top-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.bento-icon {
  width: 52px; height: 52px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.bento-card:hover .bento-icon { border-color: #fecaca; }
.bento-badge {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}
.bento-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; }
.bento-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; transition: color 0.2s; }
.bento-card:hover h3 { color: var(--red-light); }
.bento-card p { font-size: 0.875rem; color: var(--slate-600); line-height: 1.6; margin-bottom: 1.5rem; }
.bento-checks { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--slate-200); }
.check-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; color: var(--slate-500); line-height: 1.5; }
.check-item svg { flex-shrink: 0; margin-top: 0.15rem; }
.check-item strong { color: var(--slate-700); }
.bento-arrow { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 700; color: var(--red-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2rem; transition: transform 0.2s; }
.bento-card:hover .bento-arrow { transform: translateX(4px); }

/* ===== SPEC MATRIX ===== */
.matrix-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.matrix-table {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.matrix-header {
  background: var(--slate-50);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.matrix-header-label { font-size: 0.7rem; font-weight: 700; color: var(--slate-800); text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.5rem; }
.matrix-header-version { font-size: 0.65rem; color: var(--slate-400); font-family: monospace; }
.matrix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.1s;
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row:hover { background: rgba(248,250,252,0.5); }
.matrix-name { display: flex; align-items: center; gap: 0.75rem; flex: 1; }
.matrix-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.matrix-dot.active { background: var(--red); }
.matrix-dot.inactive { background: var(--slate-400); }
.matrix-product-name { font-size: 0.875rem; font-weight: 600; color: var(--slate-800); }
.matrix-category { font-size: 0.75rem; color: var(--slate-500); flex: 1; text-align: right; padding: 0 1rem; }
.matrix-pdf-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s, transform 0.1s;
  min-width: 40px;
  justify-content: flex-end;
}
.matrix-pdf-link:hover { color: var(--red-dark); transform: scale(1.05); }
.matrix-info { }
.matrix-info h2 { font-size: 1.75rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.75rem; }
.matrix-info p { font-size: 0.875rem; color: var(--slate-600); line-height: 1.7; margin-bottom: 1.5rem; }
.alert-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 4px 4px 0;
  padding: 1rem;
}
.alert-box-title { font-size: 0.65rem; font-weight: 700; color: #92400e; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.alert-box p { font-size: 0.75rem; color: #b45309; line-height: 1.5; margin: 0; }

/* ===== PRODUCTS PAGE ===== */
.products-inner { max-width: 1280px; margin: 0 auto; padding: 2.5rem 2rem; width: 100%; }
.products-header { border-bottom: 1px solid var(--slate-200); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.products-header h1 { font-size: 2rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.products-header p { font-size: 0.875rem; color: var(--slate-600); max-width: 700px; line-height: 1.6; }
.products-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters-sidebar {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-sm);
}
.filters-title { font-size: 0.8rem; font-weight: 700; color: var(--slate-800); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--slate-200); display: flex; align-items: center; justify-content: space-between; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group-title { font-size: 0.65rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.filter-item { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.625rem; cursor: pointer; }
.filter-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }
.filter-item label { font-size: 0.8rem; color: var(--slate-600); cursor: pointer; transition: color 0.1s; }
.filter-item:hover label { color: var(--slate-900); }
.products-grid { display: flex; flex-direction: column; gap: 1.5rem; }

/* Featured product */
.product-featured {
  background: white;
  border-top: 2px solid var(--red);
  border-left: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  border-radius: 0 0 6px 6px;
  display: flex;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s;
}
.product-featured:hover { box-shadow: var(--shadow-lg); }
.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 1;
}
.featured-image-col {
  width: 35%;
  background: #ffffff;
  border-right: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.featured-image-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  transition: transform 0.3s ease;
}
.product-featured:hover .featured-image-bg { transform: scale(1.05); }
.featured-content { flex: 1; padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; }
.product-category-badge {
  display: inline-block;
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.product-name { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.product-desc { font-size: 0.8rem; color: var(--slate-600); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); padding: 0.75rem 0; margin: 1rem 0; }
.spec-item .spec-label { font-size: 0.6rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.1em; }
.spec-item .spec-value { font-size: 0.8rem; font-weight: 700; color: var(--slate-800); margin-top: 0.15rem; }
.spec-item:not(:first-child) { border-left: 1px solid var(--slate-200); padding-left: 1rem; }
.product-actions { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-end; }

/* Standard product cards */
.products-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.product-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(232,122,37,0.25); transform: translateY(-3px); }
.product-card-img {
  height: 260px;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-img-bg { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 1; transition: transform 0.3s ease; }
.product-card:hover .product-card-img-bg { transform: scale(1.05); }
.product-type-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--slate-200);
  color: var(--slate-600);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--slate-300);
}
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-card h4 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.4rem; }
.product-card p { font-size: 0.775rem; color: var(--slate-600); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; border-top: 1px solid var(--slate-200); padding-top: 0.75rem; margin-top: 1rem; }
.product-card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 0.75rem; border-top: 1px solid var(--slate-200); }
.btn-download { font-size: 0.7rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.3rem; cursor: pointer; background: none; border: none; transition: color 0.15s; }
.btn-download:hover { color: var(--slate-900); }
.btn-view { font-size: 0.7rem; font-weight: 700; color: var(--red-light); text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.2rem; cursor: pointer; background: none; border: none; transition: transform 0.1s; }
.btn-view:hover { transform: translateX(3px); color: var(--red-dark); }
.no-results { background: white; border: 1px solid var(--slate-200); border-radius: 6px; padding: 3rem; text-align: center; }
.no-results p { font-size: 0.875rem; color: var(--slate-500); margin-bottom: 1rem; }
.btn-reset { font-size: 0.75rem; font-weight: 700; color: var(--red-light); text-transform: uppercase; cursor: pointer; background: none; border: none; }
.btn-reset:hover { text-decoration: underline; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 1.5rem; border-top: 1px solid var(--slate-200); margin-top: 0.5rem; }
.btn-load-more { background: none; border: 1px solid var(--slate-200); color: var(--slate-600); padding: 0.6rem 1.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all 0.15s; }
.btn-load-more:hover { background: var(--slate-50); color: var(--slate-900); }

/* ===== PRODUCT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96);
  transition: transform 0.25s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.modal-header-label { font-size: 0.6rem; font-weight: 700; color: var(--red-light); text-transform: uppercase; letter-spacing: 0.1em; }
.modal-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--slate-900); margin-top: 0.2rem; }
.modal-close { background: none; border: none; color: var(--slate-400); cursor: pointer; padding: 0.375rem; border-radius: 50%; transition: all 0.15s; }
.modal-close:hover { background: var(--slate-100); color: var(--slate-800); }
.modal-img { height: 380px; flex-shrink: 0; width: 100%; background: #ffffff; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--slate-100); }
.modal-img img { width: 100%; height: 100%; object-fit: contain; opacity: 1; transition: transform 0.3s ease; }
.modal-img:hover img { transform: scale(1.03); }
.modal-img-overlay { display: none; }
.modal-img-badge { position: absolute; top: 1rem; left: 1.5rem; bottom: auto; background: var(--red); color: white; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.75rem; border-radius: 4px; z-index: 2; }
.modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.modal-section-title { font-size: 0.7rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.modal-description { font-size: 0.875rem; color: var(--slate-700); line-height: 1.7; }
.modal-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 4px; padding: 1rem; }
.modal-spec .modal-spec-label { font-size: 0.6rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.modal-spec .modal-spec-value { font-size: 0.875rem; font-weight: 700; color: var(--slate-800); display: block; margin-top: 0.2rem; }
.modal-footer {
  border-top: 1px solid var(--slate-200);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
}
.modal-footer-note { font-size: 0.6rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.1em; font-family: monospace; }

/* ===== ENGINEERING PAGE ===== */
.engineering-hero { background: var(--slate-50); padding: 4rem 0; border-bottom: 1px solid var(--slate-200); position: relative; overflow: hidden; }
.engineering-hero-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1565008447742-97f6f38c985c?w=1600&q=80'); background-size: cover; background-position: center; opacity: 0.14; }
.engineering-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(248,250,252,1) 30%, rgba(248,250,252,0.6) 65%, transparent); }
.engineering-hero .section-inner { position: relative; z-index: 2; }

/* Homepage teaser sections */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.teaser-card { display: block; text-decoration: none; color: inherit; background: white; border: 1px solid var(--slate-200); border-radius: 6px; overflow: hidden; transition: all 0.2s; }
.teaser-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.teaser-card-img { height: 170px; overflow: hidden; }
.teaser-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.teaser-card:hover .teaser-card-img img { transform: scale(1.06); }
.teaser-card-body { padding: 1.25rem 1.5rem; }
.teaser-category-badge { display: inline-block; background: var(--slate-100); color: var(--slate-600); border: 1px solid var(--slate-200); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; }
.teaser-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.4rem; line-height: 1.35; }
.teaser-card p { font-size: 0.78rem; color: var(--slate-500); line-height: 1.55; }
@media (max-width: 1024px) {
  .teaser-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .teaser-grid { grid-template-columns: 1fr; }
}
.engineering-hero .badge { display: inline-block; background: #fef2f2; color: var(--red); border: 1px solid #fecaca; border-radius: 4px; padding: 0.35rem 0.875rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.engineering-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--slate-900); line-height: 1.1; margin-bottom: 1rem; }
.engineering-hero h1 span { color: var(--red-light); }
.engineering-hero p { font-size: 0.9rem; color: var(--slate-600); line-height: 1.7; max-width: 700px; }
.stats-bar { background: var(--red); color: white; padding: 3rem 0; }
.stats-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-divider { border-left: 1px solid rgba(255,255,255,0.2); }
.stat-value { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.02em; }
.stat-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); margin-top: 0.4rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 6px; padding: 2rem; transition: all 0.2s; box-shadow: var(--shadow-sm); }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(232,122,37,0.25); }
.feature-icon { display: inline-flex; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 0.75rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.8rem; color: var(--slate-600); line-height: 1.6; }

/* ===== QUOTE PAGE ===== */
.quote-inner { max-width: 900px; margin: 0 auto; padding: 3rem 2rem; }
.quote-header { margin-bottom: 2.5rem; }
.quote-header h1 { font-size: 2rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.quote-header p { font-size: 0.875rem; color: var(--slate-600); line-height: 1.6; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.quote-form { background: white; border: 1px solid var(--slate-200); border-radius: 6px; padding: 2rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--slate-700); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--slate-800);
  font-family: inherit;
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--slate-400); background: white; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: white; border: 1px solid var(--slate-200); border-radius: 6px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; }
.info-item { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { width: 32px; height: 32px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-text .info-title { font-size: 0.8rem; font-weight: 600; color: var(--slate-800); }
.info-text .info-sub { font-size: 0.75rem; color: var(--slate-500); }
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-icon.success { background: #10b981; }
.toast-msg { font-size: 0.8rem; font-weight: 600; color: var(--slate-800); flex: 1; }
.toast-close { background: none; border: none; color: var(--slate-400); cursor: pointer; padding: 0.2rem; }
.toast-close:hover { color: var(--slate-700); }

/* ===== FOOTER ===== */
footer { background: white; border-top: 1px solid var(--slate-200); margin-top: auto; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr 1.3fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 0.8rem; color: var(--slate-500); margin-top: 0.75rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; color: var(--slate-900); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.875rem; }
.footer-col nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.footer-col nav a { font-size: 0.8rem; color: var(--slate-500); text-decoration: none; transition: color 0.15s; cursor: pointer; }
.footer-col nav a:hover { color: var(--slate-900); }
.footer-connect { display: flex; gap: 1rem; margin-bottom: 1rem; }
.footer-social { color: var(--slate-400); transition: color 0.15s; }
.footer-social:hover { color: var(--slate-900); }
.footer-status { display: inline-flex; align-items: center; gap: 0.625rem; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 4px; padding: 0.375rem 0.75rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: pulse 2s infinite; }
.status-text { font-size: 0.65rem; font-weight: 600; color: var(--slate-600); text-transform: uppercase; letter-spacing: 0.1em; font-family: monospace; }
.footer-base { border-top: 1px solid var(--slate-200); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-base p { font-size: 0.75rem; color: var(--slate-500); }
.footer-cert { display: flex; align-items: center; gap: 0.5rem; font-size: 0.65rem; font-family: monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 1; }
  .matrix-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav, .header-actions { display: none; }
  .hamburger { display: flex; align-items: center; }
  .mobile-nav { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 2rem; background: white; border-top: 1px solid var(--slate-200); }
  .mobile-nav a { font-size: 1rem; font-weight: 600; color: var(--slate-600); text-decoration: none; padding: 0.5rem 0; }
  .mobile-nav .btn-primary { text-align: center; justify-content: center; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; width: 100%; }
  .mobile-nav li { margin: 0; padding: 0; }
  .products-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .products-cards-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .product-featured { flex-direction: column; }
  .featured-image-col { width: 100%; min-height: 150px; }
  .product-specs { grid-template-columns: repeat(2, 1fr); }
  .modal-specs-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* ===== SCROLL ANIMATIONS ===== */

/* Base reveal state */
.reveal           { opacity: 1; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); transition-property: opacity, transform; }
.reveal.active    { opacity: 1; transform: none !important; }

/* Directions */
.reveal-up        { transform: translateY(48px); transition-duration: 0.75s; }
.reveal-down      { transform: translateY(-40px); transition-duration: 0.75s; }
.reveal-left      { transform: translateX(60px); transition-duration: 0.7s; }
.reveal-right     { transform: translateX(-60px); transition-duration: 0.7s; }
.reveal-zoom      { transform: scale(0.88) translateY(24px); transition-duration: 0.8s; }
.reveal-rotate    { transform: rotate(-3deg) translateY(30px); transform-origin: left center; transition-duration: 0.75s; }

/* Stagger delays */
.stagger-1  { transition-delay: 0.05s; }
.stagger-2  { transition-delay: 0.15s; }
.stagger-3  { transition-delay: 0.25s; }
.stagger-4  { transition-delay: 0.35s; }
.stagger-5  { transition-delay: 0.45s; }
.stagger-6  { transition-delay: 0.55s; }

/* Hero badge pop */
@keyframes pop-in {
  0%   { opacity: 0; transform: scale(0.6) translateY(-10px); }
  70%  { transform: scale(1.08) translateY(0); }
  100% { opacity: 1; transform: scale(1); }
}
.hero-badge { animation: pop-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }

/* Hero title word-by-word slide */
@keyframes hero-slide {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text h1 { animation: hero-slide 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.hero-text p  { animation: hero-slide 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
.hero-actions { animation: hero-slide 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }
.hero-metric  { animation: hero-slide 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both; }

/* Stat value count-up feel */
@keyframes stat-pop {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
.reveal-stat.active .stat-value  { animation: stat-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* Underline wipe for section titles */
@keyframes wipe-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 48px;
  margin-top: 0.5rem;
  background: var(--red);
  border-radius: 2px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.reveal.active .section-title::after,
.section-title.reveal.active::after { clip-path: inset(0 0% 0 0); }

/* Card hover lift (bonus) */
.bento-card, .feature-card, .product-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.bento-card:hover, .feature-card:hover, .product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Smooth line accent on bento hover */
.bento-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0 0 2px 2px;
}
.bento-card:hover::before { transform: scaleX(1); }
.bento-card { position: relative; overflow: hidden; }

/* Shimmer effect on matrix rows */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.matrix-row.reveal.active {
  background: linear-gradient(90deg, transparent 0%, rgba(232,122,37,0.07) 50%, transparent 100%) no-repeat;
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-out 0.2s 1;
}

/* ===== INNER PAGE TEMPLATES (About / Purpose / Strategy / History / Certificates / Videos / News) ===== */

.dark-hero { background: var(--slate-900); color: white; padding: 4.5rem 0; position: relative; overflow: hidden; }
.dark-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.dark-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,23,42,0.55), rgba(15,23,42,0.92)); }
.dark-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.dark-hero .badge-eyebrow { display: inline-block; color: var(--red-light); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem; }
.dark-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 900; line-height: 1.15; color: white; margin-bottom: 1.25rem; }
.dark-hero h1 span { color: var(--red-light); }
.dark-hero p { font-size: 0.9rem; color: var(--slate-300); max-width: 640px; line-height: 1.7; }

.inner-section { max-width: 1280px; margin: 0 auto; padding: 4rem 2rem; }
.inner-section-narrow { max-width: 900px; margin: 0 auto; padding: 4rem 2rem; }
.eyebrow { display: block; color: var(--red-light); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.inner-heading { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--slate-900); margin-bottom: 0.75rem; }
.inner-heading-center { text-align: center; margin-bottom: 3rem; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.mission-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.mission-grid p { font-size: 0.875rem; color: var(--slate-700); line-height: 1.8; margin-bottom: 1rem; }
.stat-dark-panel { background: var(--slate-900); color: white; padding: 2rem; border-radius: 6px; }
.stat-dark-panel h3 { color: var(--red-light); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.stat-dark-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat-dark-grid .n { font-size: 1.75rem; font-weight: 900; color: white; display: block; }
.stat-dark-grid .l { font-size: 0.7rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.08em; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { background: white; border: 1px solid var(--slate-200); border-radius: 6px; padding: 1.5rem; text-align: center; transition: box-shadow 0.2s; }
.team-card:hover { box-shadow: var(--shadow-md); }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--slate-100); border: 2px solid var(--slate-200); margin: 0 auto 1rem auto; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; color: var(--slate-400); }
.team-card h3 { font-size: 0.875rem; font-weight: 800; color: var(--slate-900); }
.team-card .role { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.25rem; }
.team-card .dept { display: inline-block; margin-top: 0.75rem; background: var(--slate-100); color: var(--slate-600); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 4px; }

.contact-strip { background: var(--slate-900); padding: 3rem 0; }
.contact-strip-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .icon-box { width: 40px; height: 40px; background: var(--slate-800); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red-light); }
.contact-item .label { color: var(--slate-400); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.2rem; }
.contact-item .value { color: white; font-size: 0.875rem; font-weight: 600; }

.vision-panel { background: var(--slate-900); color: white; padding: 3rem; border-radius: 6px; text-align: center; margin-top: 3rem; }
.vision-panel h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.vision-panel p { font-size: 0.9rem; color: var(--slate-300); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* Timeline (Our History) */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--slate-200); transform: translateX(-50%); }
.timeline-item { position: relative; display: flex; align-items: center; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: 50%; transform: translate(-50%, -50%); top: 50%; width: 32px; height: 32px; border-radius: 50%; background: white; border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; z-index: 2; color: var(--red); font-size: 0.75rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.timeline-side { width: 45%; }
.timeline-side.year-side { text-align: right; padding-right: 3rem; }
.timeline-side.year-side .year { font-size: 2rem; font-weight: 900; color: var(--slate-200); display: block; }
.timeline-item.reverse .timeline-side.year-side { order: 2; text-align: left; padding-right: 0; padding-left: 3rem; }
.timeline-item.reverse .timeline-side.card-side { order: 1; }
.timeline-side.card-side { padding-left: 3rem; }
.timeline-item.reverse .timeline-side.card-side { padding-left: 0; padding-right: 3rem; }
.timeline-card { background: white; border: 1px solid var(--slate-200); border-radius: 6px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.timeline-card h3 { font-size: 1rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.timeline-card p { font-size: 0.8rem; color: var(--slate-600); line-height: 1.6; }
.timeline-badge { display: inline-block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 4px; color: white; margin-top: 0.5rem; }
.badge-foundation { background: var(--slate-700); }
.badge-expansion { background: #2563eb; }
.badge-certification { background: #059669; }
.badge-infrastructure { background: #d97706; }
.badge-innovation { background: var(--red); }
.badge-growth { background: #7c3aed; }
.badge-sustainability { background: #0d9488; }

/* Certificates & Partners */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.cert-card { background: white; border: 1px solid var(--slate-200); border-left: 4px solid var(--red); border-radius: 0 6px 6px 0; padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.cert-card:hover { box-shadow: var(--shadow-md); }
.cert-card .code { font-size: 1.1rem; font-weight: 900; color: var(--slate-900); }
.cert-card h3 { font-size: 0.85rem; font-weight: 700; color: var(--slate-800); margin: 0.5rem 0 0.25rem 0; }
.cert-card .scope { font-size: 0.75rem; color: var(--slate-500); line-height: 1.5; margin-bottom: 0.75rem; }
.cert-card .issuer { font-size: 0.65rem; color: var(--slate-400); border: 1px solid var(--slate-200); border-radius: 4px; padding: 0.15rem 0.5rem; display: inline-block; }
.cert-view-link { display: block; margin-top: 0.75rem; font-size: 0.7rem; font-weight: 700; color: var(--red-light); text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.cert-view-link:hover { color: var(--red-dark); text-decoration: underline; }

.approval-panel { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 6px; padding: 2rem; margin-bottom: 3rem; }
.approval-panel h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1.25rem; }
.approval-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.approval-item { display: flex; align-items: center; gap: 0.6rem; background: white; border: 1px solid var(--slate-200); border-radius: 4px; padding: 0.75rem 1rem; font-size: 0.75rem; color: var(--slate-700); font-weight: 500; }
.approval-item .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex-shrink: 0; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.partner-card { background: white; border: 1px solid var(--slate-200); border-radius: 6px; padding: 1.25rem; transition: all 0.2s; }
.partner-card:hover { border-color: var(--slate-400); box-shadow: var(--shadow-md); }
.partner-card .icon-box { width: 40px; height: 40px; background: var(--slate-100); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--slate-400); }
.partner-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.2rem; }
.partner-card .type { font-size: 0.65rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.06em; }
.partner-card .region { display: inline-block; margin-top: 0.5rem; font-size: 0.6rem; font-weight: 700; color: var(--slate-400); border: 1px solid var(--slate-100); background: var(--slate-50); border-radius: 4px; padding: 0.15rem 0.5rem; }

/* Videos */
.video-filter-bar { background: white; border-bottom: 1px solid var(--slate-200); position: sticky; top: 72px; z-index: 30; overflow-x: auto; }
.video-filter-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; }
.video-filter-btn { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 1rem 1.25rem; border: none; background: none; border-bottom: 2px solid transparent; color: var(--slate-500); cursor: pointer; white-space: nowrap; transition: color 0.15s, border-color 0.15s; }
.video-filter-btn:hover { color: var(--slate-800); }
.video-filter-btn.active { color: var(--red); border-bottom-color: var(--red); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.video-card { cursor: pointer; }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--slate-800); border-radius: 6px; overflow: hidden; margin-bottom: 1rem; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s; }
.video-card:hover .video-thumb { box-shadow: var(--shadow-xl); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: transform 0.4s, opacity 0.2s; }
.video-card:hover .video-thumb img { opacity: 0.85; transform: scale(1.05); }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play-btn div { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.video-card:hover .video-play-btn div { background: var(--red); border-color: var(--red); }
.video-duration { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(0,0,0,0.7); color: white; font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.video-category-badge { position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; background: rgba(255,255,255,0.9); color: var(--slate-700); }
.video-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.4rem; transition: color 0.15s; }
.video-card:hover h3 { color: var(--red-light); }
.video-card p { font-size: 0.75rem; color: var(--slate-500); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.video-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); z-index: 250; display: none; align-items: center; justify-content: center; padding: 1rem; }
.video-modal-overlay.open { display: flex; }
.video-modal { background: white; border-radius: 6px; max-width: 720px; width: 100%; overflow: hidden; box-shadow: var(--shadow-xl); }
.video-modal-player { position: relative; aspect-ratio: 16/9; background: var(--slate-900); display: flex; align-items: center; justify-content: center; }
.video-modal-player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.video-modal-player-note { position: relative; color: white; font-size: 0.75rem; opacity: 0.7; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.video-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.5); border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-modal-close:hover { background: rgba(0,0,0,0.8); }
.video-modal-body { padding: 1.5rem; }
.video-modal-body h2 { font-size: 1.1rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.video-modal-body p { font-size: 0.8rem; color: var(--slate-600); line-height: 1.6; margin-bottom: 1rem; }

/* News */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--slate-200); }
.news-item:first-child { padding-top: 0; }
.news-thumb { flex-shrink: 0; width: 120px; height: 90px; border-radius: 6px; overflow: hidden; background: var(--slate-100); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-date { flex-shrink: 0; width: 110px; font-size: 0.7rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0.2rem; }
.news-tag { display: inline-block; background: #fef2f2; color: var(--red); border: 1px solid #fecaca; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.5rem; }
.news-item h3 { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.4rem; }
.news-item p { font-size: 0.825rem; color: var(--slate-600); line-height: 1.6; }

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .contact-strip-inner { grid-template-columns: 1fr; }
  .approval-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .approval-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 16px; }
  .timeline-item, .timeline-item.reverse { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .timeline-dot { left: 16px; }
  .timeline-side, .timeline-item.reverse .timeline-side { width: 100%; padding: 0 0 0 3rem !important; text-align: left !important; order: 0 !important; }
  .timeline-side.year-side { display: none; }
  .news-item { flex-direction: column; gap: 0.4rem; }
  .news-date { width: auto; }
  .case-grid { grid-template-columns: 1fr; }
}

/* Case Studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.case-card { background: white; border: 1px solid var(--slate-200); border-radius: 6px; overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card-top { height: 6px; background: var(--red); }
.case-card-img { height: 170px; overflow: hidden; position: relative; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.case-card:hover .case-card-img img { transform: scale(1.06); }
.case-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.case-category-badge { display: inline-block; align-self: flex-start; background: var(--slate-100); color: var(--slate-600); border: 1px solid var(--slate-200); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.875rem; }
.case-card h3 { font-size: 1rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; line-height: 1.35; }
.case-card .case-location { font-size: 0.7rem; font-weight: 700; color: var(--red-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.case-card p { font-size: 0.8rem; color: var(--slate-600); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.case-card .case-product { font-size: 0.7rem; color: var(--slate-500); border-top: 1px solid var(--slate-200); padding-top: 0.75rem; }
.case-card .case-product strong { color: var(--slate-800); }
@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

.photo-banner { height: 340px; position: relative; overflow: hidden; }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; }
.photo-banner-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(15,23,42,0.85), transparent); padding: 1.5rem 2rem; }
.photo-banner-caption span { color: white; font-size: 0.8rem; font-weight: 600; }
@media (max-width: 768px) {
  .photo-banner { height: 220px; }
}

/* Solutions page — "Jump to" quick nav */
.jump-to-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin: 1.75rem 0 2.5rem; padding: 1.1rem 1.4rem; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 10px; }
.jump-to-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); margin-right: 0.35rem; white-space: nowrap; }
.jump-to-link { display: inline-flex; align-items: center; gap: 0.4rem; background: #ffffff; border: 1px solid var(--slate-200); color: var(--slate-800); font-size: 0.8125rem; font-weight: 600; padding: 0.5rem 1.1rem; border-radius: 999px; text-decoration: none; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.jump-to-link::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; transition: background 0.15s; }
.jump-to-link:hover { background: var(--red); border-color: var(--red); color: #ffffff; transform: translateY(-1px); }
.jump-to-link:hover::before { background: #ffffff; }
@media (max-width: 640px) {
  .jump-to-nav { padding: 1rem; gap: 0.5rem; }
  .jump-to-label { width: 100%; margin-bottom: 0.25rem; }
}

/* Product cards / featured card — graceful "no photo yet" state */
.no-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  color: var(--slate-300);
}
.no-photo-placeholder svg { color: var(--slate-300); }
.no-photo-placeholder span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
}
