/* ============================================
   BlineCo — Intelligent Light Control Solutions
   Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1b2e1b;
  --primary-light: #2d4a2d;
  --accent: #3a7d44;
  --accent-hover: #2d6a36;
  --accent-light: #e2f0e5;
  --text: #2c2c2c;
  --text-light: #5a6a5a;
  --text-inverse: #fff;
  --bg: #ffffff;
  --bg-light: #f4f7f4;
  --bg-dark: #1b2e1b;
  --border: #d6e2d6;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 12px; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,125,68,0.06) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }
.hero-title { margin-bottom: 20px; }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  text-align: center;
  padding: 40px;
}
.hero-placeholder svg { margin-bottom: 12px; opacity: 0.5; }

/* --- Real Images --- */
.hero-img,
.split-img,
.gallery-card-img,
.category-card-img,
.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.hero-img { min-height: 320px; max-height: 520px; }
.split-img { min-height: 280px; max-height: 460px; }
.gallery-card-img { min-height: 200px; max-height: 260px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.category-card-img { height: 200px; border-radius: var(--radius) var(--radius) 0 0; }
.product-hero-img { min-height: 240px; max-height: 400px; }

/* --- Sections --- */
.section-padding { padding: 80px 0; }
.section-padding-lg { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-light);
  margin-top: 8px;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* --- Split Sections (Commercial / Residential) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}

.split-content h2 { margin-bottom: 12px; }
.split-content p { margin-bottom: 24px; color: var(--text-light); }

/* --- Product Grid (Shop) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 1;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  overflow: hidden;
}

.product-info {
  padding: 20px;
}
.product-info h3 { font-size: 16px; margin-bottom: 4px; }
.product-info .product-category { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.product-info .product-price { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.product-info .btn { width: 100%; justify-content: center; }

/* --- Configurator Section --- */
.configurator-section {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 80px 0;
}

.configurator-section h2 { color: #fff; }
.configurator-section p { color: rgba(255,255,255,0.7); }

.configurator-embed {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-light);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.configurator-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.configurator-placeholder {
  text-align: center;
  padding: 60px 40px;
  color: rgba(255,255,255,0.5);
}
.configurator-placeholder svg { margin-bottom: 16px; }
.configurator-placeholder h3 { color: rgba(255,255,255,0.8); margin-bottom: 8px; font-size: 20px; }
.configurator-placeholder p { font-size: 14px; max-width: 400px; margin: 0 auto; }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}

.service-card h3 { font-size: 15px; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-light); }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 17px; }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

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

.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }

.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-acknowledgment {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
  line-height: 1.6;
  margin-top: 24px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-body);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-light); }

/* --- Filters (Shop) --- */
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
}
.filter-tag:hover,
.filter-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- About Page --- */
.about-hero {
  padding: 140px 0 60px;
  background: var(--bg-light);
  text-align: center;
}
.about-hero p {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 18px;
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}
.value-card .value-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* --- Page Header --- */
.page-header {
  padding: 130px 0 50px;
  background: var(--bg-light);
  text-align: center;
}
.page-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 8px auto 0;
}

/* --- Product Detail Pages --- */
.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.product-tab {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  color: var(--text-light);
  transition: all var(--transition);
  margin-bottom: -2px;
}
.product-tab:hover { color: var(--text); }
.product-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-description {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 32px;
}

/* System / Product Cards */
.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.system-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.system-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.system-card .system-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.system-card .system-brand {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.system-card .system-image {
  aspect-ratio: 16/9;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
  overflow: hidden;
}

.system-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-light);
}

.fabric-swatch-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-light);
}

.system-card .system-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
  margin-left: 6px;
}

/* Fabric Swatches */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.fabric-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: all var(--transition);
  cursor: pointer;
}
.fabric-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.fabric-swatch {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--bg-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-light);
}

.fabric-name { font-size: 12px; font-weight: 600; color: var(--primary); }
.fabric-type { font-size: 11px; color: var(--text-light); }

/* Configure CTA on product pages */
.configure-cta {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  color: #fff;
}
.configure-cta h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.configure-cta p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* Product category grid (products landing page) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.category-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.category-image {
  aspect-ratio: 3/2;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
}

.category-info {
  padding: 16px;
}
.category-info h3 { font-size: 16px; margin-bottom: 4px; }
.category-info p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.category-info .system-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.category-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.category-card-link:hover {
  color: inherit;
}

.category-card > .supplier-link {
  display: block;
  padding: 8px 16px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  border-top: 1px solid var(--border);
}
.category-card > .supplier-link:hover {
  color: var(--accent);
}

