/* ========================================
   Kevin Panels - Industrial Export Website
   Brand Colors: #2C3E50 (Deep Gray-Blue)
                 #E67E22 (Industrial Orange)
   ======================================== */

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

/* --- CSS Variables --- */
:root {
  --primary: #2C3E50;
  --primary-light: #3D566E;
  --primary-dark: #1A252F;
  --accent: #E67E22;
  --accent-light: #F0A04B;
  --accent-dark: #C96B15;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --mid-gray: #ADB5BD;
  --text: #2D3436;
  --text-light: #636E72;
  --text-muted: #B2BEC3;
  --success: #27AE60;
  --danger: #E74C3C;
  --warning: #F39C12;
  --border: #DEE2E6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent-dark);
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 1.2rem;
}

.logo span {
  color: var(--accent);
}

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

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(230, 126, 34, 0.08);
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
  margin-top: var(--header-height);
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(230, 126, 34, 0.2);
  border: 1px solid rgba(230, 126, 34, 0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 540px;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat h3 {
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 800;
}

.hero-stat p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* --- Section --- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--off-white);
}

/* --- Product Category Cards --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.category-icon {
  width: 64px;
  height: 64px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--accent);
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--accent);
  color: var(--white);
}

.category-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.category-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Advantage Cards --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.advantage-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.advantage-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Certification Badges --- */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.cert-badge {
  text-align: center;
  padding: 1.5rem;
  min-width: 130px;
}

.cert-badge i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cert-badge p {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* --- Factory Placeholder --- */
.factory-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.factory-img {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.factory-img i {
  position: absolute;
  z-index: 1;
}

.factory-img::after {
  content: 'Factory Image';
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */

.page-header {
  margin-top: var(--header-height);
  background: var(--primary);
  padding: 4rem 0 3rem;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
}

/* Filter Bar */
.filter-bar {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: var(--header-height);
  z-index: 100;
}

.filter-inner {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.filter-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-right: 0.25rem;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 3rem;
  position: relative;
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.product-body .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.product-body .spec {
  font-size: 0.78rem;
  color: var(--text-light);
  background: var(--off-white);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.product-body .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  color: var(--accent);
  font-weight: 500;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem 0 4rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.product-gallery-main {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 5rem;
  margin-bottom: 1rem;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.product-thumb {
  width: 80px;
  aspect-ratio: 1;
  background: var(--light-gray);
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  transition: var(--transition);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent);
}

.product-info h1 {
  margin-bottom: 0.5rem;
}

.product-info .product-grade {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

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

.specs-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 180px;
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   OEM PAGE
   ======================================== */

.oem-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.oem-step {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.oem-step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.oem-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.oem-step p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.oem-step-arrow {
  display: none;
}

@media (min-width: 769px) {
  .oem-step-arrow {
    display: block;
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.5rem;
  }
}

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

.oem-adv-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.oem-adv-icon {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.oem-adv-text h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.oem-adv-text p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.about-image {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 5rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.about-number {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.about-number h3 {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.about-number p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

.timeline-item h3 {
  font-size: 1rem;
  margin: 0.25rem 0;
}

.timeline-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ========================================
   CERTIFICATION PAGE
   ======================================== */

.cert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.cert-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--success);
  box-shadow: var(--shadow);
}

.cert-item-icon {
  width: 56px;
  height: 56px;
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cert-item-content h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cert-item-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.standards-explanation {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.standard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.standard-card h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.standard-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.standard-card .highlight {
  background: rgba(230, 126, 34, 0.08);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  font-size: 0.85rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem 0;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method-text h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-method-text p,
.contact-method-text a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.25rem;
}

.contact-form-wrapper > p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

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

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--off-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success i {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

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

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

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    gap: 0.5rem;
    align-items: stretch;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-overlay.open {
    display: block;
  }

  .hero {
    min-height: 70vh;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .factory-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .factory-showcase .factory-img:last-child {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .cert-list {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

  .filter-inner {
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

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

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

  .factory-showcase {
    grid-template-columns: 1fr;
  }

  .factory-showcase .factory-img:nth-child(2) {
    display: none;
  }

  .about-numbers {
    grid-template-columns: 1fr;
  }

  .oem-flow {
    grid-template-columns: 1fr;
  }

  .oem-advantages {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

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

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* --- Floating WhatsApp Button --- */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 950;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: waPulse 2s ease-in-out infinite;
}

.floating-wa:hover {
  background: #1DA851;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6); }
}

/* Adjust scroll-top position when floating WA is present */
.floating-wa ~ .scroll-top {
  bottom: 6rem;
}

/* --- Product Card Image --- */
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--light-gray);
}

/* --- Homepage Cert Mini Grid --- */
.cert-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cert-mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.cert-mini-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cert-mini-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.cert-mini-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cert-mini-card p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.cert-mini-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Case Studies / Success Stories --- */
.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.story-card-img {
  aspect-ratio: 16/10;
  background: var(--light-gray);
  overflow: hidden;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-body {
  padding: 1.25rem;
}

.story-card-body .story-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.story-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.story-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Case Study Detail (on case-studies page) --- */
.case-study-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.case-study-block:last-child {
  border-bottom: none;
}

.case-study-image {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-content h2 {
  margin-bottom: 0.75rem;
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.case-study-meta span {
  background: var(--off-white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.case-study-section {
  margin-bottom: 1rem;
}

.case-study-section h4 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.case-study-section p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.case-study-result {
  background: rgba(39, 174, 96, 0.08);
  border-left: 3px solid var(--success);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 0.5rem;
}

.case-study-result p {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* --- Privacy & Terms Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content .last-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --- Table header styles for cert comparison --- */
.specs-table thead th {
  border-bottom: 2px solid var(--primary);
  font-size: 0.85rem;
  color: var(--primary);
}
