/* ═══════════════════════════════════════════════════════════════
   UPVC BYAWASAI NEPAL — Master Stylesheet
   Theme: Clean precision engineering meets Himalayan green
   Windows & Doors industry aesthetic
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand Colors — deep forest greens, clean whites */
  --green-900:  #14532d;
  --green-800:  #166534;
  --green-700:  #15803d;
  --green-600:  #16a34a;
  --green-500:  #22c55e;
  --green-400:  #4ade80;
  --green-100:  #dcfce7;
  --green-50:   #f0fdf4;

  --navy-950:   #020617;
  --navy-900:   #0f172a;
  --navy-800:   #1e293b;
  --navy-700:   #334155;
  --navy-500:   #64748b;
  --navy-300:   #94a3b8;
  --navy-100:   #e2e8f0;
  --navy-50:    #f8fafc;

  /* Semantic */
  --primary:        var(--green-600);
  --primary-dark:   var(--green-700);
  --primary-light:  var(--green-500);
  --accent:         var(--navy-900);
  --danger:         #ef4444;
  --danger-bg:      #fef2f2;
  --warning:        #f59e0b;
  --warning-bg:     #fffbeb;
  --info:           #3b82f6;
  --info-bg:        #eff6ff;
  --success:        var(--green-600);
  --success-bg:     var(--green-50);

  /* Surfaces */
  --bg:         #f0f4f0;
  --surface:    #ffffff;
  --surface-2:  #f4f7f4;
  --surface-3:  #e8f0e8;
  --border:     #d4e2d4;
  --border-light: #e8f0e8;

  /* Text */
  --text:       var(--navy-900);
  --text-muted: var(--navy-500);
  --text-light: var(--navy-300);

  /* Spacing & Shape */
  --navbar-h:   70px;
  --sidebar-w:  256px;
  --r-sm:       6px;
  --r:          10px;
  --r-lg:       16px;
  --r-xl:       24px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);

  /* Window/Door inspired gradients */
  --grad-hero:  linear-gradient(150deg, #020617 0%, #0f2d1a 40%, #14532d 75%, #166534 100%);
  --grad-green: linear-gradient(135deg, var(--green-600), var(--green-800));
  --grad-card:  linear-gradient(160deg, rgba(22,163,74,.04) 0%, rgba(255,255,255,0) 60%);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
}
#page-content { flex: 1; }

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — FIXED DROPDOWN HOVER
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--navbar-h);
  background: rgba(2,6,23,.97);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s;
  overflow: visible;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.3); }
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; gap: 1.25rem;
  position: relative; overflow: visible;
}

/* Brand */
.nav-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; overflow: hidden; max-width: 260px; }
.nav-logo {
  display: block !important;
  width: 42px !important; height: 42px !important;
  min-width: 42px !important; max-width: 42px !important;
  min-height: 42px !important; max-height: 42px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  border: 2px solid rgba(22,163,74,.45) !important;
  background: #fff !important;
  padding: 2px !important;
  flex-shrink: 0 !important;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -.01em; }
.brand-sub { font-size: .7rem; font-weight: 500; color: var(--green-400); letter-spacing: .12em; text-transform: uppercase; }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: .15rem; flex: 1; overflow: visible; position: relative; z-index: 1; }
.nav-links > li > a {
  display: block; padding: .45rem .85rem;
  color: rgba(255,255,255,.72); font-size: .875rem; font-weight: 500;
  border-radius: var(--r-sm); transition: all .15s; text-decoration: none;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.07); }

/* ═════════════════════════════════════════════════════════════
   DROPDOWN — HOVER SUPPORT (KEY FIX)
   ═════════════════════════════════════════════════════════════ */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown:hover { z-index: 99998; }

