/*
Theme Name: Limitless Design MFG
Theme URI: https://limitlessdesignmfg.ca
Author: Limitless Design MFG
Author URI: https://limitlessdesignmfg.ca
Description: Custom theme for Limitless Design MFG — 3D Printing & Metal Fabrication services based in Kitchener, ON.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: limitless-design-mfg
Tags: manufacturing, industrial, services, custom
*/
// Remove date-based upload folders
add_filter('upload_dir', function($dirs) {
    $dirs['subdir'] = '';
    $dirs['path']   = $dirs['basedir'];
    $dirs['url']    = $dirs['baseurl'];
    return $dirs;
});
/* =============================================
   CSS VARIABLES & BASE STYLES
   ============================================= */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --foreground: #0f172a;
  --background: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --white: #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--foreground); transform: translateY(-1px); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: #f0f4ff; transform: translateY(-1px); }

.btn-white-orange {
  background: var(--white);
  color: var(--orange);
}
.btn-white-orange:hover { background: #fff7ed; transform: translateY(-1px); }

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-primary { background: rgba(37,99,235,0.1); color: var(--primary); }
.badge-orange { background: rgba(249,115,22,0.1); color: var(--orange); }
.badge-solid-primary { background: var(--primary); color: white; }
.badge-solid-orange { background: var(--orange); color: white; }
.badge-secondary { background: var(--muted); color: var(--muted-foreground); }
.badge-outline { border: 1px solid var(--border); color: var(--muted-foreground); }
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.pill-label-orange {
  background: rgba(249,115,22,0.1);
  color: var(--orange);
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-body { padding: 1.5rem; }
.card-hover { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card-hover:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card.bg-primary { background: var(--primary); color: white; border-color: var(--primary); }
.stat-card.bg-orange { background: var(--orange); color: white; border-color: var(--orange); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { max-width: 640px; margin: 0 auto 4rem; }
.section-header.text-left { margin-left: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-title .accent { color: var(--primary); }
.section-title .accent-orange { color: var(--orange); }

.section-desc {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#site-header.transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

.nav-logo img { height: 4rem; width: auto; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 0.85; }

.nav-logo .logo-white { display: block; }
.nav-logo .logo-dark { display: none; }
.scrolled .nav-logo .logo-white { display: none; }
.scrolled .nav-logo .logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a, .nav-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover, .nav-btn:hover {
  background: rgba(255,255,255,0.12);
}

.scrolled .nav-links a,
.scrolled .nav-btn {
  color: var(--foreground);
}

.scrolled .nav-links a:hover,
.scrolled .nav-btn:hover {
  background: var(--muted);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 200px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.9rem;
  border-radius: 0.4rem;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.08) !important;
  color: white !important;
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
}
.scrolled .mobile-menu-btn { color: var(--foreground); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 99;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu a, .mobile-menu button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--muted); }

.mobile-section-label {
  padding: 0.5rem 0.875rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo { height: clamp(7rem, 15vw, 14rem); width: auto; margin: 0 auto 2rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.scroll-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: white;
  border-radius: 50%;
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(0.75rem); opacity: 0.3; }
}

/* =============================================
   SERVICE CARDS (landing)
   ============================================= */
.service-selection {
  padding: 6rem 0;
  background: #f8fafc;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.4s ease;
  text-decoration: none;
}
.service-card:hover { box-shadow: var(--shadow-2xl); }

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.05); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.35) 100%);
  transition: background 0.3s ease;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 2.5rem;
}

.service-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.service-icon-wrap.primary { background: rgba(37,99,235,0.2); }
.service-icon-wrap.orange { background: rgba(249,115,22,0.2); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: white;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.service-features li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card.printing .service-features li::before { background: var(--primary-light); }
.service-card.metal .service-features li::before { background: #fb923c; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { background: var(--background); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-box .lbl {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.about-image-wrap { position: relative; }
.about-image-wrap img {
  border-radius: 1.25rem;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.industries-float {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  max-width: 280px;
}

.industries-float h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.industries-float ul { list-style: none; }
.industries-float li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
}
.industries-float li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   PAGE BANNERS
   ============================================= */
.page-banner {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
}
.page-banner.primary-bg { background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(255,255,255,0) 50%, rgba(37,99,235,0.05) 100%); }
.page-banner.orange-bg { background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(255,255,255,0) 50%, rgba(249,115,22,0.05) 100%); }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--muted);
  color: var(--foreground);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: background 0.15s;
}
.back-btn:hover { background: var(--border); }

