/*
Theme Name: Canchem Technologies
Theme URI: https://canchemtechnologies.com
Author: Canchem Technologies Inc.
Description: Custom WordPress theme for Canchem Technologies Inc. Eco Builder design — compatible with Elementor and Pagelayer.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.6
License: Private
Text Domain: canchem
*/

/* =============================================
   GOOGLE FONTS — Eco Builder uses Manrope + Montserrat + PT Sans
   We keep these + add Bebas Neue for display headings
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&family=PT+Sans:wght@400;700&display=swap');

/* =============================================
   ECO BUILDER DESIGN TOKENS
   ============================================= */
:root {
  /* Accent — Eco Builder gold/yellow */
  --acc:         #C9A227;
  --acc-lt:      #e8c44a;
  --acc-dk:      #a07d1a;
  --acc-10:      rgba(201,162,39,0.10);
  --acc-20:      rgba(201,162,39,0.20);
  --acc-border:  rgba(201,162,39,0.25);

  /* Neutrals — Eco Builder palette */
  --white:       #ffffff;
  --off-white:   #F8F8F8;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --black:       #0a0a0a;

  /* Section backgrounds */
  --bg-white:    #ffffff;
  --bg-light:    #F8F8F8;
  --bg-dark:     #111827;
  --bg-darker:   #0a0a0a;

  /* Typography */
  --font-body:   'Manrope', sans-serif;
  --font-head:   'Montserrat', sans-serif;
  --font-sub:    'PT Sans', sans-serif;

  /* Layout */
  --max-w:       1280px;
  --pad-x:       clamp(20px, 5vw, 80px);
  --radius:      4px;
  --radius-lg:   8px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-500);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; transition: color .2s; }
a:hover { color: var(--acc-lt); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--acc); border-radius: 2px; }

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.cc-wrap    { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.cc-section { padding: clamp(60px,8vw,100px) var(--pad-x); }
.cc-section-white  { background: var(--bg-white); }
.cc-section-light  { background: var(--bg-light); }
.cc-section-dark   { background: var(--bg-dark); }
.cc-section-darker { background: var(--bg-darker); }

#page         { padding-top: 80px; }
.site-content { min-height: 50vh; }

/* =============================================
   HEADER — Eco Builder style: white nav, clean, sticky
   ============================================= */
#masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 80px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center;
  padding: 0 var(--pad-x);
  transition: height .3s, box-shadow .3s;
}
#masthead.scrolled {
  height: 66px;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* Logo */
.site-branding a {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.cc-logo-box {
  width: 40px; height: 40px; background: var(--acc); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 14px; font-weight: 900;
  color: #000; letter-spacing: 0.5px; flex-shrink: 0;
}
.cc-logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.cc-logo-name { font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--gray-900); letter-spacing: 1px; text-transform: uppercase; }
.cc-logo-sub  { font-size: 9px; font-weight: 500; color: var(--gray-400); letter-spacing: 1.5px; text-transform: uppercase; }

/* Nav */
#site-navigation { margin-left: auto; }
#primary-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
#primary-menu > li > a {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: var(--gray-700); letter-spacing: 0.3px;
  padding: 4px 0; position: relative; transition: color .2s;
}
#primary-menu > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--acc); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a { color: var(--acc); }
#primary-menu > li > a:hover::after,
#primary-menu > li.current-menu-item > a::after { transform: scaleX(1); }

/* CTA button in nav */
#primary-menu > li.menu-item-cta > a,
#primary-menu > li.menu-cta > a {
  background: var(--acc) !important; color: #000 !important;
  padding: 10px 22px !important; border-radius: var(--radius);
  font-weight: 700 !important; border: 1px solid #000;
  box-shadow: 3px 3px 0 #000;
  transition: all .2s !important;
}
#primary-menu > li.menu-item-cta > a:hover,
#primary-menu > li.menu-cta > a:hover {
  background: var(--acc-lt) !important;
  transform: translate(-1px,-1px);
  box-shadow: 4px 4px 0 #000;
}
#primary-menu > li.menu-item-cta > a::after,
#primary-menu > li.menu-cta > a::after { display: none !important; }

/* Dropdown */
#primary-menu li { position: relative; }
#primary-menu .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); min-width: 210px; padding: 6px 0;
  list-style: none; opacity: 0; pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  transition: opacity .2s, top .2s; z-index: 100;
}
#primary-menu li:hover > .sub-menu { opacity: 1; pointer-events: all; top: calc(100% + 4px); }
#primary-menu .sub-menu a {
  display: block; padding: 9px 16px;
  font-size: 12px; font-weight: 600; color: var(--gray-700) !important;
  border-left: 2px solid transparent; transition: all .2s;
}
#primary-menu .sub-menu a::after { display: none !important; }
#primary-menu .sub-menu a:hover { color: var(--acc) !important; border-left-color: var(--acc); background: var(--gray-100); padding-left: 20px; }

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px; margin-left: auto;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-900); transition: all .3s; }
.menu-toggle.toggled span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.toggled span:nth-child(2) { opacity: 0; }
.menu-toggle.toggled span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   FOOTER — Eco Builder dark footer
   ============================================= */
