@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@800;900&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* --- Reset & Variables --- */
:root {
  /* Color Palette (deep navy & professional orange) */
  --graphite: #0A2540;   /* primary brand color — deep navy */
  --stone:    #F8FAFC;   /* light page background — slate-50 */
  --paper:    #FFFFFF;   /* cards and section background — white */
  --oxide:    #EA580C;   /* primary accent — vibrant orange */
  --silver:   #AEB4BB;   /* SR Silver tier */
  --gold:     #F59E0B;   /* SR Gold tier — warm gold */
  --platinum: #7C8A96;   /* SR Platinum tier */
  --diamond:  #3E7C8A;   /* SR Diamond tier */
  --text-dark:  #0F172A; /* body text / dark text — almost black */
  --text-light: #F8FAFC; /* light text — off-white */
  --text-muted: #475569; /* secondary text — slate-600 */

  /* Typography */
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  /* Dimensions & Durations */
  --max-width: 1200px;
  --header-height: 80px;
  --header-shrink-height: 64px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.03);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.1);
  --color-border: #E2E8F0; /* slate-200 */
  --color-success: #10B981; /* emerald-600 */
  --color-error: #EF4444; /* red-600 */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-body);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow-x: hidden;
}

/* --- Typographical Rules --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
}

p, li, blockquote {
  font-family: var(--font-body);
  color: var(--text-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: var(--stone);
  border: 2px solid var(--paper);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--oxide);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.text-center { text-align: center; }

.section-padding {
  padding-block: 5rem;
}

.section-light {
  background: var(--stone);
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: var(--graphite);
  color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: var(--text-light);
}

.glass-card {
  background: var(--paper);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}
.glass-card:hover {
  border-color: var(--oxide);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
  min-height: 48px;
  border: none;
  gap: 0.5rem;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--oxide);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
  background: #c2410c; /* Orange-700 */
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--graphite);
}
.btn-secondary:hover {
  background: var(--graphite);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-outline-light:hover {
  background: var(--text-light);
  color: var(--graphite);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid var(--oxide);
  color: var(--oxide);
  margin-block-end: 1rem;
  font-family: var(--font-mono);
}

/* The Bond Line Visual Signature */
.bond-line {
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, var(--silver) 0%, var(--gold) 33%, var(--platinum) 66%, var(--diamond) 100%);
  border: none;
  margin: 0;
}

/* The Stitch Line Visual Signature (Blueprint/Joint line) */
.stitch-line {
  height: 1px;
  border: none;
  border-top: 2px dashed var(--color-border);
  margin-block: 2rem;
  opacity: 0.8;
  width: 100%;
}

/* Stitch Card Inner Border (Blueprint/Packaging seam aesthetics) */
.glass-card.stitch-card {
  position: relative;
}
.glass-card.stitch-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(234, 88, 12, 0.25); /* Subtle accent orange stitch */
  border-radius: 10px; /* slightly smaller than glass-card's 16px */
  pointer-events: none;
  transition: border-color var(--transition-fast);
  z-index: 2;
}
.glass-card.stitch-card:hover::before {
  border-color: rgba(234, 88, 12, 0.6);
}

/* --- Layout Parts --- */

/* Header (Graphite background, shrinks on scroll) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 37, 64, 0.95); /* Deep Navy matching brand colors */
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: height var(--transition-fast), background var(--transition-fast);
}

header.scrolled {
  height: var(--header-shrink-height);
  background: var(--graphite); /* Deep Navy */
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: rgba(248, 250, 252, 0.75); /* new light color variable */
  position: relative;
  padding-block: 0.5rem;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--oxide);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}

.nav-links .active {
  color: var(--oxide);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  padding-block-start: calc(var(--header-height) + 4rem);
  padding-block-end: 6rem;
  position: relative;
  overflow: hidden;
  background: var(--stone);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-block-end: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
}

.hero-content h1 span {
  display: block;
}

.hero-content h1 span.highlight {
  color: var(--oxide);
}

.hero-content p {
  font-size: 1.15rem;
  margin-block-end: 2.5rem;
  color: var(--text-dark);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.1;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(27, 31, 35, 0.1) 0%, transparent 70%);
}

.hero-bag-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(27, 31, 35, 0.15));
  animation: floatBag 6s ease-in-out infinite;
  transition: opacity 0.4s ease-in-out;
}

