/* ========================================
   Thai Soap Noodles — styles.css
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #1A3B2B;
  --primary-light: #245240;
  --secondary: #C68B3E;
  --secondary-dark: #B57A2C;
  --secondary-light: #d4a35e;
  --bg-cream: #F9F7F3;
  --bg-light: #F4F1EA;
  --text-dark: #1E1E1E;
  --text-light: #F4F1EA;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --border: #e0dbd3;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 64px;
}

/* --- Page Load Blur Animation --- */
.page-wrapper {
  filter: blur(8px);
  opacity: 0;
  transition: filter 0.6s ease-out, opacity 0.6s ease-out;
}

.page-wrapper.loaded {
  filter: blur(0);
  opacity: 1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--secondary-light);
}

ul {
  list-style: none;
}

/* --- Global SVG Icon Sizing --- */
svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Top bar icons */
.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--secondary);
  flex-shrink: 0;
}

/* Feature / capability / quality / cert / contact icons */
.feature-icon svg,
.capability-icon svg,
.quality-icon svg,
.cert-icon svg,
.contact-icon svg,
.contact-card-icon svg,
.address-icon svg,
.factory-address-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--secondary);
  flex-shrink: 0;
}

/* Icon wrapper divs */
.capability-icon,
.quality-icon,
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--secondary);
}

/* WhatsApp floating button icon */
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
  text-align: center;
}

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

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

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

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

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

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #1fb855;
  color: var(--white);
}

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

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

/* --- Factory Address Block --- */
.factory-address-block {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border-top: 4px solid var(--secondary);
}

.factory-address-content h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1em;
}

.factory-address-line {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.factory-address-line svg {
  width: 20px;
  height: 20px;
  fill: var(--secondary);
  flex-shrink: 0;
}

.factory-address-line a {
  color: var(--secondary);
  font-weight: 500;
}

.factory-address-line a:hover {
  color: var(--secondary-light);
}

.factory-address-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
}

/* ========================================
   MAIN NAVIGATION (Updated)
   ======================================== */
.site-header {
  background-color: rgba(249, 247, 243, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid rgba(198, 139, 62, 0.2);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(249, 247, 243, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid rgba(198, 139, 62, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}

.logo {
  line-height: 0;
  flex-shrink: 0;
}

.logo a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 6px rgba(198, 139, 62, 0.3));
}

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

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.main-nav a {
  color: var(--primary);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  border-radius: 6px;
}

.main-nav a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.main-nav a.active {
  background-color: var(--primary);
  color: var(--white);
}

.header-quote-btn {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.header-quote-btn:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 139, 62, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   HOMEPAGE SLIDER
   ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 0.4em;
  line-height: 1.2;
  max-width: 800px;
}

.slide-content p {
  font-size: 20px;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.slide-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.slider-dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  background: url('../../img_thai/banner_2.png') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 59, 43, 0.70) 0%, rgba(26, 59, 43, 0.50) 100%);
  z-index: 1;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* --- Stats --- */
.stats-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

/* --- Hero Intro Section --- */
.hero-intro-section {
  padding: 80px 0;
  background-color: var(--bg-cream);
}

.hero-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-intro-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6em;
}

.hero-intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5em;
}

.hero-intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}

.hero-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Why We Stand Out Section --- */
.why-standout-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.why-standout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-standout-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}

.why-standout-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-standout-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2em;
}

.why-standout-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-standout-list li {
  position: relative;
  padding: 14px 0 14px 48px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  border-bottom: 1px solid rgba(224, 219, 211, 0.5);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-standout-list li:last-child {
  border-bottom: none;
}

.why-standout-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  box-shadow: 0 2px 8px rgba(198, 139, 62, 0.3);
}

.why-standout-list li::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 29px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.why-standout-list li.animated {
  opacity: 1;
  transform: translateX(0);
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.stat-item .stat-label {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 4px;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}

.product-card-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* --- New Product Cards (Homepage) --- */
.products-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card-new {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.product-card-new .product-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-card-new .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card-new:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-new .product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-new .product-card-body h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5em;
  font-weight: 600;
}

.product-card-new .product-card-body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.product-card-new .product-card-body .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.feature-item h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-grid h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 1em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
}

