/* ============================================
   SYNERGY IN MOTION - Website Styles
   Colors derived from company brand
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue-900: #072040;
  --blue-800: #0A2A4A;
  --blue-700: #0C3D6E;
  --blue-600: #0A5EB5;
  --blue-500: #1976D2;
  --blue-400: #3B9FE7;
  --blue-300: #64B5F6;
  --blue-200: #90CAF9;
  --blue-100: #BBDEFB;
  --blue-50:  #E3F2FD;

  --red-500: #E53935;
  --red-400: #EF5350;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;

  --white: #FFFFFF;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Utility ---------- */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 3rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 2px;
  background: var(--blue-500);
}

.section-label.no-line {
  padding-left: 0;
}

.section-label.no-line::before {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-900);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 640px;
  line-height: 1.8;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  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; }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 42px;
  transition: var(--transition);
}

/* Hide logo when navbar is transparent (over hero) — only show on white band */
.navbar:not(.scrolled) .nav-logo {
  opacity: 0;
  pointer-events: none;
}

.navbar.scrolled .nav-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}

.nav-links .nav-cta {
  background: var(--blue-600);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  margin-left: 0.5rem;
}

.nav-links .nav-cta:hover {
  background: var(--blue-700) !important;
  color: var(--white) !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-800);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 159, 231, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(229, 57, 53, 0.08) 0%, transparent 50%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(30deg, var(--white) 12%, transparent 12.5%, transparent 87%, var(--white) 87.5%, var(--white)),
    linear-gradient(150deg, var(--white) 12%, transparent 12.5%, transparent 87%, var(--white) 87.5%, var(--white)),
    linear-gradient(30deg, var(--white) 12%, transparent 12.5%, transparent 87%, var(--white) 87.5%, var(--white)),
    linear-gradient(150deg, var(--white) 12%, transparent 12.5%, transparent 87%, var(--white) 87.5%, var(--white));
  background-size: 80px 140px;
}

/* Accent stripe at hero bottom */
.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500) 0%, var(--white) 50%, var(--red-500) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 4rem;
  width: 100%;
}

