/* ============================================================
   P-Design Laminates Studio Ltd. — Industrial Design System
   Design: Dark Industrial + Steel Blue + Amber Accent
   Fonts: Poppins (display & body)
   ============================================================ */

:root {
  --charcoal: #0d0d0d;
  --ink: #1a1a1a;
  --carbon: #141414;
  --steel: #1e2a35;
  --steel-light: #2a3a4a;
  --amber: #175e3c;
  --amber-dark: #11472c;
  --amber-glow: rgba(23, 94, 60, 0.25);
  --amber-light: #e9f2ee;
  --hover-color: #11472c;
  --cream: #fafafa;
  --paper: #f4f4f5;
  --slate: #6b7280;
  --slate-light: #9ca3af;
  --white: #ffffff;
  --border: rgba(23, 94, 60, 0.12);
  --border-dark: rgba(255, 255, 255, 0.06);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(23, 94, 60, 0.15);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);

  --hero-bg: var(--charcoal);
  --footer-bg: var(--charcoal);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ── Subtle grid texture on body ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(0, 0, 0, 0.015) 48px, rgba(0, 0, 0, 0.015) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(0, 0, 0, 0.015) 48px, rgba(0, 0, 0, 0.015) 49px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   PAGE LOADER — Professional Image Reveal
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-pro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-pro-logo-mask {
  overflow: hidden;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-pro-logo {
  height: 140px;
  width: auto;
  object-fit: contain;
  transform: translateY(100%);
  opacity: 0;
  animation: logoRevealUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.loader-pro-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: loaderFadeIn 0.8s ease 0.6s forwards;
}

.loader-pro-progress {
  width: 300px;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: loaderFadeIn 0.5s ease 0.6s forwards;
}

.loader-pro-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--amber);
  animation: loaderProgressBar 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
}

@keyframes logoRevealUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes loaderProgressBar {
  0% {
    width: 0%;
  }

  60% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

@keyframes loaderFadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

#main-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 88px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 68px;
  width: auto;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber);
}

.logo-fallback .logo-icon {
  font-size: 1.8rem;
}

.logo-fallback strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.logo-fallback small {
  font-size: 0.65rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ============================================================
   NAVIGATION DROPDOWN MENU
   ============================================================ */
.nav-item-dropdown {
  position: relative;
}

.dropdown-chevron {
  margin-left: 6px;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
}

/* Desktop Dropdown styling */
@media (min-width: 769px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    margin: 0;
    list-style: none;
  }
  
  .dropdown-menu li {
    width: 100%;
  }
  
  .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--charcoal);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
  }
  
  .dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--amber);
    padding-left: 24px;
  }
  
  .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .nav-item-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
  }
}

/* Mobile Dropdown styling */
@media (max-width: 768px) {
  .dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
  }
  
  .dropdown-menu li {
    width: 100%;
  }
  
  .dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: left;
  }
  
  .dropdown-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .nav-item-dropdown.open-dropdown .dropdown-menu {
    display: block;
  }
  
  .nav-item-dropdown.open-dropdown .dropdown-chevron {
    transform: rotate(180deg);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

.section-dark .section-title {
  color: var(--cream);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(253, 248, 240, 0.7);
}

.divider-amber {
  width: 48px;
  height: 3px;
  background: var(--amber);
  margin: 20px 0 40px;
  border-radius: 2px;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(23, 94, 60, 0.2);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--hover-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(23, 94, 60, 0.3);
  }
}

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