#colophon {
  background: var(--bg-dark);
  border-top: 3px solid var(--acc);
  padding: 56px var(--pad-x) 0;
}
.cc-footer-inner   { max-width: var(--max-w); margin: 0 auto; }
.cc-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px; padding-bottom: 40px;
  border-bottom: 1px solid #383e4b; margin-bottom: 24px;
}
.cc-footer-brand { margin-bottom: 16px; }
.cc-footer-brand-name { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px; }
.cc-footer-brand-sub  { font-size: 9px; font-weight: 500; color: var(--gray-400); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.cc-footer-desc  { font-size: 13px; color: var(--gray-400); line-height: 1.75; font-weight: 400; margin-bottom: 14px; }
.cc-footer-motto { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); }
.cc-footer-col-title {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--white);
  margin-bottom: 16px; padding-bottom: 10px; position: relative;
}
.cc-footer-col-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 20px; height: 2px; background: var(--acc); }
.cc-footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cc-footer-links a { font-size: 13px; color: var(--gray-400); text-decoration: none; display: flex; align-items: center; gap: 7px; transition: color .2s; }
.cc-footer-links a::before { content: '→'; color: var(--acc); font-size: 12px; }
.cc-footer-links a:hover { color: var(--white); }
.cc-footer-contact p   { font-size: 13px; color: var(--gray-400); line-height: 1.7; }
.cc-footer-phone { font-size: 14px; color: var(--acc); font-weight: 600; margin-top: 10px; display: block; text-decoration: none; }
.cc-footer-email { font-size: 12px; color: var(--gray-400); display: block; margin-top: 4px; word-break: break-all; text-decoration: none; }
.cc-footer-email:hover { color: var(--white); }
.cc-footer-bottom {
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  background: var(--bg-darker); margin: 0 calc(-1 * var(--pad-x)); padding: 20px var(--pad-x);
}
.cc-footer-copy    { font-size: 12px; color: var(--gray-500); }
.cc-footer-copy span { color: var(--acc); }
.cc-footer-tagline { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(201,162,39,0.3); }

/* =============================================
   ECO BUILDER TYPOGRAPHY SYSTEM
   ============================================= */
.eco-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--acc);
  margin-bottom: 12px;
}
.eco-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--acc); flex-shrink: 0; }
.eco-eyebrow.center { display: flex; justify-content: center; }
.eco-eyebrow.center::before { display: none; }

.eco-h1 { font-family: var(--font-head); font-size: clamp(40px,6vw,72px); font-weight: 800; line-height: 1.05; color: var(--gray-900); letter-spacing: -1px; }
.eco-h2 { font-family: var(--font-head); font-size: clamp(28px,4vw,48px); font-weight: 800; line-height: 1.1; color: var(--gray-900); letter-spacing: -0.5px; margin-bottom: 12px; }
.eco-h3 { font-family: var(--font-head); font-size: clamp(18px,2.5vw,28px); font-weight: 700; line-height: 1.2; color: var(--gray-900); }
.eco-h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--gray-900); }

/* Dark section headings */
.eco-dark .eco-h1, .eco-dark .eco-h2, .eco-dark .eco-h3, .eco-dark .eco-h4 { color: var(--white); }
.eco-dark .eco-body, .eco-dark p { color: var(--gray-400); }

.eco-body { font-size: 15px; color: var(--gray-500); line-height: 1.8; font-weight: 400; }
.eco-lead  { font-size: 17px; color: var(--gray-500); line-height: 1.8; font-weight: 400; }

.acc  { color: var(--acc); }
.white { color: var(--white); }

.eco-rule { display: block; width: 40px; height: 3px; background: var(--acc); margin: 14px 0 28px; border-radius: 2px; }
.eco-rule.center { margin-inline: auto; }

/* =============================================
   ECO BUILDER BUTTONS
   ============================================= */
.eco-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--acc); color: #000; border: 1px solid #000;
  padding: 14px 30px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: all .2s;
  box-shadow: 3px 3px 0 #000;
}
.eco-btn:hover { background: var(--acc-lt); color: #000; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #000; }

.eco-btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--gray-900); color: var(--white); border: 1px solid var(--gray-900);
  padding: 14px 30px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: all .2s;
  box-shadow: 3px 3px 0 rgba(0,0,0,.3);
}
.eco-btn-dark:hover { background: var(--acc); color: #000; border-color: var(--acc); box-shadow: 3px 3px 0 rgba(0,0,0,.3); }

.eco-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  background: transparent; color: var(--gray-900); border: 1px solid var(--gray-900);
  padding: 14px 30px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: all .2s;
}
.eco-btn-outline:hover { background: var(--gray-900); color: var(--white); }

