/* ============================================
   M K LUMBERS PRIVATE LIMITED - MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --walnut: #4A2F1F;
  --teak: #6B4423;
  --beige: #F5F1EA;
  --white: #FFFFFF;
  --charcoal: #1E1E1E;
  --gold: #C8A45D;
  --gold-light: #E8C87D;
  --gray-light: #F8F6F2;
  --gray-mid: #E8E0D5;
  --gray-text: #6B6560;
  --shadow-sm: 0 2px 12px rgba(74,47,31,0.08);
  --shadow-md: 0 8px 32px rgba(74,47,31,0.12);
  --shadow-lg: 0 20px 60px rgba(74,47,31,0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-alt: 'Inter', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}
/* Prevent long unbroken strings (URLs, emails) from forcing horizontal scroll */
p, h1, h2, h3, h4, h5, h6, a, span, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.25; color: var(--walnut); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { color: var(--gray-text); font-size: 1rem; line-height: 1.8; }
.section-label {
  font-family: var(--font-alt);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-text); max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ---- LAYOUT ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--walnut);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--walnut);
  color: var(--white);
  border-color: var(--walnut);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--walnut);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--walnut);
  border-color: var(--walnut);
}
.btn-outline-dark:hover {
  background: var(--walnut);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--walnut);
  color: var(--white);
  border-color: var(--walnut);
}
.btn-dark:hover {
  background: var(--teak);
  border-color: var(--teak);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.85rem; }

