/* ==========================================================================
   Greater™ (GR Industries | GR Infra) - Heavy Industrial Design System
   Engineered for performance, high legibility, and zero "AI slop"
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary: #EB0101;
  --color-primary-dark: #C10101;
  --color-primary-light: #FDE8E9;
  --color-primary-subtle: rgba(235, 1, 1, 0.08);

  /* Industrial Neutrals */
  --color-dark: #161616;
  --color-dark-surface: #242424;
  --color-dark-border: #3A3A3A;
  --color-text-main: #242424;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;

  --color-bg-body: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Spacing & Layout */
  --container-max: 1240px;
  --header-height: 84px;
  --header-height-shrunk: 66px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  /* Shadows (Physical & Crisp, No Neon) */
  --shadow-sm: 0 1px 2px 0 rgba(22, 22, 22, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(22, 22, 22, 0.08), 0 2px 4px -2px rgba(22, 22, 22, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(22, 22, 22, 0.1), 0 4px 6px -4px rgba(22, 22, 22, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(22, 22, 22, 0.12), 0 8px 10px -6px rgba(22, 22, 22, 0.06);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Form fields stay selectable so visitors can still type and edit */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.text-red { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: #FFFFFF; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Structural Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Main Navigation (dark navbar) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  padding-top: 12px;
  background-color: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.shrunk {
  height: var(--header-height-shrunk);
  padding-top: 6px;
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  transition: height var(--transition-normal);
}

.site-header.shrunk .brand-logo img {
  height: 38px;
}

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

.nav-link,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #CBD5E1;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-link.active,
.nav-dropdown.open .nav-dropdown-toggle {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition-normal);
}

.nav-dropdown.open .nav-dropdown-toggle svg,
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -8px;
  width: 300px;
  padding: 0.5rem;
  background: #1E1E1E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  translate: 0 -6px;
  transition: opacity var(--transition-normal), translate var(--transition-normal), visibility var(--transition-normal);
}

/* Invisible bridge so the panel stays open while the pointer crosses the gap */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 8px;
  transition: background-color var(--transition-fast);
}

.nav-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: rgba(235, 1, 1, 0.16);
  color: #FF8086;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dropdown-icon svg {
  width: 18px;
  height: 18px;
}

.nav-dropdown-item strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.nav-dropdown-item small {
  display: block;
  color: #94A3B8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-call {
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.25rem;
  transition: color var(--transition-fast);
}

.nav-call:hover {
  color: #FF8086;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #FFFFFF;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Buttons & Interactive Elements (Industrial, Zero "AI Slop")
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 2px 4px rgba(235, 1, 1, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(235, 1, 1, 0.3);
}

.btn-secondary {
  background-color: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
}

.btn-secondary:hover {
  background-color: #242424;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-border-hover);
}

.btn-outline:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-dark);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--color-dark);
  border-color: #FFFFFF;
}