@media (hover: hover) {
  .btn-outline:hover {
    background: var(--amber);
    color: var(--white);
    transform: translateY(-1px);
  }
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-hero {
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}

.btn-outline-hero:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   HERO — White/Light Theme
   ============================================================ */
.hero {
  background: transparent;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Global Animated Background - Laminate inspired */
.global-bg-animation {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background: var(--white);
}

.theme-dark .global-bg-animation {
  background: var(--charcoal);
}

.bg-laminate {
  position: absolute;
  background: linear-gradient(135deg, rgba(23, 94, 60, 0.07) 0%, rgba(23, 94, 60, 0) 100%);
  border: 1px solid rgba(23, 94, 60, 0.12);
  border-radius: 4px;
  transform-origin: center;
  backdrop-filter: blur(2px);
}

.theme-dark .bg-laminate {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.laminate-1 {
  width: 60vw;
  height: 120vh;
  top: -10%;
  left: -20%;
  transform: rotate(15deg);
  animation: slideLaminate 25s ease-in-out infinite alternate;
}

.laminate-2 {
  width: 40vw;
  height: 80vh;
  bottom: -20%;
  right: -10%;
  transform: rotate(-25deg);
  animation: slideLaminate 30s ease-in-out infinite alternate-reverse;
}

.laminate-3 {
  width: 30vw;
  height: 60vh;
  top: 30%;
  left: 40%;
  transform: rotate(45deg);
  animation: slideLaminate 20s ease-in-out infinite alternate;
}

.laminate-4 {
  width: 50vw;
  height: 50vh;
  top: -15%;
  right: 15%;
  transform: rotate(-10deg);
  animation: slideLaminate 28s ease-in-out infinite alternate-reverse;
}

@keyframes slideLaminate {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }

  50% {
    transform: translateY(20px) translateX(10px) rotate(calc(var(--rot, 0deg) + 2deg));
  }
}

.laminate-1 {
  --rot: 15deg;
  animation-duration: 20s;
}

.laminate-2 {
  --rot: -25deg;
  animation-duration: 15s;
}

.laminate-3 {
  --rot: 45deg;
  animation-duration: 18s;
}

.laminate-4 {
  --rot: -10deg;
  animation-duration: 22s;
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(23, 94, 60, 0.03) 60px, rgba(23, 94, 60, 0.03) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(23, 94, 60, 0.03) 60px, rgba(23, 94, 60, 0.03) 61px);
  mask-image: radial-gradient(ellipse 100% 100% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, black, transparent);
}

.theme-dark .bg-grid-overlay {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255, 255, 255, 0.02) 60px, rgba(255, 255, 255, 0.02) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255, 255, 255, 0.02) 60px, rgba(255, 255, 255, 0.02) 61px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* Eyebrow with line */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-typed-wrapper {
  display: inline-block;
  min-width: 6.5em;
  /* relative sizing to prevent squishing */
}

.hero-typed {
  color: var(--amber);
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.hero-typed::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--amber);
  margin-left: 4px;
  vertical-align: middle;
  animation: heroCursorBlink 0.6s step-end infinite;
}

@keyframes heroCursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item {}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--white);
}

.hero-visual-card.no-img {
  background: linear-gradient(135deg, var(--paper) 0%, var(--amber) 100%);
}

.hv-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--amber), transparent, var(--hover-color));
  opacity: 0.15;
  z-index: -1;
  filter: blur(20px);
  animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    opacity: 0.1;
  }

  100% {
    opacity: 0.2;
  }
}

.hv-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}

/* ============================================================
   WHY CHOOSE US — Feature Cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--hover-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(23, 94, 60, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(23, 94, 60, 0.25);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================================
   FEATURED PRODUCTS CARDS (Home)
   ============================================================ */
.product-card-featured {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 220px;
}

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

.pcf-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--white) !important;
  /* Force white background */
}

.pcf-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  background: var(--white);
}

.product-card-featured:hover .pcf-media img {
  transform: scale(1.05);
}

.pcf-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.pcf-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.pcf-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.pcf-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 16px;
}

.product-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.product-cta:hover {
  gap: 10px;
  color: var(--hover-color);
}

/* ============================================================
   FACILITY CAROUSEL
   ============================================================ */
.facility-section {
  overflow: hidden;
}

.auto-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.auto-carousel .carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollCarousel 30s linear infinite;
}

.auto-carousel .carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.auto-carousel .carousel-slide {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.auto-carousel .carousel-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.auto-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.auto-carousel .carousel-slide:hover img {
  transform: scale(1.5) rotate(360deg);
}

.auto-carousel .carousel-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
  text-align: center;
}

.auto-carousel .carousel-slide:hover .carousel-label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--paper);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(23, 94, 60, 0.02) 40px, rgba(23, 94, 60, 0.02) 41px);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--charcoal);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--slate);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PRODUCTS PAGE — Showcase Cards
   ============================================================ */
.products-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.product-showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.product-showcase-card:nth-child(even) {
  direction: rtl;
}

.product-showcase-card:nth-child(even)>* {
  direction: ltr;
}

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

.product-showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--white);
}

.product-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-showcase-card:hover .product-showcase-media img {
  transform: scale(1.05);
}