/* ---- HEADER / NAVIGATION ---- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(74,47,31,0.10);
  border-bottom: 1px solid rgba(74,47,31,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
  transition: height 0.35s ease;
}
#header.scrolled .header-inner { height: 70px; }
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--walnut);
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text { line-height: 1.2; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--walnut);
  display: block;
}
.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
#header.scrolled .logo-name { color: var(--walnut); }
#header:not(.scrolled) .logo-name { color: var(--white); }
#header:not(.scrolled) .logo-tagline { color: var(--gold-light); }

/* NAV */
.nav { display: flex; align-items: center; gap: 0; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
#header.scrolled .nav-link { color: var(--charcoal); }
.nav-link:hover, .nav-link.active {
  color: var(--gold) !important;
}
.nav-link svg { width: 14px; height: 14px; transition: transform 0.3s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-mid);
}
.dropdown-link:last-child { border-bottom: none; }
.dropdown-link:hover { background: var(--beige); color: var(--gold); padding-left: 1.5rem; }
.dropdown-link span { font-size: 1.1rem; }

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 700px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--gold);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-col h4 {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-alt);
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-mid);
}
.mega-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--gray-text);
  transition: var(--transition);
}
.mega-col a:hover { color: var(--gold); padding-left: 0.5rem; }

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.18);
}
#header.scrolled .nav-actions { border-left-color: rgba(74,47,31,0.12); }
.nav-quote {
  background: var(--gold);
  color: var(--walnut);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-quote:hover { background: var(--walnut); color: var(--white); }
#header:not(.scrolled) .nav-quote { background: var(--gold); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
#header.scrolled .hamburger span { background: var(--walnut); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #2A1810 0%, var(--walnut) 60%, #3D2010 100%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 92px 0 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
/* When the mobile sidebar is open, give the header a solid background so the
   logo/company name doesn't overlap with menu items scrolling behind it. */
body.nav-open #header,
body.nav-open #header.scrolled {
  background: linear-gradient(160deg, #2A1810 0%, var(--walnut) 60%, #3D2010 100%);
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.nav-open #header .logo-name { color: var(--white); }
body.nav-open #header .logo-tagline { color: var(--gold-light); }
.mobile-nav-list { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 1.5rem; }
.mobile-nav-list li { width: 100%; }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  transition: color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-list a:hover, .mobile-nav-list a:active, .mobile-nav-list a.active {
  color: var(--gold);
  padding-left: 0.75rem;
}
.mobile-nav-actions {
  width: 100%;
  max-width: 480px;
  margin: 1.75rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mobile-nav-actions .btn { width: 100%; justify-content: center; }
.mobile-nav-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Clear the fixed header so hero content never slides under it */
  padding-top: 84px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A0D06 0%, #3D2010 40%, #5C3318 70%, #7A4A25 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 30px 30px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,13,6,0.9) 0%, rgba(26,13,6,0.5) 60%, transparent 100%);
}
.hero-wood-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, #8B5E3C, #6B4423, #4A2F1F);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 2rem;
  margin-left: max(2rem, calc((100vw - 1280px) / 2));
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
  display: block;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,164,93,0.3);
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* HERO IMAGE PLACEHOLDER */
.hero-img-block {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  z-index: 2;
}
.hero-img-card {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #8B5E3C, #6B4423);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.hero-img-card:first-child { margin-top: 2rem; }
.hero-img-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-card::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wood-texture-1 { background: repeating-linear-gradient(5deg, #7A4A22 0px, #9B6235 2px, #7A4A22 4px, #6B3D1A 6px, #8B5230 8px); }
.wood-texture-2 { background: repeating-linear-gradient(175deg, #5C3318 0px, #8B5E3C 2px, #5C3318 4px, #4A2F1F 6px, #7A4A25 8px); }

/* ---- HIGHLIGHTS / STATS BAR ---- */
.highlights {
  background: var(--walnut);
  padding: 0;
}
.highlights-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.highlight-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: rgba(200,164,93,0.1); }
.highlight-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.highlight-unit { font-size: 1.5rem; }
.highlight-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.5rem;
  display: block;
}

/* ---- ABOUT INTRO ---- */
.about-intro { background: var(--beige); }
.about-intro-text { padding-right: 2rem; }
.about-intro-text .section-label { color: var(--gold); }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-feature:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.feature-text h4 { font-size: 0.95rem; margin-bottom: 0.2rem; font-family: var(--font-body); }
.feature-text p { font-size: 0.82rem; line-height: 1.5; }
.about-intro-img { position: relative; }
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.wood-bg-1 { background: linear-gradient(135deg, #6B4423 0%, #4A2F1F 50%, #7A4A25 100%); }
.wood-bg-2 { background: linear-gradient(135deg, #8B5E3C 0%, #6B4423 50%, #4A2F1F 100%); }
.wood-bg-3 { background: linear-gradient(135deg, #9B7250 0%, #7A5030 50%, #5A3010 100%); }
.wood-bg-4 { background: linear-gradient(135deg, #7A5540 0%, #5A3520 50%, #3A1500 100%); }
.img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--walnut);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.img-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.img-badge-text { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.img-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.img-placeholder-label svg { width: 40px; height: 40px; opacity: 0.4; }

/* ---- PRODUCTS SECTION ---- */
.products-section { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-mid);
  group: true;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.product-img .img-placeholder { border-radius: 0; }
.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,47,31,0.6), transparent);
  transition: var(--transition);
}
.product-card:hover .product-img::after { opacity: 0.8; }
.product-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
  transform: translateY(10px);
}
.product-card:hover .product-overlay { opacity: 1; transform: translateY(0); }
.product-info { padding: 1.5rem; }
.product-cat {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.product-info p { font-size: 0.875rem; line-height: 1.6; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
}
.product-link:hover { gap: 0.75rem; }
.product-link svg { width: 16px; height: 16px; }

/* ---- WHY CHOOSE US ---- */
.why-us { background: var(--walnut); overflow: hidden; position: relative; }
.why-us-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(60deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}
.why-us .section-label { color: var(--gold); }
.why-us h2 { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.65); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,164,93,0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.why-card:hover {
  background: rgba(200,164,93,0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.why-card:hover::before { height: 100%; }
.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,164,93,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--gold); }
.why-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* ---- PROCESS PREVIEW ---- */
.process-section { background: var(--beige); }
.process-steps {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gray-mid);
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.step-num {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--walnut);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .step-num { background: var(--walnut); color: var(--gold); border-color: var(--walnut); }
.process-step h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--walnut); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.8rem; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--white); }
.testimonials-slider { margin-top: 3rem; position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 33.333%;
  padding: 0 1rem;
}
.testimonial-inner {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.testimonial-inner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-text { font-size: 0.9rem; font-style: italic; color: var(--gray-text); margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--walnut);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--walnut); }
.author-company { font-size: 0.75rem; color: var(--gray-text); }
.slider-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}
.slider-btn:hover { background: var(--gold); color: var(--walnut); }
.slider-dots { display: flex; gap: 0.5rem; align-items: center; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-mid);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ---- BLOG SECTION ---- */
.blog-section { background: var(--beige); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-img .img-placeholder { border-radius: 0; width: 100%; height: 100%; }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.blog-cat {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.blog-date { font-size: 0.75rem; color: var(--gray-text); }
.blog-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.5rem; color: var(--walnut); line-height: 1.5; }
.blog-card p { font-size: 0.85rem; line-height: 1.6; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
}
.blog-link:hover { gap: 0.75rem; }

/* ---- PARTNERS / CERTIFICATIONS ---- */
.partners-section { background: var(--white); padding: 3rem 0; }
.partners-label { text-align: center; color: var(--gray-text); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2rem; }
.partners-track-wrap { overflow: hidden; }
.partners-track {
  display: flex;
  gap: 3rem;
  animation: scrollTrack 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  width: 140px;
  height: 60px;
  background: var(--beige);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: 1px;
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  flex-shrink: 0;
}
.partner-logo:hover { border-color: var(--gold); color: var(--walnut); }
@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--walnut) 0%, var(--teak) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(200,164,93,0.05) 0, rgba(200,164,93,0.05) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 550px; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { background: var(--charcoal); color: var(--white); padding-top: 5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-logo { margin-bottom: 1rem; }
.footer-logo .logo-name { color: var(--white); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover { background: var(--gold); color: var(--walnut); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 0.25rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-item span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-phones { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-phones p { margin: 0; }
.newsletter-form { margin-top: 1.25rem; }
.newsletter-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: white;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---- FLOATING BUTTONS ---- */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 500;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-btn { background: #25D366; color: white; }
.whatsapp-btn:hover { background: #128C7E; transform: scale(1.1); }
.back-top-btn { background: var(--walnut); color: white; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-top-btn.visible { opacity: 1; visibility: visible; }
.back-top-btn:hover { background: var(--teak); transform: scale(1.1) translateY(-3px); }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg, var(--walnut) 0%, var(--teak) 100%);
  padding: 9rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(200,164,93,0.04) 0, rgba(200,164,93,0.04) 1px, transparent 0, transparent 50%);
  background-size: 25px 25px;
}
.page-header h1 { color: var(--white); position: relative; z-index: 1; margin-bottom: 0.5rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--gold); }

/* ---- LEGAL / TEXT CONTENT ---- */
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--walnut);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content a { text-decoration: underline; }

/* ---- CARD STYLES ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-mid);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-body { padding: 1.5rem; }

/* ---- FORM STYLES ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--walnut); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,93,0.15); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: #e53e3e; font-size: 0.78rem; margin-top: 0.25rem; display: none; }
.form-control.error { border-color: #e53e3e; }
.form-success {
  background: #f0fff4;
  border: 1px solid #68d391;
  color: #276749;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.875rem;
  display: none;
}

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}
.faq-item.open .faq-question { background: var(--beige); }
.faq-question h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--walnut); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--walnut);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
  border: 1px solid var(--gray-mid);
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--walnut); transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: 0.875rem; color: var(--gray-text); line-height: 1.7; }

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item .img-placeholder { height: 100%; border-radius: 0; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74,47,31,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { color: white; font-size: 2rem; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-up { position: relative; opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-left { position: relative; opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-right { position: relative; opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-fade { opacity: 0; transition: opacity 0.7s ease; }
.animated { opacity: 1 !important; transform: none !important; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ---- ABOUT PAGE SPECIFIC ---- */
.timeline { position: relative; padding-left: 2rem; margin-top: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gray-mid); }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.timeline-content h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--walnut); margin-bottom: 0.25rem; }
.timeline-content p { font-size: 0.85rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-mid);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.team-avatar {
  width: 90px;
  height: 90px;
  background: var(--walnut);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}
.team-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--gold); font-weight: 500; letter-spacing: 1px; }

/* ---- PRODUCT DETAIL ---- */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.product-specs { margin-top: 1.5rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--gray-mid); }
.spec-table th { text-align: left; padding: 0.75rem 1rem; background: var(--beige); font-size: 0.85rem; font-weight: 600; color: var(--walnut); width: 40%; }
.spec-table td { padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--gray-text); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  padding: 0.3rem 0.75rem;
  background: var(--beige);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--walnut);
  font-weight: 500;
  border: 1px solid var(--gray-mid);
}