.nav-dropdown-toggle { 
  cursor: pointer; 
  user-select: none; 
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
}
.nav-dropdown-toggle:hover { color: #fff !important; }

/* Chevron rotation animation */
.dropdown-caret {
  display: inline-block;
  font-size: .7em;
  transition: transform .2s ease;
  transform-origin: center;
}
.nav-dropdown:hover .dropdown-caret,
.nav-dropdown.open .dropdown-caret { 
  transform: rotate(180deg); 
}

/* Show on BOTH hover (desktop) AND .open class (click/mobile) */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;            /* CRITICAL: flush against trigger — NO gap */
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  min-width: 220px;
  z-index: 99999;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* HOVER shows the menu — this was the missing rule */
.nav-dropdown:hover > .nav-dropdown-menu {
  display: block;
  animation: dropIn .15s ease;
}

/* CLICK shows the menu — for mobile & touch */
.nav-dropdown-menu.open {
  display: block;
  animation: dropIn .15s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown-menu li { margin: 0; padding: 0; }
.nav-dropdown-menu li a {
  display: block; 
  padding: .6rem 1rem; 
  font-size: .875rem;
  color: var(--text); 
  transition: background .1s;
  text-decoration: none;
}
.nav-dropdown-menu li a:hover { 
  background: var(--green-50); 
  color: var(--primary); 
}

/* Right actions */
.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav-notif-btn {
  position: relative; color: rgba(255,255,255,.7); display: flex;
  align-items: center; padding: .4rem; border-radius: var(--r-sm);
  transition: all .15s; text-decoration: none;
}
.nav-notif-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.notif-badge {
  position: absolute; top: 0; right: 0;
  background: var(--danger); color: #fff;
  font-size: .6rem; font-weight: 700; min-width: 16px; height: 16px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid var(--navy-900);
}

.btn-ghost {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12); padding: .4rem 1rem;
  border-radius: var(--r-sm); font-size: .8rem; font-weight: 500;
  text-decoration: none; transition: all .15s; cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: all .2s; }

/* Flash messages */
.flash {
  position: fixed; top: calc(var(--navbar-h) + 1rem); right: 1.5rem; z-index: 600;
  padding: .85rem 1.25rem; border-radius: var(--r-lg); font-size: .875rem; font-weight: 500;
  display: flex; align-items: center; gap: .75rem; box-shadow: var(--shadow-md);
  transition: all .3s;
}
.flash button { background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: .5; }
.flash-success { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.flash-error   { background: var(--danger-bg); color: #b91c1c; border: 1px solid #fecaca; }

/* ═══════════════════════════════════════════════════════════════
   HERO — Window/Door frame inspired
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--grad-hero);
  padding: 5.5rem 2rem 5rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(22,163,74,.25), transparent),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(22,163,74,.08), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,163,74,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,163,74,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.3);
  color: var(--green-400); padding: .35rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--green-400); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.1rem; line-height: 1.1; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--green-400); }
.hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.hero-search { max-width: 660px; margin: 0 auto 2rem; }
.search-bar {
  display: flex; background: #fff; border-radius: var(--r-xl);
  box-shadow: 0 12px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(22,163,74,.2);
  overflow: hidden;
}
.search-select {
  border: none; outline: none; padding: 0 1.1rem; background: var(--green-50);
  font-size: .875rem; font-weight: 600; border-right: 1px solid var(--border);
  cursor: pointer; color: var(--text); min-width: 130px; font-family: inherit;
}
.search-input {
  flex: 1; border: none; outline: none; padding: 1rem 1.1rem;
  font-size: .95rem; color: var(--text); font-family: inherit;
}
.search-btn { border-radius: 0 var(--r-xl) var(--r-xl) 0; padding: .85rem 1.75rem; font-size: .875rem; }

.hero-quick { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.hero-quick a {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 500;
  padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; text-decoration: none; transition: all .15s;
  backdrop-filter: blur(8px);
}
.hero-quick a:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

.hero-frame {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  background: linear-gradient(90deg, transparent, var(--green-500), transparent);
  border-radius: 999px;
}

/* ─── STATS BAND ─────────────────────────────────────────────── */
.stats-band {
  background: var(--surface); border-top: 3px solid var(--green-600);
  border-bottom: 1px solid var(--border); padding: 2rem 1.5rem;
}
.stats-band .container {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0;
}
.stats-band-item { text-align: center; padding: .75rem; border-right: 1px solid var(--border); }
.stats-band-item:last-child { border-right: none; }
.stats-band-item h3 { font-size: 2rem; color: var(--primary); font-weight: 800; line-height: 1; }
.stats-band-item p { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* ═══════════════════════════════════════════════════════════════
   SECTION WRAPPERS
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 4.5rem 1.5rem; }
.section-alt { background: var(--surface); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: .75rem; }
.section-header-left {}
.section-label { display: block; font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; }
.section-header h2 { font-size: 1.75rem; margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.35rem; border-radius: var(--r);
  font-family: 'Outfit', sans-serif; font-size: .875rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: all .18s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-green); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22,163,74,.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(22,163,74,.45); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-white { background: transparent; color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.3); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-warning { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-success { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }

.btn-sm { padding: .38rem .85rem; font-size: .8rem; border-radius: var(--r-sm); }
.btn-lg { padding: .9rem 2.25rem; font-size: 1rem; border-radius: var(--r-lg); }

/* ═══════════════════════════════════════════════════════════════
   FABRICATOR CARDS
   ═══════════════════════════════════════════════════════════════ */
.fabricators-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }

.fab-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column; position: relative;
}
.fab-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-xl);
  background: var(--grad-card); pointer-events: none; z-index: 0;
}
.fab-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-400); text-decoration: none; }

