/* ============================================
   Treasun PV Technology - Global Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #1a56db;
  --color-primary-dark: #1e40af;
  --color-primary-light: #3b82f6;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-white: #ffffff;
  --color-off-white: #f8fafc;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-success: #10b981;
  --color-error: #ef4444;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  --shadow-sm: 0 1px 2px 0 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);

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-500);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  gap: 0.5rem;
}

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

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

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

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

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

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

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

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

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

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gray-900);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
}

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

.nav-links a {
  color: var(--color-gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

/* WhatsApp link */
.nav-links .whatsapp-link {
  color: #25D366;
}
.nav-links .whatsapp-link:hover {
  color: #1da851;
}
.nav-links .whatsapp-link::after {
  background: #25D366;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.nav-dropdown-menu a::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gray-800);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0.25rem 0 0.25rem 1rem;
    min-width: auto;
  }

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

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

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

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

/* --- Hero Section --- */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

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

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

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

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

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 520px;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

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

  .hero-image {
    order: -1;
  }
}

/* --- Stats Section --- */
.stats {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0;
}

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

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}

/* =========================================
   NEW HOMEPAGE STYLES (index-new)
   ========================================= */

/* --- New Hero Banner --- */
.hero-new {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f172a;
}

.hero-new-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-new-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(26,86,219,0.5) 100%);
  z-index: 1;
}

.hero-new-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--header-height) 0 4rem;
  margin-top: 2rem;
}

.hero-new-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero-new-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 640px;
}

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-primary);
  padding: 2rem 0;
}

.stats-bar-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stats-bar-item {
  text-align: center;
  padding: 0 2.5rem;
}

.stats-bar-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.stats-bar-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.stats-bar-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Product New Grid --- */
.products-new-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-new-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.product-new-img {
  width: 100%;
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-new-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-new-img-placeholder {
  font-size: 3rem;
  color: var(--color-gray-400);
}

.product-new-body {
  padding: 1rem 1.25rem;
}

.product-new-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 0.35rem;
}

.product-new-body p {
  font-size: 0.82rem;
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.4;
}

/* --- About Values Row --- */
.about-values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-values-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.about-values-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-values-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.about-values-card h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.about-values-card p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  margin: 0;
}

/* --- News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-gray-200);
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-card h3 a {
  color: var(--color-gray-800);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--color-primary);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.news-card-link {
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.news-card-link:hover {
  text-decoration: underline;
}

/* --- Contact Form Row --- */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-info h2 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-form-info > p {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-form-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.cfd-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form-detail div {
  display: flex;
  flex-direction: column;
}

.contact-form-detail strong {
  font-size: 0.85rem;
  color: var(--color-gray-700);
}

.contact-form-detail span {
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Manufacturing Gallery --- */
.mfg-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.mfg-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-gray-200);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

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

.mfg-card-img {
  width: 100%;
  height: 220px;
  background: #f8fafc;
  overflow: hidden;
}

.mfg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mfg-card-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #f0f7ff, #e0e7ff);
  color: var(--color-primary);
}

.mfg-card-tag {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-700);
  background: var(--color-white);
}

/* --- Horizontal Timeline --- */
.timeline-horizontal {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.timeline-h-item {
  flex: 1;
  min-width: 180px;
  position: relative;
  text-align: center;
}

.timeline-h-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 0.75rem;
}

.timeline-h-line {
  height: 2px;
  background: var(--color-gray-200);
  margin: 0 auto 0.75rem;
  width: 100%;
  position: relative;
}

.timeline-h-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.timeline-h-content p {
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.55;
  margin: 0;
}