.product-showcase-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  z-index: 2;
}

.product-showcase-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-showcase-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.product-showcase-desc {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-showcase-apps h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.app-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(23, 94, 60, 0.06);
  color: var(--amber);
  border: 1px solid rgba(23, 94, 60, 0.12);
}

.product-showcase-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   SPECS TABLE (Products page)
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.specs-table thead tr {
  background: var(--charcoal);
  color: var(--white);
}

.specs-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.specs-table td {
  padding: 16px 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.specs-table tbody tr {
  background: var(--white);
  transition: background var(--transition);
}

.specs-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.specs-table tbody tr:hover {
  background: rgba(23, 94, 60, 0.04);
}

/* ============================================================
   INQUIRY MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

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

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: all var(--transition);
  background: var(--paper);
}

.modal-close:hover {
  background: var(--charcoal);
  color: var(--white);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 28px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-form-grid .form-group.full {
  grid-column: 1 / -1;
}

.modal-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.modal-success.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.modal-success p {
  color: var(--slate);
  line-height: 1.6;
}

/* ============================================================
   PRODUCT DETAILS PAGE
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.product-detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 120px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  padding: 30px;
}

.product-detail-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 520px;
}

.product-detail-placeholder {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-detail-intro {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
}

.product-detail-text {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.8;
}

.product-detail-features h2 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.product-detail-features ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--slate);
  line-height: 0.75;
}

.product-detail-features li {
  margin-bottom: 10px;
}

.product-detail-actions {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}

.product-detail-actions .btn {
  min-width: 170px;
}

/* Product Applications */
.product-applications {
  margin-top: 24px;
}

.product-applications h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.applications-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.application-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate);
  padding: 8px 0;
}

.application-item svg {
  color: var(--amber);
  flex-shrink: 0;
}

/* Product Specifications */
.product-specs {
  margin-top: 24px;
}

.product-specs h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-item svg {
  color: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-section {
  background: var(--charcoal);
  padding: 140px 0 80px;
  text-align: center;
}

.about-hero-section .section-title {
  color: var(--cream);
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper);
}

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

.about-story-img .img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

/* Factory Gallery */
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.factory-gallery .gallery-item {
  box-shadow: 0 4px 12px rgba(28, 28, 30, 0.08);
}

.factory-gallery .gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

.factory-gallery .gallery-item img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 30, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.factory-gallery .gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  text-align: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
}

.value-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(23, 94, 60, 0.15);
  display: block;
  margin-bottom: 4px;
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.65;
}

/* Sector Cards */
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.sector-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(23, 94, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--amber);
}

.sector-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.sector-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.sector-desc {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.75;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  margin: 0 auto 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.team-role {
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-top: 10px;
  line-height: 1.6;
}

/* ============================================================
   CLIENTS PAGE
   ============================================================ */
.clients-hero {
  background: var(--charcoal);
  padding: 140px 0 80px;
  text-align: center;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
}

.client-logo-cell {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
  min-height: 110px;
}

.client-logo-cell:hover {
  background: var(--paper);
  transform: scale(1.04);
}

.client-logo-cell img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter var(--transition);
}

.client-logo-cell:hover img {
  filter: grayscale(0) opacity(1);
}

.client-logo-fallback {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
  text-align: center;
  line-height: 1.3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(23, 94, 60, 0.1);
  position: absolute;
  top: 16px;
  left: 24px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-company {
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-top: 2px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: var(--charcoal);
  padding: 140px 0 80px;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.contact-info-box {}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child {
  padding-top: 0;
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(23, 94, 60, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.contact-info-value a:hover {
  color: var(--amber);
}

/* Map box */
.contact-map {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 260px;
}

/* Contact Form */
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px;
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(23, 94, 60, 0.1);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.form-submit-btn:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(23, 94, 60, 0.2);
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--charcoal);
  background: rgba(23, 94, 60, 0.06);
  border-radius: var(--radius);
  margin-top: 16px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--paper);
  color: var(--slate);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--slate);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--amber);
}

.footer-main {
  padding: 64px 0 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo img {
  height: 44px;
  margin-bottom: 16px;
}

.footer-logo .logo-text-fallback {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(23, 94, 60, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  transition: background var(--transition), color var(--transition);
}

@media (hover: hover) {
  .social-link:hover {
    background: var(--amber);
    color: var(--white);
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--slate);
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--amber);
  }
  .footer-links a:hover .footer-link-icon svg {
    color: var(--amber);
  }
}