.eco-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--white); color: var(--gray-900); border: 1px solid var(--white);
  padding: 14px 30px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: all .2s;
  box-shadow: 3px 3px 0 rgba(255,255,255,.3);
}
.eco-btn-white:hover { background: var(--acc); border-color: var(--acc); color: #000; }

/* =============================================
   ECO BUILDER GRIDS
   ============================================= */
.eco-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eco-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.eco-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.eco-grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.eco-grid-sidebar { display: grid; grid-template-columns: 1fr 380px; gap: 52px; align-items: start; }
.eco-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* =============================================
   ECO BUILDER HERO
   ============================================= */
.eco-hero {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
  padding: clamp(40px,6vw,80px) var(--pad-x);
  background: var(--bg-dark); position: relative; overflow: hidden;
}
.eco-hero-content { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.eco-hero-inner   { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.eco-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--acc-10); border: 1px solid var(--acc-border);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--acc); padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.eco-hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--acc); border-radius: 50%; animation: eco-pulse 2s infinite; }
@keyframes eco-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.eco-hero-title {
  font-family: var(--font-head); font-weight: 800; line-height: 1.02;
  font-size: clamp(40px,5.5vw,72px); letter-spacing: -1.5px;
  color: var(--white); margin-bottom: 20px;
}
.eco-hero-title .acc-line { color: var(--acc); }
.eco-hero-title .stroke-line {
  color: transparent;
  -webkit-text-stroke: 2px rgba(201,162,39,0.4);
}
.eco-hero-sub { font-size: 16px; color: var(--gray-400); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.eco-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.eco-hero-stats {
  display: flex; gap: 36px; margin-top: 48px; padding-top: 28px;
  border-top: 1px solid #383e4b; flex-wrap: wrap;
}
.eco-hero-stat-num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--acc); line-height: 1; }
.eco-hero-stat-lbl { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-400); margin-top: 4px; }
.eco-hero-image {
  background: var(--gray-700); border-radius: var(--radius-lg);
  min-height: 460px; position: relative; overflow: hidden;
  border: 2px solid #383e4b;
}
.eco-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.eco-hero-image-placeholder {
  width: 100%; height: 100%; min-height: 460px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a2035 0%, #111827 100%);
  color: var(--gray-500); font-size: 13px; text-align: center; gap: 8px;
}
.eco-hero-image-placeholder .icon { font-size: 48px; color: var(--acc); opacity: 0.4; }

/* =============================================
   PAGE HERO BANNER
   ============================================= */
.eco-page-hero {
  background: var(--bg-dark); padding: 56px var(--pad-x) 64px;
  position: relative; overflow: hidden;
}
.eco-page-hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--acc), transparent);
}
.eco-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; }
.eco-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 14px;
}
.eco-breadcrumb a { color: var(--acc); text-decoration: none; }
.eco-breadcrumb a:hover { color: var(--acc-lt); }
.eco-breadcrumb .sep { color: var(--gray-700); }
.eco-page-hero h1 {
  font-family: var(--font-head); font-size: clamp(36px,5vw,64px);
  font-weight: 800; color: var(--white); line-height: 1.05;
  letter-spacing: -0.5px; margin-bottom: 14px;
}
.eco-page-hero .subtitle { font-size: 16px; color: var(--gray-400); max-width: 580px; line-height: 1.75; }

/* =============================================
   ECO BUILDER SERVICE CARDS
   ============================================= */
.eco-svc-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  text-decoration: none; color: inherit; display: block;
  transition: all .3s; position: relative; overflow: hidden;
}
.eco-svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--acc); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.eco-svc-card:hover { border-color: var(--acc-border); box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-4px); color: inherit; }
.eco-svc-card:hover::before { transform: scaleX(1); }
.eco-svc-icon {
  width: 52px; height: 52px; background: var(--acc-10); border: 1px solid var(--acc-border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px; transition: background .3s;
}
.eco-svc-card:hover .eco-svc-icon { background: var(--acc-20); }
.eco-svc-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.eco-svc-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 18px; }
.eco-svc-link  { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc); display: flex; align-items: center; gap: 6px; }
.eco-svc-link .arr { transition: transform .3s; }
.eco-svc-card:hover .arr { transform: translateX(4px); }