.value-card h4 {
  color: var(--primary);
  margin-bottom: 0.4em;
  font-size: 1.1rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Certifications --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cert-badge {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--secondary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-badge .cert-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}

.cert-badge h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.cert-badge p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.address-block {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.address-block h4 {
  color: var(--primary);
  margin-bottom: 0.5em;
}

.address-block p {
  color: var(--text-muted);
}

/* --- Products Page Detail --- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
}

/* Product image gallery - 3 visible stacked vertically */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  height: 100%;
  min-height: 400px;
}

.product-gallery-slide {
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  opacity: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, cursor 0.2s ease;
  cursor: pointer;
}

.product-gallery-slide:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-dots {
  display: none;
}

.product-gallery-dot {
  display: none;
}

/* --- Product Image Lightbox --- */
.product-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 59, 43, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-lightbox.active {
  display: flex;
  opacity: 1;
}

.product-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.product-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10001;
}

.product-lightbox-close:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.product-lightbox-nav:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}

.product-lightbox-prev {
  left: 20px;
}

.product-lightbox-next {
  right: 20px;
}

.product-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 59, 43, 0.8);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.product-detail-content {
  padding: 30px;
}

.product-detail-content h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.4em;
}

.product-detail-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5em;
}

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

.specs-table th,
.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}

.specs-table th {
  color: var(--primary);
  font-weight: 600;
  width: 40%;
  background: var(--bg-light);
}

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

.packaging-info {
  margin-bottom: 1.5em;
}

.packaging-info h4 {
  color: var(--primary);
  margin-bottom: 0.3em;
}

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

/* Packaging list styling */
.packaging-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 1.5em;
}

.packaging-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.packaging-list li:last-child {
  border-bottom: none;
}

.packaging-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.product-detail.reverse .product-detail-image {
  order: 2;
}

.product-detail-grid.reverse .product-detail-image {
  order: 2;
}

/* Product applications list */
.product-applications {
  margin: 1em 0 1.5em;
}

.product-applications h4 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1.05rem;
}

.product-applications ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-applications li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-applications li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

/* Trade terms section */
.product-trade-terms {
  margin: 1.5em 0;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--secondary);
}

.product-trade-terms h4 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1rem;
}

.trade-term {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.93rem;
}

.trade-term:last-child {
  margin-bottom: 0;
}

.trade-term-label {
  color: var(--primary);
  font-weight: 600;
  min-width: 120px;
}

.trade-term-value {
  color: var(--text-muted);
}

/* Markets tags */
.product-markets {
  margin: 1em 0;
}

.product-markets h4 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1rem;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-tag {
  background: rgba(26, 59, 43, 0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5em;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-cream);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

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

.form-status {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-thankyou {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-thankyou h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 12px;
}

.form-thankyou p {
  color: var(--text-muted);
  font-size: 16px;
}

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

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h4 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1.1rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 0.3em;
}

.contact-card a {
  color: var(--secondary);
  font-weight: 500;
}

/* --- Factory Page --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

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

.capability-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
}

.capability-card h3 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1.1rem;
}

.capability-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.capability-card ul {
  margin-top: 0.5em;
  padding-left: 0;
}

.capability-card li {
  color: var(--text-muted);
  padding: 4px 0;
  font-size: 0.95rem;
  position: relative;
  padding-left: 18px;
}

.capability-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

/* --- Quality Control (Factory Page) --- */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.quality-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.quality-card .quality-icon {
  margin-bottom: 16px;
}

.quality-card h3 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1.15rem;
}

.quality-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Two-Column Grid (About / Products Pages) --- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}

.two-col-text p {
  color: var(--text-muted);
  margin-bottom: 1em;
  line-height: 1.7;
}

.two-col-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