.page-banner h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}
.page-banner p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   SERVICE PAGE SECTIONS (3D Printing / Metal Fab)
   ============================================= */
.service-hero {
  padding: 8rem 0 5rem;
}
.service-hero.primary-tint { background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, transparent 60%, rgba(37,99,235,0.03) 100%); }
.service-hero.orange-tint { background: linear-gradient(135deg, rgba(249,115,22,0.06) 0%, transparent 60%, rgba(249,115,22,0.04) 100%); }

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.service-hero p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.service-hero-img {
  position: relative;
}
.service-hero-img img {
  border-radius: 1.25rem;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-2xl);
}

.stats-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stats-float .s-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
}
.stats-float .s-lbl {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.stats-float .s-num.primary { color: var(--primary); }
.stats-float .s-num.orange { color: var(--orange); }

/* Tabs */
.tabs-wrap { width: 100%; }

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  background: var(--muted);
  border-radius: var(--radius);
  padding: 0.25rem;
  max-width: fit-content;
  margin: 0 auto 3rem;
}

.tab-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--white);
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Tab content layout */
.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.spec-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.spec-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.spec-item .spec-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.2rem;
}
.spec-item .spec-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.feature-list { list-style: none; margin: 1.5rem 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}
.feature-list li .check {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.feature-list.orange li .check { color: var(--orange); }

.tags-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tag {
  padding: 0.3rem 0.75rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Process steps */
.process-list { list-style: none; }
.process-item {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.process-step {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
}
.process-text .process-title { font-weight: 600; font-size: 0.9rem; }
.process-text .process-desc { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.15rem; }

/* CAD capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.cap-item {
  background: var(--muted);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
}
.cap-item h5 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.cap-item p { font-size: 0.775rem; color: var(--muted-foreground); }

/* =============================================
   SERVICES GRID (3-col)
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-item-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease;
}
.service-item-card:hover { box-shadow: var(--shadow-lg); }

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon.primary { background: rgba(37,99,235,0.1); color: var(--primary); }
.service-icon.orange { background: rgba(249,115,22,0.1); color: var(--orange); }

.service-item-card h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }
.service-item-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.65; margin-bottom: 1rem; }

/* =============================================
   DRAFTING / CAPABILITIES
   ============================================= */
.drafting-section { background: rgba(37,99,235,0.03); }
.drafting-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.drafting-cap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}
.drafting-cap:hover { box-shadow: var(--shadow-lg); }
.drafting-cap h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.drafting-cap p { font-size: 0.875rem; color: var(--muted-foreground); }

/* =============================================
   MATERIALS SECTION
   ============================================= */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.material-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}
.material-card:hover { box-shadow: var(--shadow-lg); }

.material-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.material-header h3 { font-size: 1rem; }
.material-swatch { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; border: 2px solid var(--border); flex-shrink: 0; }

.material-card p { font-size: 0.8125rem; color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.6; }

.prop-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.875rem; }
.prop-tag {
  padding: 0.2rem 0.6rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  font-size: 0.7rem;
  border-radius: 999px;
  font-weight: 500;
}