/* Project List Table */
.project-list {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.project-list th {
  text-align: left;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
}
.project-list td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.project-list tr:hover {
  background: var(--bg-light);
}
.project-list .project-name {
  font-weight: 600;
  color: var(--text);
}
.project-list .project-location {
  color: var(--text-light);
  font-size: 13px;
}
.project-list .project-products {
  color: var(--text);
}
.project-list .project-qty {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* Accessories list */
.accessory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.accessory-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
}

.accessory-item .accessory-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

/* Project Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.gallery-card:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  aspect-ratio: 16/9;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
}

.gallery-info {
  padding: 16px;
}
.gallery-info h3 { font-size: 15px; margin-bottom: 4px; }
.gallery-info p { font-size: 13px; color: var(--text-light); }

/* Project portfolio banners */
.project-banner {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 140px;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.project-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.08;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    currentColor 10px,
    currentColor 11px
  );
}
.project-sector {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  position: relative;
}
.project-location {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  position: relative;
}
.project-hospitality { background: linear-gradient(135deg, #5a7d44, #7da363); color: #7da363; }
.project-commercial { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--primary-light); }
.project-government { background: linear-gradient(135deg, #2d6a4f, #40916c); color: #40916c; }
.project-healthcare { background: linear-gradient(135deg, #1b4332, #2d6a4f); color: #2d6a4f; }

.gallery-card-featured {
  border: 2px solid var(--accent);
  position: relative;
}
.gallery-card-featured::after {
  content: 'Featured';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}
/* Gallery card image wrap */
.gallery-card-img-wrap,
.gallery-card-link {
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery-card-img-wrap img,
.gallery-card-link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-img-wrap img,
.gallery-card:hover .gallery-card-link img {
  transform: scale(1.05);
}
.project-sector-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(26, 26, 46, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.gallery-card-featured .gallery-card-link img {
  height: 280px;
}

.gallery-card-content h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.gallery-card-content h3 a:hover {
  color: var(--accent);
}

.gallery-card-content {
  padding: 20px;
}
.gallery-card-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}
.gallery-card-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}
.project-install-detail {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  padding: 8px 12px;
  background: var(--accent-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-tags span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg-light);
  color: var(--text-light);
  font-weight: 500;
}

/* Estimating options */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.option-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.option-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.option-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.option-card h3 { font-size: 16px; margin-bottom: 8px; }
.option-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }

/* Konstructhub promo banner */
.konstructhub-banner {
  background: linear-gradient(135deg, #1b2e1b 0%, #2d4a2d 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
}
.konstructhub-banner h2 { color: #fff; margin-bottom: 12px; }
.konstructhub-banner p { color: rgba(255,255,255,0.7); margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
.konstructhub-preview {
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* Coming soon badge */
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* --- Product Hero Video --- */
.product-hero-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.product-hero-video video {
  width: 100%;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

/* Category card with video */
.category-card-featured {
  border: 2px solid var(--accent);
  grid-column: 1 / -1;
}
.category-card-featured .category-info h3 {
  color: var(--accent);
}
.category-card-video {
  overflow: hidden;
  background: #000;
}
.category-card-video video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Component grid */
.component-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.component-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 3px solid var(--accent);
}
.component-number {
  position: absolute;
  top: -14px;
  right: 20px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.component-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--primary);
}
.component-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}
.component-specs dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 700;
  margin-top: 8px;
}
.component-specs dt:first-of-type { margin-top: 0; }
.component-specs dd {
  font-size: 13px;
  color: var(--text);
  margin-top: 2px;
}

/* --- Project Detail --- */
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.project-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.project-info-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.project-meta dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-top: 16px;
  font-weight: 600;
}

.project-meta dd {
  font-size: 15px;
  color: var(--text);
  margin-top: 4px;
}

/* --- Demo Steps (Video Walkthrough) --- */
.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.demo-step {
  position: relative;
}

.demo-step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(58, 125, 68, 0.3);
}

.demo-step-content {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.demo-step-content:hover {
  box-shadow: var(--shadow-lg);
}

.demo-video-wrap {
  position: relative;
  background: #000;
}

.demo-video-wrap video {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

.demo-step-info {
  padding: 24px 28px;
}

.demo-step-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

.demo-step-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Specs Grid --- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.spec-group {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.spec-group h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  color: var(--primary);
}

.spec-list dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 700;
  margin-top: 16px;
}

.spec-list dt:first-of-type {
  margin-top: 0;
}

.spec-list dd {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-top: 4px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-info-card { position: static; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .component-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card-featured { grid-column: 1 / -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid { grid-template-columns: 1fr; }
  .konstructhub-banner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 20px;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 60px; }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr; }
  .fabric-grid { grid-template-columns: repeat(2, 1fr); }
  .accessory-grid { grid-template-columns: 1fr; }
  .configure-cta { flex-direction: column; text-align: center; }
  .specs-grid { grid-template-columns: 1fr; }
  .component-grid { grid-template-columns: 1fr; }
  .category-card-video video { height: 200px; }
  .demo-step-number { width: 32px; height: 32px; font-size: 15px; top: -8px; left: -8px; }
  .demo-step-info { padding: 20px; }
  .demo-steps { gap: 32px; }
  .category-grid { grid-template-columns: 1fr; }
  .product-tabs { overflow-x: auto; }
  .cta-banner { padding: 40px 24px; }

  .section-padding { padding: 60px 0; }
  .section-padding-lg { padding: 70px 0; }
}