.hero-content {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-motto {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-motto span {
  display: block;
  background: linear-gradient(135deg, var(--blue-200), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--blue-200);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* Hero cards - 3 business units */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-card:hover::before {
  opacity: 1;
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  box-shadow: 0 8px 16px rgba(10, 94, 181, 0.3);
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.hero-card p {
  color: var(--blue-200);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-300);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.25rem;
  transition: var(--transition);
}

.hero-card:hover .card-arrow {
  color: var(--white);
  gap: 0.75rem;
}

/* Hero cards with photo backgrounds */
.hero-card.has-photo {
  border: none;
  overflow: visible;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  clip-path: inset(0 round 16px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.hero-card.has-photo::before {
  display: none;
}

.hero-card.has-photo:hover {
  background: inherit;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.hero-card.has-photo > * {
  position: relative;
  z-index: 1;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 7rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-subtitle {
  margin-bottom: 2rem;
}

.about-mission {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  margin-top: 2rem;
}

.about-mission h4 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.5rem;
}

.about-mission p {
  color: var(--gray-700);
  font-size: 1rem;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Stats bar */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--blue-300);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- GEO FOOTPRINT ---------- */
.geo {
  padding: 5rem 0;
  background: var(--gray-50);
}

.geo-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.geo-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.geo-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.geo-card-flag {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.geo-card h4 {
  font-size: 1.1rem;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.geo-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.geo-card .geo-badge {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-top: 0.75rem;
}

/* ---------- FOOTWEAR ---------- */
.footwear {
  padding: 7rem 0;
  background: var(--white);
}

.footwear-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.process-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.process-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.process-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.process-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-card:hover .process-card-image img {
  transform: scale(1.05);
}

.process-card-body {
  padding: 1.5rem;
}

.process-card-body h4 {
  font-size: 1.15rem;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.process-card-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Advantage pills */
.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}

.advantage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.advantage-pill:hover {
  background: var(--blue-100);
}

.advantage-pill .pill-icon {
  color: var(--blue-500);
}

/* Partnership section */
.partnerships {
  padding: 5rem 0;
  background: var(--gray-50);
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.partnership-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.partnership-card h4 {
  font-size: 1.3rem;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.partnership-card p {
  color: var(--gray-600);
  line-height: 1.8;
}

.partnership-card .partner-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

/* ---------- HELMETS ---------- */
.helmets {
  padding: 7rem 0;
  background: var(--white);
}

.helmets-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}

.helmets-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.highlight-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  transition: var(--transition);
}

.highlight-card:hover {
  background: var(--blue-50);
}

.highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  color: var(--white);
  border-radius: 12px;
  font-size: 1.2rem;
}

.highlight-card h4 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.highlight-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* VFT Technology feature section */
.vft-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
}

.vft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Text-only VFT layout (no image) */
.vft-text-only {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.vft-text-only .section-label {
  color: var(--blue-300);
}

.vft-text-only .section-label::before {
  background: var(--blue-300);
}

.vft-text-only h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.vft-text-only p {
  color: var(--blue-200);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.vft-text .section-label {
  color: var(--blue-300);
}

.vft-text .section-label::before {
  background: var(--blue-300);
}

.vft-text h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.vft-text p {
  color: var(--blue-200);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.vft-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vft-image img {
  width: 100%;
}

/* ---------- MATERIALS / ETPU ---------- */
.materials {
  padding: 7rem 0;
  background: var(--white);
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.materials-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.materials-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.material-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.material-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.material-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 10px;
  font-size: 1rem;
}

.material-feature h5 {
  font-size: 0.95rem;
  color: var(--blue-900);
  margin-bottom: 0.2rem;
}

.material-feature p {
  color: var(--gray-600);
  font-size: 0.85rem;
}

/* ---------- LEADERSHIP ---------- */
.leadership {
  padding: 7rem 0;
  background: var(--gray-50);
}

.leadership-text {
  max-width: 600px;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--blue-600);
}

.team-avatar-photo {
  background: none;
  overflow: hidden;
}

.team-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card h4 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ---------- FACTORIES ---------- */
.factories {
  padding: 7rem 0;
  background: var(--white);
}

.factory-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  margin-top: 2rem;
}

.factory-tab {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.factory-tab:hover {
  border-color: var(--blue-300);
  color: var(--blue-600);
}

.factory-tab.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.factory-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.factory-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-gallery-item:hover img {
  transform: scale(1.08);
}

.factory-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.factory-content {
  display: none;
}

.factory-content.active {
  display: block;
}

/* ---------- CUSTOMERS ---------- */
.customers {
  padding: 5rem 0;
  background: var(--gray-50);
}

.customer-logos-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.logo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
}

.logo-row-partners {
  gap: 3rem;
}

.customer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.55;
}

.customer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.customer-logo img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* Logos with light image backgrounds — give them a white card */
.customer-logo.white-bg {
  background: white;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* Logos that need a dark card (e.g. framas white-on-black) */
.customer-logo.dark-bg {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

/* Text-based logo badges — keep full color, no grayscale */
.customer-logo.logo-text-wrap {
  filter: none;
  opacity: 0.72;
  padding: 0;
}

.customer-logo.logo-text-wrap:hover {
  filter: none;
  opacity: 1;
}

.logo-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 5px;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-height: 40px;
}

.logo-badge-tall {
  padding: 0.5rem 1.25rem;
  min-height: 52px;
  text-align: center;
}

/* ---------- NEWS ---------- */
.news {
  padding: 7rem 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: var(--gray-50);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Photo event cards */
.news-card.photo-card {
  padding: 0;
}

.news-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card h4 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.news-card p {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin: 0;
}

/* Last row centering when cards don't fill a full row */
.news-grid.photo-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .news-grid.photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .news-grid.photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 159, 231, 0.1), transparent 70%);
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.contact-text p {
  color: var(--blue-200);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.15rem;
  color: var(--white);
  transition: var(--transition);
}

.contact-email:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--blue-200);
  font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--blue-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 32px;
  opacity: 0.8;
}

.footer-copy {
  color: var(--blue-300);
  font-size: 0.85rem;
}

.footer-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--white), var(--red-500));
  margin-top: 2rem;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

/* ---------- R&D Process section ---------- */
.rnd-process {
  padding: 5rem 0;
  background: var(--gray-50);
}

.rnd-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.rnd-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.rnd-step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}

.rnd-step h4 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.rnd-step p {
  color: var(--gray-600);
  font-size: 0.85rem;
}

/* Arrow between steps */
.rnd-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3.5rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: var(--blue-300);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .about-grid,
  .vft-grid,
  .materials-grid,
  .contact-grid,
  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .helmets-highlights {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .factory-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 32, 64, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--white) !important;
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .factory-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .rnd-step:not(:last-child)::after {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid-6 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-motto {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