.fab-card-cover {
  height: 110px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--green-900) 100%);
  position: relative; overflow: hidden;
}
.fab-card-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.fab-card-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.4));
}
.fab-card-cover .grade-ribbon {
  position: absolute; top: 10px; right: 10px; z-index: 2;
}

.fab-card-body { padding: 1.1rem; flex: 1; position: relative; z-index: 1; }
.fab-logo-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: .85rem; margin-top: -36px; }
.fab-logo-wrap { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; border: 3px solid var(--surface); box-shadow: var(--shadow-sm); background: var(--surface); flex-shrink: 0; }
.fab-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fab-logo-initials { width: 58px; height: 58px; border-radius: 12px; background: var(--grad-green); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; border: 3px solid var(--surface); flex-shrink: 0; }
.fab-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; color: var(--text); }
.fab-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .35rem; display: flex; align-items: center; gap: .3rem; }
.fab-meta svg { opacity: .5; }
.fab-stars { font-size: .8rem; color: var(--warning); }
.fab-footer {
  margin-top: .85rem; padding-top: .75rem;
  border-top: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.fab-footer .verified-tag { font-size: .72rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: .2rem; }

/* Grade Badges */
.grade-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .75rem; border-radius: 999px;
  font-family: 'Outfit', sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: .03em; white-space: nowrap;
}
.grade-a { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; box-shadow: 0 2px 8px rgba(22,163,74,.4); }
.grade-b { background: linear-gradient(135deg, #4ade80, #22c55e); color: #14532d; }
.grade-c { background: linear-gradient(135deg, #86efac, #4ade80); color: #14532d; }
.grade-none { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════════
   WINDOW/DOOR FEATURE STRIP
   ═══════════════════════════════════════════════════════════════ */
.feature-strip {
  background: var(--navy-900);
  padding: 3rem 1.5rem;
  position: relative; overflow: hidden;
}
.feature-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(22,163,74,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(22,163,74,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.feature-strip .container { position: relative; z-index: 1; }
.feature-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.feature-item { text-align: center; color: rgba(255,255,255,.85); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto .85rem;
  background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.2);
  border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.feature-item h3 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; color: #fff; }
.feature-item p { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   GRADE EXPLAINER
   ═══════════════════════════════════════════════════════════════ */
.grade-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grade-card {
  background: var(--surface); border-radius: var(--r-xl); overflow: hidden;
  border: 2px solid var(--border); transition: border-color .2s, box-shadow .2s;
}
.grade-card:hover { box-shadow: var(--shadow-md); }
.grade-card.grade-card-a { border-color: #16a34a; }
.grade-card.grade-card-b { border-color: #4ade80; }
.grade-card.grade-card-c { border-color: #86efac; }
.grade-card-header { padding: 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .75rem; }
.grade-card-body { padding: 1.25rem; }
.grade-card-body ul { display: flex; flex-direction: column; gap: .5rem; }
.grade-card-body ul li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--text-muted); }
.grade-card-body ul li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  background: linear-gradient(to right, var(--surface-2), var(--surface));
}
.card-header h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.card-body { padding: 1.25rem; }
.card-body.p-0 { padding: 0; }

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.dashboard-layout { display: flex; min-height: calc(100vh - var(--navbar-h)); }

.dashboard-sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--navy-900);
  position: sticky; top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto; display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.05);
}
.sidebar-header {
  padding: 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: .75rem;
}
.sidebar-nav { flex: 1; padding: .75rem 0; }
.sidebar-nav ul { display: flex; flex-direction: column; gap: .05rem; padding: 0 .65rem; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .85rem; border-radius: var(--r);
  color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 500;
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.sidebar-nav li a:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.sidebar-nav li a.active {
  background: linear-gradient(135deg, rgba(22,163,74,.25), rgba(22,163,74,.1));
  color: var(--green-400); border: 1px solid rgba(22,163,74,.2);
}
.nav-section {
  padding: .9rem .85rem .3rem; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25);
}
.sidebar-footer { padding: 1rem .65rem; border-top: 1px solid rgba(255,255,255,.06); }

/* Main Content */
.dashboard-main { flex: 1; padding: 2rem; min-width: 0; background: var(--bg); }
.dashboard-topbar { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.75rem; flex-wrap: wrap; gap: .75rem; }
.dashboard-topbar h1 { font-size: 1.5rem; margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-xs); position: relative; overflow: hidden;
  transition: box-shadow .2s;
}
.stat-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-green);
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-icon {
  width: 50px; height: 50px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.stat-content h3 { font-size: 1.85rem; font-weight: 800; line-height: 1; margin-bottom: .15rem; color: var(--text); }
.stat-content p { font-size: .775rem; color: var(--text-muted); margin: 0; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .825rem; font-weight: 600; margin-bottom: .4rem; color: var(--navy-800); }
.form-control {
  width: 100%; padding: .65rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .875rem; font-family: inherit; background: var(--surface);
  color: var(--text); transition: all .15s; appearance: none;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,.12); background: #fff; }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.5; }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; cursor: pointer; line-height: 1.5; }
.checkbox-label input[type=checkbox] { margin-top: 2px; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.form-actions { display: flex; gap: .75rem; align-items: center; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }

/* ═══════════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════════ */
.alert {
  padding: .85rem 1.1rem; border-radius: var(--r);
  margin-bottom: 1rem; border-left: 4px solid; font-size: .875rem;
  display: flex; align-items: flex-start; gap: .5rem;
}
.alert-success { background: var(--success-bg); border-color: var(--primary); color: var(--green-800); }
.alert-danger  { background: var(--danger-bg); border-color: var(--danger); color: #b91c1c; }
.alert-warning { background: var(--warning-bg); border-color: var(--warning); color: #92400e; }
.alert-info    { background: var(--info-bg); border-color: var(--info); color: #1e40af; }

/* ═══════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════ */
.table-responsive { overflow-x: auto; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.data-table { width: 100%; border-collapse: collapse; font-size: .855rem; }
.data-table th {
  padding: .7rem 1rem; text-align: left; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); background: var(--surface-2);
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
.data-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--green-50); }
.info-table { width: 100%; }
.info-table td { padding: .4rem 0; font-size: .875rem; vertical-align: top; }
.info-table td:first-child { color: var(--text-muted); width: 45%; padding-right: .75rem; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   STATUS & BADGES
   ═══════════════════════════════════════════════════════════════ */
.status-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .75rem; border-radius: 999px;
  font-size: .73rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.status-active,.status-approved,.status-work_completed,.status-resolved { background: var(--green-100); color: var(--green-800); }
.status-pending,.status-order_received { background: #fef9c3; color: #854d0e; }
.status-work_started { background: #dbeafe; color: #1e40af; }
.status-profile_cutting { background: #ede9fe; color: #5b21b6; }
.status-frame_assembly { background: #fce7f3; color: #9d174d; }
.status-frame_fitting { background: #ffedd5; color: #9a3412; }
.status-suspended,.status-rejected,.status-expired { background: #fee2e2; color: #b91c1c; }
.status-open,.status-under_review { background: #fef3c7; color: #92400e; }
.status-replied,.status-read,.status-delivered { background: #e0f2fe; color: #075985; }
.status-closed,.status-dismissed { background: var(--surface-2); color: var(--text-muted); }
.status-new { background: var(--green-100); color: var(--green-800); }

.badge { display: inline-flex; align-items: center; padding: .15rem .6rem; border-radius: var(--r-sm); font-size: .73rem; font-weight: 600; }
.badge-success { background: var(--green-100); color: var(--green-800); }
.badge-danger  { background: #fee2e2; color: #b91c1c; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-secondary { background: var(--surface-2); color: var(--text-muted); }
.badge-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--danger); color: #fff;
  font-size: .68rem; font-weight: 700; border-radius: 999px;
}

/* ═══════════════════════════════════════════════════════════════
   PROGRESS
   ═══════════════════════════════════════════════════════════════ */
.progress-bar-wrap { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--grad-green); border-radius: 999px; transition: width .6s ease; }
.progress-mini { height: 5px; background: var(--surface-2); border-radius: 999px; overflow: hidden; width: 72px; display: inline-block; vertical-align: middle; }
.progress-mini-fill { height: 100%; background: var(--grad-green); border-radius: 999px; }

/* ═══════════════════════════════════════════════════════════════
   STATUS TABS
   ═══════════════════════════════════════════════════════════════ */
.status-tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.status-tabs .tab {
  padding: .4rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--border); font-size: .8rem; font-weight: 600;
  color: var(--text-muted); text-decoration: none; transition: all .15s;
  font-family: 'Outfit', sans-serif;
}
.status-tabs .tab:hover { border-color: var(--primary); color: var(--primary); }
.status-tabs .tab.active { background: var(--grad-green); border-color: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(22,163,74,.3); }

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - var(--navbar-h));
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.25rem 2rem; width: 100%; max-width: 490px;
  box-shadow: var(--shadow-md);
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto .75rem; border: 3px solid var(--border); }
.auth-header h1 { font-size: 1.5rem; margin-bottom: .35rem; }
.auth-header p { color: var(--text-muted); font-size: .875rem; }
.auth-footer { text-align: center; margin-top: 1.25rem; font-size: .875rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   PAGE WITH SIDEBAR (filter layout)
   ═══════════════════════════════════════════════════════════════ */
.page-with-sidebar { display: flex; gap: 1.75rem; max-width: 1240px; margin: 0 auto; padding: 2rem 1.5rem; align-items: flex-start; }
.filter-sidebar { width: 270px; flex-shrink: 0; position: sticky; top: calc(var(--navbar-h) + 1rem); }
.filter-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.25rem; box-shadow: var(--shadow-xs); }
.filter-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.page-main { flex: 1; min-width: 0; }
.results-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .5rem; }
.results-header h1 { font-size: 1.35rem; margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */
.empty-state { padding: 3.5rem 2rem; text-align: center; color: var(--text-muted); }
.empty-state-icon { font-size: 3rem; margin-bottom: .75rem; opacity: .4; }
.empty-state p { font-size: .9rem; margin-top: .5rem; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════ */
.gallery-preview { display: flex; flex-wrap: wrap; gap: .6rem; }
.gallery-thumb { width: 82px; height: 82px; border-radius: var(--r); overflow: hidden; position: relative; border: 1px solid var(--border); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-delete { position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: .85rem; text-decoration: none; line-height: 1; transition: background .1s; }
.gallery-delete:hover { background: var(--danger); }

/* ═══════════════════════════════════════════════════════════════
   DETAIL + CHART GRIDS
   ═══════════════════════════════════════════════════════════════ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   QUICK ACTIONS
   ═══════════════════════════════════════════════════════════════ */
.quick-actions-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.5rem; }
.quick-action-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 1.35rem; text-align: center;
  text-decoration: none; color: var(--text); display: flex;
  flex-direction: column; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; transition: all .2s; position: relative;
  font-family: 'Outfit', sans-serif;
}
.quick-action-card:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.quick-action-icon { font-size: 1.75rem; line-height: 1; }

/* ═══════════════════════════════════════════════════════════════
   CHECK ITEMS (machinery/grade)
   ═══════════════════════════════════════════════════════════════ */
.check-item { display: flex; align-items: center; gap: .6rem; padding: .45rem .7rem; border-radius: var(--r); font-size: .875rem; font-weight: 500; }
.check-item.verified { background: var(--green-50); color: var(--green-800); }
.check-item.pending  { background: #fffbeb; color: #92400e; }
.check-item.missing  { background: #fef2f2; color: #b91c1c; }

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════ */
.pagination { display: flex; gap: .35rem; padding: 1rem; flex-wrap: wrap; align-items: center; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 .5rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .875rem; font-weight: 600; font-family: 'Outfit', sans-serif;
  color: var(--text); text-decoration: none; transition: all .15s;
}
.pagination a:hover,.pagination a.active { background: var(--grad-green); border-color: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(22,163,74,.3); }

/* ═══════════════════════════════════════════════════════════════
   ACTION BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.action-btns { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.search-inline { display: flex; gap: .5rem; align-items: center; }
.search-inline .form-control { margin: 0; width: 240px; }

/* ═══════════════════════════════════════════════════════════════
   ANALYTICS BARS
   ═══════════════════════════════════════════════════════════════ */
.status-bar-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.status-bar-track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.status-bar-fill { height: 100%; border-radius: 999px; background: var(--grad-green); }
.grade-stat-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.grade-bar-wrap { flex: 1; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.grade-bar-fill.grade-a { background: linear-gradient(90deg,#16a34a,#15803d); }
.grade-bar-fill.grade-b { background: linear-gradient(90deg,#4ade80,#22c55e); }
.grade-bar-fill.grade-c { background: linear-gradient(90deg,#86efac,#4ade80); }

/* ═══════════════════════════════════════════════════════════════
   NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */
.notifications-list { display: flex; flex-direction: column; gap: .75rem; }
.notification-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all .2s; }
.notification-item.unread { border-left: 3px solid var(--primary); background: var(--green-50); }
.notif-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: var(--surface-2); }
.notif-content { flex: 1; }
.notif-title { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.notif-content p { margin: 0; color: var(--text-muted); font-size: .875rem; }
.new-badge { font-size: .7rem; background: var(--primary); color: #fff; padding: 2px 7px; border-radius: 4px; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   MESSAGE BOXES
   ═══════════════════════════════════════════════════════════════ */
.message-box { background: var(--surface-2); border-radius: var(--r); padding: 1rem; font-size: .9rem; line-height: 1.65; color: var(--text); }
.message-box.replied { background: var(--green-50); border-left: 3px solid var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════ */
.text-muted   { color: var(--text-muted) !important; }
.text-danger  { color: var(--danger) !important; }
.text-success,.text-primary { color: var(--primary) !important; }
.text-warning { color: var(--warning) !important; }
.row-highlight td { background: var(--green-50) !important; font-weight: 500; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1.5rem; }
.ml-2 { margin-left: .5rem; }
code { background: var(--surface-2); padding: .1rem .4rem; border-radius: 4px; font-size: .85em; font-family: 'Courier New', monospace; }

.grade-select-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem; }
.grade-radio-label { display: flex; align-items: center; gap: .5rem; padding: .65rem .9rem; border: 2px solid var(--border); border-radius: var(--r); cursor: pointer; font-size: .875rem; font-weight: 600; transition: all .15s; font-family: 'Outfit', sans-serif; }
.grade-radio-label input { accent-color: var(--primary); }
.grade-radio-label.grade-a { border-color: #16a34a; color: #15803d; }
.grade-radio-label.grade-b { border-color: #4ade80; color: #166534; }
.grade-radio-label.grade-c { border-color: #86efac; color: #166534; }
.grade-checklist { display: flex; flex-direction: column; gap: .4rem; }

.grade-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.grade-dot.grade-a { background: #16a34a; }
.grade-dot.grade-b { background: #4ade80; }
.grade-dot.grade-c { background: #86efac; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-950); color: rgba(255,255,255,.6);
  padding: 4rem 1.5rem 1.5rem; margin-top: auto;
  border-top: 3px solid var(--green-700);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { height: 64px; width: 64px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; margin-bottom: 1rem; }
.footer-brand-col p { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.65); margin-bottom: 1.25rem; }
.footer-nav-col h4 { color: rgba(255,255,255,.95); font-size: .875rem; font-weight: 700; margin-bottom: .85rem; font-family: 'Outfit', sans-serif; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-nav-col ul li a { color: rgba(255,255,255,.7); font-size: .85rem; text-decoration: none; transition: color .15s; }
.footer-nav-col ul li a:hover { color: var(--green-400); }
.footer-nav-col ul li:not(a) { color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-social { display: flex; gap: .6rem; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r); background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); transition: all .15s; text-decoration: none; }
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-grade-strip {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 1.5rem;
}
.footer-grade-item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom { text-align: center; font-size: .8rem; color: rgba(255,255,255,.3); display: flex; flex-direction: column; gap: .35rem; }
.footer-credit { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: .25rem; }
.footer-brand-name { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .6rem; font-family: 'Outfit', sans-serif; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .fabricators-grid { grid-template-columns: repeat(2,1fr); }
  .detail-grid,.charts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip-grid { grid-template-columns: repeat(2,1fr); }
  .grade-cards { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; --navbar-h: 60px; }
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--navy-950); flex-direction: column; padding: 1.5rem; z-index: 400; overflow-y: auto; gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 1rem; padding: .75rem 1rem; }
  
  /* Mobile dropdown — static positioned, full width */
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.05); border-radius: var(--r); margin-top: .25rem; display: block !important; }
  .nav-dropdown-menu li a { color: rgba(255,255,255,.6); }
  
  .nav-toggle { display: flex; }
  .brand-sub { display: none; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: 1rem; }
  .form-row,.form-row-3 { grid-template-columns: 1fr; }
  .fabricators-grid { grid-template-columns: 1fr 1fr; }
  .page-with-sidebar { flex-direction: column; padding: 1rem; }
  .filter-sidebar { width: 100%; position: static; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero h1 { font-size: 1.85rem; }
  .search-bar { flex-direction: column; border-radius: var(--r-lg); }
  .search-select { border-right: none; border-bottom: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: .75rem 1rem; }
  .search-input { padding: .75rem 1rem; }
  .search-btn { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .quick-actions-grid { grid-template-columns: repeat(2,1fr); }
  .stats-band .container { grid-template-columns: repeat(2,1fr); }
  .feature-strip-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .fabricators-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-quick { gap: .4rem; }
  .hero-quick a { font-size: .75rem; padding: .35rem .75rem; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .footer-grade-strip { flex-direction: column; gap: .75rem; align-items: center; }
}