/* ========================================================================
   MEWM SA de CV — X-Perts Group
   Industrial Premium Design System
   ======================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --brand-gold: #D4A017;
  --brand-gold-light: #E8B92E;
  --brand-gold-dark: #B8890F;
  --brand-gold-muted: rgba(212, 160, 23, 0.15);

  /* Light Mode */
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0F0F0;
  --bg-card: #FFFFFF;
  --bg-hero-overlay: rgba(15, 15, 15, 0.75);
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;
  --text-on-dark: #FFFFFF;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-blur: blur(20px);
  --nav-text: #1A1A1A;
  --section-alt-bg: #F5F5F5;
  --footer-bg: #111111;
  --footer-text: #CCCCCC;
  --input-bg: #FFFFFF;
  --input-border: #D0D0D0;
  --code-bg: #F5F5F5;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fs-7xl: 4.5rem;
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;
  --ls-tight: -0.03em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

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

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 80px;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-tertiary: #1A1A1A;
  --bg-card: #1A1A1A;
  --bg-hero-overlay: rgba(0, 0, 0, 0.65);
  --text-primary: #F0F0F0;
  --text-secondary: #B0B0B0;
  --text-muted: #707070;
  --text-on-dark: #FFFFFF;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
  --header-bg: rgba(10, 10, 10, 0.92);
  --nav-text: #F0F0F0;
  --section-alt-bg: #111111;
  --input-bg: #1A1A1A;
  --input-border: #333333;
  --code-bg: #1A1A1A;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--lh-normal);
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: var(--container-wide);
}

/* --- Section Spacing --- */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

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

.section--dark {
  background-color: #111111;
  color: #F0F0F0;
}

.section__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--brand-gold);
  display: inline-block;
}

.section__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin-bottom: var(--space-3xl);
}

/* ========================================================================
   HEADER
   ======================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--header-bg);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

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

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.85;
}

.site-logo__img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Removed dark mode filter since the new logo has vivid colors */

/* Footer logo: slightly larger */
.site-logo__img--footer {
  height: 56px;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--nav-text);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-gold);
  transition: width var(--transition-base);
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
  width: 100%;
}

.site-nav__link:hover {
  color: var(--brand-gold);
}

/* Nav Actions */
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.theme-toggle:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1010;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 1005;
  padding-top: var(--header-height);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__inner {
  padding: var(--space-3xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav__link {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text-primary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--brand-gold);
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  background-color: #0A0A0A;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero__logo {
  max-width: 100%;
  width: 400px;
  height: auto;
  margin-bottom: var(--space-2xl);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  animation: fadeInUp 0.8s ease-out both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-full);
  color: var(--brand-gold-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, var(--fs-7xl));
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: #FFFFFF;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__title .highlight {
  color: var(--brand-gold);
  position: relative;
}

.hero__description {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-2xl);
  max-width: 580px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-weight: 500;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.4);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 1.2s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--brand-gold);
  color: #FFFFFF;
  border-color: var(--brand-gold);
}

.btn--primary:hover {
  background-color: var(--brand-gold-light);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
}

.btn--outline {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.3);
}

.btn--outline:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-2px);
}

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

.btn--outline-dark:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-2px);
}

.btn__icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* ========================================================================
   ABOUT / VALUE PROPOSITION
   ======================================================================== */
.about {
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.about__image-wrapper:hover img {
  transform: scale(1.03);
}

.about__image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border: 3px solid var(--brand-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content {
  padding-left: var(--space-xl);
}

.about__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about__feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about__feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--brand-gold-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
}

.about__feature-icon svg {
  width: 20px;
  height: 20px;
}

.about__feature h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.about__feature p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ========================================================================
   SERVICES
   ======================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 160, 23, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--brand-gold-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: var(--lh-snug);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-card__list li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--brand-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================================================
   WELDING PROCESSES
   ======================================================================== */
.processes__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.process-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.process-item:hover {
  border-color: var(--brand-gold);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.process-item__code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--brand-gold);
  background: var(--brand-gold-muted);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}