/* --- New Homepage Responsive --- */
@media (max-width: 1024px) {
  .about-values-row { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .mfg-gallery { grid-template-columns: repeat(2, 1fr); }
  .timeline-horizontal { gap: 1rem; }
  .timeline-h-item { min-width: 160px; }
}

@media (max-width: 768px) {
  .hero-new {
    min-height: 70vh;
  }
  .hero-new-content {
    text-align: center;
  }
  .hero-new-content p {
    max-width: 100%;
  }
  .hero-new-buttons {
    justify-content: center;
  }
  .stats-bar-grid {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .stats-bar-divider {
    display: none;
  }
  .stats-bar-item {
    flex: 1 1 45%;
    padding: 0.75rem;
  }
  .products-new-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values-row {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .mfg-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .mfg-card-img { height: 160px; }
  .mfg-card-placeholder { height: 160px; font-size: 2.25rem; }
  .timeline-horizontal {
    flex-direction: column;
    gap: 0;
    overflow-x: visible;
  }
  .timeline-h-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
  }
  .timeline-h-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-200);
  }
  .timeline-h-dot {
    flex-shrink: 0;
    margin: 0;
  }
  .timeline-h-line {
    display: none;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =========================================
   FAQ PAGE STYLES
   ========================================= */

.faq-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

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

.faq-sidebar h3 {
  font-size: 1rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.faq-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-sidebar li {
  margin-bottom: 0.25rem;
}

.faq-cat-link {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--color-gray-600);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.faq-cat-link:hover,
.faq-cat-link.active {
  background: #f0f7ff;
  color: var(--color-primary);
}

.faq-section-title {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.faq-section-title:first-child {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--color-white);
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary-light, #c7d2fe);
}

.faq-question {
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0 0 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.faq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
  font-size: 0.92rem;
}

.faq-table th {
  background: #f8fafc;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-gray-700);
  border-bottom: 2px solid var(--color-gray-200);
}

.faq-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-600);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .faq-sidebar-sticky {
    position: static;
  }
  .faq-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .faq-cat-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  .faq-section-title {
    font-size: 1.25rem;
    margin-top: 1.75rem;
  }
}

/* =========================================
   PRODUCT LIST PAGE
   ========================================= */

.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
.products-sidebar { position: sticky; top: calc(var(--header-height) + 2rem); }
.sidebar-title { font-size: 1.05rem; font-weight: 700; color: var(--color-gray-800); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--color-gray-200); }
.category-nav { list-style: none; padding: 0; margin: 0; }
.category-nav li { margin-bottom: 2px; }
.category-nav a { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.85rem; color: var(--color-gray-600); text-decoration: none; border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: all 0.2s; }
.category-nav a:hover { background: #f0f7ff; color: var(--color-primary); }
.category-nav a.active { background: var(--color-primary); color: #fff; font-weight: 600; }
.category-nav a.active .cat-count { background: rgba(255,255,255,0.25); color: #fff; }
.cat-count { background: #f0f4f8; color: var(--color-gray-500); font-size: 0.75rem; padding: 2px 8px; border-radius: 10px; font-weight: 600; min-width: 24px; text-align: center; }
.products-count { color: var(--color-gray-500); font-size: 0.88rem; margin-bottom: 1.25rem; }
.products-empty { text-align: center; padding: 4rem 2rem; }
.products-empty .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.products-empty h3 { color: var(--color-gray-700); }
.products-empty p { color: var(--color-gray-500); }

/* Product grid cards — vertical stack, centered, uniform height */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.product-card-new { transition: all 0.3s; background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.product-card-new:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.product-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }
.product-card-img { width: 100%; aspect-ratio: 1 / 1; background: #f8fafc; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; flex-shrink: 0; }
.product-card-new:hover .product-card-img { border-color: #c7d2fe; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; padding: 0; transition: transform 0.3s; }
.product-card-new:hover .product-card-img img { transform: scale(1.05); }
.product-card-img-placeholder { font-size: 2.5rem; color: var(--color-gray-300); }
.product-card-info { padding: 1rem 0.75rem; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.product-card-name { font-size: 0.9rem; font-weight: 600; color: var(--color-gray-800); margin: 0 0 0.25rem; line-height: 1.4; text-align: center; word-break: break-word; }
.product-card-cat { font-size: 0.75rem; color: var(--color-primary); font-weight: 500; }

/* Pagination */
.products-pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.products-pagination .pagination { display: flex; list-style: none; padding: 0; margin: 0; gap: 4px; }
.products-pagination .pagination li a,
.products-pagination .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--color-gray-600); border: 1px solid var(--color-gray-200); background: #fff; transition: all 0.2s; }
.products-pagination .pagination li a:hover { background: #f0f7ff; border-color: #c7d2fe; color: var(--color-primary); }
.products-pagination .pagination li.active span { background: var(--color-primary); color: #fff; border-color: var(--color-primary); font-weight: 700; }
.products-pagination .pagination li.disabled span { color: var(--color-gray-300); border-color: var(--color-gray-100); background: #f8fafc; }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .products-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .products-sidebar { position: static; }
  .category-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .category-nav a { font-size: 0.82rem; padding: 0.4rem 0.75rem; }
  .cat-count { display: none; }
  .products-grid { grid-template-columns: 1fr; }
}

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

/* Top: gallery + info */
/* Product detail page: offset fixed header */
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

/* Gallery — fixed size */
.pd-gallery { position: sticky; top: calc(var(--header-height) + 1.5rem); }
.pd-main-img { background: #f8fafc; border-radius: var(--radius-lg); border: 1px solid var(--color-gray-200); overflow: hidden; position: relative; width: 100%; padding-top: 75%; }
.pd-main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.pd-empty { min-height: 340px; display: flex; align-items: center; justify-content: center; padding-top: 0; }
.pd-placeholder { text-align: center; color: var(--color-gray-300); position: static; }
.pd-placeholder i { font-size: 3rem; display: block; margin-bottom: 0.5rem; }

/* Arrow buttons */
.pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1px solid rgba(0,0,0,0.08); cursor: pointer; z-index: 2; color: #374151; display: flex; align-items: center; justify-content: center; transition: all 0.25s; padding: 0; backdrop-filter: blur(4px); opacity: 0; }
.pd-main-img:hover .pd-arrow { opacity: 1; }
.pd-arrow:hover { background: #fff; color: var(--color-primary); border-color: var(--color-primary); box-shadow: 0 4px 14px rgba(0,0,0,0.12); transform: translateY(-50%) scale(1.05); }
.pd-prev { left: 8px; }
.pd-next { right: 8px; }
.pd-img-count { position: absolute; bottom: 8px; right: 12px; background: rgba(0,0,0,0.5); color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 10px; }

/* Thumbnails */
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-thumb { width: 68px; height: 52px; border: 2px solid var(--color-gray-200); border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color 0.2s; background: #fff; flex-shrink: 0; }
.pd-thumb:hover, .pd-thumb.active { border-color: var(--color-primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info — flex column, button at bottom */
.pd-info { display: flex; flex-direction: column; justify-content: space-between; }
.pd-info h1 { font-size: 1.5rem; font-weight: 700; color: var(--color-gray-900); margin-bottom: 0.75rem; line-height: 1.3; }
.pd-labels { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.pd-label { font-size: 0.88rem; color: var(--color-gray-600); }
.pd-label strong { color: var(--color-gray-700); }
.pd-summary { color: var(--color-gray-600); line-height: 1.75; font-size: 0.92rem; min-height: 110px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.pd-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; font-size: 1rem; font-weight: 600; width: fit-content; margin-top: auto; }

/* Detail content (rich text) */
.pd-content { color: var(--color-gray-600); line-height: 1.8; font-size: 0.95rem; }
.pd-content img { max-width: 100%; border-radius: var(--radius-md); margin: 1rem 0; }
.pd-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.pd-content td, .pd-content th { padding: 0.6rem 1rem; border: 1px solid var(--color-gray-200); font-size: 0.9rem; }
.pd-content th { background: #f8fafc; font-weight: 600; color: var(--color-gray-700); }
.pd-content ul, .pd-content ol { padding-left: 1.25rem; margin: 0.5rem 0; }

/* Inquiry Modal */
.pd-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; }
.pd-modal-overlay.show { display: flex; }
.pd-modal { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem; max-width: 560px; width: 92vw; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.pd-modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.6rem; color: var(--color-gray-400); cursor: pointer; }
.pd-modal-close:hover { color: var(--color-gray-700); }
.pd-modal h2 { font-size: 1.4rem; color: var(--color-primary); margin-bottom: 0.25rem; }
.pd-modal-sub { color: var(--color-gray-500); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pd-modal .contact-form .form-group { margin-bottom: 1rem; }
.pd-modal .contact-form label { font-size: 0.88rem; font-weight: 500; color: var(--color-gray-700); }
.pd-modal .contact-form input,
.pd-modal .contact-form select,
.pd-modal .contact-form textarea { font-size: 0.92rem; padding: 0.65rem 0.85rem; border-radius: 6px; }
.pd-modal .contact-form .required { color: #e53e3e; }

@media (max-width: 768px) {
  .pd-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .pd-gallery { position: static; }
  .pd-info h1 { font-size: 1.3rem; }
  .pd-modal { padding: 1.5rem; }
}

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

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-gray-800);
}

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

.category-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

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

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

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.product-card-image {
  height: 220px;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-card-image .placeholder-img {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-card-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-gray-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gray-600);
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Page Header --- */
.page-header {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: var(--color-white);
  text-align: center;
}

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

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

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  background-color: var(--color-gray-50);
  border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumbs ol {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

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

.breadcrumbs .separator {
  color: var(--color-gray-400);
  font-size: 0.85rem;
}

.breadcrumbs .current {
  color: var(--color-gray-700);
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- Spec Tables --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table th,
.specs-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
}

.specs-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.specs-table tr:nth-child(even) td {
  background-color: var(--color-gray-50);
}

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

@media (max-width: 768px) {
  .specs-table {
    font-size: 0.85rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.625rem 0.75rem;
  }

  .specs-table td:first-child {
    width: 140px;
  }
}

/* --- Features List --- */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
}

.features-list .feature-icon {
  color: var(--color-success);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --- About Section --- */

/* Top row: 2-col — text left, image right */
.about-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

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

.about-top-text p {
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-top-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Focus list */
.about-focus-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-focus-list li {
  padding: 0.5rem 1rem;
  background: #f0f7ff;
  border-radius: 6px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.about-focus-list li::before {
  content: '\25CF';
  margin-right: 0.5rem;
  color: var(--color-accent, #f59e0b);
}

/* Bottom: full-width stacked cards */
.about-sections-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-section-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.about-section-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-section-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  border-radius: 12px;
}

.about-section-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

.about-section-card p {
  color: var(--color-gray-600);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.about-section-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-top-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- About Team / Factory grid (2-col) --- */
.about-facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-facility-grid {
  direction: rtl;
}

.about-facility-grid > * {
  direction: ltr;
}

.about-facility-content p {
  color: var(--color-gray-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-facility-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .about-facility-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.cert-card:hover {
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-200));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.cert-card h4 {
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

/* --- Why Choose Us --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-us-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-us-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.why-us-card h4 {
  margin-bottom: 0.75rem;
}

.why-us-card p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

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

.app-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.app-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-gray-200), var(--color-gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.app-card-body {
  padding: 1.5rem;
}

.app-card-body h3 {
  margin-bottom: 0.5rem;
}

.app-card-body p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info p {
  color: var(--color-gray-600);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item span {
  color: var(--color-gray-500);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

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

.form-group .error-msg {
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error .error-msg {
  display: block;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--color-error);
}

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

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

.form-success .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

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

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 4rem 0 0;
}

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

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

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--color-gray-400);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* --- Product Detail Page Layout --- */
.product-detail {
  padding: 3rem 0;
}

.product-detail-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.product-gallery {
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.product-gallery img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.product-summary h1 {
  margin-bottom: 1rem;
}

.product-summary .brief {
  color: var(--color-gray-600);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-gray-700);
}

.product-highlight .icon {
  color: var(--color-primary);
}

.product-detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-gray-200);
  margin-bottom: 2rem;
}

.product-detail-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}

.product-detail-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.product-detail-content {
  display: none;
}

.product-detail-content.active {
  display: block;
}

@media (max-width: 768px) {
  .product-detail-head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* --- Placeholder Images --- */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-gray-400);
}

.img-placeholder .ph-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.img-placeholder .ph-text {
  font-size: 0.85rem;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.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; }

.bg-gray { background-color: var(--color-gray-50); }