/* Dark variant service cards */
.eco-svc-card.dark {
  background: #1a2035; border-color: #383e4b;
}
.eco-svc-card.dark .eco-svc-title { color: var(--white); }
.eco-svc-card.dark .eco-svc-desc  { color: var(--gray-400); }
.eco-svc-card.dark:hover { border-color: var(--acc-border); box-shadow: 0 12px 32px rgba(0,0,0,.3); }

/* =============================================
   STAT BOXES
   ============================================= */
.eco-stat {
  text-align: center; padding: 28px 16px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: var(--white);
}
.eco-stat.dark { background: #1a2035; border-color: #383e4b; }
.eco-stat-num { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--acc); line-height: 1; }
.eco-stat-lbl { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); margin-top: 6px; }
.eco-stat.dark .eco-stat-lbl { color: var(--gray-400); }

/* =============================================
   VALUE / WHY CARDS
   ============================================= */
.eco-val-card {
  padding: 32px 24px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  border-top: 3px solid var(--acc); transition: all .3s; text-align: center;
}
.eco-val-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.eco-val-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.eco-val-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.eco-val-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

.eco-why-card {
  padding: 28px 20px; background: var(--bg-light);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: all .3s; text-align: center;
}
.eco-why-card:hover { background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.06); transform: translateY(-3px); }
.eco-why-num   { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: rgba(201,162,39,.15); line-height: 1; margin-bottom: 6px; }
.eco-why-icon  { font-size: 28px; margin-bottom: 10px; display: block; }
.eco-why-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-900); margin-bottom: 8px; }
.eco-why-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.65; }

/* =============================================
   MISSION / VISION CARDS
   ============================================= */
.eco-mv-card {
  padding: 40px 36px; border-radius: var(--radius-lg);
  border-left: 4px solid var(--acc);
  background: var(--bg-light); transition: all .3s;
}
.eco-mv-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.06); transform: translateX(4px); }
.eco-mv-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--acc); margin-bottom: 10px; }
.eco-mv-title { font-family: var(--font-head); font-size: clamp(24px,3vw,36px); font-weight: 800; color: var(--gray-900); margin-bottom: 14px; line-height: 1.1; letter-spacing: -0.5px; }

/* =============================================
   SYSTEM / FEATURE CARDS
   ============================================= */
.eco-sys-card {
  padding: 24px; background: var(--white); border: 1px solid var(--gray-200);
  border-left: 3px solid var(--acc); border-radius: var(--radius-lg);
  transition: all .3s;
}
.eco-sys-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); transform: translateX(3px); }
.eco-sys-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 7px; }
.eco-sys-desc { font-size: 13px; color: var(--gray-500); line-height: 1.65; margin-bottom: 8px; }
.eco-sys-products { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--acc); }

/* =============================================
   PRODUCT ITEMS
   ============================================= */
.eco-products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.eco-product {
  padding: 14px 16px; background: var(--bg-light);
  border: 1px solid var(--gray-200); border-left: 2px solid var(--acc);
  border-radius: var(--radius); transition: all .25s;
}
.eco-product:hover { background: var(--white); transform: translateX(3px); box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.eco-product-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-900); margin-bottom: 3px; }
.eco-product-desc { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* =============================================
   APPLICATION AREA TAGS
   ============================================= */
.eco-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gray-700);
  background: var(--bg-light); border: 1px solid var(--gray-200);
  padding: 5px 12px; border-radius: 20px; margin: 3px 4px 3px 0;
  transition: all .2s;
}
.eco-tag:hover { background: var(--acc-10); border-color: var(--acc-border); color: var(--acc); }

/* =============================================
   SIDEBAR
   ============================================= */
.eco-sidebar-box {
  background: var(--bg-light); border: 1px solid var(--gray-200);
  border-top: 3px solid var(--acc); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 16px;
}
.eco-sidebar-box h3 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-900); margin-bottom: 14px; }
.eco-sidebar-links { list-style: none; padding: 0; }
.eco-sidebar-links li { border-bottom: 1px solid var(--gray-200); }
.eco-sidebar-links li:last-child { border-bottom: none; }
.eco-sidebar-links a { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 13px; font-weight: 500; color: var(--gray-500); text-decoration: none; transition: color .2s; }
.eco-sidebar-links a::before { content: '→'; color: var(--acc); font-size: 12px; }
.eco-sidebar-links a:hover, .eco-sidebar-links a.active { color: var(--acc); }

/* =============================================
   CONTACT INFO CARDS
   ============================================= */