.app-list { list-style: none; }
.app-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  color: var(--muted-foreground);
  margin-bottom: 0.3rem;
}
.app-list li::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.tds-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}
.tds-link:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================
   GALLERY
   ============================================= */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--foreground);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.filter-btn.orange.active {
  background: var(--orange);
  border-color: var(--orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}
.gallery-card:hover { box-shadow: var(--shadow-xl); }

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img-wrap img { transform: scale(1.05); }

.gallery-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-card:hover .gallery-zoom { opacity: 1; }
.gallery-zoom svg { width: 2.5rem; height: 2.5rem; color: white; }

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.gallery-info { padding: 1.25rem; }
.gallery-info h3 { font-size: 1rem; margin-bottom: 0.375rem; }
.gallery-info p { font-size: 0.8125rem; color: var(--muted-foreground); margin-bottom: 0.75rem; line-height: 1.5; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* =============================================
   CONTACT / QUOTE FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 8rem; }

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.contact-info-card h3 { font-size: 1.125rem; margin-bottom: 1.25rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-info-item .c-icon { color: var(--primary); width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-info-item .c-label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.15rem; }
.contact-info-item a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.15s; }
.contact-info-item a:hover { color: var(--primary); }
.contact-info-item span { font-size: 0.875rem; color: var(--muted-foreground); }

.guarantee-card {
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.guarantee-card h3 { font-size: 1.0625rem; margin-bottom: 0.625rem; }
.guarantee-card p { font-size: 0.875rem; opacity: 0.9; line-height: 1.6; }

/* =============================================
   CTA SECTIONS
   ============================================= */
.cta-section { padding: 5rem 0; }
.cta-section.primary-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.cta-section.orange-cta { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); }

.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1.25rem;
}
.cta-inner p { font-size: 1.0625rem; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* =============================================
   FINISHING / INDUSTRIES
   ============================================= */
.finishing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.industry-card .industry-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.industry-card .industry-icon { font-size: 2rem; }
.industry-card h3 { font-size: 1.0625rem; }
.industry-card p { font-size: 0.8125rem; color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.6; }
.industry-card .app-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.industry-card .app-tag {
  padding: 0.25rem 0.6rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  font-size: 0.7rem;
  border-radius: 999px;
}

/* =============================================
   CAPABILITIES 4-GRID
   ============================================= */
.cap4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cap4-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.cap4-card.bg-primary { background: var(--primary); border-color: var(--primary); color: white; }
.cap4-card.bg-orange { background: var(--orange); border-color: var(--orange); color: white; }
.cap4-card .cap4-icon { width: 2rem; height: 2rem; margin: 0 auto 0.75rem; }
.cap4-card .cap4-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; }
.cap4-card .cap4-lbl { font-size: 0.8125rem; color: var(--muted-foreground); }
.cap4-card.bg-primary .cap4-lbl,
.cap4-card.bg-orange .cap4-lbl { color: rgba(255,255,255,0.85); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--foreground); color: rgba(255,255,255,0.85); }

.footer-main { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }

.footer-brand .footer-logo { height: 3.5rem; margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links { display: flex; gap: 0.625rem; }
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.social-link:hover { background: var(--primary); color: white; }
.social-link svg { width: 1.125rem; height: 1.125rem; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: white;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col h4 svg { width: 1rem; height: 1rem; color: var(--primary); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 0.1rem; }
.footer-contact-item a, .footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); transition: color 0.15s; text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

.back-to-top {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.back-to-top:hover { background: var(--primary); color: white; }
.back-to-top svg { width: 1.125rem; height: 1.125rem; }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .service-cards { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .industries-float { display: none; }
  .drafting-caps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-dropdown { display: none; }
  .mobile-menu-btn { display: flex; }
  .about-grid, .service-hero-grid, .tab-content-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .materials-grid, .gallery-grid, .drafting-caps { grid-template-columns: 1fr 1fr; }
  .finishing-grid, .cap4-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-float { display: none; }
  .section-lg { padding: 4rem 0; }
}

@media (max-width: 560px) {
  .services-grid, .materials-grid, .gallery-grid, .drafting-caps { grid-template-columns: 1fr; }
  .service-card-content { padding: 1.75rem; }
  .finishing-grid, .cap4-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-logo { height: 7rem; }
}

/* =============================================
/* =============================================
   FINISHING SECTION — PHOTO BACKGROUND
   ============================================= */
.finishing-bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.finishing-bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom,
    var(--background) 0%,
    rgba(10,12,18,0.82) 12%,
    rgba(10,12,18,0.82) 88%,
    var(--background) 100%
  );
}
.finishing-bg-section .container { position: relative; z-index: 1; }

.finishing-card {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.finishing-card:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.35) !important;
}
.finishing-card h3 {
  font-size: 1rem !important;
  font-weight: 600;
  color: white !important;
  margin-bottom: 0.5rem;
}
.finishing-card p {
  font-size: 0.875rem !important;
  color: rgba(255,255,255,0.80) !important;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .finishing-card { padding: 1.25rem; }
}