/* ---- CAREER PAGE ---- */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.job-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.job-title { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--walnut); margin-bottom: 0.25rem; }
.job-meta { display: flex; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.job-tag {
  font-size: 0.75rem;
  color: var(--gray-text);
  background: var(--beige);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---- CERTIFICATIONS ---- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.cert-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-icon { font-size: 3rem; margin-bottom: 1rem; }
.cert-name { font-size: 0.85rem; font-weight: 600; color: var(--walnut); }
.cert-body { font-size: 0.78rem; color: var(--gray-text); margin-top: 0.25rem; }

/* ---- SUSTAINABILITY ---- */
.eco-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.eco-card:hover { border-bottom-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.eco-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.eco-card h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.5rem; }

/* ---- FILTER BUTTONS ---- */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray-mid);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-text);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--walnut); background: var(--gold); color: var(--walnut); }

/* ---- PROJECTS ---- */
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-img { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.project-img .img-placeholder { height: 100%; border-radius: 0; }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,47,31,0.8) 0%, transparent 60%);
}
.project-body { padding: 1.5rem; }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }

/* ---- QUOTE FORM ---- */
.quote-form-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.quote-sidebar { position: sticky; top: 100px; }
.quote-info-card { background: var(--walnut); border-radius: var(--radius-md); padding: 2rem; color: white; }
.quote-info-card h3 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; }
.quote-info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.quote-info-item span { font-size: 1.2rem; flex-shrink: 0; }
.quote-info-item p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.quote-info-item strong { display: block; color: var(--gold); font-size: 0.9rem; margin-bottom: 0.2rem; }