@keyframes floatBag {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* Feature Strip */
.feature-strip {
  background: var(--paper);
  border-block: 1px solid var(--color-border);
  padding-block: 2.5rem;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.05);
  border: 1px solid var(--oxide);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oxide);
  margin-block-end: 1rem;
  transition: var(--transition-fast);
}

.feature-item:hover .feature-icon-wrapper {
  background: var(--oxide);
  color: var(--text-light);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

/* Strength Staircase Component */
.strength-staircase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin-block: 4rem;
}

.staircase-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  background: var(--paper);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.staircase-step h3 {
  font-size: 1.4rem;
  margin-block-end: 0.5rem;
  color: var(--text-dark);
}

.staircase-step .weight {
  font-weight: 600;
  margin-block-end: 1rem;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.staircase-step p {
  font-size: 0.95rem;
  margin-block-end: 1.5rem;
  flex-grow: 1;
}

/* Height progression based on capability (desktop only) */
@media (min-width: 1025px) {
  .staircase-step.step-silver {
    min-height: 480px;
    border-top: 5px solid var(--silver);
    background: linear-gradient(180deg, rgba(174, 180, 187, 0.08) 0%, var(--paper) 100%);
  }
  .staircase-step.step-gold {
    min-height: 520px;
    border-top: 5px solid var(--gold);
    background: linear-gradient(180deg, rgba(184, 145, 46, 0.08) 0%, var(--paper) 100%);
  }
  .staircase-step.step-platinum {
    min-height: 560px;
    border-top: 5px solid var(--platinum);
    background: linear-gradient(180deg, rgba(124, 138, 150, 0.08) 0%, var(--paper) 100%);
  }
  .staircase-step.step-diamond {
    min-height: 600px;
    border-top: 5px solid var(--diamond);
    background: linear-gradient(180deg, rgba(62, 124, 138, 0.08) 0%, var(--paper) 100%);
  }
}

.staircase-step.step-silver { border-top: 5px solid var(--silver); .weight { color: var(--silver); } }
.staircase-step.step-gold { border-top: 5px solid var(--gold); .weight { color: var(--gold); } }
.staircase-step.step-platinum { border-top: 5px solid var(--platinum); .weight { color: var(--platinum); } }
.staircase-step.step-diamond { border-top: 5px solid var(--diamond); .weight { color: var(--diamond); } }

/* Hover effects for staircase */
.staircase-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.staircase-step.step-silver:hover { border-color: var(--silver); }
.staircase-step.step-gold:hover { border-color: var(--gold); }
.staircase-step.step-platinum:hover { border-color: var(--platinum); }
.staircase-step.step-diamond:hover { border-color: var(--diamond); }

/* Mobile and Tablet view of Staircase: stacked but with height & color-coded border indicators */
@media (max-width: 1024px) {
  .strength-staircase {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  
  .staircase-step {
    min-height: auto;
    border-top: none;
  }
  
  .staircase-step.step-silver {
    border-left: 6px solid var(--silver);
    background: linear-gradient(90deg, rgba(174, 180, 187, 0.08) 0%, var(--paper) 100%);
  }
  .staircase-step.step-gold {
    border-left: 6px solid var(--gold);
    background: linear-gradient(90deg, rgba(184, 145, 46, 0.08) 0%, var(--paper) 100%);
  }
  .staircase-step.step-platinum {
    border-left: 6px solid var(--platinum);
    background: linear-gradient(90deg, rgba(124, 138, 150, 0.08) 0%, var(--paper) 100%);
  }
  .staircase-step.step-diamond {
    border-left: 6px solid var(--diamond);
    background: linear-gradient(90deg, rgba(62, 124, 138, 0.08) 0%, var(--paper) 100%);
  }
}

/* Secondary Products Grid */
.secondary-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-block-start: 3rem;
}

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

/* Product Card General styles */
.featured-products {
  background: var(--paper);
}

.section-header {
  margin-block-end: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-block-end: 1rem;
  text-transform: uppercase;
}

.section-header p {
  max-width: 600px;
  margin-inline: auto;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.product-card-img-wrapper {
  background: var(--stone);
  border-radius: 12px;
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.product-card-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15));
  transition: var(--transition-slow);
}