.btn-white:hover {
  background-color: #F1F5F9;
  color: var(--color-primary);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: var(--color-dark);
  color: #FFFFFF;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(110%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.92) 0%, rgba(22, 22, 22, 0.72) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(235, 1, 1, 0.15);
  border: 1px solid rgba(235, 1, 1, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #FF8086;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #FFFFFF;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-desc {
  color: #CBD5E1;
  font-size: 1.2rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   4 Core Pillars / Value Strip (Quality First, Made in India, etc.)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  translate: 0 -3px;
  border-color: var(--color-primary);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   4-Stage Engineering Process Section ("Quality in Every Stage")
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-title-bar {
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 0.75rem auto 1rem auto;
  border-radius: 2px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   Product Showcase Cards ("Quality Across Every Greater Product")
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  translate: 0 -5px;
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-hover);
}

.product-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2; /* above the image link that follows it */
  pointer-events: none;
  background: rgba(22, 22, 22, 0.88);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Blog cards: every card keeps the same rhythm — 3-line title, 3-line summary,
   single-line footer — so the footers and borders line up across the row */
.blog-card-meta {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  min-height: calc(1.3em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: inherit;
}

.blog-card-summary {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  min-height: calc(1.55em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  gap: 1rem;
  margin-top: auto;
  min-height: 3.25rem;
  align-items: center;
}

.blog-card-author {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card-link {
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-primary);
}

/* Category filter (blog-filter.js): cards outside the chosen category leave the layout */
.is-filtered-out {
  display: none !important;
}

.blog-filter-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Climate Spotlight ("Built for Indian Conditions")
   ========================================================================== */

.spotlight-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--color-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* Photo sits in its own column so text never runs over it */
.spotlight-backdrop {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.spotlight-content {
  grid-column: 1;
  grid-row: 1;
  padding: 4rem 3.5rem;
  position: relative;
  z-index: 2;
}

.spotlight-content h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.spotlight-content h2 span {
  color: var(--color-primary);
}

.spotlight-content p {
  color: #CBD5E1;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

.spotlight-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.spotlight-feat-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.spotlight-feat-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F1F5F9;
}

/* ==========================================================================
   Stats & Live Counters Ticker
   ========================================================================== */

.stats-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Accordion / FAQ Component
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-dark);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 1.75rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner (Bottom of Pages)
   ========================================================================== */

.cta-banner {
  background: var(--color-dark);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

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

.cta-banner-content h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.cta-banner-content h2 span {
  color: var(--color-primary);
}

.cta-banner-content p {
  color: #94A3B8;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Footer Component (dark grey, four columns, bottom bar)
   ========================================================================== */

.site-footer {
  background-color: #1C1C1C;
  color: #BDBDBD;
  padding-top: 4.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 3.5rem;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.footer-heading-spaced {
  margin-top: 2rem;
}

.footer-text {
  color: #BDBDBD;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #BDBDBD;
  font-size: 0.9rem;
  transition: color var(--transition-fast), translate var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  translate: 3px 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item strong {
  display: block;
  color: #FFFFFF;
  font-weight: 700;
}

.footer-contact-item a {
  color: #BDBDBD;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

.footer-contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #3A3A3A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E5E5E5;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  background-color: #141414;
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8C8C8C;
}

.footer-bottom-inner a {
  color: #BDBDBD;
  transition: color var(--transition-fast);
}

.footer-bottom-inner a:hover {
  color: #FFFFFF;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  color: #BDBDBD;
  display: inline-flex;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(235, 1, 1, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Modal Dialog (Minimal, Industrial, Non-Intrusive)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 22, 22, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--color-dark);
}

/* ==========================================================================
   Homepage Sections (Why Greater, Manufacturing, Dealers, Voices, Projects)
   ========================================================================== */

.section-header-left {
  text-align: left;
  max-width: none;
  margin: 0 0 3rem 0;
}

.section-header-left .section-title {
  margin-bottom: 0;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-tight-top {
  padding-top: 0;
}

/* Why Greater: white section, 4 x 2 feature grid */
.why-section {
  background-color: var(--color-bg-body);
  padding: 6rem 0;
}

.why-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.why-header .section-title {
  margin-bottom: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2.5rem;
}

.why-item-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.why-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.why-item-icon svg {
  width: 22px;
  height: 22px;
}

.why-item:hover .why-item-icon {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.why-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Manufacturing band */
.factory-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-dark);
  color: #FFFFFF;
  padding: 6rem 0;
}

.factory-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(22, 22, 22, 0.97) 0%, rgba(22, 22, 22, 0.84) 55%, rgba(22, 22, 22, 0.65) 100%);
}

.factory-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 80% center;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%);
  mask-image: linear-gradient(to right, transparent 0%, #000 50%);
  z-index: -2;
  will-change: transform;
}

.factory-eyebrow {
  color: #FF8086;
}

.factory-title {
  color: #FFFFFF;
  font-size: 2.5rem;
  max-width: 620px;
  margin-bottom: 1rem;
}

.factory-desc {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 0;
}

.factory-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.factory-step h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.factory-step p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Dealer network banner */
.dealer-section {
  background-color: var(--color-bg-alt);
}

.dealer-banner {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.dealer-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.dealer-content h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.dealer-content > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.dealer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.dealer-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.dealer-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFFFFF;
}

.dealer-banner .btn-white {
  color: var(--color-primary);
}

/* Client voices */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.voice-card {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.voice-quote {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.voice-card blockquote {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.voice-card figcaption {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.voice-card figcaption strong {
  color: var(--color-dark);
  font-size: 0.975rem;
}

.voice-card figcaption span {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Featured projects: photo cards with caption */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  isolation: isolate;
  margin: 0;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-dark);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(22, 22, 22, 0.92) 0%, rgba(22, 22, 22, 0.35) 45%, rgba(22, 22, 22, 0) 70%);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  color: #FFFFFF;
  translate: 0 0;
  transition: translate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-caption {
  translate: 0 -4px;
}

.project-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF8086;
  margin-bottom: 0.5rem;
}

.project-caption h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.project-caption p {
  color: #CBD5E1;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Insight cards and product card helpers (replace former inline styles) */
.product-card-media-short {
  height: 200px;
}

.product-card-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.insight-meta {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-body .insight-title {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0.35rem 0 0.6rem 0;
}

.insight-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.insight-title a:hover {
  color: var(--color-primary);
}

.product-card-body .insight-excerpt {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap var(--transition-normal);
}

.read-link:hover {
  gap: 0.5rem;
}

/* CTA banner actions and dark-surface helpers */
.btn-outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--color-dark);
  transform: translateY(-1px);
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-banner .section-subtitle {
  color: #FF8086;
}

.spotlight-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.stat-number-text {
  font-size: 2.5rem;
  white-space: nowrap;
}

/* Product specification carousel */
.spec-carousel {
  position: relative;
}

.spec-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.25rem 0 1.5rem 0;
}

.spec-track::-webkit-scrollbar {
  display: none;
}

.spec-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal), translate var(--transition-normal);
}

.spec-card:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-hover);
}

.spec-media {
  height: 220px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.spec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card:hover .spec-media img {
  transform: scale(1.04);
}

.spec-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.75rem 1.5rem;
}

.spec-body h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.spec-list {
  margin-bottom: 1.25rem;
}

.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.spec-list > div:first-child {
  padding-top: 0;
}

.spec-list dt {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.spec-list dd {
  color: var(--color-dark);
  font-weight: 600;
  text-align: right;
  margin: 0;
}

.spec-apps {
  margin-bottom: 1.5rem;
}

.spec-apps-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.spec-apps p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.spec-btn {
  width: 100%;
  margin-top: auto;
}

.spec-nav {
  position: absolute;
  top: 110px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.spec-prev { left: -22px; }
.spec-next { right: -22px; }

.spec-nav:hover:not(:disabled) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.spec-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Insights: featured spotlight card */
.insights-spotlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.insights-spotlight:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-hover);
}

.insights-spotlight-media {
  min-height: 320px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.insights-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.insights-spotlight:hover .insights-spotlight-media img {
  transform: scale(1.04);
}

.insights-spotlight-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.insights-spotlight-label {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insights-spotlight-body h2 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin-bottom: 0;
}

.insights-spotlight-body p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.insights-spotlight-meta {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .insights-spotlight {
    grid-template-columns: 1fr;
  }
  .insights-spotlight-media {
    min-height: 220px;
  }
  .insights-spotlight-body {
    padding: 1.5rem;
  }
  .insights-spotlight-body h2 {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .pillars-grid,
  .factory-steps,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .pillars-grid,
  .factory-steps,
  .products-grid,
  .projects-grid,
  .voices-grid,
  .stats-grid,
  .footer-grid,
  .spotlight-features {
    grid-template-columns: 1fr;
  }
  .factory-title,
  .dealer-content h2 {
    font-size: 2rem;
  }
  .dealer-banner {
    padding: 2.25rem 1.5rem;
  }
  .project-card {
    height: 260px;
  }
  .spec-card {
    flex-basis: 86%;
  }
  .why-section {
    padding: 4.5rem 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .spotlight-banner {
    grid-template-columns: 1fr;
  }
  .spotlight-backdrop {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 220px;
  }
  .spotlight-content {
    grid-column: 1;
    grid-row: 2;
    padding: 2.5rem 1.5rem;
  }
  .spec-nav {
    display: none;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-call {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    background: #0A0A0A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-link,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-panel {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 0 0.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
  }
  .nav-dropdown-panel::before {
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-panel {
    display: block;
  }
}
