/* ═══════════════════════════════════════════════════
   MINGFA INSULATION — Design System
   Style: Trust & Authority (Industrial/Refractory)
   Pattern: Enterprise Gateway
   Palette: Slate Navy + Professional Blue CTA
   ═══════════════════════════════════════════════════ */

/* ── Fonts (loaded via <link> in HTML for performance) ── */

:root {
  /* Brand */
  --color-primary: #0F172A;
  --color-on-primary: #FFFFFF;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-accent-hover: #0284C7;

  /* Surface */
  --color-background: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F1F5F9;
  --color-muted: #E8ECF1;
  --color-border: #E2E8F0;
  --color-border-strong: #CBD5E1;

  /* Text */
  --color-foreground: #020617;
  --color-body: #334155;
  --color-muted-text: #64748B;
  --color-subtle: #94A3B8;

  /* Semantic */
  --color-destructive: #DC2626;
  --color-success: #059669;
  --color-warning: #D97706;
  --color-info: #0369A1;
  --color-ring: #0F172A;

  /* Trust colors */
  --color-trust: #1E40AF;
  --color-security-green: #059669;
  --color-metric-highlight: #D97706;
  --color-gold-accent: #B45309;

  /* Typography */
  --font: 'Roboto', -apple-system, system-ui, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, monospace;

  /* Spacing */
  --space-section: 80px;
  --space-card-padding: 24px;
  --space-grid-gap: 20px;

  /* Shapes */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Layout */
  --nav-height: 64px;
  --content-width: 1200px;
  --content-narrow: 800px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--color-body);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--duration-fast) ease; }

/* ── Link underline animation ── */
a.link-underline {
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--duration-normal) var(--ease-out);
}
a.link-underline:hover { background-size: 100% 2px; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--color-foreground);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 1.25rem; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; font-weight: 600; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; font-weight: 600; }
h4 { font-size: 0.85rem; margin: 1rem 0 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-muted-text); }
p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.65; }

/* ── Layout ── */
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-section) 0; }
.section-alt {
  background: var(--color-surface-alt);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230F172A' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--content-width); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: var(--font); font-size: 1.2rem; font-weight: 700;
  color: var(--color-primary); white-space: nowrap; text-decoration: none;
  letter-spacing: -0.3px; display: flex; align-items: center; gap: 8px;
}
.nav-logo i { color: var(--color-accent); font-size: 1.3rem; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 2px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-md); font-size: 0.9rem;
  font-weight: 500; color: var(--color-body); white-space: nowrap;
  transition: background var(--duration-fast), color var(--duration-fast); text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--color-muted); color: var(--color-primary); text-decoration: none;
}
.nav-lang { display: flex; gap: 4px; list-style: none; font-size: 0.82rem; align-items: center; }
.nav-lang a { padding: 4px 8px; color: var(--color-muted-text); border-radius: var(--radius-sm); font-weight: 500; text-decoration: none; }
.nav-lang a:hover, .nav-lang a.active { background: var(--color-muted); color: var(--color-primary); text-decoration: none; }
.nav-lang span { color: var(--color-border); margin: 0 2px; }

/* Hamburger toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-primary); padding: 8px; }
.nav-links { transition: opacity var(--duration-normal) ease, transform var(--duration-normal) ease; }

@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: white; padding: 12px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── Breadcrumb ── */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: var(--color-muted-text); font-weight: 500; }
.breadcrumb a { color: var(--color-muted-text); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); text-decoration: underline; }
.breadcrumb span { color: var(--color-subtle); margin: 0 6px; }
.breadcrumb i { font-size: 0.7rem; margin: 0 4px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, var(--color-primary) 0%, #1E293B 100%);
  color: var(--color-on-primary);
  padding: 100px 0 90px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(3,105,161,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 70%, rgba(15,23,42,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 { color: white; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.5px; position: relative; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 2rem; line-height: 1.6; position: relative; }
.hero .btn { margin: 0 8px; position: relative; }

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full); padding: 6px 18px;
  font-size: 0.85rem; color: rgba(255,255,255,0.85); font-weight: 500;
  margin-bottom: 24px; position: relative;
}
.hero-badge i { color: var(--color-gold-accent); }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.95); }

/* Stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 480ms; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 560ms; opacity: 1; transform: none; }

/* ── Count Animation ── */
.count { display: inline-block; font-variant-numeric: tabular-nums; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-family: var(--font); font-weight: 600; font-size: 0.95rem; text-align: center;
  cursor: pointer; transition: all var(--duration-normal) var(--ease-out);
  border: 2px solid transparent; text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-accent); color: white; border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(3,105,161,0.25);
}
.btn-primary:hover {
  background: var(--color-accent-hover); border-color: var(--color-accent-hover);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(3,105,161,0.35);
}
.btn-outline {
  background: transparent; color: white; border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent; color: var(--color-primary); border-color: var(--color-border-strong);
}
.btn-outline-dark:hover { background: var(--color-muted); border-color: var(--color-secondary); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-white {
  background: white; color: var(--color-accent); border-color: white;
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { background: #F8FAFC; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Danger variant */
.btn-danger { background: var(--color-destructive); color: white; border-color: var(--color-destructive); }
.btn-danger:hover { background: #B91C1C; border-color: #B91C1C; }

/* ── Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-grid-gap); margin: 24px 0; }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
  transform: translateY(-3px);
}
.card-img {
  position: relative; overflow: hidden;
  background: var(--color-muted);
  display: flex; align-items: center; justify-content: center;
  min-height: 180px; color: var(--color-muted-text); font-size: 0.85rem; font-weight: 500;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }

/* Card icon top */
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--color-muted); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.4rem; color: var(--color-accent);
}
.card-body { padding: var(--space-card-padding); }
.card-body h3 { margin-top: 0; font-size: 1.1rem; font-weight: 600; color: var(--color-foreground); }
.card-body h3 a { color: var(--color-foreground); text-decoration: none; }
.card-body h3 a:hover { color: var(--color-accent); text-decoration: none; }
.card-body p { color: var(--color-body); font-size: 0.94rem; line-height: 1.6; }

/* Card badge overlay */
.card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--color-accent); color: white;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600; z-index: 2;
}

/* ── Icon List ── */
.icon-list { list-style: none; padding: 0; margin: 0 0 16px 0; }
.icon-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0; line-height: 1.5; font-size: 0.95rem;
}
.icon-list li i {
  color: var(--color-accent); font-size: 1rem; margin-top: 3px;
  flex-shrink: 0; width: 20px; text-align: center;
}
.icon-list li i.fa-check-circle { color: var(--color-success); }
.icon-list li i.fa-star { color: var(--color-warning); }

/* ── Stats Bar ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 56px 0; text-align: center;
}
.stat-item h3 { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 0.25rem; font-weight: 700; }
.stat-item p { color: var(--color-muted-text); font-size: 0.9rem; font-weight: 500; }
.stat-item i { font-size: 1.5rem; color: var(--color-subtle); margin-bottom: 8px; display: block; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
table.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th {
  padding: 12px 16px; text-align: left;
  background: var(--color-primary); color: white;
  font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--color-surface-alt); }
.spec-table td i.fa-check { color: var(--color-success); }
.spec-table td i.fa-minus { color: var(--color-subtle); }

/* ── Placeholder Banner ── */
.placeholder-banner {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 14px 18px; margin: 16px 0;
  font-size: 0.9rem; color: #92400E;
  font-weight: 500;
}
.placeholder-banner strong { color: #78350F; }
.placeholder-banner code {
  background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-family: var(--font-mono);
}

/* ── Trust Badge ── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500; color: var(--color-body);
  box-shadow: var(--shadow-sm);
}
.trust-badge i { color: var(--color-accent); font-size: 0.85rem; }
.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ── Skeleton Loading ── */
.skeleton {
  background: linear-gradient(90deg, var(--color-muted) 25%, #E8ECF1 50%, var(--color-muted) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text:last-child { width: 60%; }
.skeleton-title { height: 20px; width: 70%; margin-bottom: 12px; }
.skeleton-img { width: 100%; height: 200px; }

/* ── CSS Scroll-Snap Carousel ── */
.carousel {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  scrollbar-width: thin; scrollbar-color: var(--color-subtle) transparent;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: transparent; }
.carousel::-webkit-scrollbar-thumb { background: var(--color-subtle); border-radius: 3px; }
.carousel-item {
  flex: 0 0 340px; scroll-snap-align: start;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}
.carousel-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.carousel-item img { width: 100%; height: 200px; object-fit: cover; }
.carousel-item-body { padding: 20px; }
.carousel-item-body h3 { margin: 0 0 8px; font-size: 1.05rem; }
.carousel-item-body p { font-size: 0.9rem; color: var(--color-body); margin: 0; }

/* Carousel controls */
.carousel-wrap { position: relative; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md); cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--color-primary);
  transition: all var(--duration-fast);
}
.carousel-btn:hover { background: var(--color-muted); box-shadow: var(--shadow-lg); }
.carousel-btn.prev { left: -16px; }
.carousel-btn.next { right: -16px; }
@media (max-width: 768px) {
  .carousel-btn { display: none; }
  .carousel-item { flex: 0 0 280px; }
}

/* ── FAQ Accordion (Alpine.js) ── */
.faq-list { max-width: 800px; margin: 24px auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow var(--duration-fast);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; background: none; border: none;
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  color: var(--color-foreground); cursor: pointer; text-align: left;
  transition: background var(--duration-fast);
}
.faq-question:hover { background: var(--color-surface-alt); }
.faq-question i { transition: transform var(--duration-normal) var(--ease-out); color: var(--color-accent); }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.93rem; line-height: 1.65; color: var(--color-body);
}