.product-card:hover .product-card-img {
  transform: scale(1.04) rotate(-1deg);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-block-end: 0.5rem;
  color: var(--text-dark);
}

.product-card .weight {
  color: var(--oxide);
  font-weight: 600;
  margin-block-end: 1rem;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.product-card p {
  font-size: 0.95rem;
  margin-block-end: 1.5rem;
  flex-grow: 1;
}

.product-card-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--color-border);
  padding-block-start: 1rem;
  margin-block-end: 1.5rem;
  font-size: 0.85rem;
}

.product-card-specs span {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.product-card-specs span strong {
  color: var(--text-dark);
}

.product-card .btn {
  width: 100%;
}

/* Trust Bar / Certifications */
.trust-bar {
  background: var(--stone);
  border-block: 1px solid var(--color-border);
  padding-block: 3.5rem;
  text-align: center;
}

.trust-bar h2 {
  font-size: 1.8rem;
  margin-block-end: 2rem;
}

.certs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--color-border);
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.cert-item:hover {
  transform: translateY(-2px);
  border-color: var(--oxide);
}

.cert-icon {
  width: 48px;
  height: 48px;
  color: var(--oxide);
}

.cert-info {
  text-align: left;
}

.cert-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.cert-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Applications Section */
.applications {
  background: var(--paper);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.app-card {
  text-align: left;
  border-left: 4px solid var(--oxide);
  background: var(--paper);
}

.app-card h3 {
  font-size: 1.3rem;
  margin-block-end: 0.75rem;
}

.app-card p {
  font-size: 0.95rem;
}

/* CTA Banner before footer */
.cta-banner {
  background: var(--oxide);
  color: var(--text-light);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  margin-block-end: 5rem;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-block-end: 1rem;
}

.cta-banner p {
  max-width: 600px;
  margin-inline: auto;
  margin-block-end: 2rem;
  font-size: 1.1rem;
  color: rgba(247, 245, 241, 0.85);
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner .btn-secondary {
  border-color: var(--text-light);
  color: var(--text-light);
}

.cta-banner .btn-secondary:hover {
  background: var(--text-light);
  color: var(--oxide);
}

/* Sub-page Specific Layouts */

/* About Page */
.about-hero {
  padding-block-start: calc(var(--header-height) + 4rem);
  padding-block-end: 4rem;
  text-align: center;
  background: var(--stone);
  border-bottom: 1px solid var(--color-border);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-content p {
  margin-block-end: 1.5rem;
}

.about-factory-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}

.about-factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-block-start: 4rem;
}

/* Products Catalog Filtering */
.catalog-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-block-end: 3rem;
}

.filter-btn {
  background: var(--paper);
  border: 1px solid var(--color-border);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  text-transform: uppercase;
  font-weight: 600;
}

.filter-btn:hover {
  background: var(--stone);
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--oxide);
  border-color: var(--oxide);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  padding-block-start: calc(var(--header-height) + 2rem);
}

.product-detail-gallery {
  position: sticky;
  top: 100px;
}

.product-detail-img-box {
  background: var(--stone);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1.1;
  box-shadow: var(--shadow-sm);
}

.product-detail-img-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.15));
}

.product-detail-info h1 {
  font-size: 3rem;
  margin-block-end: 0.5rem;
}

.product-detail-info .classification {
  font-size: 1.1rem;
  color: var(--oxide);
  font-weight: 600;
  margin-block-end: 1rem;
  font-family: var(--font-mono);
}

.product-detail-info .weight {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-block-end: 2rem;
  font-family: var(--font-mono);
}

.product-detail-info h3 {
  font-size: 1.5rem;
  margin-block-end: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-block-end: 0.5rem;
  color: var(--text-dark);
}

.product-features-list {
  list-style: none;
  margin-block-end: 2.5rem;
}

.product-features-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-block-end: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.product-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
}