.footer-links-icons li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link-icon svg {
  width: 12px;
  height: 12px;
  color: var(--slate);
  flex-shrink: 0;
  transition: color var(--transition);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact-list svg {
  min-width: 16px;
  margin-top: 2px;
  color: var(--amber);
}

.footer-contact-list a {
  color: var(--slate);
}

.footer-contact-list a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--slate);
}

.footer-bottom a {
  color: var(--slate);
}

.footer-bottom a:hover {
  color: var(--amber);
}

.footer-bottom-links a {
  color: var(--slate);
}

.footer-bottom-links a:hover {
  color: var(--amber);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--paper);
  padding: 100px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-title {
  color: var(--charcoal);
}

.page-hero .section-eyebrow {
  color: var(--slate);
}

.page-hero .section-eyebrow::before {
  background: var(--slate);
}

.page-hero-bg-anim {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(23, 94, 60, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(23, 94, 60, 0.02) 0%, transparent 40%);
  animation: driftShapes 20s linear infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes driftShapes {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(5%, 5%) rotate(3deg);
  }
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 16px;
}

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

.breadcrumb span {
  color: rgba(0, 0, 0, 0.3);
}

/* ============================================================
   AUTO CAROUSEL
   ============================================================ */
.carousel-text-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   ANIMATIONS / SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

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

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

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

  .product-showcase-card:nth-child(even) {
    direction: ltr;
  }

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(16px);
    padding: 32px 24px;
    z-index: 99;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--white);
  }

  .nav-toggle {
    display: flex;
  }

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

  .footer-grid {
    padding: 0 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-visual {
    display: flex;
    margin: 32px auto 0;
    max-width: 320px;
  }

  .hero-content {
    padding: 60px 20px;
  }

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

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

  .contact-form-box {
    padding: 28px 20px;
  }

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

  .carousel-slide {
    width: 260px;
    height: 180px;
  }

  .modal-card {
    padding: 28px 20px;
  }

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

  .modal-title {
    font-size: 1.2rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .particle {
    animation: none !important;
  }

  .carousel-track {
    animation: none !important;
  }

  .loader-letter {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .loader-cursor {
    animation: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center {
  text-align: center;
}

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

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

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mt-80 {
  margin-top: 80px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.py-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.py-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.py-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.grid-cols-auto-sm {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-40 {
  gap: 40px;
}

.gap-60 {
  gap: 60px;
}

.text-muted {
  color: var(--slate);
}

.text-primary {
  color: var(--amber);
}

.font-display {
  font-family: var(--font-display);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

.uppercase {
  text-transform: uppercase;
}

.leading-relaxed {
  line-height: 1.7;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.w-full {
  width: 100%;
}

.max-w-md {
  max-width: 480px;
}

.max-w-lg {
  max-width: 640px;
}

.max-w-xl {
  max-width: 768px;
}

.max-w-2xl {
  max-width: 1024px;
}

.min-w-0 {
  min-width: 0;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.h-full {
  height: 100%;
}

@media (max-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: 1fr;
  }

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

  .md\:flex-col {
    flex-direction: column;
  }
}

/* Theme overrides */
.theme-light {
  --hero-bg: var(--charcoal);
  --footer-bg: var(--charcoal);
  color-scheme: light;
}

.theme-dark {
  --hero-bg: var(--charcoal);
  --footer-bg: var(--charcoal);
  color-scheme: light;
}

/* ============================================================
   PAGE HERO AMBIENT BACKGROUND ANIMATION
   ============================================================ */
.page-hero-bg-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(23, 94, 60, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(200, 150, 50, 0.06) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: heroAmbientMove 15s ease-in-out infinite alternate;
}

@keyframes heroAmbientMove {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

/* ============================================================
   PREMIUM TIMELINE
   ============================================================ */
.timeline-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.timeline {
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--amber);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background: inherit;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background: var(--paper);
  border: 3px solid var(--amber);
  top: 32px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::after {
  left: -8px;
}

.timeline-content {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(200, 150, 50, 0.4);
}

.timeline-year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }

  .timeline-item::after,
  .timeline-item.right::after {
    left: 12px;
  }
}

@media (max-width: 900px) {
  .product-detail-media {
    position: static;
  }
}