/* --- Blog Page --- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 280px 1fr;
}

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

.blog-card-content {
  padding: 28px;
}

.blog-card-content .blog-date {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.3em;
}

.blog-card-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}

.blog-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.read-more {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.read-more:hover {
  color: var(--secondary-light);
}

/* --- FAQ Section --- */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-cream);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-left-color: var(--secondary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(198, 139, 62, 0.05);
  color: var(--secondary);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer-inner p {
  margin: 0;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary);
  color: var(--text-light);
  margin-top: auto;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 1em;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--secondary);
  opacity: 1;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-contact .footer-icon {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 50px;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5em;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5em;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Fade Up */
.animate-fade-up {
  transform: translateY(20px);
}

/* Slide from Left */
.animate-slide-left {
  transform: translateX(-50px);
}

/* Slide from Right */
.animate-slide-right {
  transform: translateX(50px);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ========================================
   BLOG POST PAGE STYLES
   ======================================== */

.blog-post {
  padding: 80px 0 60px;
  background-color: var(--white);
}

.blog-post-header {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-light);
}

.blog-post-date,
.blog-post-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.blog-post-excerpt {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-medium);
  font-style: italic;
}

.blog-post-featured {
  max-width: 1000px;
  margin: 0 auto 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.blog-post-featured img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-post-image-caption {
  padding: 16px 20px;
  background-color: var(--bg-light);
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin: 0;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 50px 0 24px;
  line-height: 1.3;
}

.blog-post-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 40px 0 16px;
  line-height: 1.3;
}

.blog-post-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 8px;
}

.blog-post-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.blog-post-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.blog-post-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-medium);
}

.blog-post-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.blog-post-list li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.blog-post-pullquote {
  margin: 50px 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  position: relative;
}

.blog-post-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.blog-post-pullquote blockquote {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.blog-post-highlight {
  margin: 40px 0;
  padding: 30px;
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
}

.blog-post-highlight p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-medium);
}

.blog-post-highlight p:last-child {
  margin-bottom: 0;
}

.blog-post-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 50px 0;
}

.blog-post-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.blog-post-cta {
  margin-top: 60px;
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  border: 2px solid var(--primary);
  border-radius: 16px;
  text-align: center;
}

.blog-post-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.blog-post-cta p {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 24px;
}

/* Related Posts */
.related-posts {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.related-post-card {
  display: block;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  text-decoration: none;
}

.related-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.related-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.related-post-content {
  padding: 24px;
}

.related-post-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition);
}

.related-post-card:hover .related-post-content h4 {
  color: var(--primary);
}

.related-post-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   BLOG SLIDER SECTION
   ======================================== */

.blog-slider-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.blog-slider-wrapper {
  position: relative;
  margin: 50px 0 30px;
  overflow: hidden;
}

.blog-slider-track {
  overflow: hidden;
  border-radius: 16px;
}

.blog-slider-slides {
  display: flex;
  transition: transform 0.6s ease;
}

.blog-slider-slide {
  min-width: 100%;
  display: none;
}

.blog-slider-slide.active {
  display: block;
}

.blog-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-slide-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.blog-slide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.blog-slide-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition);
}

.blog-slide-card:hover .blog-slide-card-image {
  transform: scale(1.05);
}

.blog-slide-card-body {
  padding: 24px;
}

.blog-slide-card-date {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin-bottom: 12px;
}

.blog-slide-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.blog-slide-card:hover .blog-slide-card-title {
  color: var(--primary);
}

.blog-slide-card-excerpt {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-slide-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-slide-card-link:hover {
  color: var(--primary-dark);
}

.blog-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}

.blog-slider-arrow:hover {
  background-color: var(--primary);
  color: var(--white);
}

.blog-slider-arrow.blog-slider-prev {
  left: -24px;
}

.blog-slider-arrow.blog-slider-next {
  right: -24px;
}

.blog-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.blog-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-light);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0.4;
}

.blog-slider-dot.active {
  background-color: var(--primary);
  opacity: 1;
  transform: scale(1.2);
}

.blog-slider-cta {
  text-align: center;
  margin-top: 30px;
}

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