/* ---- 404 ---- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--beige);
}
.error-num {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0;
}
.error-title { font-size: 2rem; color: var(--walnut); margin-bottom: 1rem; }
.error-desc { color: var(--gray-text); margin-bottom: 2rem; }

/* ---- INFRASTRUCTURE ---- */
.infra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.infra-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.infra-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.infra-img { aspect-ratio: 4/3; }
.infra-body { padding: 1.25rem; }
.infra-body h4 { font-family: var(--font-body); font-weight: 600; margin-bottom: 0.25rem; }
.infra-body p { font-size: 0.85rem; }

/* ---- RESPONSIVE ---- */
@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner { padding: 0 1.25rem; }
  .nav-list { gap: 0; }
  .nav-link { padding: 0.5rem 0.6rem; font-size: 0.82rem; }
  .nav-actions { margin-left: 0.75rem; padding-left: 1rem; }
  .nav-quote { padding: 0.5rem 1rem; }
  .mega-menu { width: 560px; }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-img-block { display: none; }
  .hero-content { margin-left: 2rem; max-width: none; }
  .hero-overlay { background: rgba(26,13,6,0.75); }
}
@media (max-width: 900px) {
  .nav, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 68px; padding: 0 1.25rem; }
  #header.scrolled .header-inner { height: 62px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .highlights-inner { grid-template-columns: repeat(2, 1fr); }
  .highlight-item:nth-child(2) { border-right: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .quote-form-grid { grid-template-columns: 1fr; }
  .quote-sidebar { position: static; top: auto; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 1rem; }
  .process-steps::before { display: none; }
  .testimonial-card { min-width: 100%; }
  .page-header { padding: 7rem 1.5rem 3.5rem; }
  /* Keep the floating stat badge inside the viewport on tablet/iPad */
  .about-intro-img { margin-bottom: 2rem; }
  .img-badge { right: 1rem; bottom: -1rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 3rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .logo-icon { width: 42px; height: 42px; font-size: 1.2rem; }
  .logo-name { font-size: 1rem; }
  .highlights-inner { grid-template-columns: repeat(2, 1fr); }
  .highlight-num { font-size: 2.2rem; }
  .hero { min-height: 88vh; }
  .hero-content { margin-left: 0; padding: 0 1.25rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; }
  .page-header { padding: 6.5rem 1.25rem 3rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .floating-buttons { bottom: 1rem; right: 1rem; gap: 0.5rem; }
  .float-btn { width: 46px; height: 46px; font-size: 1.1rem; }
  .img-badge { right: 0; bottom: -1rem; padding: 1rem 1.15rem; }
}
@media (max-width: 380px) {
  .highlights-inner { grid-template-columns: 1fr; }
  .highlight-item { border-right: none; }
}


/* ============================================
   ERROR PAGES (404 / 500 / 403)
   ============================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 5rem;
  background:
    linear-gradient(rgba(74,47,31,0.92), rgba(30,30,30,0.94)),
    radial-gradient(circle at 30% 20%, rgba(200,164,93,0.25), transparent 55%);
  background-color: var(--walnut);
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px);
  opacity: 0.6;
  pointer-events: none;
}
.error-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
}
.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 22vw, 11rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: 2px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.error-code span { color: var(--gold); }
.error-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0.75rem 0 1rem;
}
.error-text {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.25rem;
}
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.error-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 0 auto 1.75rem;
}
@media (max-width: 560px) {
  .error-actions { flex-direction: column; align-items: stretch; }
  .error-actions .btn { justify-content: center; width: 100%; }
}