.process-item__name {
  font-size: var(--fs-base);
  font-weight: 600;
}

.process-item__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.processes__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.processes__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  min-height: 450px;
}

/* ========================================================================
   CERTIFICATIONS
   ======================================================================== */
.certifications {
  text-align: center;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.cert-badge:hover {
  border-color: var(--brand-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-badge__icon {
  width: 44px;
  height: 44px;
  background: var(--brand-gold-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
}

.cert-badge__icon svg {
  width: 20px;
  height: 20px;
}

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

.cert-badge__name {
  font-size: var(--fs-sm);
  font-weight: 700;
}

.cert-badge__desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ========================================================================
   TECH SUPPORT / DIFFERENTIATORS
   ======================================================================== */
.differentiators__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.diff-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.diff-card:hover {
  border-color: rgba(212, 160, 23, 0.2);
  box-shadow: var(--shadow-lg);
}

.diff-card__number {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.diff-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: var(--lh-snug);
}

.diff-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ========================================================================
   OEM BANNER
   ======================================================================== */
.oem-banner {
  position: relative;
  padding: var(--space-5xl) 0;
  background-color: #0A0A0A;
  text-align: center;
  overflow: hidden;
}

.oem-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.oem-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25);
}

.oem-banner__content {
  position: relative;
  z-index: 2;
}

.oem-banner__title {
  font-size: clamp(1.875rem, 4vw, var(--fs-5xl));
  font-weight: 900;
  color: #FFFFFF;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-lg);
}

.oem-banner__title .highlight {
  color: var(--brand-gold);
}

.oem-banner__text {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* ========================================================================
   GALLERY
   ======================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery__item--tall {
  grid-row: span 2;
}

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

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__item-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.gallery__item:hover .gallery__item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================
   MANUFACTURING
   ======================================================================== */
.manufacturing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.mfg-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.mfg-card:hover {
  border-color: rgba(212, 160, 23, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.mfg-card__image {
  width: 140px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.mfg-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfg-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.mfg-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mfg-card__list li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding-left: var(--space-md);
  position: relative;
}

.mfg-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--brand-gold);
  border-radius: 50%;
}

/* ========================================================================
   CONTACT / CTA
   ======================================================================== */
.contact {
  background-color: #0F0F0F;
  color: #F0F0F0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact__info {
  padding-right: var(--space-2xl);
}

.contact__info .section__label {
  color: var(--brand-gold);
}

.contact__info .section__title {
  color: #FFFFFF;
}

.contact__info .section__subtitle {
  color: rgba(255,255,255,0.6);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(212, 160, 23, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
}

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

.contact__detail-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
}

.contact__detail-text strong {
  display: block;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: #1A1A1A;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand-gold);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-lg);
  max-width: 340px;
}

.footer__column h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}

.footer__column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__column a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer__column a:hover {
  color: var(--brand-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  gap: var(--space-lg);
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--brand-gold);
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .site-nav__list {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .about__grid,
  .processes__content,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__content {
    padding-left: 0;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .section__title {
    font-size: var(--fs-3xl);
  }

  .hero__stats {
    gap: var(--space-xl);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiators__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-logo__img {
    height: 36px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .services__grid,
  .manufacturing__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero__description {
    font-size: var(--fs-base);
  }

  .hero__logo {
    width: 280px;
    margin-bottom: var(--space-xl);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .about__image-wrapper img {
    height: 300px;
  }

  .cert-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .mfg-card {
    flex-direction: column;
  }

  .mfg-card__image {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__stats {
    flex-direction: column;
  }

  .hero__logo {
    width: 220px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    aspect-ratio: 16/9;
  }
}

/* ========================================================================
   UTILITY CLASSES
   ======================================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--brand-gold); }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: var(--space-md);
  background: var(--brand-gold);
  color: #fff;
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}