/* Tablet */
@media (max-width: 1024px) {
  .hero-slider {
    height: 400px;
  }

  .slide-content h1 {
    font-size: 36px;
  }

  .slide-content p {
    font-size: 18px;
  }

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

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

  .about-grid img {
    order: -1;
  }

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

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

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

  .product-gallery {
    gap: 10px;
    padding: 12px;
    min-height: 300px;
  }

  .product-gallery-slide {
    aspect-ratio: 1 / 1;
  }

  .trade-term {
    flex-direction: column;
    gap: 2px;
  }

  .trade-term-label {
    min-width: auto;
  }

  .product-detail.reverse .product-detail-image {
    order: 0;
  }

  .product-detail-grid.reverse .product-detail-image {
    order: 0;
  }

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

  .blog-card {
    grid-template-columns: 200px 1fr;
  }

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

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-standout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-standout-image {
    order: -1;
  }

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

  .two-col-image {
    order: -1;
  }

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

  .blog-post-title {
    font-size: 32px;
  }

  .blog-post-content h2 {
    font-size: 26px;
  }

  .blog-post-pullquote {
    padding: 30px;
  }

  .blog-post-pullquote blockquote {
    font-size: 20px;
  }

  .blog-post-image-grid {
    grid-template-columns: 1fr;
  }

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

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

  .blog-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .blog-slider-arrow.blog-slider-prev {
    left: -16px;
  }

  .blog-slider-arrow.blog-slider-next {
    right: -16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: 70px;
    padding: 10px 16px;
    gap: 10px;
  }

  .header-quote-btn {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(249, 247, 243, 0.98) 0%, rgba(244, 241, 234, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid rgba(198, 139, 62, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 6px;
  }

  .main-nav a {
    padding: 14px 20px;
    margin: 0;
    border-radius: 12px;
    text-align: left;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .main-nav a:hover {
    background-color: var(--primary);
    color: var(--white);
    border-left-color: var(--secondary);
  }

  .main-nav a.active {
    background-color: var(--primary);
    color: var(--white);
    border-left-color: var(--secondary);
  }

  .hero-slider {
    height: 300px;
  }

  .slide-content h1 {
    font-size: 28px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .slide-buttons {
    flex-direction: column;
    align-items: center;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    opacity: 1;
  }

  .slider-arrow.prev {
    left: 12px;
  }

  .slider-arrow.next {
    right: 12px;
  }

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

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .products-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 200px;
  }

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

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

  .certifications {
    flex-direction: column;
    align-items: center;
  }

  .product-detail-content {
    padding: 20px;
  }

  .contact-form {
    padding: 24px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 0 18px 18px;
    font-size: 0.9rem;
  }

  .blog-post {
    padding: 50px 0 40px;
  }

  .blog-post-title {
    font-size: 26px;
  }

  .blog-post-excerpt {
    font-size: 16px;
  }

  .blog-post-content h2 {
    font-size: 22px;
    margin: 40px 0 20px;
  }

  .blog-post-content h3 {
    font-size: 20px;
    margin: 30px 0 12px;
  }

  .blog-post-content p {
    font-size: 16px;
  }

  .blog-post-pullquote {
    padding: 24px;
    margin: 40px 0;
  }

  .blog-post-pullquote blockquote {
    font-size: 18px;
  }

  .blog-post-pullquote::before {
    font-size: 80px;
  }

  .blog-post-highlight {
    padding: 20px;
  }

  .blog-post-image-grid {
    margin: 40px 0;
  }

  .blog-post-cta {
    padding: 40px 24px;
    margin-top: 50px;
  }

  .blog-post-cta h3 {
    font-size: 24px;
  }

  .related-posts {
    padding: 50px 0;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-slider-section {
    padding: 50px 0;
  }

  .blog-slider-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-slider-arrow {
    display: none;
  }

  .blog-slide-card-image {
    height: 180px;
  }

  .blog-post-meta {
    flex-direction: column;
    gap: 12px;
  }
}