/* ── Image Lightbox (Alpine.js) ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,0.92);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-overlay img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: white; font-size: 2rem;
  cursor: pointer; opacity: 0.7; transition: opacity var(--duration-fast);
}
.lightbox-close:hover { opacity: 1; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-accent); color: white;
  border: none; box-shadow: var(--shadow-md); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* ── Section Title Decorator ── */
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 { margin-top: 0; }
.section-title p { color: var(--color-muted-text); max-width: 600px; margin: 0 auto; }
.section-divider {
  width: 48px; height: 3px; background: var(--color-accent);
  margin: 12px auto 16px; border-radius: 2px;
}

/* ── Contact Cards ── */
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: box-shadow var(--duration-fast);
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--color-accent); flex-shrink: 0;
}
.contact-card-info h4 { margin: 0 0 4px; font-size: 0.85rem; color: var(--color-muted-text); text-transform: uppercase; }
.contact-card-info p, .contact-card-info a { margin: 0; font-size: 0.95rem; color: var(--color-foreground); font-weight: 500; }

/* ── Industry Badge ── */
.industry-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600;
  background: rgba(3,105,161,0.1); color: var(--color-accent);
}
.industry-badge.cement { background: rgba(100,116,139,0.12); color: #475569; }
.industry-badge.aluminum { background: rgba(2,132,199,0.1); color: #0284C7; }
.industry-badge.steel { background: rgba(220,38,38,0.08); color: #B91C1C; }
.industry-badge.fire { background: rgba(217,119,6,0.1); color: #B45309; }
.industry-badge.glass { background: rgba(5,150,105,0.1); color: #047857; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E3A5F 100%);
  border-radius: var(--radius-xl); padding: 48px;
  text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(3,105,161,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin-top: 0; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.75); position: relative; }
.cta-banner .btn { position: relative; }

/* ── Footer ── */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: white; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 400; text-decoration: none; transition: color var(--duration-fast); }
.footer a:hover { color: white; text-decoration: none; }
.footer p { font-size: 0.9rem; }
.footer i { width: 18px; text-align: center; margin-right: 6px; color: rgba(255,255,255,0.4); }
.footer-contact-item { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; text-align: center; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.82rem; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 48px 0; }
  :root { --space-section: 48px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 64px 0 56px; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}

/* ── Image Card Enhancements ── */
.card-img { position: relative; overflow: hidden; background: var(--color-muted); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }

/* ── Two-Column Layout ── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-grid img { border-radius: var(--radius-lg); width: 100%; }
@media (max-width: 768px) { .split-grid { grid-template-columns: 1fr; } }

/* ── RTL ── */
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] .spec-table th, html[dir="rtl"] .spec-table td { text-align: right; }
html[dir="rtl"] .icon-list li { flex-direction: row-reverse; }
html[dir="rtl"] .carousel { direction: ltr; } /* Keep carousel scroll direction */

/* ── Utility ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
