/* ==========================================================================
   Trim Edge International - Core Stylesheet (Zero Horizontal Overflow System)
   Theme: Luxury Navy Blue & Metallic Gold B2B Manufacturer Interface
   ========================================================================== */

/* CSS Variables */
:root {
  --primary-dark: #070d18;
  --primary-navy: #0F1E36;
  --primary-navy-light: #162947;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F3E5AB;
  --accent-gold-dark: #996515;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --text-dark: #0F172A;
  --text-slate: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-surface: #F1F5F9;
  --border-light: #E2E8F0;
  --border-gold: rgba(212, 175, 55, 0.3);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(15, 30, 54, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 30, 54, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 30, 54, 0.12);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Strict Anti-Overflow & Word-Wrap Reset */
*, *::before, *::after {
  box-sizing: border-box !important;
  max-width: 100%;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

img, svg, video, iframe {
  max-width: 100% !important;
  height: auto;
  display: block;
}

a, span, p, h1, h2, h3, h4, h5, h6, div {
  overflow-wrap: break-word;
  word-break: break-word;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Typography Utilities */
.heading-font {
  font-family: var(--font-heading);
}

.text-gold {
  color: var(--accent-gold);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: clamp(0.875rem, 2.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  touch-action: manipulation;
  text-align: center;
}

.btn-primary-gold {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.btn-secondary-navy {
  background: var(--primary-navy);
  color: var(--text-light);
  border: 1px solid var(--primary-navy-light);
}

.btn-secondary-navy:hover {
  background: var(--primary-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

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

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

.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

/* Header & Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-info-item i {
  color: var(--accent-gold);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 30, 54, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand-logo img {
  height: 38px;
  width: auto;
  border-radius: var(--radius-sm);
  background: #FFF;
  padding: 2px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  font-size: 0.625rem;
  color: var(--accent-gold);
  font-style: italic;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile Drawer Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 60%, var(--primary-navy-light) 100%);
  color: #FFF;
  padding: 3rem 0 4rem;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  min-width: 0;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.85rem);
  line-height: 1.18;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.hero-description {
  font-size: clamp(0.875rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.35rem;
  line-height: 1.55;
}

.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-gold-light);
}

.hero-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.hero-image-card img {
  width: 100%;
  height: clamp(220px, 35vh, 400px);
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 30, 54, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-gold);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-lg);
}

.badge-icon {
  width: 34px;
  height: 34px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 0.825rem;
  color: #FFF;
}

.badge-text span {
  font-size: 0.7rem;
  color: var(--accent-gold);
}

/* Stats Counter Bar */
.stats-bar {
  background: var(--primary-dark);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.35rem 0;
  color: #FFF;
  width: 100%;
}

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

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--accent-gold);
  margin-bottom: 0.1rem;
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Section Wrapper */
.section-padding {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  width: 100%;
  overflow: hidden;
}

/* Catalog Filter Section */
.catalog-section {
  background: var(--bg-body);
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.category-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.45rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-slate);
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.search-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 0.6rem 0.85rem 0.6rem 2.2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  outline: none;
}

.search-box input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-box i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.sort-dropdown {
  width: 100%;
}

.sort-dropdown select {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  outline: none;
  cursor: pointer;
  width: 100%;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
  width: 100%;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
}

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

.product-image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--bg-surface);
  width: 100%;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(15, 30, 54, 0.88);
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.product-details {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.3rem;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
  margin-top: auto;
}

.spec-chip {
  font-size: 0.68rem;
  background: var(--bg-surface);
  color: var(--text-slate);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
}

.product-card-footer {
  display: flex;
  gap: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
}

.product-card-footer .btn {
  flex: 1;
}

/* Sustainability & Certification Section */
.eco-section {
  background: linear-gradient(180deg, #0F2746 0%, #08172B 100%);
  color: #FFF;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.eco-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.1rem;
}

.eco-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.eco-icon {
  width: 36px;
  height: 36px;
  background: rgba(15, 118, 110, 0.3);
  border: 1px solid #0F766E;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2DD4BF;
  font-size: 1rem;
  flex-shrink: 0;
}

.eco-text h4 {
  font-size: 0.9rem;
  color: #FFF;
  margin-bottom: 0.1rem;
}

.eco-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.eco-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
}

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

.cert-card h4 {
  font-size: 0.85rem;
  color: #FFF;
  margin-bottom: 0.15rem;
}

.cert-card p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Factory & Machinery Section */
.factory-section {
  background: var(--bg-surface);
  width: 100%;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  width: 100%;
}

.factory-card-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  width: 100%;
}

.factory-card-image img {
  width: 100%;
  height: clamp(220px, 32vh, 360px);
  object-fit: cover;
}

.factory-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.85rem 0 1.25rem;
}

.factory-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.factory-checklist li i {
  color: var(--accent-gold-dark);
  font-size: 0.9rem;
}

/* Modal Windows & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 0.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: var(--primary-navy);
  color: #FFF;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent-gold);
}

.modal-close-btn {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
}

.modal-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* Wizard Steps Indicator */
.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
  width: 100%;
}

.wizard-steps-indicator::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.step-indicator.active .step-number {
  background: var(--gold-gradient);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.step-indicator.completed .step-number {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: var(--accent-gold);
}

.step-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

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

.form-control {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--bg-card);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
}

.modal-footer {
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-question {
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-navy);
  cursor: pointer;
}

.faq-question i {
  color: var(--accent-gold-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 1rem 0.85rem;
  font-size: 0.825rem;
  color: var(--text-slate);
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 0.65rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Section */
.contact-section {
  background: var(--bg-card);
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.25rem;
  width: 100%;
}

.contact-info-card {
  background: var(--primary-navy);
  color: #FFF;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 0.65rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0;
}

.contact-detail-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 0.85rem;
  background: #25D366;
  color: #FFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--primary-navy);
  color: #FFF;
  border: 1px solid var(--accent-gold);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease;
  pointer-events: auto;
  max-width: 360px;
  margin: 0 auto;
}

@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.main-footer {
  background: var(--primary-dark);
  color: #FFFFFF !important;
  padding: 2.75rem 0 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  width: 100%;
}

.main-footer p,
.main-footer span,
.main-footer div,
.main-footer li,
.main-footer a,
.main-footer strong {
  color: #FFFFFF !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.footer-col h4 {
  color: var(--accent-gold) !important;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.825rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold) !important;
  padding-left: 3px;
}

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

.footer-bottom a {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--accent-gold) !important;
}

/* Responsive Breakpoints & Strict Anti-Overflow Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .eco-grid, .factory-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 840px) {
  .top-bar {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .nav-menu {
    display: none; /* Completely hidden when inactive - 0px scroll track! */
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--primary-navy);
    flex-direction: column;
    padding: 4rem 1.25rem 2rem;
    gap: 1.1rem;
    z-index: 999;
    border-left: 1px solid var(--border-gold);
    align-items: flex-start;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-link {
    font-size: 0.95rem;
    width: 100%;
  }

  .header-actions .btn {
    display: none !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn, .hero-buttons a {
    width: 100% !important;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 0.75rem !important;
  }

  .btn {
    white-space: normal !important;
    word-break: break-word !important;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

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

  .stat-item p {
    font-size: 0.7rem;
  }

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

  .eco-badge-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

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

  .modal-overlay {
    padding: 0.25rem !important;
  }

  .modal-container {
    max-height: 98vh !important;
    border-radius: var(--radius-sm) !important;
  }

  .modal-body {
    padding: 0.75rem !important;
  }

  .step-label {
    display: none !important;
  }
}