/* Specs Table */
.specs-table-wrapper {
  margin-block-end: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.specs-table th {
  background: var(--stone);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table tr:nth-child(even) {
  background: rgba(27, 31, 35, 0.02);
}

.specs-table td {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.specs-table td strong {
  color: var(--text-dark);
}

.product-action-row {
  display: flex;
  gap: 1.5rem;
}

/* Become a Dealer */
.dealer-page-header {
  padding-block-start: calc(var(--header-height) + 4rem);
  padding-block-end: 3rem;
  text-align: center;
  background: var(--stone);
  border-bottom: 1px solid var(--color-border);
}

.dealer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-card {
  display: flex;
  gap: 1.5rem;
}

.benefit-icon-box {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(234, 88, 12, 0.05);
  border: 1px solid var(--oxide);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oxide);
}

.benefit-text h3 {
  font-size: 1.2rem;
  margin-block-end: 0.5rem;
  color: var(--text-dark);
}

/* Forms */
.form-group {
  margin-block-end: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-block;
  padding-block-end: 0.25rem;
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  min-height: 48px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--color-border);
  color: var(--text-dark);
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--oxide);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

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

.form-control:invalid:user-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.error-message {
  font-size: 0.8rem;
  color: var(--color-error);
  display: none;
  margin-block-start: 0.25rem;
}

.form-control:invalid:user-invalid + .error-message {
  display: block;
}

.dealer-form-box {
  position: relative;
}

/* Form success banner */
.form-success-banner {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 12px;
  margin-block-start: 1rem;
}

.form-success-banner h3 {
  color: var(--color-success);
  font-size: 1.6rem;
  margin-block-end: 1rem;
}

.form-success-banner p {
  color: var(--text-muted);
}

/* Quality & Certifications Page */
.quality-page-header {
  padding-block-start: calc(var(--header-height) + 4rem);
  padding-block-end: 3rem;
  text-align: center;
  background: var(--stone);
  border-bottom: 1px solid var(--color-border);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.cert-card-detailed {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--paper);
}

.cert-card-detailed .cert-icon-large {
  width: 80px;
  height: 80px;
  margin-block-end: 1.5rem;
  color: var(--oxide);
}

.cert-card-detailed h3 {
  font-size: 1.4rem;
  margin-block-end: 0.75rem;
  color: var(--text-dark);
}

/* Contact Us Page */
.contact-page-header {
  padding-block-start: calc(var(--header-height) + 4rem);
  padding-block-end: 3rem;
  text-align: center;
  background: var(--stone);
  border-bottom: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-details-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon-box {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(234, 88, 12, 0.05);
  border: 1px solid var(--oxide);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oxide);
}

.contact-text-box h3 {
  font-size: 1.2rem;
  margin-block-end: 0.5rem;
  color: var(--text-dark);
}

.map-container {
  margin-block-start: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 250px;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Footer (Dark themed as requested) */
footer {
  margin-block-start: auto;
  background: var(--graphite);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-block: 4rem 2rem;
  color: var(--text-light);
}

footer h3, footer h4 {
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-block-end: 3rem;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-block-end: 1.5rem;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 0.9rem;
  margin-block-end: 1rem;
  color: rgba(247, 245, 241, 0.7);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(247, 245, 241, 0.7);
}

.footer-links a:hover {
  color: var(--oxide);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-block-start: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 245, 241, 0.7);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--oxide);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-block-start: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(247, 245, 241, 0.7);
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(247, 245, 241, 0.7);
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(0);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-widget svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid,
  .about-intro-grid,
  .product-detail-grid,
  .dealer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-detail-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    background: var(--graphite);
    flex-direction: column;
    align-items: center;
    padding-block-start: 3rem;
    transition: left var(--transition-slow);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open {
    left: 0;
  }
  header.scrolled .nav-links {
    top: var(--header-shrink-height);
    height: calc(100dvh - var(--header-shrink-height));
  }
  .nav-cta {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cert-item {
    padding: 1rem;
    gap: 0.75rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding-block: 3.5rem;
  }
  .whatsapp-widget span {
    display: none;
  }
  .whatsapp-widget {
    padding: 0.75rem;
    border-radius: 50%;
    bottom: 5.5rem; /* keep above sticky mobile bar */
  }
}

/* Mobile Sticky Bottom Bar & WhatsApp Buttons */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--paper);
  border-top: 1px solid var(--color-border);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 10px rgba(10, 37, 64, 0.05);
  z-index: 9999;
}

.btn-whatsapp {
  background: #22C55E !important; /* Green-600 */
  color: #FFFFFF !important;
  border: none !important;
}
.btn-whatsapp:hover {
  background: #15803D !important; /* Green-700 */
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: grid;
  }
  body {
    padding-bottom: 70px; /* space for sticky bar */
  }
}