.eco-info-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px 18px;
  background: var(--bg-light); border: 1px solid var(--gray-200);
  border-left: 3px solid var(--acc); border-radius: var(--radius-lg);
  margin-bottom: 14px; transition: all .3s;
}
.eco-info-card:hover { background: var(--white); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.eco-info-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--acc-10); border: 1px solid var(--acc-border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.eco-info-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); margin-bottom: 4px; }
.eco-info-val   { font-size: 14px; color: var(--gray-900); font-weight: 600; line-height: 1.4; }
.eco-info-sub   { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* =============================================
   PROJECT CARDS
   ============================================= */
.eco-proj-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .3s;
}
.eco-proj-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.10); transform: translateY(-4px); border-color: var(--acc-border); }
.eco-proj-top    { padding: 20px 20px 0; }
.eco-proj-year   { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); opacity: 0.7; margin-bottom: 6px; }
.eco-proj-tag    { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc); background: var(--acc-10); border: 1px solid var(--acc-border); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.eco-proj-name   { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--gray-900); line-height: 1.3; margin-bottom: 4px; }
.eco-proj-client { font-size: 12px; color: var(--gray-500); }
.eco-proj-bottom { padding: 12px 20px 18px; border-top: 1px solid var(--gray-200); margin-top: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.eco-proj-loc    { font-size: 12px; color: var(--gray-500); }
.eco-proj-prod   { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--acc); }

/* =============================================
   PROCESS STEPS
   ============================================= */
.eco-step { text-align: center; padding: 24px 16px; }
.eco-step-num {
  width: 60px; height: 60px; margin: 0 auto 16px;
  background: var(--acc-10); border: 2px solid var(--acc-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--acc);
  transition: all .3s;
}
.eco-step:hover .eco-step-num { background: var(--acc); color: #000; border-color: var(--acc); }
.eco-step-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-900); margin-bottom: 8px; }
.eco-step-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.65; }

/* =============================================
   FEATURED PROJECT
   ============================================= */
.eco-fp-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.eco-fp-visual {
  background: linear-gradient(160deg, #1a2035, #111827);
  min-height: 320px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 30px;
}
.eco-fp-badge {
  position: absolute; top: 22px; left: 22px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--acc); background: var(--acc-10); border: 1px solid var(--acc-border);
  padding: 5px 12px; border-radius: 12px;
}
.eco-fp-title  { font-family: var(--font-head); font-size: clamp(22px,3vw,36px); font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -0.5px; position: relative; z-index: 1; }
.eco-fp-content { padding: 36px 32px; background: var(--bg-light); display: flex; flex-direction: column; justify-content: center; }
.eco-fp-scope  { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.eco-fp-name   { font-family: var(--font-head); font-size: clamp(18px,2.5vw,28px); font-weight: 800; color: var(--gray-900); margin-bottom: 8px; letter-spacing: -0.3px; }
.eco-fp-loc    { font-size: 13px; color: var(--gray-500); margin-bottom: 14px; }
.eco-fp-desc   { font-size: 14px; color: var(--gray-500); line-height: 1.75; margin-bottom: 24px; }

/* =============================================
   CTA STRIP
   ============================================= */
.eco-cta {
  background: var(--acc); padding: 56px var(--pad-x);
  position: relative; overflow: hidden;
}
.eco-cta::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,.03) 20px, rgba(0,0,0,.03) 21px);
}
.eco-cta-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eco-cta h2    { font-family: var(--font-head); font-size: clamp(24px,3.5vw,42px); font-weight: 800; color: #000; letter-spacing: -0.5px; line-height: 1.1; }
.eco-cta p     { font-size: 15px; color: rgba(0,0,0,.6); margin-top: 6px; }

/* =============================================
   PRODUCTS TABS
   ============================================= */
.eco-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; }
.eco-tabs::-webkit-scrollbar { display: none; }
.eco-tab-btn {
  padding: 12px 20px; background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--gray-500); font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: color .2s; margin-bottom: -2px;
}
.eco-tab-btn:hover { color: var(--gray-900); }
.eco-tab-btn.active { color: var(--acc); border-bottom-color: var(--acc); }
.eco-tab-panel { display: none; }
.eco-tab-panel.active { display: block; }

/* Category boxes */
.eco-cat-boxes { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 44px; }
.eco-cat-box {
  padding: 20px 14px; background: var(--bg-light); border: 1px solid var(--gray-200);
  border-top: 2px solid transparent; border-radius: var(--radius-lg);
  cursor: pointer; text-align: center; transition: all .3s;
}
.eco-cat-box:hover, .eco-cat-box.active { border-top-color: var(--acc); background: var(--white); box-shadow: 0 6px 16px rgba(0,0,0,.06); transform: translateY(-2px); }
.eco-cat-icon  { font-size: 24px; margin-bottom: 8px; display: block; }
.eco-cat-name  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-900); margin-bottom: 3px; }
.eco-cat-count { font-size: 11px; color: var(--acc); font-weight: 600; }

/* =============================================
   PROJECT FILTER
   ============================================= */
.eco-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.eco-filter-btn {
  padding: 8px 18px; background: var(--bg-light); border: 1px solid var(--gray-200);
  color: var(--gray-500); font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  border-radius: 20px; transition: all .25s;
}
.eco-filter-btn:hover { border-color: var(--acc-border); color: var(--gray-900); background: var(--white); }
.eco-filter-btn.active { background: var(--acc); border-color: var(--acc); color: #000; }

/* =============================================
   CONTACT FORM
   ============================================= */
.eco-form { display: flex; flex-direction: column; gap: 14px; }
.eco-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eco-form-group { display: flex; flex-direction: column; gap: 6px; }
.eco-form-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-700); }
.eco-form input, .eco-form select, .eco-form textarea {
  background: var(--bg-light); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 12px 16px; color: var(--gray-900);
  font-family: var(--font-body); font-size: 14px; outline: none; width: 100%;
  transition: border-color .3s, background .3s;
}
.eco-form input:focus, .eco-form select:focus, .eco-form textarea:focus {
  border-color: var(--acc); background: var(--white); box-shadow: 0 0 0 3px var(--acc-10);
}
.eco-form textarea { resize: vertical; min-height: 120px; }
.eco-form input::placeholder, .eco-form textarea::placeholder { color: var(--gray-400); }
.eco-form-submit {
  align-self: flex-start; background: var(--acc); color: #000; border: 1px solid #000;
  padding: 13px 30px; font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  border-radius: var(--radius); transition: all .2s;
  box-shadow: 3px 3px 0 #000;
}
.eco-form-submit:hover { background: var(--acc-lt); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #000; }
.eco-form-success { display: none; background: rgba(201,162,39,.1); border: 1px solid var(--acc-border); color: var(--acc); padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 8px; }
.eco-form-error   { display: none; background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.3); color: #dc2626; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 8px; }

/* =============================================
   VALS MINI
   ============================================= */
.eco-vals-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eco-val-mini {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: var(--gray-700);
  background: var(--bg-light); border: 1px solid var(--gray-200);
  border-radius: var(--radius); transition: all .2s;
}
.eco-val-mini::before { content: '◆'; color: var(--acc); font-size: 7px; flex-shrink: 0; }
.eco-val-mini:hover { background: var(--acc-10); border-color: var(--acc-border); color: var(--gray-900); }

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-acc    { color: var(--acc) !important; }
.flex-between { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.mt-8  { margin-top:  8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.eco-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.eco-reveal.visible { opacity: 1; transform: translateY(0); }
.eco-d1 { transition-delay: .1s; } .eco-d2 { transition-delay: .2s; } .eco-d3 { transition-delay: .3s; }

/* =============================================
   UTILITY CLASSES FOR TEMPLATE CONTENT
   ============================================= */
.eco-statsbar-section {
  background: var(--bg-light);
  padding: 32px var(--pad-x);
  border-bottom: 1px solid var(--gray-200);
}
.eco-stats-bar {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
@media (max-width: 600px) {
  .eco-statsbar-section { padding: 24px 16px; }
  .eco-stats-bar { grid-template-columns: repeat(2,1fr); gap: 12px; }
}

/* Image placeholder responsive */
.eco-img-placeholder {
  background: var(--bg-light); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  min-height: clamp(200px,40vw,400px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: var(--gray-400); font-size: 13px;
  text-align: center; padding: 24px;
}
.eco-img-placeholder .icon { font-size: clamp(32px,8vw,48px); }

/* Responsive video/embed */
.eco-embed-wrap {
  position: relative; padding-bottom: 56.25%;
  height: 0; overflow: hidden; border-radius: var(--radius-lg);
}
.eco-embed-wrap iframe,
.eco-embed-wrap embed,
.eco-embed-wrap object {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .eco-svc-link        { min-height: 44px; align-items: center; }
  .eco-filter-btn      { min-height: 40px; }
  .eco-tab-btn         { min-height: 44px; }
  .eco-sidebar-links a { min-height: 44px; }
}

/* Prevent horizontal overflow */
* { max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
pre, code { overflow-x: auto; }
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Fix WordPress generated content */
.wp-caption { max-width: 100% !important; }
.alignleft, .alignright { max-width: 100%; float: none; margin: 0 0 16px 0; }
@media (min-width: 600px) {
  .alignleft  { float: left;  margin: 0 20px 16px 0; }
  .alignright { float: right; margin: 0 0 16px 20px; }
}

/* Elementor responsive override */
.elementor-section .elementor-container { max-width: var(--max-w) !important; }
@media (max-width: 768px) {
  .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0 12px; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  :root { --pad-x: clamp(20px,4vw,48px); }

  .eco-grid-4, .eco-grid-5  { grid-template-columns: repeat(2,1fr); }
  .eco-cat-boxes             { grid-template-columns: repeat(4,1fr); }
  .eco-hero-inner            { gap: 36px; }
  .eco-split                 { gap: 48px; }

  /* Page hero */
  .eco-page-hero             { padding: 44px var(--pad-x) 52px; }
  .eco-page-hero h1          { font-size: clamp(32px,5vw,56px); }

  /* Stats */
  .eco-hero-stats            { gap: 24px; }
}

/* =============================================
   RESPONSIVE — SMALL TABLET (max 900px)
   ============================================= */
@media (max-width: 900px) {
  .eco-grid-3                          { grid-template-columns: repeat(2,1fr); }
  .eco-grid-sidebar, .eco-split        { grid-template-columns: 1fr; gap: 36px; }
  .eco-fp-wrap                         { grid-template-columns: 1fr; }
  .cc-footer-grid                      { grid-template-columns: 1fr 1fr; gap: 28px; }
  .eco-hero-inner                      { grid-template-columns: 1fr; }
  .eco-hero-image                      { min-height: 260px; order: -1; }
  .eco-hero                            { min-height: auto; padding: 52px var(--pad-x) 48px; }
  .eco-hero-title                      { font-size: clamp(36px,6vw,56px); }

  /* Featured project */
  .eco-fp-visual                       { min-height: 220px; }

  /* CTA */
  .eco-cta-inner                       { flex-direction: column; gap: 20px; }
  .eco-cta h2                          { font-size: clamp(22px,4vw,36px); }

  /* Products */
  .eco-products-grid                   { grid-template-columns: 1fr 1fr; }

  /* Steps */
  .eco-grid-4.steps                    { grid-template-columns: repeat(2,1fr); }
}

/* =============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  #page                      { padding-top: 68px; }
  #masthead                  { height: 68px; padding: 0 20px; }
  #masthead.scrolled         { height: 58px; }

  /* ── Mobile nav ── */
  #site-navigation           { display: none; }
  .menu-toggle               { display: flex; }
  #site-navigation.toggled {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    border-top: 2px solid var(--acc);
    padding: 8px 20px 32px;
    overflow-y: auto; z-index: 9998;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
  }
  #site-navigation.toggled #primary-menu {
    flex-direction: column; gap: 0; align-items: stretch;
  }
  #site-navigation.toggled #primary-menu > li > a {
    display: block; padding: 14px 0; font-size: 15px; font-weight: 600;
    color: var(--gray-900); border-bottom: 1px solid var(--gray-200);
  }
  #site-navigation.toggled #primary-menu > li > a::after { display: none; }
  #site-navigation.toggled .sub-menu {
    position: static; opacity: 1; pointer-events: all;
    background: var(--bg-light); border: none; box-shadow: none;
    padding: 4px 0 4px 16px; border-radius: 0; min-width: auto;
  }
  #site-navigation.toggled .sub-menu li { border-bottom: none; }
  #site-navigation.toggled .sub-menu a {
    padding: 10px 0 !important; font-size: 13px;
    border-left: 2px solid var(--acc-border); padding-left: 10px !important;
  }
  #site-navigation.toggled #primary-menu > li.menu-item-cta,
  #site-navigation.toggled #primary-menu > li.menu-cta { margin-top: 16px; }
  #site-navigation.toggled #primary-menu > li.menu-item-cta > a,
  #site-navigation.toggled #primary-menu > li.menu-cta > a {
    text-align: center; border-radius: var(--radius);
    padding: 14px !important; border-bottom: none !important;
    box-shadow: 3px 3px 0 #000;
  }

  /* ── Grids ── */
  .eco-grid-2,
  .eco-grid-3,
  .eco-grid-4,
  .eco-grid-5               { grid-template-columns: 1fr; }
  .eco-vals-mini            { grid-template-columns: 1fr 1fr; }

  /* ── Hero ── */
  .eco-hero                 { padding: 40px 20px 44px; min-height: auto; }
  .eco-hero-title           { font-size: clamp(34px,9vw,52px); letter-spacing: -1px; }
  .eco-hero-sub             { font-size: 14px; }
  .eco-hero-btns            { flex-direction: column; gap: 10px; }
  .eco-btn, .eco-btn-white,
  .eco-btn-dark, .eco-btn-outline { display: flex; justify-content: center; width: 100%; }
  .eco-hero-stats           { gap: 20px; flex-wrap: wrap; }
  .eco-hero-stat-num        { font-size: 28px; }
  .eco-hero-badge           { font-size: 10px; }

  /* ── Page hero ── */
  .eco-page-hero            { padding: 40px 20px 48px; }
  .eco-page-hero h1         { font-size: clamp(28px,8vw,48px); }
  .eco-page-hero .subtitle  { font-size: 14px; }

  /* ── Section headings ── */
  .eco-h2                   { font-size: clamp(24px,7vw,36px); }
  .eco-h3                   { font-size: clamp(18px,5vw,24px); }

  /* ── Sections ── */
  .cc-section               { padding: 48px 20px; }
  .eco-section              { padding: 48px 20px; }

  /* ── Stats bar ── */
  .eco-hero + section > div { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .eco-stat-num             { font-size: 32px; }

  /* ── Service cards ── */
  .eco-svc-card             { padding: 24px 20px; }

  /* ── Why cards ── */
  .eco-grid-4               { grid-template-columns: 1fr 1fr; }

  /* ── Featured project ── */
  .eco-fp-wrap              { grid-template-columns: 1fr; }
  .eco-fp-visual            { min-height: 200px; padding: 20px; }
  .eco-fp-content           { padding: 24px 20px; }
  .eco-fp-title             { font-size: clamp(20px,6vw,28px); }

  /* ── Products ── */
  .eco-products-grid        { grid-template-columns: 1fr; }
  .eco-cat-boxes            { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .eco-cat-box              { padding: 14px 10px; }
  .eco-cat-icon             { font-size: 20px; }
  .eco-cat-name             { font-size: 10px; }
  .eco-tabs                 { gap: 0; }
  .eco-tab-btn              { padding: 10px 12px; font-size: 10px; }

  /* ── Projects ── */
  .eco-filter-bar           { gap: 6px; }
  .eco-filter-btn           { padding: 6px 12px; font-size: 10px; }

  /* ── Contact form ── */
  .eco-form-row             { grid-template-columns: 1fr; }
  .eco-form-submit          { width: 100%; justify-content: center; }

  /* ── Sidebar ── */
  .eco-grid-sidebar         { grid-template-columns: 1fr; gap: 28px; }

  /* ── CTA ── */
  .eco-cta                  { padding: 44px 20px; }
  .eco-cta-inner            { flex-direction: column; gap: 20px; align-items: flex-start; }
  .eco-cta h2               { font-size: clamp(22px,6vw,34px); }
  .eco-cta .eco-btn-dark    { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .cc-footer-grid           { grid-template-columns: 1fr; gap: 28px; }
  #colophon                 { padding: 44px 20px 0; }
  .cc-footer-bottom         { flex-direction: column; text-align: center; gap: 8px; padding: 16px 20px; margin: 0 -20px; }

  /* ── Buttons full width on mobile ── */
  .eco-btn-outline          { display: inline-flex; }
  .eco-hero-btns .eco-btn-outline { width: 100%; justify-content: center; }

  /* ── Split layout ── */
  .eco-split                { grid-template-columns: 1fr; gap: 28px; }
  .eco-mv-card              { padding: 28px 22px; }

  /* ── Process steps ── */
  .eco-step                 { padding: 20px 12px; }

  /* ── Info cards ── */
  .eco-info-card            { padding: 16px 14px; }

  /* ── flex-between stacks on mobile ── */
  .flex-between             { flex-direction: column; align-items: flex-start; gap: 12px; }
  .flex-between .eco-btn-outline { align-self: flex-start; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
  :root { --pad-x: 16px; }

  #masthead                 { padding: 0 16px; }
  .cc-section               { padding: 40px 16px; }

  /* Hero */
  .eco-hero-title           { font-size: clamp(30px,10vw,44px); }
  .eco-hero-stats           { gap: 16px; }
  .eco-hero-stat-num        { font-size: 26px; }

  /* Why cards — 1 col on very small screens */
  .eco-grid-4               { grid-template-columns: 1fr; }

  /* Cat boxes */
  .eco-cat-boxes            { grid-template-columns: repeat(2,1fr); }

  /* Tabs scroll */
  .eco-tabs                 { overflow-x: auto; }
  .eco-tab-btn              { padding: 10px 10px; font-size: 10px; letter-spacing: 0.5px; }

  /* Featured project */
  .eco-fp-wrap              { border-radius: var(--radius); }

  /* Footer */
  .cc-footer-grid           { grid-template-columns: 1fr; }
  .cc-footer-tagline        { display: none; }

  /* Buttons */
  .eco-btn, .eco-btn-dark,
  .eco-btn-white, .eco-btn-outline { padding: 12px 20px; font-size: 12px; }

  /* Products */
  .eco-products-grid        { grid-template-columns: 1fr; }

  /* Val cards */
  .eco-vals-mini            { grid-template-columns: 1fr; }

  /* Stat boxes */
  .eco-hero + section > div { grid-template-columns: 1fr 1fr !important; }
}
